/* ==========================================================================
   TATA GARDEN 100% AUTHENTIC STOREFRONT STYLESHEET
   ========================================================================== */

/* Reading Progress & Admin Quick Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--tg-gold), var(--tg-accent));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.1s linear;
}

.tg-admin-bar {
  background: #111827;
  color: #e5e7eb;
  font-size: 12px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tg-admin-bar__left, .tg-admin-bar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tg-admin-bar a, .tg-admin-bar button {
  color: #d1fae5;
  background: rgba(20, 102, 83, 0.35);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}
.tg-admin-bar a:hover, .tg-admin-bar button:hover {
  background: var(--tg-gold);
  color: #111827;
  border-color: var(--tg-gold);
}

/* Topbar (#site-topbar) */
.site-topbar {
  height: var(--tg-topbar-h);
  background: var(--g-dark);
  color: #9cb3ab;
  font-size: 11.5px;
  position: relative;
  z-index: 105;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9cb3ab;
  transition: color 0.15s;
}
.topbar-item:hover, .topbar-right a:hover {
  color: #ffffff;
}
.topbar-item svg {
  width: 12px;
  height: 12px;
  opacity: 0.8;
}
.topbar-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

/* Main Header (#site-header.hdr-dark) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--g);
  height: var(--tg-header-h);
  transition: box-shadow 0.3s ease, background 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}
.site-header .container {
  max-width: 1380px;
  padding-inline: 24px;
}
.site-header.is-scrolled {
  background: rgba(20, 102, 83, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 36px rgba(13, 74, 59, 0.28);
  border-top: 2px solid var(--tg-gold);
}
.nav-row {
  height: var(--tg-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  width: 100%;
  max-width: 100%;
}
.hdr-logo {
  flex: 0 1 255px;
  min-width: 0;
  display: flex;
  align-items: center;
  margin-right: 4px;
}
.hdr-logo > a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.hdr-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.hdr-logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--tg-gold);
  color: var(--charcoal) !important;
  font-weight: 800;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  margin-top: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.32);
}
.hdr-logo-badge.is-logo-img {
  width: 42px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
.hdr-logo-badge.is-logo-img.is-shape-circle {
  border-radius: 50%;
}
.hdr-logo-badge.is-logo-img.is-shape-plain {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.hdr-logo .hdr-logo-badge img.tg-brand-icon-img,
.tgf-logo .hdr-logo-badge img.tg-brand-icon-img,
.hdr-logo-badge img.tg-brand-icon-img {
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  display: block;
}
.hdr-logo-badge.is-logo-img.is-shape-plain img.tg-brand-icon-img {
  object-fit: contain;
}
.hdr-logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  line-height: 1.15;
  min-width: 0;
  max-width: 100%;
}
.hdr-logo-fallback > div {
  min-width: 0;
  overflow: hidden;
}
.hdr-logo-fallback strong {
  display: block;
  font-size: 16.5px;
  letter-spacing: 0.03em;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hdr-logo-fallback div > span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-top: 2px;
  max-width: 195px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hdr-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}
.nav-menu > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: static;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: all 0.18s ease;
  white-space: nowrap;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav-link.active {
  background: rgba(201, 168, 76, 0.22);
  color: var(--gold-lt);
  font-weight: 600;
}
.nav-arrow {
  width: 11px;
  height: 11px;
  transition: transform 0.2s ease;
}
.nav-menu > li:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Desktop Mega Menu */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 24px 64px rgba(13, 74, 59, 0.22);
  border-top: 2px solid var(--tg-gold);
  padding: 28px 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 1100;
}
.nav-menu > li.has-megamenu:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 250px;
  gap: 22px;
}
.mega-grid--no-promo {
  grid-template-columns: repeat(4, 1fr);
}
.mega-cats-grid {
  grid-column: span 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mega-cat-block {
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.15s;
}
.mega-cat-block:hover {
  background: #f6faf8;
}
.mega-cat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--g);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(20, 102, 83, 0.1);
}
.mega-cat-title span.cnt {
  font-size: 11px;
  background: var(--g-pale);
  color: var(--g);
  padding: 1px 7px;
  border-radius: 99px;
}
.mega-sub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mega-sub-list a {
  font-size: 12.5px;
  color: var(--muted);
  display: block;
  padding: 2px 0;
  transition: color 0.15s, transform 0.15s;
}
.mega-sub-list a:hover {
  color: var(--g);
  transform: translateX(3px);
}
.mega-promo-card {
  background: linear-gradient(145deg, var(--g-dark), var(--g));
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega-promo-card h4 {
  font-size: 16px;
  margin: 8px 0;
  line-height: 1.3;
}
.mega-promo-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
}

/* Header Right Actions */
.hdr-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.hdr-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}
.hdr-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.hdr-btn svg {
  width: 18px;
  height: 18px;
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--tg-gold);
  color: var(--charcoal);
  font-size: 10.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hdr-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 3px;
}
.hdr-quote-btn {
  background: var(--tg-gold);
  color: var(--charcoal);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 10px;
  transition: all 0.2s;
  white-space: nowrap;
}
.hdr-quote-btn:hover {
  background: var(--tg-gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.35);
}
.hdr-mobile-toggle {
  display: none;
}

/* Search Overlay Modal */
.tg-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 38, 30, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 90px;
}
.tg-search-modal.open {
  display: flex;
}
.tg-search-box {
  background: #fff;
  width: min(680px, 92vw);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}
.tg-search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--g);
  border-radius: 14px;
  padding: 10px 16px;
}
.tg-search-input-row input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15.5px;
  color: var(--charcoal);
}
.tg-search-results {
  margin-top: 14px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tg-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.15s;
}
.tg-search-item:hover {
  background: var(--g-pale);
}
.tg-search-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f3ee;
}

/* Marquee Ticker (.tg-ticker) */
.tg-ticker {
  position: relative;
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream-2) 50%, var(--cream) 100%);
  border-bottom: 1px solid var(--stone);
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  user-select: none;
}
.tg-ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: tgMarquee 38s linear infinite;
}
.tg-ticker:hover .tg-ticker__track {
  animation-play-state: paused;
}
@keyframes tgMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tg-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.tg-ticker__item svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
.tg-ticker__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tg-gold);
  opacity: 0.65;
}

/* ==========================================================================
   HOMEPAGE 14 SECTIONS
   ========================================================================== */

