/*
 * Phương án 05 — Green Wellness Store
 * Lấy cảm hứng từ cấu trúc Greenoly, giữ nội dung và nhận diện Anh Thư Wellness.
 */

:root {
  --ink: #233029;
  --muted: #68736b;
  --rose: #397744;
  --rose-dark: #2f6939;
  --green: #72ad54;
  --gold: #ee9834;
  --cream: #f5f8f2;
  --line: #e1e9de;
  --white: #fff;
  --shadow: 0 14px 36px rgba(45, 91, 51, .1);
  --serif: "Be Vietnam Pro", Arial, sans-serif;
  --greenoly-green: #2f6f3b;
  --greenoly-bright: #70b94a;
  --greenoly-orange: #ee9834;
}

body {
  background: #f6f8f4;
  color: #26352c;
}

.announcement {
  height: 51px;
  background: #2f6f3b;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
}

.utility-bar {
  background: #f7faf5;
}

.utility-inner {
  color: #607063;
}

.site-header,
.site-header.sticky {
  background: rgba(255, 255, 255, .98);
}

.header-main {
  height: 132px;
  grid-template-columns: 300px minmax(360px, 1fr) auto;
}

.site-header .logo-brand {
  width: 285px;
  height: 95px;
}

.site-header .logo-brand img {
  width: 285px;
  height: 285px;
  transform: translateY(-95px);
}

.search {
  height: 50px;
  border: 2px solid #70b94a;
  border-radius: 8px;
  overflow: visible;
}

.search select {
  border-color: #dce7d7;
}

.search > button {
  height: 48px;
  margin: -1px -1px -1px 0;
  border-radius: 0 7px 7px 0;
  background: #70b94a;
}

.search > button:hover {
  background: #57993a;
}

.search:focus-within {
  border-color: #57993a;
  box-shadow: 0 0 0 4px rgba(112, 185, 74, .13);
}

.header-action .action-icon,
.header-main .hotline-copy strong {
  color: #2f6f3b;
}

.cart-icon {
  display: block;
  width: 32px;
  height: 32px;
}

.cart-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.header-main .hotline-icon {
  border-color: #70b94a;
  color: #2f6f3b;
}

.header-main .hotline-contact {
  display: flex;
  flex-direction: column;
}

.header-main .hotline-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.header-main .hotline-buttons a {
  display: inline-flex;
  min-width: 92px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-align: center;
  box-shadow: 0 5px 12px rgba(38, 72, 43, .16);
  transition: background .2s ease, transform .2s ease;
}

.header-main .hotline-buttons a span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  font-size: 9px;
}

.header-main .hotline-call-button {
  background: #2f6f3b;
}

.header-main .hotline-call-button:hover {
  background: #57993a;
  transform: translateY(-1px);
}

.header-main .hotline-zalo-button {
  background: #0068ff;
}

.header-main .hotline-zalo-button:hover {
  background: #0055d6;
  transform: translateY(-1px);
}

.main-nav {
  border: 0;
  box-shadow: 0 5px 18px rgba(35, 67, 40, .07);
}

.category-trigger {
  border-radius: 7px 7px 0 0;
  background: #2f6f3b;
  border-color: #2f6f3b;
}

.nav-links {
  color: #344439;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .045em;
}

.nav-dropdown-trigger {
  font-weight: 700;
}

.nav-links a:hover,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  color: #57993a;
}

.brand-submenu {
  border-radius: 8px;
}

.hero-shell {
  gap: 16px;
  background: transparent;
}

.category-menu {
  border: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 28px rgba(45, 91, 51, .08);
}

.category-menu button,
.category-menu .brand-filter-list button {
  border-color: #edf0eb;
}

.category-menu button:hover {
  color: #2f6f3b;
  background: #f0f7ec;
}

.category-menu span,
.trust-strip article > span {
  color: #70a858;
}

.category-menu button[data-category="hot"] span {
  color: #ee9834;
}

