/*
 * Greenland Phú Quốc theme — CÔNG TY TNHH ĐẤT XANH PQG
 * Loaded last (MainLayout) to override the legacy template styles.
 * Palette taken from the logo: jungle green, sea blue, lagoon, sun.
 */
:root {
  --gl-forest: #17542a;
  --gl-leaf: #4c9a2a;
  --gl-sea: #1456b8;
  --gl-sea-deep: #0d3f8a;
  --gl-lagoon: #2bb3d6;
  --gl-sun: #f2a31b;
  --gl-salt: #f6faf7;
  --gl-foam: #e7f3ee;
  --gl-ink: #10261a;
  --gl-muted: #4f6357;
  --gl-line: #d6e6dc;
  --gl-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --gl-sans: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  --gl-radius: 14px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--gl-salt) none !important;
  color: var(--gl-ink);
  font-family: var(--gl-sans);
  font-size: 16px;
  line-height: 1.6;
}

body h1, body h2, body h3, body h4 {
  font-family: var(--gl-serif);
  color: var(--gl-forest);
  letter-spacing: -0.01em;
}

body a { color: var(--gl-sea); text-decoration: none; }
body a:hover, body a:focus { color: var(--gl-sea-deep); }

body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body .btn:focus-visible {
  outline: 3px solid var(--gl-lagoon);
  outline-offset: 2px;
}

body .container { max-width: 1200px; }

/* ---------- Header ---------- */
#header.header {
  background: #fff;
  border-bottom: 1px solid var(--gl-line);
}

#header .header-top {
  background: var(--gl-forest) none;
  height: 6px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

#header .header-body {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  padding: 18px 0 14px;
}

#header .header-body .logo {
  float: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

#header .header-body .logo img {
  width: 92px;
  height: 92px;
  max-height: none;
  object-fit: contain;
  display: block;
}

#header .header-body .slogan {
  float: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  background: none;
}

#header .header-body .slogan h1 {
  margin: 0;
  font-family: var(--gl-serif);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.15;
  color: var(--gl-forest);
  text-transform: none;
  background: none;
}

/* Routes.razor FocusOnNavigate focuses the first h1; it is not interactive, so no ring */
#header .header-body .slogan h1:focus { outline: none; }

#header .gl-tagline {
  font-size: 15px;
  color: var(--gl-sea);
}

/* Main nav */
#header .navbar-main {
  background: none;
  border: 0;
  border-top: 1px solid var(--gl-line);
  margin: 0;
  min-height: 0;
  border-radius: 0;
}

#header .navbar-main::before,
#header .navbar-main::after,
#header .navbar-main .navbar-nav::before,
#header .navbar-main .navbar-nav::after {
  background: none !important;
  border: 0 !important;
}

@media (min-width: 768px) {
  #header .navbar-main .navbar-header { display: none; }
}

/* bootstrap clearfix pseudo-elements would become flex items */
#header .navbar-main .navbar-collapse::before,
#header .navbar-main .navbar-collapse::after,
#header .navbar-main .navbar-nav::before,
#header .navbar-main .navbar-nav::after { display: none; }

#header .navbar-main .navbar-collapse {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: none;
}

#header .navbar-main .navbar-nav {
  background: none;
  float: none;
  margin: 0;
  height: auto;
  display: flex;
  gap: 4px;
}

#header .navbar-main .navbar-nav > li {
  float: none;
  background: none;
  border: 0;
}

#header .navbar-main .navbar-nav > li > a {
  position: relative;
  padding: 16px 14px;
  font-family: var(--gl-sans);
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  text-decoration: none;
  color: var(--gl-ink) !important;
  background: none !important;
  border: 0;
}

#header .navbar-main #menu > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 3px;
  border-radius: 3px;
  background: var(--gl-leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

#header .navbar-main #menu > li > a:hover,
#header .navbar-main #menu > li > a:focus {
  color: var(--gl-forest) !important;
}

#header .navbar-main #menu > li > a:hover::after,
#header .navbar-main #menu > li > a:focus::after { transform: scaleX(1); }

#header .navbar-main #cart > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gl-foam);
}

/* cart.svg is drawn white for the old green bar; tint it forest green */
#header .navbar-main #cart img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(24%) sepia(48%) saturate(820%) hue-rotate(95deg);
}

#header #CartCount,
#m-menu #mCartCount {
  background: var(--gl-sun);
  color: var(--gl-ink);
  font-weight: 700;
  border-radius: 999px;
  min-width: 22px;
  padding: 3px 7px;
}