/* 1. Hero Section + Weather Widget */
.tg-hero {
  position: relative;
  background: var(--hf-bg, var(--g-dark));
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--hf-bg, var(--g-dark));
  --hf-fit: var(--hf-fit-d, cover);
  --hf-x: var(--hf-x-d, 50%);
  --hf-y: var(--hf-y-d, 50%);
  --hf-s: var(--hf-s-d, 1);
}
.hero-bg-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: var(--hf-fit, cover);
  object-position: var(--hf-x, 50%) var(--hf-y, 50%);
  transform: scale(var(--hf-s, 1));
  transform-origin: var(--hf-x, 50%) var(--hf-y, 50%);
  will-change: transform;
  pointer-events: none;
  user-select: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: calc(var(--hf-overlay, 85) / 100);
  background:
    linear-gradient(110deg, rgba(13, 74, 59, 0.88) 0%, rgba(13, 74, 59, 0.56) 52%, rgba(13, 74, 59, 0.2) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 0%, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 48px;
  align-items: center;
  padding: 92px 36px 175px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.hero-title {
  font-family: var(--tg-font-display);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 800;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-title em {
  display: block;
  font-style: normal;
  color: var(--gold-lt);
}
.hero-desc {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hero-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 16px 28px;
  margin-top: 26px;
}
.hero-badge-num {
  font-family: var(--tg-font-display);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-badge-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 5px;
}

/* Weather & Live Clock Widget */
.hero-weather {
  background: rgba(34, 72, 48, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  padding: 28px;
  color: #fff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}
.weather-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.weather-temp {
  font-family: var(--tg-font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}
.weather-icon svg {
  width: 48px;
  height: 48px;
  color: #fff;
}
.weather-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}
.weather-city {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}
.weather-city svg {
  width: 13px;
  height: 13px;
}
.weather-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: 16px 0;
}
.weather-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.weather-extra-item span:first-child {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
}
.weather-extra-item span:last-child {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}
.weather-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
}
.weather-time {
  font-family: var(--tg-font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* 2. Advantages Strip */
.tg-advantages {
  background: linear-gradient(180deg, #f0f7f4 0%, #f8fafb 55%, #ffffff 100%);
  padding: 0 36px 88px;
  position: relative;
  z-index: 5;
}
.adv-grid {
  max-width: 1120px;
  margin: -100px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 34px 30px;
  box-shadow: 0 16px 48px rgba(20, 102, 83, 0.1);
  border: 1px solid rgba(20, 102, 83, 0.07);
  transition: var(--transition);
}
.adv-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 64px rgba(20, 102, 83, 0.18);
  border-color: rgba(31, 148, 120, 0.25);
}
.adv-card__num {
  font-family: var(--tg-font-display);
  font-size: 42px;
  font-weight: 800;
  color: #d6ece5;
  line-height: 1;
  margin-bottom: 14px;
  transition: color 0.3s;
}
.adv-card:hover .adv-card__num {
  color: var(--g-light);
}
.adv-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.adv-card__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* Shared Section Spacing */
.tg-section {
  padding: 92px 36px;
}
.tg-inner {
  max-width: var(--tg-max-w);
  margin: 0 auto;
}
.section-hdr {
  margin-bottom: 52px;
}
.section-hdr.center {
  text-align: center;
}
.section-hdr h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  color: var(--charcoal);
  margin-top: 10px;
}
.section-hdr p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
  margin-top: 12px;
}
.section-hdr.center p {
  margin-inline: auto;
}

/* 3. About Section */
.tg-about {
  background: linear-gradient(208deg, #ffffff 50%, #eef6f2 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0 32px;
}
.about-pillar {
  background: #fff;
  border: 1px solid rgba(20, 102, 83, 0.1);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.about-pillar h4 {
  font-size: 15px;
  color: var(--g);
  margin-bottom: 6px;
}
.about-pillar p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.about-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-sub {
  position: absolute;
  bottom: -24px;
  left: -28px;
  width: 48%;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. Dark Green Stats Banner */
.tg-stats {
  background: var(--g-dark);
  position: relative;
  overflow: hidden;
  padding: 68px 36px;
}
.tg-stats__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
}
.stats-grid {
  position: relative;
  z-index: 2;
  max-width: var(--tg-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-box {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-box:last-child {
  border-right: none;
}
.stat-box__num {
  font-family: var(--tg-font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  color: var(--gold-lt);
  line-height: 1;
}
.stat-box__lbl {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
  font-weight: 500;
}

/* 5. Services Showcase */
.tg-services {
  background: var(--cream);
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}
.services-grid > * {
  flex: 1 1 280px;
  max-width: calc((100% - 52px) / 3);
  min-width: 0;
}
.services-grid:has(> :only-child) > * {
  flex: 0 1 560px;
  max-width: 560px;
  width: 100%;
}
.services-grid:has(> :nth-child(2):last-child) > * {
  flex: 0 1 460px;
  max-width: calc((100% - 26px) / 2);
  width: 100%;
}
.services-grid:has(> :nth-child(4):last-child) > * {
  flex: 0 1 520px;
  max-width: calc((100% - 26px) / 2);
  width: 100%;
}
.svc-featured-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.svc-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.svc-featured-card:hover .svc-card-bg {
  transform: scale(1.07);
}
.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 42, 33, 0.94) 0%, rgba(13, 74, 59, 0.45) 55%, rgba(0, 0, 0, 0.12) 100%);
}
.svc-card-body {
  position: relative;
  z-index: 2;
}
.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 168, 76, 0.25);
  border: 1px solid rgba(240, 216, 149, 0.45);
  color: var(--gold-lt);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.svc-card-title {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.svc-card-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-lt);
  white-space: nowrap;
}
.svc-card-cta svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.svc-featured-card:hover .svc-card-cta svg {
  transform: translateX(4px);
}

/* 6. Homepage Shop Tabs & Carousel */
.tg-home-shop {
  background: linear-gradient(155deg, #eef7f3 0%, #fafffe 55%, #f2f8f5 100%);
  position: relative;
  overflow: hidden;
}
.home-shop-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.home-shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.home-tab-btn {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(20, 102, 83, 0.16);
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s;
}
.home-tab-btn.active, .home-tab-btn:hover {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
  box-shadow: 0 6px 18px rgba(20, 102, 83, 0.22);
}
.carousel-outer {
  overflow: hidden;
  padding: 6px 2px 16px;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 66px) / 4);
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.cnav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--stone);
  color: var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cnav-btn:hover:not(:disabled) {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
}
.cnav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cdots {
  display: flex;
  gap: 6px;
}
.cdot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--g-muted);
  border: none;
  transition: all 0.25s;
}
.cdot.active {
  width: 22px;
  background: var(--g);
}

/* 7. Projects Masonry */
.tg-projects {
  background: var(--cream);
}
.projects-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 18px;
}
.projects-masonry:has(> :only-child) {
  grid-template-columns: minmax(0, 600px);
  justify-content: center;
  grid-auto-rows: 340px;
}
.projects-masonry:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
  grid-auto-rows: 300px;
}
.projects-masonry:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 270px;
}
.projects-masonry:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
}
.proj-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
}
.proj-card.tall {
  grid-row: span 2;
}
.proj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.proj-card:hover img {
  transform: scale(1.07);
}
.proj-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 52, 41, 0.9) 0%, rgba(13, 52, 41, 0.15) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0.94;
  transition: opacity 0.25s;
}
.proj-card__cat {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-lt);
  font-weight: 700;
  margin-bottom: 4px;
}
.proj-card__title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}

/* 8. Workflow / Connect */
.tg-connect {
  background: var(--g-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tg-connect .section-hdr h2 {
  color: #fff;
}
.tg-connect .section-hdr p {
  color: rgba(255, 255, 255, 0.7);
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.wf-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px 24px;
  transition: var(--transition);
}
.wf-card:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-5px);
}
.wf-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tg-gold);
  color: var(--charcoal);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.wf-card h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}
.wf-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* 9. Testimonials */
.tg-testi {
  background: var(--cream-2);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 102, 83, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.testi-stars {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 2px;
}
.testi-quote {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.75;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--stone);
}
.testi-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--g-pale);
}
.testi-author strong {
  display: block;
  font-size: 14px;
  color: var(--charcoal);
}
.testi-author span {
  font-size: 12px;
  color: var(--muted);
}

/* 10. Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stone);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.blog-card__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: #f2f5f3;
}
.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__thumb img {
  transform: scale(1.06);
}
.blog-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--g);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
}
.blog-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
}
.blog-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-card__title:hover {
  color: var(--g);
}
.blog-card__excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--g);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 11. Mid-Page Team CTA Banner */
.tg-cta-banner {
  background: linear-gradient(140deg, #0d4a3b 0%, #146653 45%, #1a7a63 100%);
  color: #fff;
  overflow: hidden;
}
.cta-banner-box {
  max-width: var(--tg-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
  padding: 64px 36px;
}
.ctab-img-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}
.ctab-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.ctab-rating-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--charcoal);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.ctab-right h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  margin: 10px 0 14px;
}
.ctab-right p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15.5px;
  margin-bottom: 26px;
  max-width: 500px;
}
.ctab-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--gold-lt);
}