.category-menu .promotion-menu-item {
  grid-template-columns: 25px 1fr auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.category-menu .all-products-menu-item {
  grid-template-columns: 25px 1fr auto;
  color: #2f6f3b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}

/* Keep every primary category title typographically consistent. */
.category-menu > button[data-category="hot"],
.category-menu .promotion-menu-item,
.category-menu .brand-filter-toggle,
.category-menu .needs-filter-toggle,
.category-menu .all-products-menu-item {
  color: #1f2420;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.brand-filter-list button::before {
  background: #ee9834;
}

.hero {
  border-radius: 11px;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, .78), transparent 29%),
    linear-gradient(120deg, #eef7e9 0%, #dcefd1 58%, #bcdca9 100%);
}

.hero-copy {
  padding-left: 58px;
}

.hero h1 {
  color: #224c2a;
  font-family: var(--sans);
  font-size: clamp(43px, 4.2vw, 58px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.hero h1 em,
.eyebrow.rose {
  color: #397744;
}

.hero-copy p {
  color: #536a58;
}

.promo-carousel {
  position: relative;
  display: block;
  min-height: 480px;
  overflow: hidden;
  background: #eaf4e5;
}

.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .75s ease, visibility .75s ease;
}

.promo-slide.active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.promo-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(241, 248, 237, .95) 0%, rgba(241, 248, 237, .82) 31%, rgba(241, 248, 237, .08) 59%, transparent 74%);
  content: "";
}

.promo-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promo-slide-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(42px, 5vw, 68px);
  width: min(38%, 460px);
  transform: translateY(-50%);
}

.promo-slide-copy h2 {
  margin: 18px 0;
  color: #1f2420;
  font-family: var(--sans);
  font-size: clamp(38px, 3.2vw, 52px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.03;
}

.promo-slide-copy h2 em {
  display: block;
  color: #1f2420;
  font-size: .88em;
  font-style: italic;
  line-height: 1.08;
}

.promo-slide-copy .promo-offer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: .56em;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .025em;
}

.promo-slide-copy .promo-offer span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: #f3972f;
  box-shadow: 0 9px 22px rgba(211, 115, 23, .28);
  color: #fff;
  font-size: 1.2em;
  letter-spacing: 0;
}

.promo-slide-copy p {
  max-width: 470px;
  color: #526659;
  font-size: 13px;
  line-height: 1.8;
}

.promo-slide-copy .promo-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  max-width: 560px;
  margin: 18px 0 8px;
  font-size: 14px;
  line-height: 1.25;
}

.promo-pricing span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 600;
}

.promo-pricing del {
  color: #69736b;
  font-size: 23px;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.promo-pricing strong {
  color: #df7f20;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.promo-slide-copy .promo-gift-message {
  max-width: 440px;
  margin: 18px 0 7px;
  color: #304c37;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.promo-gift-note {
  display: block;
  max-width: 430px;
  color: #657268;
  font-size: 10px;
  line-height: 1.55;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.promo-actions .primary-button {
  margin-top: 0;
}

.promo-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 460px;
}

.promo-contact-actions .primary-button {
  width: 100%;
  padding-inline: 16px;
  text-align: center;
}

.promo-contact-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-contact-copy b,
.promo-contact-copy small {
  display: block;
}

.promo-contact-copy b {
  font-size: 10px;
  line-height: 1.35;
}

.promo-contact-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .82);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.promo-actions .promo-inbox-button {
  gap: 9px;
  background: #0866ff;
}

.promo-actions .promo-inbox-button:hover {
  background: #0755d4;
}

.promo-actions .promo-zalo-button {
  gap: 9px;
  background: #0068ff;
}

.promo-actions .promo-zalo-button:hover {
  background: #0055d6;
}

.promo-carousel .hero-dots {
  z-index: 4;
  left: clamp(42px, 6vw, 80px);
  bottom: 26px;
}

.promo-carousel .hero-dots button {
  background: #9cb392;
  transition: width .25s ease, background .25s ease;
}

.promo-carousel .hero-dots button.active {
  width: 28px;
  background: #2f6f3b;
}

.primary-button,
.checkout-button,
.quick-actions .add-cart,
.floating-chat {
  border-radius: 7px;
  background: #2f6f3b;
}

.primary-button:hover,
.checkout-button:hover,
.quick-actions .add-cart:hover {
  background: #57993a;
}

.trust-strip {
  gap: 1px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #e5ece1;
}

.trust-strip article {
  min-height: 92px;
  border: 0;
  background: #fff;
}

.section {
  padding: 76px 0;
}

.section-heading h2,
.ritual-copy h2,
.brand-showcase h2,
.category-showcase h2 {
  color: #253c2a;
  font-family: var(--sans);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -.025em;
}

#products.section {
  padding-bottom: 52px;
}

.catalog-toolbar,
.catalog-sidebar {
  display: none;
}

.catalog-layout {
  display: block;
}

.catalog-main {
  padding: 26px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(45, 91, 51, .06);
}

.catalog-main .product-grid,
.best-sellers .product-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-pills button {
  border-radius: 18px;
}

.category-pills button.active {
  background: #2f6f3b;
  border-color: #2f6f3b;
}