/* Language switch (VI / EN) */
#header #cart { align-items: center; gap: 10px; }

#header .navbar-main #cart > li.gl-lang,
#m-menu li.gl-lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--gl-line);
  border-radius: 999px;
  background: #fff;
}

#header .navbar-main #cart > li.gl-lang > a,
#m-menu li.gl-lang > a {
  display: block;
  padding: 5px 11px !important;
  border-radius: 999px;
  background: none !important;
  color: var(--gl-muted) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

#header .navbar-main #cart > li.gl-lang > a.active,
#m-menu li.gl-lang > a.active {
  background: var(--gl-forest) !important;
  color: #fff !important;
}

#header .navbar-main #cart > li.gl-lang > a::after { display: none; }

#m-menu li.gl-lang { margin: 12px 16px; width: max-content; }

/* ---------- Hero (home carousel, full width) ---------- */
#content.content > .container,
body .main-content,
body .new-tour { background: transparent none; }

.home-page .header-bottom.gl-hero {
  margin: 0;
  height: auto;
}

#carousel-home {
  position: relative;
  height: clamp(420px, 46vw, 640px);
  overflow: hidden;
  background: var(--gl-sea-deep);
}

#carousel-home .carousel-inner,
#carousel-home .carousel-inner > .item { height: 100%; }

#carousel-home .carousel-inner > .item > img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* cross-fade slides (Home.razor toggles .active on a timer) */
#carousel-home.gl-fade .carousel-inner { position: relative; }

#carousel-home.gl-fade .carousel-inner > .item {
  display: block;
  position: absolute;
  inset: 0;
  left: 0;
  opacity: 0;
  transform: none;
  transition: opacity .9s ease;
}

#carousel-home.gl-fade .carousel-inner > .item.active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  #carousel-home.gl-fade .carousel-inner > .item { transition: none; }
}

#carousel-home .carousel-indicators li { cursor: pointer; }

/* readability veil under the caption */
#carousel-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 40, 22, .74) 0%, rgba(8, 40, 22, .35) 45%, rgba(8, 40, 22, 0) 72%);
}

/* caption lines up with the page container */
#carousel-home .gl-hero-caption-wrap {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: clamp(110px, 16%, 150px);
  margin: 0 auto;
  background: transparent;
  pointer-events: none;
}

.gl-hero-caption {
  max-width: 560px;
  color: #fff;
  pointer-events: auto;
}

.gl-hero-caption h2 {
  margin: 0 0 12px;
  font-family: var(--gl-serif);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.05;
  color: #fff;
}

.gl-hero-caption p {
  margin: 0 0 22px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .92);
}

body .gl-hero-cta {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--gl-sun);
  color: var(--gl-ink);
  font-weight: 700;
  font-size: 15px;
}

body .gl-hero-cta:hover,
body .gl-hero-cta:focus { background: #ffb73d; color: var(--gl-ink); }

/* wave edge echoing the logo */
.gl-hero-wave {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(36px, 6vw, 90px);
  display: block;
}

.gl-hero-wave path { fill: var(--gl-salt); }

#carousel-home .carousel-indicators {
  z-index: 5;
  bottom: clamp(70px, 9vw, 120px);
  right: max(16px, calc((100vw - 1170px) / 2 + 15px));
  left: auto;
  width: auto;
  margin: 0;
}

#carousel-home .carousel-indicators li {
  width: 10px;
  height: 10px;
  margin: 0 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  transition: width .2s ease;
}

#carousel-home .carousel-indicators li.active {
  width: 28px;
  background: #fff;
}

/* ---------- Quick links bar (overlaps the hero) ---------- */
body .gl-quick {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: calc(-1 * clamp(40px, 5vw, 64px)) auto 8px;
  background: #fff;
  border: 1px solid var(--gl-line);
  border-radius: 20px;
  box-shadow: 0 18px 40px -24px rgba(16, 38, 26, .45);
  overflow: hidden;
}

body .gl-quick > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  color: var(--gl-ink);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}

body .gl-quick > a + a { border-left: 1px solid var(--gl-line); }

body .gl-quick > a:hover,
body .gl-quick > a:focus-visible { background: var(--gl-foam); color: var(--gl-forest); }

body .gl-quick > a > i {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gl-foam);
  color: var(--gl-forest);
  font-size: 18px;
}