/* 12. FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1.5px solid var(--stone);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open {
  border-color: var(--g);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q span.icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--g-pale);
  color: var(--g);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.25s;
}
.faq-item.open .faq-q span.icon {
  background: var(--g);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-a {
  display: block;
}

/* 13. Partners Strip */
.tg-partners {
  background: var(--cream);
  padding: 48px 36px;
  border-top: 1px solid var(--stone);
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 24px;
}
.partners-row img {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: all 0.25s;
}
.partners-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}

/* ==========================================================================
   SHOP, CATEGORY & PRODUCT CARDS
   ========================================================================== */
.woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 36px 0;
  max-width: var(--tg-max-w);
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--muted);
}
.woocommerce-breadcrumb a:hover {
  color: var(--g);
}

.tg-shop-hero {
  padding: 18px 0 0;
}
.tg-shop-hero__inner {
  position: relative;
  background:
    radial-gradient(ellipse at 70% -20%, rgba(90, 170, 42, 0.24), transparent 55%),
    linear-gradient(140deg, #1a7060 0%, #146653 50%, #0d4a3b 100%);
  border-radius: 22px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 40px;
  align-items: center;
  min-height: 280px;
}
.tg-shop-hero__inner > *,
.tg-shop-body > *,
.cart-layout > *,
.checkout-layout > *,
.pdp-layout > *,
.hero-inner > * {
  min-width: 0;
}
.tg-shop-hero__inner--no-floats {
  grid-template-columns: 1fr;
}
.tg-shop-hero__eyebrow {
  color: var(--tg-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tg-shop-hero__title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 12px;
}
.tg-shop-hero__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin-bottom: 24px;
}
.tg-shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tg-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  padding: 6px 15px;
  border-radius: 99px;
  transition: all 0.2s;
}
.tg-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.tg-chip--active {
  background: #3f7a1e;
  border-color: #3f7a1e;
  color: #fff;
  font-weight: 700;
}

/* Interactive Compact Mobile Category Slider Rail */
.tg-pill-rail {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 4px;
  user-select: none;
}
.tg-pill-rail.is-visible {
  display: flex;
}
.tg-pill-rail__hint {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.tg-pill-rail__btn {
  width: 24px;
  height: 24px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.16s ease;
}
.tg-pill-rail__btn:disabled {
  opacity: 0.32;
  cursor: default;
}
.tg-pill-rail__track {
  flex: 1;
  min-width: 64px;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.tg-pill-rail__bar {
  position: relative;
  width: 100%;
  height: 5px;
  border-radius: 99px;
  overflow: hidden;
}
.tg-pill-rail__thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 99px;
  min-width: 24px;
  transition: left 0.06s linear;
}
.tg-pill-rail--dark .tg-pill-rail__hint {
  color: rgba(240, 216, 149, 0.92);
}
.tg-pill-rail--dark .tg-pill-rail__bar {
  background: rgba(255, 255, 255, 0.18);
}
.tg-pill-rail--dark .tg-pill-rail__thumb {
  background: linear-gradient(90deg, var(--gold-lt), #78d64b);
  box-shadow: 0 0 8px rgba(240, 216, 149, 0.45);
}
.tg-pill-rail--dark .tg-pill-rail__btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}
.tg-pill-rail--dark .tg-pill-rail__btn:not(:disabled):active {
  background: rgba(255, 255, 255, 0.28);
}
.tg-pill-rail--light {
  margin-top: 2px;
  margin-bottom: 18px;
}
.tg-pill-rail--light .tg-pill-rail__hint {
  color: var(--muted);
}
.tg-pill-rail--light .tg-pill-rail__bar {
  background: rgba(20, 102, 83, 0.14);
}
.tg-pill-rail--light .tg-pill-rail__thumb {
  background: linear-gradient(90deg, var(--g), var(--tg-accent));
}
.tg-pill-rail--light .tg-pill-rail__btn {
  background: #fff;
  border: 1px solid var(--stone);
  color: var(--g);
}
.tg-pills-scrollable {
  padding-right: 18px;
}
.home-shop-tabs.tg-pills-scrollable,
.diy-cat-pills.tg-pills-scrollable {
  margin-bottom: 4px;
}
.tg-pills-scrollable.can-scroll-right:not(.can-scroll-left) {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent 100%);
}
.tg-pills-scrollable.can-scroll-left.can-scroll-right {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 28px), transparent 100%);
}
.tg-pills-scrollable.can-scroll-left:not(.can-scroll-right) {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 100%);
}
.tg-shop-hero__floats {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  margin-bottom: -64px;
}
.tg-shop-hero__float img {
  border-radius: 14px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.22);
  background: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}
.tg-shop-hero__float--1 { transform: rotate(-6deg) translateY(10px); }
.tg-shop-hero__float--1 img { width: 125px; height: 160px; }
.tg-shop-hero__float--2 { transform: rotate(1deg) translateY(-12px); z-index: 2; }
.tg-shop-hero__float--2 img { width: 148px; height: 190px; }
.tg-shop-hero__float--3 { transform: rotate(5deg) translateY(8px); }
.tg-shop-hero__float--3 img { width: 120px; height: 155px; }