.product-card {
  overflow: hidden;
  border: 1px solid #e6ece3;
  border-radius: 11px;
  background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.product-card:hover {
  border-color: #c9dec1;
  box-shadow: 0 14px 32px rgba(45, 91, 51, .11);
  transform: translateY(-4px);
}

.product-media {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: #fafcf9;
}

.sale-badge {
  width: auto;
  height: auto;
  padding: 7px 9px;
  border-radius: 16px;
  background: #ee9834;
}

.heart-button {
  border-color: #dbe7d7;
}

.heart-button.active {
  background: #70b94a;
}

.product-info {
  padding: 16px 16px 20px;
}

.product-info small {
  color: #719269;
}

.product-info h3 {
  color: #34483a;
  height: auto;
  min-height: 73px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.price {
  flex-direction: row;
}

.price b,
.modal-price b,
.grand-total b {
  color: #df7f20;
}

.product-detail-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
  padding: 11px 13px;
  border: 1px solid #2f7440;
  border-radius: 5px;
  background: transparent;
  color: #234f2e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .2s, color .2s, transform .2s;
}

.stars .no-reviews {
  color: #6b7b70;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.product-detail-button span {
  font-size: 15px;
  line-height: 1;
}

.product-detail-button:hover {
  background: #2f7440;
  color: #fff;
  transform: translateY(-1px);
}

.product-detail-button:focus-visible {
  outline: 3px solid rgba(47, 116, 64, .22);
  outline-offset: 2px;
}

.product-purchase-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.product-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 9px 8px;
  border: 1px solid #2f7440;
  border-radius: 5px;
  background: #2f7440;
  box-shadow: 0 8px 18px rgba(47, 116, 64, .16);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.25;
  text-align: center;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.product-buy-now:hover {
  background: #245e32;
  transform: translateY(-1px);
  box-shadow: 0 11px 22px rgba(47, 116, 64, .23);
}

.product-buy-now:focus-visible {
  outline: 3px solid rgba(47, 116, 64, .24);
  outline-offset: 2px;
}

.product-add-cart-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 9px 8px;
  border: 1px solid #2f7440;
  border-radius: 5px;
  background: #fff;
  color: #245e32;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.25;
  text-align: center;
  transition: background .2s, color .2s, transform .2s;
}

.product-add-cart-button:hover {
  background: #edf5e9;
  transform: translateY(-1px);
}

.product-add-cart-button:focus-visible {
  outline: 3px solid rgba(47, 116, 64, .2);
  outline-offset: 2px;
}

.product-image-button {
  width: 100%;
  height: 100%;
  padding: clamp(8px, 4%, 14px);
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.product-media .product-image-button img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: normal;
  transform: none !important;
  transition: none;
}

.product-card:hover .product-media .product-image-button img {
  transform: none !important;
}

.product-media .product-image-button img.product-image-fallback {
  width: 72% !important;
  height: 72% !important;
}

.product-image-button:focus-visible {
  outline: 3px solid rgba(47, 116, 64, .25);
  outline-offset: -4px;
}

.best-sellers {
  padding-top: 22px;
}

.best-sellers .product-card {
  background: #fff;
}