body .gl-quick > a:nth-child(2) > i { color: #c98100; background: #fdf3df; }
body .gl-quick > a:nth-child(3) > i { color: var(--gl-sea); background: #e6effb; }
body .gl-quick > a:nth-child(4) > i { color: #1489a8; background: #e3f5fa; }

/* ---------- Sections ---------- */
body .main-content { background: none; }

body .box-content {
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  margin: 48px 0 8px;
}

body .gl-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 0 28px;
  text-align: center;
}

body .box-content .title-box-content {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--gl-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  text-transform: none;
  color: var(--gl-forest);
  text-align: center;
}

/* small sea-wave mark under each section title */
body .box-content .title-box-content::after {
  content: "";
  display: block;
  width: 72px;
  height: 10px;
  margin: 12px auto 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 10'%3E%3Cpath d='M1 5c6-5 11-5 17 0s11 5 17 0 11-5 17 0 11 5 17 0' fill='none' stroke='%231456b8' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

body .gl-see-all {
  font-weight: 600;
  font-size: 15px;
  color: var(--gl-sea);
}

body .gl-see-all:hover { text-decoration: underline; }

body .box-content .mt30 { margin-top: 0; }

/* ---------- Product cards ---------- */
.tour-product { display: flex; flex-wrap: wrap; }
.tour-product::before, .tour-product::after { display: none; }

.tour-product > [class*="col-"] {
  float: none;
  display: flex;
  margin-bottom: 30px;
}

body .item-product {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  background: #fff;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--gl-line), 0 16px 34px -26px rgba(16, 38, 26, .5);
}

body .item-product .image,
body .tour-product .item-product .image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 10px 10px 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gl-foam);
}

body .item-product .image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform .4s ease;
}

body .item-product .image:hover img { transform: scale(1.04); }

/* legacy template fades images on hover */
body .owl-tour .item-product:hover .image img { opacity: 1; filter: none; }

@media (prefers-reduced-motion: reduce) {
  body .item-product .image img { transition: none; }
  body .item-product .image:hover img { transform: none; }
}

body .item-product .gl-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #d93a2b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

body .item-product .gl-price-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 38, 26, .75);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

body .item-product .gl-price-pill small {
  margin-left: 3px;
  font-size: 12px;
  font-weight: 500;
  opacity: .85;
}

body .item-product .caption-product {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 20px;
  height: auto;
  background: #fff;
  border: 0;
  text-align: left;
}

body .item-product .caption-product .caption-title,
body .owl-tour .item-product .caption-product .caption-title {
  margin: 0;
  min-height: 0;
  /* legacy .home-page .owl-tour rule pins this to 30px */
  height: auto !important;
  max-height: none !important;
  line-height: 1.3 !important;
  overflow: visible !important;
  font-size: 19px;
  text-align: left;
  text-transform: none;
}

body .item-product .caption-product .caption-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  font-family: var(--gl-serif);
  font-weight: 600;
  text-transform: none;
  color: var(--gl-forest) !important;
}

body .item-product .caption-product .caption-title a:hover { color: var(--gl-sea) !important; }

body .item-product .gl-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gl-muted);
}

body .item-product .gl-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}

body .item-product .gl-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--gl-sea);
}

body .item-product .btn,
body .item-product .btn-default {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 22px;
  height: auto;
  border: 0;
  border-radius: 999px;
  background: var(--gl-sun);
  color: var(--gl-ink) !important;
  font-weight: 700;
  font-size: 14px;
  text-transform: none;
}

body .item-product .btn:hover,
body .item-product .btn:focus { background: #ffb73d; color: var(--gl-ink) !important; }

/* ---------- Floating hotline ---------- */
body .gl-call {
  position: fixed;
  z-index: 60;
  left: 16px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: var(--gl-forest);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px -12px rgba(16, 38, 26, .6);
}

body .gl-call:hover,
body .gl-call:focus { color: #fff; background: #1d6a35; }

body .gl-call > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gl-sun);
  color: var(--gl-ink);
}

/* ---------- Pagination ---------- */
body .pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 40px;
}

body .pagination > li > a,
body .pagination > li > button,
body .pagination .page-link {
  float: none;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  margin: 0;
  border: 1px solid var(--gl-line);
  border-radius: 999px !important;
  background: #fff;
  color: var(--gl-ink);
  font-weight: 600;
  line-height: 38px;
  text-align: center;
}