.tg-shop-body {
  display: grid;
  grid-template-columns: 1fr var(--tg-shop-sidebar-w);
  gap: 36px;
  padding: 84px 0 72px;
  align-items: start;
}
.tg-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stone);
  flex-wrap: wrap;
}
.tg-shop-toolbar select {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(20, 102, 83, 0.18);
  font-size: 13px;
  color: var(--charcoal);
  background: #fff;
}
.tg-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Authentic Product Card */
.tg-product-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(20, 102, 83, 0.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(13, 74, 59, 0.04);
}
.tg-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(13, 74, 59, 0.14);
  border-color: rgba(20, 102, 83, 0.24);
}
.tg-product-card__img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: #f5f3ee;
  overflow: hidden;
  display: block;
}
.tg-product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tg-product-card:hover .tg-product-card__img-wrap img {
  transform: scale(1.07);
}
.tg-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  z-index: 2;
}
.tg-product-badge--sale {
  background: #e53935;
  color: #fff;
}
.tg-wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s;
}
.tg-wish-btn.active, .tg-wish-btn:hover {
  color: #e53935;
  transform: scale(1.08);
}
.tg-product-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 7px;
}
.tg-product-card__cat {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tg-product-card__title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.tg-product-card__title:hover {
  color: var(--g);
}
.tg-product-card__rating {
  font-size: 11.5px;
  color: #f5a623;
}
.tg-product-card__price {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--g);
  margin-top: auto;
}
.tg-product-card__price del {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 400;
  margin-right: 6px;
}
.tg-product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1px solid rgba(20, 102, 83, 0.08);
}
.tg-product-card__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tg-btn-addcart {
  height: 34px;
  border-radius: 10px;
  background: var(--g);
  color: #fff;
  border: none;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s;
}
.tg-btn-addcart:hover {
  background: var(--g-dark);
}
.tg-btn-buynow {
  height: 34px;
  border-radius: 10px;
  background: transparent;
  color: var(--g);
  border: 1.5px solid var(--g);
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.tg-btn-buynow:hover {
  background: var(--g);
  color: #fff;
}
.tg-product-card__detail {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(20, 102, 83, 0.18);
  font-size: 12px;
  font-weight: 600;
  color: var(--g);
  text-align: center;
  transition: all 0.18s;
}
.tg-product-card__detail:hover {
  background: rgba(20, 102, 83, 0.07);
  border-color: var(--g);
}

/* Shop Sticky Sidebar */
.tg-shop-sidebar__sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tg-sidebar-widget {
  background: #fff;
  border: 1.5px solid rgba(20, 102, 83, 0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(13, 74, 59, 0.05);
}
.tg-sidebar-widget__title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(20, 102, 83, 0.1);
}
.tg-sidebar-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tg-sidebar-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13px;
  color: #3d524a;
  transition: all 0.15s;
}
.tg-sidebar-cat-list a:hover, .tg-sidebar-cat-list a.is-active {
  background: rgba(20, 102, 83, 0.1);
  color: var(--g);
  font-weight: 700;
}
.tg-cat-count {
  font-size: 11.5px;
  background: rgba(20, 102, 83, 0.1);
  color: var(--g);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 700;
}
.tg-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tg-tag {
  padding: 5px 11px;
  font-size: 11.5px;
  border-radius: 99px;
  border: 1.5px solid rgba(20, 102, 83, 0.18);
  color: var(--g);
  background: rgba(20, 102, 83, 0.04);
  transition: all 0.18s;
}
.tg-tag:hover, .tg-tag.active {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}
.tg-sidebar-b2b {
  background: linear-gradient(145deg, #1a7060, #0d4a3b);
  border-radius: 16px;
  padding: 22px 20px;
  color: #fff;
}
.tg-sidebar-b2b h4 {
  font-size: 16px;
  margin: 6px 0 8px;
}
.tg-sidebar-b2b p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

/* Pagination */
.tg-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.tg-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(28, 38, 33, 0.12);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.tg-page-btn.active, .tg-page-btn:hover {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP)
   ========================================================================== */
.woocommerce-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  margin: 18px 0;
  border-radius: 12px;
  background: rgba(20, 102, 83, 0.09);
  border: 1px solid rgba(20, 102, 83, 0.2);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 500;
}
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr 270px;
  gap: 32px;
  padding: 28px 0 56px;
  align-items: start;
}
.pdp-gallery-main {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  aspect-ratio: 1/1;
  border: 1px solid var(--stone);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: zoom-in;
}
.pdp-gallery-main.is-zoomed {
  touch-action: none;
  cursor: grab;
}
.pdp-gallery-main.is-zoomed:active {
  cursor: grabbing;
}
.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.22s ease, opacity 0.2s ease;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}
.pdp-img-counter {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.pdp-stage-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(20, 102, 83, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  z-index: 3;
  transition: all 0.16s ease;
}
.pdp-stage-nav:hover {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}
.pdp-stage-nav--prev { left: 10px; }
.pdp-stage-nav--next { right: 10px; }
.pdp-zoom-bar {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(17, 24, 39, 0.78);
  backdrop-filter: blur(8px);
  padding: 4px;
  border-radius: 99px;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
.pdp-zoom-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border: none;
  border-radius: 99px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.pdp-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.pdp-zoom-btn--pct {
  font-size: 11px;
  font-weight: 700;
  min-width: 42px;
}
.pdp-zoom-btn--full {
  background: rgba(201, 168, 76, 0.28);
  color: var(--gold-lt);
}
.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.pdp-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--stone);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  background: #ffffff;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pdp-thumb.active {
  border-color: var(--g);
  box-shadow: 0 4px 12px rgba(20, 102, 83, 0.2);
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fullscreen Interactive Product Lightbox */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 18, 0.94);
  backdrop-filter: blur(8px);
  z-index: 4000;
  display: none;
  flex-direction: column;
}
.pdp-lightbox.open {
  display: flex;
}
.pdp-lb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.pdp-lb-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.pdp-lb-title strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-lb-counter {
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.pdp-lb-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pdp-lb-btn {
  height: 34px;
  min-width: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pdp-lb-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}
.pdp-lb-btn--pct {
  font-size: 12px;
  min-width: 54px;
}
.pdp-lb-btn--close {
  background: var(--tg-gold);
  border-color: var(--tg-gold);
  color: var(--charcoal);
  font-size: 12.5px;
  padding: 0 14px;
}
.pdp-lb-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: zoom-in;
}
.pdp-lb-stage.is-zoomed {
  touch-action: none;
  cursor: grab;
}
.pdp-lb-stage.is-zoomed:active {
  cursor: grabbing;
}
.pdp-lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.22s ease, opacity 0.2s ease;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}
.pdp-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.pdp-lb-nav:hover {
  background: var(--g);
  border-color: var(--g);
}
.pdp-lb-nav--prev { left: 16px; }
.pdp-lb-nav--next { right: 16px; }
.pdp-lb-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px 14px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pdp-lb-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  padding: 0;
  border: 2px solid transparent;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.15s ease;
}
.pdp-lb-thumb.active, .pdp-lb-thumb:hover {
  opacity: 1;
  border-color: var(--tg-gold);
}
.pdp-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 10px;
}
.pdp-title {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 10px;
}
.pdp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.pdp-price-box {
  background: var(--cream);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 18px;
  border: 1px solid var(--stone);
}
.pdp-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--g);
}
.pdp-price del {
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
  margin-right: 10px;
}
.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  flex-wrap: wrap;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--stone);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.qty-control button {
  width: 38px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
}
.qty-control input {
  width: 52px;
  height: 44px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}
.pdp-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--stone);
}
.pdp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
}
.pdp-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--g);
}

/* PDP Tabs & Specs */
.pdp-tabs {
  margin-top: 24px;
  border-top: 1px solid var(--stone);
  padding-top: 32px;
}
.pdp-tab-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.pdp-tab-btn {
  padding: 10px 24px;
  border-radius: 99px;
  border: 1.5px solid var(--stone);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}
.pdp-tab-btn.active {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
}
.pdp-rich-content {
  font-family: var(--tg-font-body, 'Be Vietnam Pro', 'Plus Jakarta Sans', sans-serif);
  font-size: var(--tg-body-size, 15px);
  line-height: var(--tg-body-lh, 1.75);
  color: var(--ink);
  word-break: break-word;
}
.pdp-rich-content p {
  margin: 0 0 12px;
}
.pdp-rich-content h2, .pdp-rich-content h3, .pdp-rich-content h4 {
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif);
  margin: 22px 0 10px;
  color: var(--charcoal);
  line-height: 1.35;
}
.pdp-rich-content h2 { font-size: 1.45em; }
.pdp-rich-content h3 { font-size: 1.24em; }
.pdp-rich-content h4 { font-size: 1.1em; }
.pdp-rich-content blockquote {
  margin: 14px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--g);
  background: #f4faf7;
  border-radius: 0 10px 10px 0;
  color: var(--g-dark);
  font-style: italic;
}
.pdp-rich-content ul, .pdp-rich-content ol {
  margin: 10px 0 16px 22px;
}
.pdp-rich-content li {
  margin-bottom: 6px;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--stone);
}
.specs-table tr:nth-child(odd) {
  background: var(--cream);
}
.specs-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--stone);
}
.specs-table td:first-child {
  font-weight: 700;
  width: 36%;
  color: var(--charcoal);
}