.modal-product-copy {
  min-width: 0;
  height: 100%;
  max-height: 90vh;
  padding: clamp(28px, 3vw, 46px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #a9bba3 transparent;
}

.product-modal {
  width: min(1400px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  grid-template-columns: minmax(330px, 38%) minmax(390px, 44%) minmax(180px, 18%);
  height: min(92vh, 820px);
  max-height: 92vh;
  overflow: hidden;
}

.product-assurance {
  height: 100%;
  padding: 36px 18px 22px;
  overflow-y: auto;
  border-left: 1px solid #dfe8dc;
  background: linear-gradient(180deg,#f9fcf7 0%,#f1f7ee 100%);
  scrollbar-width: thin;
  scrollbar-color: #a9bba3 transparent;
}

.product-assurance-heading {
  padding: 0 3px 16px;
  border-bottom: 2px solid #347744;
}

.product-assurance-heading span,
.product-assurance-heading strong { display: block; }
.product-assurance-heading span { color: #d96c24; font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.product-assurance-heading strong { margin-top: 5px; color: #294231; font-size: 16px; line-height: 1.35; }

.product-assurance article {
  display: grid;
  grid-template-columns: 35px minmax(0,1fr);
  gap: 10px;
  align-items: start;
  padding: 17px 2px;
  border-bottom: 1px solid #dfe8dc;
}

.product-assurance article > span {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid #9bc98b;
  border-radius: 50%;
  background: #fff;
  color: #5ca73d;
  font-size: 17px;
  font-weight: 800;
}

.product-assurance b,
.product-assurance small { display: block; }
.product-assurance b { color: #df5d2e; font-size: 9px; line-height: 1.4; }
.product-assurance article small { margin-top: 5px; color: #58665c; font-size: 8.5px; line-height: 1.55; }

.product-assurance-help {
  margin-top: 18px;
  padding: 13px;
  border-radius: 7px;
  background: #337542;
  color: #fff;
  text-align: center;
}

.product-assurance-help small { font-size: 7.5px; letter-spacing: .08em; opacity: .8; }
.product-assurance-help a { display: block; margin-top: 5px; font-size: 11px; font-weight: 800; }

.modal-product-copy h2 {
  max-width: 100%;
  font-size: clamp(23px, 2.2vw, 32px);
  overflow-wrap: anywhere;
}

.modal-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.modal-price del {
  margin-left: 0;
}

.modal-product-image {
  min-width: 0;
  min-height: 0;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 34px 24px 20px;
  overflow: hidden;
}

.modal-product-image > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: normal;
}

.modal-variants {
  margin: 20px 0;
  padding: 0;
  border: 0;
}

.modal-variants[hidden] { display: none; }
.modal-variants legend { margin-bottom: 10px; color: #26372b; font-size: 11px; font-weight: 800; }
.modal-variants > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.modal-variants label { display: block; position: relative; cursor: pointer; }
.modal-variants input { position: absolute; opacity: 0; pointer-events: none; }
.modal-variants label > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 8px 10px;
  border: 1px solid #d5dfd2;
  border-radius: 6px;
  background: #fff;
  transition: .2s ease;
}
.modal-variants label > span > img {
  width: 50px;
  height: 54px;
  flex: 0 0 50px;
  border-radius: 6px;
  border: 1px solid #e2e8df;
  background: #fff;
  object-fit: contain;
}
.modal-variants .variant-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
}
.modal-variants label:hover > span { border-color: #6baa61; }
.modal-variants label.selected > span { border-color: #2d743f; background: #f0f7ed; box-shadow: 0 0 0 2px rgba(45,116,63,.09); }
.modal-variants b { color: #35483b; font-size: 10px; line-height: 1.45; }
.modal-variants small { color: #df7718; font-size: 11px; font-weight: 800; white-space: nowrap; }

@media (max-width: 560px) {
  .modal-variants .variant-copy { align-items: flex-start; flex-direction: column; gap: 4px; }
}

.cart-item-variant {
  display: block;
  margin: -2px 0 7px;
  color: #718075;
  font-size: 9px;
  line-height: 1.45;
}

.modal-gallery {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  margin-top: 14px;
  padding: 3px 2px 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.modal-gallery[hidden] {
  display: none;
}

.modal-gallery button {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid #dce5d8;
  border-radius: 6px;
  background: #fff;
  opacity: .68;
  transition: border-color .2s, opacity .2s, transform .2s;
}

@media (max-width: 980px) {
  .product-modal {
    width: min(760px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    height: 92vh;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .modal-product-image {
    height: auto;
    min-height: 460px;
    overflow: visible;
  }

  .modal-product-copy {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .product-assurance {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    height: auto;
    padding: 24px;
    overflow: visible;
    border-top: 1px solid #dfe8dc;
    border-left: 0;
  }

  .product-assurance-heading,
  .product-assurance-help { grid-column: 1 / -1; }
  .product-assurance article:nth-of-type(odd) { border-right: 1px solid #dfe8dc; padding-right: 16px; }
  .product-assurance article:nth-of-type(even) { padding-left: 16px; }
}

.modal-gallery button:hover,
.modal-gallery button.active {
  border-color: #2f7440;
  opacity: 1;
  transform: translateY(-2px);
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}

#modalArticle[hidden] {
  display: none;
}

.product-article {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #e1e8de;
  color: #455248;
  font-size: 13px;
  line-height: 1.82;
}

.product-article h3 {
  margin: 0 0 16px;
  color: #1f2b23;
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.35;
}

.product-article h4 {
  position: relative;
  margin: 34px 0 13px;
  padding: 12px 14px 12px 54px;
  border-left: 3px solid #347c43;
  border-radius: 0 7px 7px 0;
  background: #f3f7f0;
  color: #1f2b23;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-story h4::before {
  content: attr(data-section);
  position: absolute;
  top: 50%;
  left: 13px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #2f7440;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  transform: translateY(-50%);
}

.product-story-toc {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid #dce7d9;
  border-radius: 10px;
  background: linear-gradient(135deg,#f8fbf6,#eff6ec);
}

.product-story-toc > strong {
  display: block;
  margin-bottom: 10px;
  color: #26372b;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-story-toc ol {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-story-toc li + li { margin-top: 0; }

.product-story-toc a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #425046;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
}

.product-story-toc a:hover { color: #2f7440; }
.product-story-toc a span { color: #df7718; font-size: 9px; font-weight: 900; }

.product-decision-guide {
  margin: 18px 0 20px;
  overflow: hidden;
  border: 1px solid #d8e5d5;
  border-radius: 10px;
  background: #f8fbf6;
}

.decision-guide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: #2e6f3c;
  color: #fff;
}

.decision-guide-heading span { font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.decision-guide-heading strong { font-size: 12px; }

.decision-guide-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.decision-guide-grid article {
  min-height: 105px;
  padding: 15px 16px;
  border-right: 1px solid #e0e9dd;
  border-bottom: 1px solid #e0e9dd;
}

.decision-guide-grid article:nth-child(2n) { border-right: 0; }
.decision-guide-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.decision-guide-grid article:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.decision-guide-grid small { display: block; margin-bottom: 6px; color: #327342; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.decision-guide-grid p { margin: 0; color: #46544a; font-size: 11px; line-height: 1.58; }

.product-faq {
  overflow: hidden;
  border: 1px solid #dce5d8;
  border-radius: 8px;
}

.product-faq details + details { border-top: 1px solid #e2e8df; }
.product-faq summary { padding: 13px 15px; color: #2b4232; font-weight: 750; cursor: pointer; }
.product-faq details[open] summary { background: #f3f7f0; }
.product-faq p { padding: 0 15px 14px; background: #f3f7f0; color: #5a655d; }

.product-story-media {
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid #e0e8dd;
  border-radius: 10px;
  background: #f7f9f6;
}

.product-story-media img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #f7f9f6;
}

.product-story-media figcaption {
  padding: 8px 12px;
  border-top: 1px solid #e5ebe2;
  color: #788179;
  font-size: 9px;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}

.product-shop-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin: 18px 0 26px;
}

.product-shop-gallery .product-story-media { margin: 0; }
.product-shop-gallery .product-story-media img { aspect-ratio: 3 / 4; object-fit: cover; }

.product-article p {
  margin: 0 0 10px;
}

.product-article ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.product-article ol {
  margin: 0 0 24px;
  padding-left: 21px;
  color: #4f5c51;
  line-height: 1.75;
}

.product-article ol li + li {
  margin-top: 7px;
}

.product-article li + li {
  margin-top: 5px;
}

.ingredient-intro {
  color: #657068;
}

.ingredient-table-wrap {
  margin: 12px 0;
  overflow-x: auto;
  border: 1px solid #dce5d8;
  border-radius: 7px;
}

.ingredient-table {
  width: 100%;
  min-width: 410px;
  border-collapse: collapse;
  background: #fff;
  color: #34443a;
  font-size: 10.5px;
}

.ingredient-table th,
.ingredient-table td {
  padding: 9px 11px;
  border-bottom: 1px solid #e5ebe2;
  text-align: right;
  white-space: nowrap;
}

.ingredient-table th:first-child,
.ingredient-table td:first-child {
  text-align: left;
}

.ingredient-table thead {
  background: #edf5e9;
  color: #25472e;
}

.ingredient-table tbody tr:last-child td {
  border-bottom: 0;
}

.ingredient-table tbody tr:nth-child(even) {
  background: #fafbf8;
}

.ingredient-other {
  padding: 10px 12px;
  border-radius: 5px;
  background: #f7f8f3;
}

.product-quality-proof {
  margin: 20px 0 8px;
  padding: 18px 20px;
  border: 1px solid #cfe1c9;
  border-left: 4px solid #347744;
  border-radius: 0 9px 9px 0;
  background: linear-gradient(135deg,#f6faf3,#edf6e9);
}

.product-quality-proof > span,
.product-quality-proof > strong { display: block; }
.product-quality-proof > span { margin-bottom: 6px; color: #d76e24; font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.product-quality-proof > strong { margin-bottom: 10px; color: #28442f; font-size: 14px; line-height: 1.45; }
.product-quality-proof p { color: #4d5c52; font-size: 11px; line-height: 1.7; }
.product-quality-proof a { display: inline-block; margin-top: 5px; color: #2f7440; font-size: 9px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.product-notice {
  margin-top: 22px;
  padding: 15px 17px;
  border-left: 3px solid #df7f20;
  background: #f7f8f3;
}

.product-notice strong {
  display: block;
  margin-bottom: 6px;
  color: #26352d;
}

.product-notice small {
  display: block;
  color: #687168;
  font-weight: 600;
}

.product-facts {
  margin: 20px 0 0;
  border-top: 1px solid #e1e8de;
}

.product-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #e1e8de;
}

.product-facts dt {
  color: #6b766d;
}

.product-facts dd {
  margin: 0;
  color: #26352d;
  font-weight: 600;
}

@media (max-width: 720px) {
  .decision-guide-heading { display: block; }
  .decision-guide-heading strong { display: block; margin-top: 4px; }
  .decision-guide-grid { grid-template-columns: 1fr; }
  .decision-guide-grid article,
  .decision-guide-grid article:nth-child(2n),
  .decision-guide-grid article:nth-last-child(-n+2) { min-height: 0; border-right: 0; border-bottom: 1px solid #e0e9dd; }
  .decision-guide-grid article:last-child { border-bottom: 0; }
  .decision-guide-grid article:last-child:nth-child(odd) { grid-column: auto; }
  .product-assurance { grid-template-columns: 1fr; padding: 22px 20px; }
  .product-assurance article:nth-of-type(odd),
  .product-assurance article:nth-of-type(even) { padding: 15px 2px; border-right: 0; }
  .product-assurance-heading,
  .product-assurance-help { grid-column: auto; }
  .product-modal {
    height: 90vh;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .modal-product-image {
    height: auto;
    min-height: 390px;
    overflow: visible;
  }

  .modal-product-copy {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .modal-variants > div { grid-template-columns: 1fr; }
  .modal-gallery button { width: 54px; height: 54px; flex-basis: 54px; }

  .product-story-toc ol { grid-template-columns: 1fr; }
  .product-shop-gallery { grid-template-columns: 1fr; }
  .product-article { font-size: 12px; }
  .product-article h3 { font-size: 19px; }
}

.ritual {
  background: #edf5e9;
}

.ritual-image {
  border-radius: 12px;
  background: #d9ebd1;
}

.journal-card,
.journal-card.featured {
  overflow: hidden;
  border: 1px solid #e2e9df;
  border-radius: 10px;
  background: #fff;
}

.category-showcase,
.brand-showcase {
  margin-bottom: 40px;
  padding: 48px 38px;
  border-radius: 12px;
  background: #fff;
}

.brand-showcase-heading {
  text-align: center;
}

.category-showcase h2 {
  margin: 8px 0 30px;
}

.category-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-wall button {
  display: grid;
  min-height: 165px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 22px;
  border: 1px solid #dfebda;
  border-radius: 10px;
  background: #f6faf3;
  color: #365c3c;
  transition: transform .25s, border-color .25s, background .25s;
}

.category-wall button:hover {
  border-color: #9dc48b;
  background: #eff7ea;
  transform: translateY(-3px);
}

.category-wall button > span {
  color: #70b94a;
  font-size: 31px;
}

.category-wall b {
  font-size: 13px;
}

.category-wall small {
  color: #7a897c;
  font-size: 9px;
}

.brand-wall {
  border-color: #e0e9dd;
}

.brand-wall a {
  border-color: #e0e9dd;
  color: #607263;
}

.brand-wall a:hover {
  background: #f0f7ec;
  color: #2f6f3b;
}

.brand-logo-wall {
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 0;
  padding: 22px;
  border: 0;
  border-radius: 10px;
  background: #f4f6f3;
}

.brand-logo-wall a {
  min-width: 0;
  min-height: 126px;
  padding: 24px 18px;
  border: 0;
  background: transparent;
}

.brand-logo-wall a:hover {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(47,111,59,.08);
}

.brand-logo-wall img {
  width: 100%;
  max-width: 145px;
  height: 66px;
  object-fit: contain;
  transition: transform .2s ease;
}

.brand-logo-wall a:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  .brand-logo-wall { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 540px) {
  .brand-logo-wall { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 10px; }
  .brand-logo-wall a { min-height: 105px; padding: 18px 12px; }
  .brand-logo-wall img { height: 56px; }
}

.newsletter {
  margin-top: 70px;
  border: 0;
  background: #2f6f3b;
  color: #fff;
}

.newsletter h2,
.newsletter .eyebrow {
  color: #fff;
}

.newsletter button {
  background: #ee9834;
}

footer {
  background: #214f2a;
  color: #fff;
}

.footer-logo img {
  filter: grayscale(1) invert(1) brightness(1.35);
  mix-blend-mode: screen;
}

.footer-grid h4 {
  color: #fff;
}

.footer-brand p,
.footer-grid > div > a:not(.brand),
.footer-grid > div > p {
  color: #c8d9c9;
}

.footer-bottom {
  border-color: #46724c;
  color: #9fbaa2;
}

.socials a {
  border-color: #6e9373;
}

.floating-phone,
.floating-chat,
.free-shipping span {
  background: #70b94a;
}

.consultation-widget {
  position: fixed;
  z-index: 25;
  right: 26px;
  bottom: 28px;
}

.consultation-widget .floating-chat {
  position: relative;
  right: auto;
  bottom: auto;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 13px;
  letter-spacing: .08em;
  box-shadow: 0 12px 28px rgba(35, 83, 43, .22);
  animation: contactPulse 2.6s ease-out infinite;
}

.floating-phone {
  right: 246px;
  bottom: 28px;
  width: 58px;
  height: 58px;
  font-size: 24px;
  animation: contactPulse 2.6s .65s ease-out infinite;
}

@keyframes contactPulse {
  0%, 45%, 100% {
    box-shadow: 0 10px 25px rgba(49, 111, 59, .2), 0 0 0 0 rgba(112, 185, 74, .34);
  }
  72% {
    box-shadow: 0 13px 30px rgba(49, 111, 59, .24), 0 0 0 12px rgba(112, 185, 74, 0);
  }
}

.consultation-options {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 245px;
  padding: 8px;
  border: 1px solid #dce7d8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(35, 83, 43, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.98);
  transform-origin: right bottom;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.consultation-widget.open .consultation-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.consultation-options a {
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 11px;
  align-items: center;
  padding: 11px;
  border-radius: 8px;
  color: #26352c;
  transition: background .2s ease;
}

.consultation-options a + a {
  border-top: 1px solid #edf1eb;
}

.consultation-options a:hover {
  background: #f2f8ef;
}

.consultation-option-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.messenger-icon {
  background: #0866ff;
}

.zalo-icon {
  background: #0068ff;
}

.consultation-options b,
.consultation-options small {
  display: block;
}

.consultation-options b {
  font-size: 11px;
}

.consultation-options small {
  margin-top: 4px;
  color: #7a847c;
  font-size: 9px;
}

@media (max-width: 1100px) {
  .header-main {
    height: 116px;
    grid-template-columns: 235px minmax(300px, 1fr) auto;
  }

  .site-header .logo-brand {
    width: 225px;
    height: 75px;
  }

  .site-header .logo-brand img {
    width: 225px;
    height: 225px;
    transform: translateY(-75px);
  }

  .catalog-main .product-grid,
  .best-sellers .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .announcement {
    justify-content: center;
  }

  .floating-phone {
    right: 92px;
    bottom: 28px;
  }

  .header-main {
    height: 72px;
  }

  .site-header .logo-brand {
    width: 58px;
    height: 55px;
  }

  .site-header .logo-brand img {
    width: 165px;
    height: 165px;
    transform: translate(-10px, -55px);
  }

  .catalog-main .product-grid,
  .best-sellers .product-grid,
  .category-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-main {
    padding: 14px;
  }

  .promo-carousel {
    min-height: 570px;
  }

  .promo-slide-image {
    object-position: 68% center;
  }

  .promo-slide::after {
    background: linear-gradient(180deg, rgba(241, 248, 237, .98) 0%, rgba(241, 248, 237, .9) 47%, rgba(241, 248, 237, .18) 78%, transparent 100%);
  }

  .promo-slide-copy {
    top: 44px;
    left: 28px;
    width: calc(100% - 56px);
    transform: none;
  }

  .promo-slide-copy h2 {
    font-size: 39px;
  }

  .promo-slide-copy p {
    max-width: 92%;
  }

  .promo-actions {
    gap: 8px;
  }

  .promo-actions .primary-button {
    padding: 13px 15px;
    font-size: 9px;
  }

  .promo-contact-actions {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .promo-carousel .hero-dots {
    left: 28px;
  }

  .category-showcase,
  .brand-showcase {
    padding: 34px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consultation-widget .floating-chat,
  .floating-phone {
    animation: none;
  }
}

@media (max-width: 410px) {
  .catalog-main .product-grid,
  .best-sellers .product-grid,
  .category-wall {
    grid-template-columns: 1fr;
  }
}

/* Quản lý sản phẩm tạm thời */
.admin-session-bar {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(45,116,63,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 35px rgba(25,55,34,.18);
  backdrop-filter: blur(8px);
}

.admin-session-bar[hidden] { display: none; }
.admin-session-bar span { padding: 0 7px; color: #5d6d61; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.admin-session-bar button { border: 1px solid #2d743f; border-radius: 5px; padding: 10px 12px; font-size: 9px; font-weight: 800; }
.admin-session-bar button:first-of-type { background: #2d743f; color: #fff; }
.admin-session-bar button:last-of-type { background: #fff; color: #2d743f; }

.nav-admin-button {
  border: 1px solid #2d743f;
  border-radius: 5px;
  background: #fff;
  color: #1f5f32;
  padding: 9px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-admin-button:hover {
  color: #fff;
  background: #2d743f;
}

.product-manager-modal {
  width: min(1120px, calc(100% - 30px));
  max-height: 92vh;
  padding: 30px;
  overflow: auto;
  border-radius: 10px;
}

.product-manager-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-right: 35px;
}

.product-manager-head small {
  color: #2d743f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.product-manager-head h2 {
  margin: 5px 0 0;
  font-size: 28px;
  color: #17261c;
}

.manager-new-button,
.manager-save-button {
  border: 0;
  border-radius: 5px;
  background: #2d743f;
  color: #fff;
  padding: 13px 17px;
  font-size: 11px;
  font-weight: 800;
}

.manager-storage-note {
  margin: 18px 0;
  padding: 11px 14px;
  border-left: 3px solid #ef942b;
  background: #fff8eb;
  color: #6b5d45;
  font-size: 11px;
  line-height: 1.6;
}

.product-manager-layout {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(470px, 1.5fr);
  gap: 24px;
  align-items: start;
}

.manager-product-list {
  max-height: 620px;
  overflow: auto;
  border: 1px solid #dce7d9;
  border-radius: 7px;
  background: #f8fbf6;
}

.manager-product-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid #e3eadf;
  background: #fff;
  color: #24352a;
  text-align: left;
}

.manager-product-item:hover { background: #eff7eb; }
.manager-product-item:last-child { border-bottom: 0; }
.manager-product-item img { width: 58px; height: 58px; border-radius: 5px; object-fit: contain; background: #f5f7f2; }
.manager-product-item span { min-width: 0; }
.manager-product-item b,
.manager-product-item small { display: block; }
.manager-product-item b { overflow: hidden; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.manager-product-item small { margin-top: 4px; color: #748075; font-size: 9px; }
.manager-product-item i { color: #2d743f; font-size: 9px; font-style: normal; font-weight: 800; }

.manager-product-form {
  padding: 20px;
  border: 1px solid #dce7d9;
  border-radius: 7px;
}

.manager-product-form h3 { margin: 0 0 17px; color: #1c3524; font-size: 18px; }
.manager-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.manager-product-form label { display: block; color: #34463a; font-size: 10px; font-weight: 700; }
.manager-product-form input:not([type="checkbox"]),
.manager-product-form select,
.manager-product-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #cfdacf;
  border-radius: 4px;
  background: #fff;
  padding: 11px;
  color: #24352a;
  outline: none;
}
.manager-product-form input:focus,
.manager-product-form select:focus,
.manager-product-form textarea:focus { border-color: #2d743f; box-shadow: 0 0 0 3px rgba(45,116,63,.1); }
.manager-product-form textarea { resize: vertical; }
.manager-field-wide { grid-column: 1 / -1; }
.manager-check { display: flex !important; align-items: center; gap: 8px; padding-top: 22px; }
.manager-file-field small { display: block; margin-top: 5px; color: #7b847c; font-size: 9px; font-weight: 400; }

.manager-image-preview {
  display: grid;
  place-items: center;
  width: 140px;
  height: 120px;
  margin-top: 15px;
  border: 1px dashed #b9c9b6;
  border-radius: 5px;
  background: #f8faf6;
  color: #889087;
  font-size: 10px;
}
.manager-image-preview img { width: 100%; height: 100%; object-fit: contain; }
.manager-form-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.manager-cancel-button,
.manager-delete-button { border: 1px solid #b9c5b8; border-radius: 5px; background: #fff; padding: 12px 16px; font-size: 10px; font-weight: 800; }
.manager-delete-button { margin-left: auto; border-color: #bf4d4d; color: #a32e2e; }

@media (max-width: 900px) {
  .product-manager-layout { grid-template-columns: 1fr; }
  .manager-product-list { max-height: 260px; }
}

@media (max-width: 720px) {
  .admin-session-bar { left: 10px; right: 10px; bottom: 10px; justify-content: center; }
  .admin-session-bar span { display: none; }
  .product-manager-modal { padding: 22px 15px; }
  .product-manager-head { display: block; }
  .manager-new-button { margin-top: 14px; }
  .manager-form-grid { grid-template-columns: 1fr; }
  .manager-field-wide { grid-column: auto; }
  .manager-check { padding-top: 4px; }
  .manager-delete-button { margin-left: 0; }
}