body .pagination > li:first-child > a {
  border-color: transparent;
  background: none;
  color: var(--gl-muted);
  font-weight: 500;
}

body .pagination > li.active > button,
body .pagination > li.active > a,
body .pagination .page-item.active .page-link {
  background: var(--gl-forest);
  border-color: var(--gl-forest);
  color: #fff;
}

/* ---------- Generic buttons & forms (detail, cart, checkout, contact) ---------- */
body .btn-default,
body .btn-primary,
body .btn-black {
  border: 0;
  border-radius: 999px;
  background: var(--gl-sea);
  color: #fff;
  font-weight: 600;
  text-transform: none;
}

body .btn-default:hover,
body .btn-primary:hover,
body .btn-black:hover { background: var(--gl-sea-deep); color: #fff; }

body .form-control {
  border: 1px solid var(--gl-line);
  border-radius: 10px;
  box-shadow: none;
}

body .form-control:focus {
  border-color: var(--gl-lagoon);
  box-shadow: 0 0 0 3px rgba(43, 179, 214, .2);
}

body .ce_headline.title-headdline,
body .mod_product-list-related h3 {
  background: none;
  border-bottom: 2px solid var(--gl-line);
  padding-bottom: 10px;
  font-family: var(--gl-serif);
  color: var(--gl-forest);
  text-transform: none;
}

body .ce_headline.title-headdline span,
body .mod_product-list-related h3 span {
  background: none;
  color: inherit;
  padding: 0;
}

body .prices-main .prices-btn {
  color: var(--gl-forest) !important;
  font-family: var(--gl-serif);
  font-size: 24px;
}

body .infomation > .control .btn,
body .infomation > .control button {
  background: var(--gl-sun) none !important;
  color: var(--gl-ink) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 10px 26px !important;
  font-weight: 700;
  text-transform: none;
}

body .infomation > .control .btn::before { color: var(--gl-ink) !important; }

body .infomation > .control .nut {
  border-radius: 999px;
  background: var(--gl-foam) !important;
  color: var(--gl-forest) !important;
}

body .head_container_div h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
  text-transform: none;
}

body .image-main img {
  max-width: 100%;
  height: auto;
  border-radius: var(--gl-radius);
}

body .table > thead > tr > th {
  border-bottom: 2px solid var(--gl-line);
  color: var(--gl-forest);
  font-weight: 600;
}

/* ---------- Footer ---------- */
body .footer-section {
  margin-top: 56px;
  padding: 56px 0 40px;
  background: var(--gl-forest);
  color: rgba(255, 255, 255, .82);
  position: relative;
}

/* thin sea + sun stripe on top, like the logo's horizon */
body .footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gl-sea) 0 70%, var(--gl-lagoon) 70% 88%, var(--gl-sun) 88% 100%);
}

body .footer-section a { color: rgba(255, 255, 255, .86); text-decoration: none; }
body .footer-section a[href]:hover { color: #fff; text-decoration: underline; }

body .footer-section .footer-logo-wrap .footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

body .footer-section .footer-logo img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  padding: 4px;
}

body .footer-section .footer-logo strong {
  font-family: var(--gl-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

body .footer-section ul li { margin-bottom: 6px; line-height: 1.55; }

/* ---------- Back to top ---------- */
#backtotop {
  background: var(--gl-sea) none;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  line-height: 44px;
}

#backtotop .fa { color: #fff; }

/* ---------- Mobile ---------- */
body .menu_rp {
  background-color: var(--gl-forest);
  background-position: center;
  border-radius: 10px;
  width: 42px;
  height: 38px;
  top: 14px;
  right: 14px;
}

/* ---------- Shop page (/products) ---------- */
.gl-shop-head {
  position: relative;
  padding: clamp(36px, 6vw, 64px) 0 clamp(54px, 7vw, 84px);
  background: linear-gradient(120deg, var(--gl-forest) 0%, #1f6b3a 55%, var(--gl-sea) 100%);
  color: #fff;
}

/* same wave edge as the home hero */
.gl-shop-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(28px, 4vw, 56px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 54 C 240 96 420 6 720 40 S 1200 92 1440 30 L1440 90 L0 90 Z' fill='%23f6faf7'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
}

body .gl-shop-head h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.1;
  color: #fff;
}

body .gl-shop-head .container { background: transparent; }

.gl-shop-head p {
  max-width: 60ch;
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, .88);
}