/* ==========================================================================
   CART & CHECKOUT
   ========================================================================== */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 36px;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.checkout-step.active {
  color: var(--g);
  font-weight: 800;
}
.checkout-step span.num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--stone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
}
.checkout-step.active span.num {
  background: var(--g);
  color: #fff;
}
.cart-layout, .checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  padding-bottom: 72px;
  align-items: start;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stone);
}
.cart-table th {
  background: var(--cream);
  text-align: left;
  padding: 14px 16px;
  font-size: 12.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.cart-table td {
  padding: 16px;
  border-top: 1px solid var(--stone);
  vertical-align: middle;
}
.summary-card {
  background: var(--cream);
  border: 1.5px solid var(--stone);
  border-radius: 20px;
  padding: 26px;
  position: sticky;
  top: 92px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.summary-row.total {
  font-size: 19px;
  font-weight: 800;
  color: var(--g);
  border-bottom: none;
  padding-top: 16px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tg-field {
  margin-bottom: 16px;
}
.tg-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.tg-field input, .tg-field select, .tg-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--stone);
  font-size: 14px;
  color: var(--charcoal);
  background: #fff;
  transition: border-color 0.2s;
}
.tg-field input:focus, .tg-field select:focus, .tg-field textarea:focus {
  outline: none;
  border-color: var(--g);
}

/* ==========================================================================
   FOOTER, FLOATING WIDGETS & COOKIE BANNER
   ========================================================================== */
.tg-footer {
  color: rgba(179, 217, 208, 0.72);
  font-size: 14px;
}
.tgf-cta {
  position: relative;
  overflow: hidden;
  background-color: var(--fc-bg, #02382b);
  padding: 68px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tgf-cta__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--fc-bg, #02382b);
  --fc-fit: var(--fc-fit-d, cover);
  --fc-x: var(--fc-x-d, 50%);
  --fc-y: var(--fc-y-d, 50%);
  --fc-s: var(--fc-s-d, 1);
}
.tgf-cta__bg-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: var(--fc-fit, cover);
  object-position: var(--fc-x, 50%) var(--fc-y, 50%);
  transform: scale(var(--fc-s, 1));
  transform-origin: var(--fc-x, 50%) var(--fc-y, 50%);
  will-change: transform;
  pointer-events: none;
  user-select: none;
}
.tgf-cta__overlay {
  position: absolute;
  inset: 0;
  opacity: calc(var(--fc-overlay, 78) / 100);
  background: linear-gradient(115deg, rgba(2, 56, 43, 0.92) 0%, rgba(20, 102, 83, 0.72) 55%, rgba(13, 74, 59, 0.88) 100%);
  pointer-events: none;
}
.tgf-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.tgf-cta__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tg-gold-lt);
  margin-bottom: 10px;
}
.tgf-cta__title {
  font-size: clamp(24px, 3vw, 40px);
  color: #fff;
  margin-bottom: 10px;
  max-width: 560px;
}
.tgf-cta__desc {
  color: rgba(255, 255, 255, 0.76);
  max-width: 500px;
}
.tgf-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.tgf-main {
  background:
    radial-gradient(circle at 12% 20%, rgba(31, 148, 120, 0.18) 0%, transparent 38%),
    linear-gradient(160deg, var(--footer-green) 0%, var(--footer-bg) 100%);
}
.tgf-main__inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.35fr;
  gap: 48px;
  padding-top: 68px;
  padding-bottom: 56px;
}
.tgf-logo img {
  max-height: 54px;
  margin-bottom: 18px;
}
.tgf-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(179, 217, 208, 0.22);
  border-radius: 99px;
  padding: 8px 18px 8px 8px;
  background: rgba(255, 255, 255, 0.05);
  margin: 18px 0 20px;
}
.tgf-phone-pill__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tg-gold);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tgf-social {
  display: flex;
  gap: 10px;
}
.tgf-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(179, 217, 208, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1fae5;
  transition: all 0.2s;
}
.tgf-social a:hover {
  background: var(--tg-gold);
  color: var(--charcoal);
}
.tgf-col__heading {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tgf-col__line {
  width: 30px;
  height: 3px;
  background: var(--tg-gold);
  border-radius: 99px;
  margin-bottom: 20px;
}
.tgf-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tgf-list a:hover {
  color: var(--tg-gold-lt);
}
.tgf-newsletter-form {
  display: flex;
  gap: 8px;
  margin: 14px 0 10px;
}
.tgf-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(179, 217, 208, 0.25);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 13px;
}
.tgf-newsletter-form button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: var(--tg-gold);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 13px;
}
.tgf-bottom {
  border-top: 1px solid rgba(179, 217, 208, 0.14);
  padding: 20px 0;
  font-size: 12.5px;
}
.tgf-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.tgf-bottom__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.tgf-bottom__links a:hover {
  color: #fff;
}

/* Floating Quick Contact (Zalo + Pulsing Green Phone) */
.tg-floating-contact {
  position: fixed;
  right: 22px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1500;
}
.tg-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s;
}
.tg-float-btn:hover {
  transform: scale(1.09);
}
.tg-float-btn--zalo {
  background: #0068ff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.tg-float-btn--phone {
  background: #4caf50;
  animation: tgPulse 2s infinite;
}
@keyframes tgPulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.65); }
  70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Cookie Banner */
.tg-cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: min(410px, calc(100vw - 44px));
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
  border: 1px solid var(--stone);
  z-index: 1600;
}
.tg-cookie-banner h4 {
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.tg-cookie-banner p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.tg-cookie-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* Toast Notification */
.tg-toast-container {
  position: fixed;
  top: 84px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tg-toast {
  background: #fff;
  border-left: 4px solid var(--g);
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal);
  animation: slideInRight 0.25s ease;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Modal (Quick Quote & DIY) */
.tg-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 38, 30, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tg-modal-backdrop.open {
  display: flex;
}
.tg-modal-card {
  background: #fff;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 22px;
  padding: 30px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

/* Mobile Drawer */
.tg-mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2200;
  display: none;
}
.tg-mobile-drawer.open {
  display: block;
}
.tg-mobile-drawer__panel {
  width: min(330px, 86vw);
  height: 100%;
  background: #fff;
  padding: 22px;
  overflow-y: auto;
}

/* DIY Product Selector Grid */
.diy-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.diy-cat-pill {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--stone);
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.16s ease;
}
.diy-cat-pill:hover {
  border-color: var(--g);
  color: var(--g);
}
.diy-cat-pill.active {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
  box-shadow: 0 4px 12px rgba(20, 102, 83, 0.22);
}
.diy-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-height: 390px;
  overflow-y: auto;
  padding: 4px 6px 4px 2px;
}
.diy-picker-grid.expanded {
  max-height: none;
}
.diy-pick-card {
  background: #fff;
  border: 1.5px solid var(--stone);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.18s ease;
}
.diy-pick-card:hover {
  border-color: rgba(20, 102, 83, 0.45);
  box-shadow: 0 6px 18px rgba(13, 74, 59, 0.08);
  transform: translateY(-1px);
}
.diy-pick-card.in-bundle {
  background: #f3faf7;
  border-color: var(--g);
}
.diy-pick-card__top {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.diy-pick-card__img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: #f5f3ee;
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}
.diy-pick-card__cat {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.diy-pick-card__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.diy-pick-card__btm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(20, 102, 83, 0.12);
}
.diy-pick-card__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--g);
}
.diy-in-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 99px;
  margin-top: 2px;
}

/* Helper Responsive Grids, Images, SEO Hub & Multi-Device Polish */
html, body {
  overflow-x: clip;
}
body {
  font-family: var(--tg-font-body, 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif);
  font-size: var(--tg-body-size, 15px);
  line-height: var(--tg-body-lh, 1.72);
}
.tg-page-pad {
  padding: 42px 36px 72px;
}
.tg-products-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.pdp-layout--no-b2b {
  grid-template-columns: 1fr 1.15fr;
}
.pdp-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.account-auth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cart-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tg-detail-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 440px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 26px;
  background: #f2f5f3;
  box-shadow: var(--shadow-sm);
}
.pdp-rich-content img,
.pdp-rich-content video,
.pdp-rich-content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 14px 0;
}
.pdp-rich-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tg-shop-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tg-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--g);
  background: var(--g-pale);
  color: var(--g);
  font-size: 13px;
  font-weight: 700;
}
.tg-mobile-filter-btn svg {
  width: 15px;
  height: 15px;
}