.gl-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 10px;
}

.gl-chips { display: flex; flex-wrap: wrap; gap: 8px; }

body .gl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--gl-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gl-ink);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

body .gl-chip > span {
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--gl-foam);
  color: var(--gl-forest);
  font-size: 12px;
  text-align: center;
}

body .gl-chip:hover { border-color: var(--gl-leaf); }

body .gl-chip.active {
  background: var(--gl-forest);
  border-color: var(--gl-forest);
  color: #fff;
}

body .gl-chip.active > span { background: rgba(255, 255, 255, .2); color: #fff; }

.gl-shop-tools { display: flex; flex-wrap: wrap; gap: 10px; }

.gl-search {
  position: relative;
  margin: 0;
  font-weight: 400;
}

.gl-search > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gl-muted);
  font-size: 14px;
}

body .gl-search input,
body .gl-shop-tools select {
  height: 42px;
  border: 1px solid var(--gl-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gl-ink);
  font-size: 14px;
}

body .gl-search input { width: 240px; padding: 0 16px 0 38px; }
body .gl-shop-tools select { padding: 0 14px; }

body .gl-search input:focus,
body .gl-shop-tools select:focus {
  outline: none;
  border-color: var(--gl-lagoon);
  box-shadow: 0 0 0 3px rgba(43, 179, 214, .2);
}

.gl-shop-count {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--gl-muted);
}

.gl-shop-empty {
  margin: 40px 0 60px;
  text-align: center;
  color: var(--gl-muted);
}

@media (max-width: 767px) {
  .gl-shop-tools, body .gl-search, body .gl-search input { width: 100%; }
  body .gl-shop-tools select { flex: 1; }
  .gl-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; width: 100%; }
  body .gl-chip { flex: 0 0 auto; }
}

/* ---------- About page (/about-us), reuses .gl-shop-head ---------- */
.gl-about-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin: 8px 0 64px;
}

.gl-about-layout > .gl-about-body:only-child { grid-column: 1 / -1; max-width: 860px; margin: 0 auto; }

.gl-about-toc {
  position: sticky;
  top: 96px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-radius);
}

.gl-about-toc-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gl-muted);
}

.gl-about-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gl-toc;
}

.gl-about-toc li { counter-increment: gl-toc; }

body .gl-about-toc a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--gl-ink);
}

.gl-about-toc a::before {
  content: counter(gl-toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.55;
  color: var(--gl-leaf);
}

body .gl-about-toc a:hover,
body .gl-about-toc a:focus-visible { background: var(--gl-foam); color: var(--gl-forest); }

.gl-about-body { display: flex; flex-direction: column; gap: 24px; }

.gl-about-card {
  scroll-margin-top: 110px;
  padding: clamp(22px, 3vw, 36px);
  background: #fff;
  border-radius: var(--gl-radius);
  box-shadow: 0 0 0 1px var(--gl-line), 0 16px 34px -26px rgba(16, 38, 26, .5);
}

.gl-about-img {
  display: block;
  width: calc(100% + 2 * clamp(22px, 3vw, 36px));
  max-width: none;
  height: clamp(180px, 28vw, 320px);
  margin: calc(-1 * clamp(22px, 3vw, 36px)) calc(-1 * clamp(22px, 3vw, 36px)) 24px;
  object-fit: cover;
  border-radius: var(--gl-radius) var(--gl-radius) 0 0;
}

body .gl-about-card h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  color: var(--gl-forest);
}

/* short sea-wave mark, same as section titles */
body .gl-about-card h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 8px;
  margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 10'%3E%3Cpath d='M1 5c6-5 11-5 17 0s11 5 17 0 11-5 17 0 11 5 17 0' fill='none' stroke='%231456b8' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / contain;
}

/* CMS html: neutralise inline styles, keep it readable */
.gl-about-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gl-ink);
  overflow-wrap: anywhere;
}

.gl-about-text * { font-family: inherit !important; text-align: left !important; max-width: 100%; }
.gl-about-text p, .gl-about-text span { font-size: inherit !important; }
.gl-about-text p { margin: 0 0 14px; }
.gl-about-text > :last-child, .gl-about-text p:last-child { margin-bottom: 0; }
.gl-about-text img { height: auto; margin: 8px 0; border-radius: 10px; }
.gl-about-text ul, .gl-about-text ol { margin: 0 0 14px; padding-left: 22px; }
.gl-about-text li { margin-bottom: 6px; }
/* Word-pasted CMS text is often bold end to end; soften it */
.gl-about-text strong, .gl-about-text b { font-weight: 500; color: inherit; }
.gl-about-text table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.gl-about-text td, .gl-about-text th { padding: 8px 10px; border: 1px solid var(--gl-line); }