/* SEO Keyword & Industry Quick-Links Hub */
.tg-seo-kw-section {
  background: linear-gradient(180deg, var(--cream) 0%, #f1f7f4 100%);
  padding: 38px 36px 46px;
  border-top: 1px solid var(--stone);
}
.tg-seo-kw-section--shop {
  margin-top: 12px;
}
.tg-seo-kw-box {
  background: #ffffff;
  border: 1.5px solid rgba(20, 102, 83, 0.14);
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
}
.tg-seo-kw-title {
  font-family: var(--tg-font-display);
  font-size: clamp(18px, 2.1vw, 24px);
  color: var(--charcoal);
  margin: 6px 0 8px;
}
.tg-seo-kw-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 960px;
}
.tg-seo-kw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tg-seo-kw-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 11px;
  border-radius: 8px;
  background: #f4faf7;
  border: 1px solid rgba(20, 102, 83, 0.16);
  color: var(--g-dark);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.18s ease;
}
.tg-seo-kw-more-btn {
  display: none;
  background: var(--g-pale);
  border-style: dashed;
  color: var(--g);
}
.tg-seo-kw-pill span {
  color: var(--tg-gold);
  font-weight: 800;
}
.tg-seo-kw-pill:hover {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 102, 83, 0.2);
}
.tg-seo-kw-pill:hover span {
  color: var(--gold-lt);
}

/* 1. Compact Desktop / Laptop (<= 1280px): prevent long brand names + 8 nav links from clipping CTA button */
@media (max-width: 1280px) {
  .tg-container, .container, .topbar-inner, .site-header .container { padding-inline: 16px; }
  .nav-row { gap: 8px; }
  .hdr-logo { flex: 0 1 205px; margin-right: 0; min-width: 0; }
  .hdr-logo-fallback strong { font-size: 15px; }
  .hdr-logo-fallback div > span { max-width: 150px; font-size: 8.5px; }
  .nav-menu { gap: 1px; }
  .nav-link { padding: 7px 8px; font-size: 12.5px; }
  .hdr-quote-btn { padding: 8px 11px; font-size: 12px; }
  .hdr-actions { gap: 3px; }
  .hdr-btn { width: 34px; height: 34px; }
  .hero-inner { padding: 72px 24px 140px; gap: 32px; }
  .tg-shop-hero__inner { padding: 38px 36px; grid-template-columns: 1fr 330px; gap: 28px; }
}

/* 2. Large Tablet / Small Laptop (<= 1120px): switch cleanly to mobile/tablet drawer menu */
@media (max-width: 1120px) {
  .hdr-nav, .hdr-quote-btn, .hdr-divider { display: none !important; }
  .hdr-mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    color: #fff !important;
    border-radius: 9px !important;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .hdr-mobile-toggle svg { width: 22px; height: 22px; }
  .hdr-logo {
    flex: 1 1 auto;
    margin-right: 0;
    min-width: 0;
    max-width: calc(100% - 165px);
  }
  .hdr-logo > a { min-width: 0; max-width: 100%; }
  .hdr-logo-fallback { min-width: 0; max-width: 100%; }
  .hdr-logo-fallback > div { min-width: 0; overflow: hidden; }
  .hdr-logo-fallback strong {
    font-size: 15.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hdr-logo-fallback div > span {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 3. Tablet Landscape & Portrait (<= 1080px) */
@media (max-width: 1080px) {
  .tg-admin-bar {
    height: auto;
    padding: 6px 14px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .tg-admin-bar__left, .tg-admin-bar__right {
    flex-wrap: wrap;
    gap: 6px;
  }

  .tg-section { padding: 60px 24px; }
  .tg-page-pad { padding: 32px 24px 56px; }
  .tg-advantages { padding: 0 24px 60px; }
  .adv-grid { margin: -48px auto 0; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .adv-card { padding: 24px 20px; }

  /* Keep balanced 2-column Hero on Tablet Landscape (821px-1080px) */
  .hero-bg-img {
    --hf-fit: var(--hf-fit-t, var(--hf-fit-d, cover));
    --hf-x: var(--hf-x-t, var(--hf-x-d, 50%));
    --hf-y: var(--hf-y-t, var(--hf-y-d, 45%));
    --hf-s: var(--hf-s-t, var(--hf-s-d, 1));
  }
  .tgf-cta { padding: 52px 0; }
  .tgf-cta__bg {
    --fc-fit: var(--fc-fit-t, var(--fc-fit-d, cover));
    --fc-x: var(--fc-x-t, var(--fc-x-d, 50%));
    --fc-y: var(--fc-y-t, var(--fc-y-d, 50%));
    --fc-s: var(--fc-s-t, var(--fc-s-d, 1));
  }
  .hero-inner { grid-template-columns: 1fr 275px; padding: 52px 24px 96px; gap: 26px; }
  .hero-weather { padding: 22px; border-radius: 22px; }
  .weather-temp { font-size: 46px; }
  .weather-time { font-size: 24px; }

  /* Keep scaled floating product images on Tablet Shop Hero */
  .tg-shop-hero__inner {
    grid-template-columns: 1fr 265px;
    padding: 32px 28px;
    gap: 22px;
    min-height: 230px;
  }
  .tg-shop-hero__inner--no-floats { grid-template-columns: 1fr; }
  .tg-shop-hero__floats { margin-bottom: -24px; gap: 10px; }
  .tg-shop-hero__float--1 img { width: 84px; height: 108px; }
  .tg-shop-hero__float--2 img { width: 100px; height: 128px; }
  .tg-shop-hero__float--3 img { width: 82px; height: 105px; }

  /* Shop Body & Collapsible Filter Drawer on Tablet/Mobile */
  .tg-shop-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 56px;
  }
  .tg-mobile-filter-btn { display: inline-flex; }
  .tg-shop-sidebar {
    display: none;
    order: -1;
  }
  .tg-shop-sidebar.is-open {
    display: block;
    animation: tgFadeDown 0.22s ease;
  }
  @keyframes tgFadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .tg-shop-sidebar__sticky {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* PDP on Tablet: 2 columns for Gallery + Info, B2B card full-width below */
  .pdp-layout, .pdp-layout--no-b2b {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
  }
  .pdp-layout > .tg-sidebar-b2b {
    grid-column: 1 / -1;
  }

  .about-grid, .cta-banner-box, .cart-layout, .checkout-layout, .account-auth-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .summary-card { position: static; }
  .about-img-sub {
    left: 14px;
    bottom: -16px;
    width: 42%;
  }

  .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tg-products-grid, .tg-products-grid--4 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cta-banner-box { padding: 48px 24px; }

  .stats-grid, .workflow-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-box { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 12px; }
  .stat-box:nth-last-child(-n+2) { border-bottom: none; }

  .projects-masonry,
  .projects-masonry:has(> :nth-child(3):last-child),
  .projects-masonry:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
  .projects-masonry:has(> :only-child) { grid-template-columns: minmax(0, 560px); }
  .projects-masonry:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Touch-Swipeable Carousel on Tablet & Mobile */
  .carousel-outer {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
  }
  .carousel-outer::-webkit-scrollbar { display: none; }
  .carousel-track {
    grid-auto-columns: calc((100% - 18px) / 2.25);
    gap: 16px;
  }
  .carousel-track > * {
    scroll-snap-align: start;
  }

  .tgf-main__inner { grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 52px; }
  .woocommerce-breadcrumb { padding: 16px 24px 0; }
  .tg-seo-kw-section { padding: 24px 20px; }
  .tg-seo-kw-box { padding: 18px 20px; border-radius: 16px; }
  .tg-seo-kw-title { font-size: 18px; margin: 4px 0 6px; }
  .tg-seo-kw-desc { font-size: 12.5px; margin-bottom: 12px; line-height: 1.5; }
  .tg-seo-kw-tags { gap: 6px; }
  .tg-seo-kw-pill, .tg-sidebar-tags .tg-tag {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 7px;
  }
  .tg-sidebar-tags { gap: 5px; }
}

/* 4. Tablet Portrait (<= 860px) */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 44px 20px 64px;
    gap: 24px;
  }
  .hero-weather {
    max-width: 100%;
  }
  .weather-extra {
    grid-template-columns: repeat(4, 1fr);
  }
  .adv-grid {
    margin: -24px auto 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tg-shop-hero__inner {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  .tg-shop-hero__floats {
    margin: 8px auto 0;
    justify-content: flex-start;
  }
  .pdp-layout, .pdp-layout--no-b2b {
    grid-template-columns: 1fr;
  }
  .pdp-gallery-main {
    max-width: 480px;
    margin-inline: auto;
  }
  .pdp-thumbs {
    justify-content: center;
  }
  .pdp-reviews-grid { grid-template-columns: 1fr; gap: 24px; }
  .tg-products-grid, .tg-products-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid > *,
  .services-grid:has(> :nth-child(2):last-child) > *,
  .services-grid:has(> :nth-child(4):last-child) > * {
    flex: 1 1 260px;
    max-width: calc((100% - 20px) / 2);
  }
  .services-grid:has(> :only-child) > * {
    flex: 0 1 560px;
    max-width: 100%;
  }
  .diy-picker-grid { grid-template-columns: 1fr; }
}

/* 5. Mobile (<= 640px) */
@media (max-width: 640px) {
  .tg-container, .container, .topbar-inner { padding-inline: 16px; }
  .site-header .container, .topbar-inner { padding-inline: 12px; }
  .tg-section { padding: 42px 16px; }
  .tg-page-pad { padding: 24px 16px 46px; }
  .tg-page-hero { padding: 40px 16px !important; }
  .tg-surface-card { padding: 18px 15px !important; border-radius: 16px !important; }
  .tg-stats--light { padding: 28px 16px !important; }
  .tg-detail-hero-img { aspect-ratio: 16 / 10; max-height: 260px; border-radius: 16px; margin-bottom: 18px; }
  .section-hdr { margin-bottom: 28px; }
  .woocommerce-breadcrumb { padding: 14px 16px 0; font-size: 12px; }

  /* Header & Topbar Mobile */
  .topbar-right { display: none; }
  .topbar-left { gap: 8px; font-size: 11px; overflow: hidden; }
  .topbar-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
  .nav-row {
    gap: 4px;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .hdr-logo {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 124px);
    margin-right: 0;
  }
  .hdr-logo-badge { width: 32px; height: 32px; font-size: 13px !important; border-radius: 8px; flex-shrink: 0; }
  .hdr-logo-badge.is-logo-img { width: 34px; height: 34px; }
  .hdr-logo-badge.is-logo-img.is-shape-circle { border-radius: 50%; }
  .hdr-logo-fallback { gap: 6px; min-width: 0; max-width: 100%; }
  .hdr-logo-fallback > div { min-width: 0; overflow: hidden; }
  .hdr-logo-fallback strong {
    font-size: 13.5px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
  }
  .hdr-logo-fallback div > span {
    font-size: 8px;
    letter-spacing: 0.08em;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hdr-logo img { height: 32px; }
  .hdr-actions {
    gap: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .hdr-actions > a[href="/my-account"] {
    display: none !important; /* Ẩn icon tài khoản trên thanh bar mobile để search + cart + menu ☰ rộng rãi 100% */
  }
  .hdr-btn { width: 34px; height: 34px; flex-shrink: 0; }
  .hdr-mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    border-radius: 9px !important;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .hdr-mobile-toggle svg { width: 22px; height: 22px; }

  /* Homepage Hero & Weather Mobile */
  .hero-bg-img {
    --hf-fit: var(--hf-fit-m, var(--hf-fit-t, var(--hf-fit-d, cover)));
    --hf-x: var(--hf-x-m, var(--hf-x-t, var(--hf-x-d, 50%)));
    --hf-y: var(--hf-y-m, var(--hf-y-t, var(--hf-y-d, 35%)));
    --hf-s: var(--hf-s-m, var(--hf-s-t, var(--hf-s-d, 1)));
  }
  .hero-overlay {
    opacity: calc(var(--hf-overlay, 85) / 100);
    background:
      linear-gradient(180deg, rgba(13, 74, 59, 0.86) 0%, rgba(13, 74, 59, 0.68) 55%, rgba(13, 74, 59, 0.92) 100%);
  }
  .hero-inner { padding: 28px 16px 38px; gap: 22px; }
  .hero-eyebrow { font-size: 10px; padding: 5px 12px; margin-bottom: 14px; letter-spacing: 0.9px; }
  .hero-title { font-size: clamp(30px, 9vw, 42px); margin-bottom: 12px; }
  .hero-desc { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; padding: 11px 14px; font-size: 13px; }
  .hero-badge { margin-top: 16px; padding: 10px 18px; }
  .hero-badge-num { font-size: 26px; }
  .hero-weather { padding: 18px; border-radius: 18px; max-width: 100%; }
  .weather-temp { font-size: 40px; }
  .weather-icon svg { width: 38px; height: 38px; }
  .weather-extra { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .weather-time { font-size: 21px; }

  .tg-advantages { padding: 0 16px 40px; }
  .adv-grid { margin: 18px auto 0; gap: 14px; }
  .adv-card { padding: 22px 18px; }

  .about-pillars { grid-template-columns: 1fr; gap: 12px; margin: 18px 0 22px; }
  .about-img-sub { position: static; width: 100%; border-width: 0; margin-top: 12px; }

  .tg-stats { padding: 36px 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-box__num { font-size: 30px; }
  .stat-box__lbl { font-size: 12px; }

  /* Horizontal Swipe Pills on Mobile */
  .home-shop-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .home-shop-tabs, .tg-shop-chips, .diy-cat-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    gap: 8px;
    justify-content: flex-start !important;
  }
  .home-shop-tabs::-webkit-scrollbar,
  .tg-shop-chips::-webkit-scrollbar,
  .diy-cat-pills::-webkit-scrollbar { display: none; }
  .home-tab-btn, .tg-chip, .diy-cat-pill { flex-shrink: 0; }
  .home-tab-btn { padding: 8px 14px; font-size: 12.5px; }

  .svc-featured-card { min-height: 340px; padding: 20px; }
  .workflow-grid, .testi-grid, .blog-grid, .tgf-main__inner, .form-grid-2, .tg-shop-sidebar__sticky {
    grid-template-columns: 1fr;
  }
  .cta-banner-box { padding: 32px 16px; gap: 22px; }
  .ctab-rating-pill { font-size: 11px; padding: 6px 11px; bottom: 10px; left: 10px; }
  .faq-q { padding: 15px 16px; font-size: 14px; }
  .faq-a { padding: 0 16px 16px; font-size: 13.5px; }
  .tg-partners { padding: 32px 16px; }
  .partners-row { gap: 20px; }
  .partners-row img { height: 30px; max-width: 110px; }

  /* Projects & Services Mobile */
  .projects-masonry,
  .projects-masonry:has(> :only-child),
  .projects-masonry:has(> :nth-child(2):last-child),
  .projects-masonry:has(> :nth-child(3):last-child),
  .projects-masonry:has(> :nth-child(4):last-child) {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .proj-card.tall { grid-row: span 1; }
  .services-grid > *,
  .services-grid:has(> :only-child) > *,
  .services-grid:has(> :nth-child(2):last-child) > *,
  .services-grid:has(> :nth-child(4):last-child) > * {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Shop Hero + Compact Floating Images on Mobile */
  .tg-shop-hero__inner { padding: 22px 16px; border-radius: 16px; gap: 16px; }
  .tg-shop-hero__title { font-size: 24px; }
  .tg-shop-hero__desc { font-size: 13px; margin-bottom: 14px; }
  .tg-shop-hero__floats {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 6px auto 0;
  }
  .tg-shop-hero__float--1 img { width: 72px; height: 92px; }
  .tg-shop-hero__float--2 img { width: 86px; height: 108px; }
  .tg-shop-hero__float--3 img { width: 72px; height: 92px; }

  .tg-shop-toolbar { gap: 10px; }
  .tg-shop-toolbar__controls { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 8px; }
  .tg-shop-toolbar select { width: 100%; min-width: 0; font-size: 12.5px; padding: 9px 10px; }
  .tg-products-grid, .tg-products-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tg-product-card { border-radius: 13px; }
  .tg-product-card__body { padding: 11px; gap: 5px; }
  .tg-product-card__title { font-size: 12.5px; min-height: 35px; }
  .tg-product-card__price { font-size: 14px; }
  .tg-product-card__btns { grid-template-columns: 1fr; gap: 5px; }
  .tg-btn-addcart, .tg-btn-buynow { height: 32px; font-size: 11.5px; }

  .pdp-gallery-main { max-width: 100%; border-radius: 14px; }
  .pdp-img-counter { top: 8px; left: 8px; font-size: 10.5px; padding: 3px 8px; }
  .pdp-stage-nav { width: 32px; height: 32px; font-size: 18px; }
  .pdp-stage-nav--prev { left: 7px; }
  .pdp-stage-nav--next { right: 7px; }
  .pdp-zoom-bar { bottom: 8px; right: 8px; padding: 3px; }
  .pdp-zoom-btn { min-width: 26px; height: 26px; padding: 0 6px; font-size: 13px; }
  .pdp-zoom-btn--pct { font-size: 10.5px; min-width: 38px; }
  .pdp-thumb { width: 58px; height: 58px; border-radius: 8px; }
  .pdp-lb-topbar { padding: 10px 12px; gap: 8px; }
  .pdp-lb-title strong { font-size: 13px; }
  .pdp-lb-tools { width: 100%; justify-content: flex-end; gap: 4px; }
  .pdp-lb-btn { height: 31px; min-width: 31px; padding: 0 8px; font-size: 14px; }
  .pdp-lb-btn--pct { min-width: 48px; font-size: 11px; }
  .pdp-lb-btn--close { padding: 0 11px; font-size: 12px; }
  .pdp-lb-stage { padding: 10px; }
  .pdp-lb-nav { width: 36px; height: 36px; font-size: 22px; }
  .pdp-lb-nav--prev { left: 8px; }
  .pdp-lb-nav--next { right: 8px; }
  .pdp-lb-thumbs { padding: 8px 10px 12px; justify-content: flex-start; }
  .pdp-lb-thumb { width: 48px; height: 48px; }
  .pdp-price { font-size: 23px; }
  .pdp-qty-row .btn { flex: 1 1 135px; justify-content: center; }
  .pdp-tab-nav { flex-wrap: wrap; gap: 8px; }
  .pdp-tab-btn { padding: 8px 15px; font-size: 13px; }
  .specs-table td { padding: 10px 12px; font-size: 13px; }
  .specs-table td:first-child { width: 42%; }

  /* Prevent iOS Safari zoom on form inputs */
  .tg-field input, .tg-field select, .tg-field textarea {
    font-size: 16px;
  }

  /* Cart Table -> Clean Mobile Cards */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table { background: transparent; border: none; }
  .cart-table tr {
    background: #fff;
    border: 1px solid var(--stone);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  .cart-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
  }
  .cart-table td:first-child {
    display: block;
    border-top: none;
    padding-top: 0;
  }
  .cart-table td:not(:first-child)::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
  }
  .checkout-steps { gap: 8px; font-size: 12px; flex-wrap: wrap; margin: 18px 0 24px; }
  .checkout-step { font-size: 12.5px; }
  .checkout-step span.num { width: 24px; height: 24px; font-size: 11.5px; }
  .summary-card { padding: 18px; }

  /* Contact & Map Mobile */
  .tg-contact-map-iframe { height: 280px !important; }

  /* SEO Keyword Hub Mobile */
  .tg-seo-kw-section { padding: 14px 12px 18px; }
  .tg-seo-kw-box { padding: 12px; border-radius: 12px; }
  .tg-seo-kw-box .t-label { font-size: 9px; letter-spacing: 1.2px; }
  .tg-seo-kw-title { font-size: 14.5px; line-height: 1.3; margin: 3px 0 4px; }
  .tg-seo-kw-desc {
    font-size: 11.5px;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tg-seo-kw-tags, .tg-sidebar-tags { gap: 4px; }
  .tg-seo-kw-pill, .tg-sidebar-tags .tg-tag {
    font-size: 10.5px;
    line-height: 1.2;
    padding: 3px 7px;
    border-radius: 6px;
    gap: 2px;
  }
  .tg-seo-kw-tags:not(.is-expanded) > a.tg-seo-kw-pill:nth-child(n+8) {
    display: none;
  }
  .tg-seo-kw-more-btn {
    display: inline-flex;
  }
  .tg-chip { font-size: 11px; padding: 5px 11px; }

  /* Footer, Search, Modals & Floating Buttons Mobile */
  .tgf-cta { padding: 40px 0; }
  .tgf-cta__bg {
    --fc-fit: var(--fc-fit-m, var(--fc-fit-t, var(--fc-fit-d, cover)));
    --fc-x: var(--fc-x-m, var(--fc-x-t, var(--fc-x-d, 50%)));
    --fc-y: var(--fc-y-m, var(--fc-y-t, var(--fc-y-d, 50%)));
    --fc-s: var(--fc-s-m, var(--fc-s-t, var(--fc-s-d, 1)));
  }
  .tgf-cta__overlay {
    background: linear-gradient(180deg, rgba(2, 56, 43, 0.88) 0%, rgba(20, 102, 83, 0.72) 55%, rgba(2, 56, 43, 0.92) 100%);
  }
  .tgf-cta__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tgf-cta__title { font-size: 22px; }
  .tgf-cta__desc { font-size: 13.5px; }
  .tgf-cta__actions { width: 100%; gap: 10px; }
  .tgf-cta__actions > * { flex: 1 1 140px; justify-content: center; }
  .tgf-main__inner { gap: 28px; padding-top: 36px; padding-bottom: 32px; }
  .tgf-newsletter-form input { min-width: 0; font-size: 16px; }
  .tgf-bottom__links { gap: 12px; }
  .tg-search-modal { padding-top: 24px; }
  .tg-search-box { padding: 16px; }
  .tg-search-input-row { padding: 8px 12px; }
  .tg-search-input-row input { font-size: 16px; min-width: 0; }
  .tg-modal-card { padding: 20px 16px; border-radius: 18px; }
  .tg-floating-contact { right: 12px; bottom: 16px; gap: 10px; }
  .tg-float-btn { width: 46px; height: 46px; font-size: 12px; }
  .tg-cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px; }
  .carousel-track { grid-auto-columns: 78%; gap: 12px; }
}

@media (max-width: 480px) {
  .hdr-logo-fallback div > span {
    display: none !important; /* Ẩn slogan dài trên màn hình điện thoại hẹp để tên thương hiệu và icon menu hiển thị trọn vẹn 100% */
  }
  .hdr-logo-fallback strong {
    font-size: 13.5px;
  }
  .hdr-actions {
    gap: 3px;
  }
  .hdr-btn {
    width: 33px;
    height: 33px;
  }
  .hdr-mobile-toggle {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 390px) {
  .hdr-logo-fallback strong { max-width: 100%; font-size: 13px; }
  .pdp-trust-grid { grid-template-columns: 1fr; }
  .tg-shop-toolbar__controls { grid-template-columns: 1fr; }
  .tg-mobile-filter-btn { justify-content: center; }
}