@media (max-width: 991px) {
  .gl-about-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  /* TOC turns into a scrollable chip row */
  .gl-about-toc { position: static; padding: 0; background: none; border: 0; }
  .gl-about-toc-title { display: none; }
  .gl-about-toc ol { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .gl-about-toc li { flex: 0 0 auto; }

  body .gl-about-toc a {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--gl-line);
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
  }

  .gl-about-toc a::before { line-height: 1.45; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #header .header-body .slogan h1 { font-size: 18px !important; }
  #header .gl-tagline { display: none; }
}

/* Desktop: logo and menu share one sticky row */
@media (min-width: 992px) {
  #header.header {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  #header > .container {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  #header > .container::before,
  #header > .container::after { display: none; }

  #header .header-body { flex: 0 1 auto; padding: 10px 0; }
  #header .header-body .logo img { width: 72px; height: 72px; }
  #header .header-body .slogan h1 { font-size: 22px; }
  #header .gl-tagline { font-size: 13px; }

  #header .navbar-main {
    flex: 1 1 auto;
    border-top: 0;
  }

  #header .navbar-main .navbar-collapse { justify-content: flex-end; gap: 18px; }
  #header .navbar-main #menu > li > a { white-space: nowrap; padding: 16px 10px; }
  #header .navbar-main #menu > li > a::after { left: 10px; right: 10px; }
  #header .header-body .slogan h1 { white-space: nowrap; }
}

@media (max-width: 991px) {
  body .gl-quick { grid-template-columns: repeat(2, 1fr); }
  body .gl-quick > a:nth-child(3) { border-left: 0; }
  body .gl-quick > a:nth-child(n+3) { border-top: 1px solid var(--gl-line); }
}

@media (max-width: 767px) {
  #header .header-body { padding: 12px 64px 12px 0; gap: 12px; }
  #header .header-body .slogan { text-align: left; }
  #header .header-body .logo img { width: 64px; height: 64px; }
  #header .gl-tagline { font-size: 13px; }
  #header .navbar-main .navbar-collapse { display: none !important; }

  #carousel-home { height: 460px; }
  #carousel-home::before {
    background: linear-gradient(0deg, rgba(8, 40, 22, .8) 0%, rgba(8, 40, 22, .3) 58%, rgba(8, 40, 22, 0) 82%);
  }
  #carousel-home .gl-hero-caption-wrap { bottom: 84px; }
  #carousel-home .carousel-indicators { bottom: 48px; }

  body .gl-quick > a { padding: 14px; gap: 10px; font-size: 14px; }
  body .gl-quick > a > i { width: 36px; height: 36px; font-size: 16px; }

  body .box-content { margin-top: 36px; }
  .tour-product > [class*="col-"] { margin-bottom: 20px; }
  body .item-product .caption-product { padding: 14px 16px 16px; }
  body .item-product .caption-product .caption-title { font-size: 17px; }

  body .gl-call { padding: 6px; }
  body .gl-call > span { display: none; }
}

/* Product variants (goi gia) on product detail */
body .gl-compare-price {
  margin-left: 10px;
  color: var(--gl-muted);
  font-size: 15px;
}

body .gl-variants {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

body .gl-variants-title {
  font-weight: 600;
  color: var(--gl-ink);
}

body .gl-variant {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-radius);
  background: #fff;
  cursor: pointer;
  font-weight: 400;
  transition: border-color .15s, background-color .15s;
}

body .gl-variant:hover {
  border-color: var(--gl-leaf);
}

body .gl-variant.is-active {
  border-color: var(--gl-forest);
  background: var(--gl-foam);
}

body .gl-variant input {
  margin: 0;
  accent-color: var(--gl-forest);
}

body .gl-variant-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

body .gl-variant-name {
  color: var(--gl-ink);
}

body .gl-variant-desc {
  color: var(--gl-muted);
}

body .gl-variant-price {
  font-weight: 700;
  color: var(--gl-forest);
  white-space: nowrap;
}

body .gl-variant-price small {
  margin-left: 3px;
  font-weight: 500;
  color: var(--gl-muted);
}
