:root {
  --tg-primary: #2563eb;
  --tg-secondary: #0ea5e9;
  --tg-loader-bg: #202020;
  --tg-bg: #e9edf3;
  --tg-surface: #ffffff;
  --tg-dark: #222222;
  --tg-muted: #6b7280;
  --tg-border: #dfe3ea;
  --tg-green: #2563eb;
  --tg-blue: #0ea5e9;
  --tg-yellow: #ffb800;
  --tg-shadow: 0 14px 38px rgba(20, 25, 38, .11);
  --tg-container: 1180px;
  --tg-wide: 1510px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--tg-bg);
  color: var(--tg-dark);
  line-height: 1.5;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select, button { font: inherit; }
.screen-reader-text { position: absolute; left: -9999px; }
.tg-container { width: min(100% - 32px, var(--tg-container)); margin-inline: auto; }
.tg-container-wide { width: min(100% - 28px, var(--tg-wide)); margin-inline: auto; }
.tg-narrow { width: min(100% - 32px, 860px); margin-inline: auto; }

/* Loader */
.tg-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--tg-loader-bg);
  display: grid;
  place-items: center;
  animation: tgLoaderOut .4s ease forwards;
  animation-delay: .55s;
}
.tg-loader-orb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.2);
  border-top-color: var(--tg-green);
  animation: tgSpin .8s linear infinite;
}
@keyframes tgSpin { to { transform: rotate(360deg); } }
@keyframes tgLoaderOut { to { opacity: 0; visibility: hidden; } }

/* Header: digital-marketplace, rebranded */
.tg-top-header {
  background: #262626;
  color: #d6d6d6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,.28);
}
.tg-topbar {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.tg-brand-dark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
}
.tg-brand-dark .custom-logo { max-width: 190px; max-height: 48px; width: auto; height: auto; }
.tg-brand-leaf { color: #7ec63f; font-size: 24px; line-height: 1; }
.tg-brand-dark small { color: #c9c9c9; font-size: 16px; font-weight: 600; }
.tg-main-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.tg-main-tabs::-webkit-scrollbar { display: none; }
.tg-main-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #c0c0c0;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.tg-main-tabs a:hover,
.tg-main-tabs a.active { color: #fff; border-bottom-color: #fff; }
.tg-main-tabs .asset-link { color: #e9ff89; }
.tg-top-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  font-size: 14px;
  margin-left: auto;
}
.tg-top-actions a { color: #e7e7e7; }
.tg-top-actions a:hover { color: #fff; }
.tg-signin {
  background: rgba(255,255,255,.06);
  padding: 18px 20px;
}
.tg-category-bar { background: #fff; border-bottom: 1px solid var(--tg-border); }
.tg-category-scroll {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tg-category-scroll::-webkit-scrollbar { display: none; }
.tg-category-scroll a {
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.tg-category-scroll a:hover { color: var(--tg-blue); }
.tg-menu-toggle { display: none; border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }

/* Hero */
.site-main { min-height: 60vh; }
.tg-cc-hero {
  background: #f3f5f9;
  min-height: 465px;
  border-bottom: 1px solid var(--tg-border);
}
.tg-hero-inner {
  min-height: 465px;
  display: grid;
  grid-template-columns: minmax(320px, 650px) 1fr;
  align-items: center;
  gap: 60px;
}
.tg-hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #1d1d1d;
  max-width: 590px;
}
.tg-hero-copy p {
  color: #374151;
  margin: 0 0 48px;
  max-width: 590px;
  font-size: 16px;
}
.tg-code-search {
  width: min(100%, 650px);
  height: 58px;
  background: #fff;
  border: 1px solid #d9dee9;
  border-radius: 5px;
  box-shadow: 0 15px 30px rgba(42, 52, 70, .12);
  padding: 9px 9px 9px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tg-code-search input {
  flex: 1;
  border: 0;
  outline: 0;
  min-width: 0;
  color: #111827;
}
.tg-code-search button,
.tg-green-btn {
  border: 0;
  border-radius: 4px;
  background: var(--tg-green);
  color: #fff;
  padding: 12px 22px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
}
.tg-green-btn { display: inline-flex; align-items: center; justify-content: center; }
.tg-hero-products {
  min-height: 260px;
  position: relative;
  display: grid;
  place-items: center;
}
.tg-hero-products:before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(221,229,241,.55));
  inset: 30px auto auto 80px;
}
.tg-mini-product {
  position: absolute;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 24px 50px rgba(40, 48, 70, .23);
  overflow: hidden;
  isolation: isolate;
  padding: 22px;
  font-weight: 900;
}
.tg-mini-product:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,.34), transparent 20%), linear-gradient(135deg, rgba(255,255,255,.12), transparent);
  z-index: -1;
}
.tg-mini-product span { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; opacity: .9; }
.tg-mini-1 { width: 315px; height: 117px; top: 5px; right: 90px; background: linear-gradient(135deg, #ff9f2c, #ff5c45); }
.tg-mini-2 { width: 340px; height: 155px; top: 145px; left: 40px; background: linear-gradient(135deg, #6827dc, #00a6ff); }
.tg-mini-3 { width: 210px; height: 140px; top: 225px; right: 80px; background: linear-gradient(135deg, #101827, #00c4e8); }

/* Stock banner */
.tg-asset-strip { padding: 34px 0 48px; background: #e9edf3; }
.tg-stock-banner {
  min-height: 250px;
  border-radius: 14px;
  background: #222;
  color: #fff;
  overflow: hidden;
  position: relative;
  padding: 60px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.tg-stock-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.tg-stock-copy { position: relative; z-index: 1; }
.tg-stock-copy h2 {
  margin: 0;
  max-width: 630px;
  font-size: clamp(25px, 2.4vw, 37px);
  line-height: 1.02;
  color: #fff;
}
.tg-stock-copy h2::first-line { color: #75ff43; }
.tg-stock-copy p { color: rgba(255,255,255,.86); font-weight: 700; }
.tg-stock-copy a {
  display: inline-flex;
  background: #6fc72a;
  color: #111;
  padding: 13px 21px;
  border-radius: 4px;
  font-weight: 900;
  margin-top: 12px;
}
.tg-stock-fan {
  position: relative;
  min-height: 210px;
  z-index: 1;
}
.tg-stock-fan span {
  position: absolute;
  bottom: -45px;
  left: 20%;
  width: 145px;
  height: 210px;
  border-radius: 12px;
  padding: 17px;
  font-size: 17px;
  color: #fff;
  font-weight: 900;
  transform-origin: bottom center;
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
}
.tg-stock-fan span:nth-child(1) { background: linear-gradient(135deg, #0066ff, #00e0ff); transform: rotate(-35deg); left: 18%; }
.tg-stock-fan span:nth-child(2) { background: linear-gradient(135deg, #d63500, #ffc400); transform: rotate(-16deg); left: 34%; }
.tg-stock-fan span:nth-child(3) { background: linear-gradient(135deg, #121212, #efb642); transform: rotate(5deg); left: 50%; }
.tg-stock-fan span:nth-child(4) { background: linear-gradient(135deg, #775bff, #f54ea2); transform: rotate(20deg); left: 66%; }
.tg-stock-fan span:nth-child(5) { background: linear-gradient(135deg, #773100, #ff8d00); transform: rotate(35deg); left: 82%; }

/* Categories */
.tg-home-categories { padding: 40px 0 34px; background: #e9edf3; }
.tg-category-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.tg-cc-category-card {
  height: 330px;
  background: #f9fbff;
  border-radius: 8px;
  border: 1px solid #e1e6ee;
  text-align: center;
  overflow: hidden;
  padding: 38px 38px 0;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.tg-cc-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(24, 35, 55, .12);
  border-color: #d2d9e5;
}
.tg-cc-category-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #202020;
}
.tg-cc-category-card p {
  margin: 13px 0 7px;
  font-size: 12px;
  color: #253044;
}
.tg-cat-links { display: flex; justify-content: center; gap: 18px; color: #0a76b9; font-size: 12px; font-weight: 700; }
.tg-cat-preview {
  width: 88%;
  height: 136px;
  margin: 88px auto 0;
  border-radius: 6px 6px 0 0;
  position: relative;
  overflow: visible;
  box-shadow: 0 -20px 38px rgba(29, 43, 68, .14);
}
.tg-cat-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px 6px 0 0;
  opacity: .94;
}
.tg-cat-preview::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 18px;
  height: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.62);
}
.tg-cat-icon {
  position: absolute;
  left: 50%;
  top: -36px;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  border: 7px solid rgba(177, 223, 232, .86);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #2c3a48;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(15, 23, 42, .14);
  z-index: 3;
}
.tg-cat-browser {
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 18px;
  height: 74px;
  border-radius: 5px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
  z-index: 2;
  overflow: hidden;
}
.tg-cat-browser-top {
  height: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 9px;
  background: rgba(15,23,42,.08);
}
.tg-cat-browser-top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(15,23,42,.26);
}
.tg-cat-main-line,
.tg-cat-sub-line {
  display: block;
  height: 8px;
  margin: 12px auto 0;
  border-radius: 20px;
  background: rgba(15,23,42,.16);
}
.tg-cat-main-line { width: 62%; }
.tg-cat-sub-line { width: 42%; margin-top: 7px; }
.tg-cat-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 9px 13px 0;
}
.tg-cat-panels i { height: 12px; border-radius: 3px; background: rgba(15,23,42,.12); }
.tg-cat-preview-0::before { background: linear-gradient(135deg, #5520b8 0%, #8f4cff 56%, #171345 100%); }
.tg-cat-preview-1::before { background: linear-gradient(135deg, #fff7f5 0%, #f7d4d2 46%, #83d8ff 100%); }
.tg-cat-preview-2::before { background: linear-gradient(135deg, #f8fbff 0%, #d7eaff 44%, #229bd5 100%); }
.tg-cat-preview-3::before { background: linear-gradient(135deg, #101827 0%, #126a88 45%, #22c8ff 100%); }
.tg-cat-preview-4::before { background: linear-gradient(135deg, #f3dc3f 0%, #9dcf58 45%, #0cb197 100%); }
.tg-cat-preview-5::before { background: linear-gradient(135deg, #f7fdff 0%, #a2efff 46%, #1d3e80 100%); }
.tg-cat-preview-1 .tg-cat-browser,
.tg-cat-preview-2 .tg-cat-browser,
.tg-cat-preview-5 .tg-cat-browser { background: rgba(255,255,255,.88); }

/* Product cards */
.tg-market-item,
.tg-card,
.tg-content-card,
.tg-post-card,
.tg-product-buybox,
.tg-dashboard-side,
.tg-stat-card {
  background: #fff;
  border: 1px solid #dfe4ec;
  border-radius: 4px;
  overflow: hidden;
}
.tg-market-item { min-width: 0; }
.tg-market-thumb {
  height: 183px;
  background: #eef2f7;
  display: block;
  position: relative;
  overflow: hidden;
}
.tg-featured-grid .tg-market-thumb { height: 250px; }
.tg-market-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tg-thumb-art {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 25px;
  color: #fff;
  position: relative;
  isolation: isolate;
}
.tg-thumb-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 12%, rgba(255,255,255,.36), transparent 16%), radial-gradient(circle at 20% 75%, rgba(255,255,255,.19), transparent 23%);
  z-index: -1;
}
.tg-thumb-art em { font-style: normal; font-size: 13px; font-weight: 900; opacity: .85; }
.tg-thumb-art strong { font-size: 26px; line-height: 1.05; max-width: 88%; }
.tg-thumb-art-0 { background: linear-gradient(135deg, #f229be, #ff7e33); }
.tg-thumb-art-1 { background: linear-gradient(135deg, #080b25, #6a2dff 48%, #0ea5e9); }
.tg-thumb-art-2 { background: linear-gradient(135deg, #050816, #1536ff 52%, #9b4dff); }
.tg-thumb-art-3 { background: linear-gradient(135deg, #111827, #f97316 52%, #facc15); }
.tg-thumb-art-4 { background: linear-gradient(135deg, #06133c, #0ea5e9, #0ea5e9); }
.tg-thumb-art-5 { background: linear-gradient(135deg, #6d28d9, #ef4444, #f59e0b); }
.tg-featured-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
}
.tg-market-body { padding: 20px 23px 22px; min-width: 0; }
.tg-market-body h3 {
  margin: 0 0 5px;
  color: #2c3440;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -.02em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.tg-market-body h3 a:hover { color: #0ea5e9; }
.tg-byline { margin: 0 0 23px; color: #7b8493; font-size: 13px; }
.tg-price-row strong { display: block; font-size: 24px; color: #2c3440; margin-bottom: 8px; }
.tg-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}
.tg-rating-sales { display: grid; gap: 1px; min-width: 0; flex: 1 1 82px; }
.tg-stars { color: var(--tg-yellow); letter-spacing: 1px; font-size: 17px; line-height: 1; }
.tg-rating-count { color: #7b8493; font-size: 12px; margin-left: 4px; }
.tg-rating-sales small { color: #8a93a4; font-size: 12px; }
.tg-card-buttons { display: flex; gap: 8px; align-items: center; flex: 0 1 auto; max-width: 100%; margin-left: auto; }
.tg-cart-btn,
.tg-preview-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b7c0cb;
  color: #4b5563;
  background: #fff;
  border-radius: 0;
  font-weight: 900;
}
.tg-cart-btn { width: 46px; font-size: 17px; }
.tg-preview-btn { padding: 0 14px; color: #0ea5e9; border-color: #0ea5e9; font-size: 13px; white-space: nowrap; min-width: 120px; }
.tg-preview-btn:hover { background: #0ea5e9; color: #fff; }


/* Prevent action buttons from being clipped on archive product cards */
@media (max-width: 1340px) {
  .tg-product-grid .tg-card-bottom { align-items: flex-start; }
  .tg-product-grid .tg-card-buttons { width: 100%; margin-left: 0; }
  .tg-product-grid .tg-preview-btn { flex: 1; min-width: 0; }
}

@media (min-width: 721px) and (max-width: 980px) {
  .tg-featured-grid .tg-card-buttons { width: 100%; margin-left: 0; }
  .tg-featured-grid .tg-preview-btn { flex: 1; min-width: 0; }
}

/* Featured section */
.tg-featured-code { padding: 85px 0 110px; background: #e9edf3; }
.tg-featured-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 34px;
  align-items: stretch;
}
.tg-featured-intro {
  background: rgba(255,255,255,.72);
  border-radius: 10px;
  min-height: 760px;
  border: 1px dashed #79bf38;
  display: grid;
  align-items: center;
  padding: 75px 80px;
}
.tg-featured-intro h2 { margin: 0 0 26px; font-size: 42px; font-weight: 400; letter-spacing: -.05em; }
.tg-featured-intro p { color: #4b5563; font-size: 20px; line-height: 1.55; margin: 0 0 52px; }
.tg-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

/* Trust */
.tg-trust-section { padding: 105px 0; background: #e9edf3; border-top: 1px solid #e8edf5; }
.tg-trust-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: 80px;
}
.tg-trust-mosaic {
  min-height: 340px;
  background: rgba(255,255,255,.65);
  border: 1px dashed #2563eb;
  border-radius: 10px;
  position: relative;
  padding: 40px;
}
.tg-mosaic-item {
  position: absolute;
  width: 42%;
  height: 130px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 15px 35px rgba(20, 25, 38, .18);
}
.tg-mosaic-1 { background: linear-gradient(135deg, #0f172a, #0ea5e9); left: 50px; top: 35px; }
.tg-mosaic-2 { background: linear-gradient(135deg, #0f172a, #f59e0b); right: 35px; top: 40px; }
.tg-mosaic-3 { background: linear-gradient(135deg, #1d0064, #8b5cf6); left: 45px; bottom: 35px; }
.tg-mosaic-4 { background: linear-gradient(135deg, #ffd43b, #f97316); right: 35px; bottom: 35px; color: #1f2937; }
.tg-trust-content h2 {
  margin: 0 0 54px;
  text-align: center;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -.04em;
}
.tg-trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.tg-trust-cards div {
  background: #fff;
  min-height: 180px;
  border-radius: 8px;
  padding: 38px 30px;
  box-shadow: 0 19px 36px rgba(20, 25, 38, .08);
}
.tg-trust-cards span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dff4fb;
  margin-bottom: 26px;
  font-size: 25px;
}
.tg-trust-cards div:nth-child(1) span { background: #ffe5c8; }
.tg-trust-cards div:nth-child(3) span { background: #e8e3ff; }
.tg-trust-cards p { margin: 0; color: #555; font-size: 16px; }

/* Newest */
.tg-newest-code { padding: 70px 0 95px; background: #e9edf3; border-top: 2px solid #79bf38; }
.tg-newest-head { text-align: center; max-width: 980px; margin: 0 auto 55px; }
.tg-newest-head h2 { margin: 0 0 20px; font-size: 36px; font-weight: 400; letter-spacing: -.04em; }
.tg-newest-head p { margin: 0; color: #4b5563; font-size: 17px; }
.tg-filter-pills {
  width: min(100%, 1220px);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}
.tg-filter-pills a {
  height: 43px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
}
.tg-filter-pills a.active { border-color: #79bf38; color: #222; }
.tg-new-grid,
.tg-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}
.tg-center-btn { text-align: center; margin-top: 62px; }
.tg-newest-code .tg-container-wide {
  width: min(100% - 20px, 1220px);
}
.tg-new-grid .tg-market-item {
  min-height: 0;
}
.tg-new-grid .tg-market-thumb {
  height: 142px;
}
.tg-new-grid .tg-market-body {
  padding: 18px 18px 16px;
}
.tg-new-grid .tg-market-body h3 {
  font-size: 15px;
  min-height: 38px;
}
.tg-new-grid .tg-byline {
  font-size: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tg-new-grid .tg-price-row strong {
  font-size: 18px;
  margin-bottom: 10px;
}
.tg-new-grid .tg-stars {
  font-size: 13px;
}
.tg-new-grid .tg-cart-btn,
.tg-new-grid .tg-preview-btn {
  min-height: 36px;
}
.tg-new-grid .tg-cart-btn {
  width: 36px;
  font-size: 14px;
}
.tg-new-grid .tg-preview-btn {
  min-width: 92px;
  padding: 0 12px;
  font-size: 12px;
}


/* Generic buttons/classes used across templates */
.tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  border: 1px solid var(--tg-green);
  background: var(--tg-green);
  color: #fff;
  padding: 12px 19px;
  font-weight: 900;
  cursor: pointer;
}
.tg-btn-soft { background: #fff; color: var(--tg-blue); border-color: var(--tg-blue); }
.tg-btn-light { background: #fff; color: #111827; border-color: #fff; }
.tg-btn-small { padding: 9px 13px; font-size: 13px; }
.tg-empty { background: #fff; padding: 25px; border-radius: 8px; border: 1px solid var(--tg-border); }
.tg-eyebrow { display: inline-flex; color: var(--tg-green); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.tg-section { padding: 70px 0; }
.tg-soft-section { background: #eef2f7; }
.tg-section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.tg-section-head h2 { margin: 8px 0 8px; font-size: 34px; letter-spacing: -.04em; }
.tg-section-head p { color: var(--tg-muted); margin: 0; }

/* Archives and inner pages */
.tg-page-hero,
.tg-archive-hero,
.tg-dashboard-hero,
.tg-product-hero,
.tg-cta {
  background: #f3f5f9;
  padding: 70px 0;
  border-bottom: 1px solid var(--tg-border);
}
.tg-page-hero h1,
.tg-archive-hero h1,
.tg-product-hero h1,
.tg-dashboard-hero h1 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.05em; line-height: 1.06; }
.tg-page-hero p,
.tg-archive-hero p,
.tg-product-hero p,
.tg-dashboard-hero p { margin: 0; color: var(--tg-muted); font-size: 17px; }
.tg-archive-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.tg-archive-toolbar h2 { margin: 0; font-size: 27px; }
.tg-archive-search { display: flex; align-items: center; gap: 10px; background: #fff; padding: 8px; border: 1px solid var(--tg-border); border-radius: 6px; }
.tg-archive-search input { border: 0; outline: 0; padding: 8px; min-width: 260px; }
.tg-archive-search button { border: 0; background: var(--tg-green); color: #fff; border-radius: 4px; padding: 9px 14px; font-weight: 900; }
.tg-pagination { margin-top: 44px; display: flex; justify-content: center; gap: 8px; }
.tg-pagination .page-numbers { background: #fff; border: 1px solid var(--tg-border); padding: 10px 14px; border-radius: 4px; font-weight: 800; }
.tg-pagination .current { background: var(--tg-green); color: #fff; border-color: var(--tg-green); }

.tg-product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; }
.tg-product-gallery img { width: 100%; border-radius: 8px; box-shadow: var(--tg-shadow); }
.tg-product-placeholder { min-height: 420px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #1f2937, #6366f1); color: #fff; font-size: 42px; font-weight: 900; }
.tg-product-tabs { margin-top: 28px; background: #fff; border: 1px solid var(--tg-border); border-radius: 4px; padding: 28px; }
.tg-product-tabs h2 { margin-top: 0; }
.tg-product-buybox { padding: 26px; position: sticky; top: 112px; }
.tg-buy-price { font-size: 40px; font-weight: 900; margin-bottom: 16px; }
.tg-buy-meta { display: grid; gap: 12px; margin: 22px 0; color: #4b5563; }
.tg-buy-meta div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--tg-border); padding-bottom: 10px; }
.tg-buy-actions { display: grid; gap: 10px; }
.tg-license-note { color: var(--tg-muted); font-size: 13px; margin-top: 18px; }

.tg-dashboard-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.tg-dashboard-side { padding: 22px; position: sticky; top: 112px; }
.tg-user-card { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--tg-border); }
.tg-avatar { width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 30px; font-weight: 900; background: linear-gradient(135deg, var(--tg-green), var(--tg-blue)); }
.tg-user-card h2 { margin: 0; }
.tg-user-card p { color: var(--tg-muted); margin: 3px 0 0; word-break: break-word; }
.tg-dashboard-nav { display: grid; gap: 8px; margin-top: 20px; }
.tg-dashboard-nav a { padding: 11px 12px; border-radius: 4px; font-weight: 800; color: #344054; }
.tg-dashboard-nav a:hover { background: #eef2f7; color: var(--tg-blue); }
.tg-dashboard-main { display: grid; gap: 24px; }
.tg-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tg-stat-card { padding: 24px; }
.tg-stat-card span { font-size: 36px; font-weight: 900; letter-spacing: -.05em; }
.tg-stat-card p { color: var(--tg-muted); margin: 0; font-weight: 800; }
.tg-content-card { padding: 28px; }
.tg-content-card h2 { margin-top: 0; }
.tg-table-wrap { overflow-x: auto; }
.tg-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.tg-table th,
.tg-table td { padding: 14px 12px; border-bottom: 1px solid var(--tg-border); text-align: left; }
.tg-table th { color: #475467; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.tg-status { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #ecfff8; color: #08754f; font-weight: 900; font-size: 12px; }
.tg-mini-list { display: grid; gap: 12px; }
.tg-mini-item { display: flex; justify-content: space-between; gap: 18px; padding: 14px; border-radius: 6px; background: #f7f8fc; }
.tg-mini-item span { display: block; color: var(--tg-muted); font-size: 12px; text-transform: capitalize; }
.tg-mini-item a { color: var(--tg-blue); font-weight: 900; }

.tg-auth-section { min-height: calc(100vh - 96px); display: grid; place-items: center; padding: 70px 16px; background: #eef2f7; }
.tg-auth-card { width: min(100%, 470px); padding: 34px; background: #fff; border: 1px solid var(--tg-border); border-radius: 8px; box-shadow: var(--tg-shadow); }
.tg-auth-card h1 { margin: 14px 0 24px; letter-spacing: -.045em; }
.tg-auth-card label { display: block; font-weight: 800; margin-bottom: 8px; }
.tg-auth-card input[type="text"],
.tg-auth-card input[type="email"],
.tg-auth-card input[type="tel"],
.tg-auth-card input[type="password"],
.tg-auth-card select { width: 100%; border: 1px solid var(--tg-border); border-radius: 4px; padding: 13px 14px; margin: 8px 0 14px; outline: none; background: #fff; }
.tg-auth-card input:focus,
.tg-submit-form input:focus,
.tg-submit-form textarea:focus,
.tg-submit-form select:focus { border-color: var(--tg-blue); box-shadow: 0 0 0 4px rgba(0,115,174,.1); }
.tg-auth-card input[type="submit"],
.tg-auth-submit { width: 100%; border: 0; border-radius: 4px; padding: 14px 18px; background: var(--tg-green); color: #fff; font-weight: 900; cursor: pointer; justify-content: center; }
.tg-auth-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.tg-auth-links a { color: var(--tg-blue); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.tg-register-card { width: min(100%, 640px); }
.tg-register-form { display: grid; gap: 4px; }
.tg-auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tg-auth-card label .tg-svg-icon { color: var(--tg-green); margin-right: 5px; }
.tg-register-section { padding-top: 74px; }

.tg-submit-form { display: grid; gap: 18px; }
.tg-submit-form label { display: grid; gap: 8px; font-weight: 900; }
.tg-submit-form input,
.tg-submit-form textarea,
.tg-submit-form select { width: 100%; border: 1px solid var(--tg-border); border-radius: 4px; padding: 13px 14px; outline: none; background: #fff; }
.tg-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tg-post-grid { display: grid; gap: 24px; }
.tg-post-card { display: grid; grid-template-columns: 280px 1fr; }
.tg-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tg-post-body { padding: 26px; }
.tg-post-body h2 { margin: 10px 0; }
.tg-link-more { color: var(--tg-blue); font-weight: 900; }
.tg-single-thumb img { width: 100%; border-radius: 8px; box-shadow: var(--tg-shadow); margin-bottom: 24px; }

/* Footer */
.tg-footer { background: #202020; color: #fff; padding: 60px 0 24px; }
.tg-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.tg-footer-brand { display: inline-flex; gap: 6px; align-items: center; color: #fff; font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.tg-footer-brand span { color: var(--tg-green); }
.tg-footer p,
.tg-footer a { color: rgba(255,255,255,.68); }
.tg-footer h3 { margin: 0 0 14px; }
.tg-footer a { display: block; margin: 8px 0; }
.tg-footer a:hover { color: #fff; }
.tg-footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); }

/* Compatibility aliases for old homepage/templates */
.tg-hero, .tg-cta-box { background: #f3f5f9; }
.tg-hero-grid, .tg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.tg-category-grid, .tg-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tg-category-card, .tg-feature-card { background: #fff; border: 1px solid var(--tg-border); padding: 24px; border-radius: 8px; }

@media (max-width: 1100px) {
  .tg-top-actions a:not(.tg-signin) { display: none; }
  .tg-hero-inner { grid-template-columns: 1fr 520px; gap: 20px; }
  .tg-featured-layout { grid-template-columns: 360px 1fr; }
  .tg-featured-intro { padding: 55px 45px; }
  .tg-new-grid, .tg-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tg-trust-layout { gap: 40px; }
  .tg-trust-cards { gap: 18px; }
}

@media (max-width: 1024px) {
  .tg-topbar { gap: 12px; }
  .tg-menu-toggle { display: inline-flex; margin-left: auto; }
  .tg-main-tabs, .tg-top-actions { display: none; }
  .tg-top-header.tg-menu-open .tg-main-tabs,
  .tg-top-header.tg-menu-open .tg-top-actions {
    display: grid;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    height: auto;
    background: #2d2d2d;
    padding: 14px;
    z-index: 20;
    border-radius: 0 0 8px 8px;
    gap: 0;
  }
  .tg-top-header.tg-menu-open .tg-main-tabs a { height: auto; padding: 13px 10px; font-size: 14px; }
  .tg-top-header.tg-menu-open .tg-top-actions { top: 338px; }
  .tg-signin { margin: 0; }
  .tg-hero-inner,
  .tg-stock-banner,
  .tg-featured-layout,
  .tg-trust-layout,
  .tg-product-layout,
  .tg-dashboard-grid,
  .tg-hero-grid,
  .tg-split { grid-template-columns: 1fr; }
  .tg-hero-products { min-height: 350px; }
  .tg-cc-hero, .tg-hero-inner { min-height: auto; }
  .tg-cc-hero { padding: 80px 0 45px; }
  .tg-stock-banner { padding: 44px; }
  .tg-category-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-featured-intro { min-height: auto; }
  .tg-featured-grid, .tg-new-grid, .tg-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-trust-cards { grid-template-columns: 1fr; }
  .tg-filter-pills { grid-template-columns: repeat(4, 1fr); }
  .tg-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-product-buybox, .tg-dashboard-side { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 13px; }
  .tg-container, .tg-container-wide { width: min(100% - 22px, var(--tg-container)); }
  .tg-category-scroll { gap: 14px; }
  .tg-hero-copy h1 { font-size: 32px; }
  .tg-hero-copy p { margin-bottom: 28px; font-size: 15px; }
  .tg-code-search { height: auto; display: grid; padding: 12px; }
  .tg-code-search button { width: 100%; }
  .tg-hero-products { display: none; }
  .tg-stock-banner { padding: 28px; min-height: auto; }
  .tg-stock-banner { grid-template-columns: 1fr; }
  .tg-stock-fan { display: none; }
  .tg-category-showcase, .tg-featured-grid, .tg-new-grid, .tg-product-grid, .tg-filter-pills, .tg-stat-grid, .tg-form-grid, .tg-auth-grid, .tg-category-grid, .tg-feature-grid { grid-template-columns: 1fr; }
  .tg-cc-category-card { height: 315px; padding: 32px 24px 0; }
  .tg-cat-preview { margin-top: 70px; height: 126px; }
  .tg-featured-code { padding: 45px 0 60px; }
  .tg-featured-intro { padding: 32px 26px; }
  .tg-featured-intro h2 { font-size: 32px; }
  .tg-featured-intro p { font-size: 16px; }
  .tg-market-thumb, .tg-featured-grid .tg-market-thumb { height: 190px; }
  .tg-card-bottom { align-items: flex-start; flex-direction: column; }
  .tg-card-buttons { width: 100%; }
  .tg-preview-btn { flex: 1; }
  .tg-trust-section { padding: 55px 0; }
  .tg-trust-mosaic { display: none; }
  .tg-trust-content h2, .tg-newest-head h2 { font-size: 30px; }
  .tg-archive-toolbar { display: grid; }
  .tg-archive-search { width: 100%; }
  .tg-archive-search input { min-width: 0; width: 100%; }
  .tg-post-card { grid-template-columns: 1fr; }
  .tg-footer-grid { grid-template-columns: 1fr; }
  .tg-footer-bottom { flex-direction: column; }
}

/* Archive without sidebar */
.tg-archive-layout-full {
  display: block;
}
.tg-archive-layout-full .tg-archive-main {
  width: 100%;
}


/* digital-marketplace featured section fix */
.tg-featured-layout {
  width: min(100% - 64px, 1220px);
  max-width: 1220px;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 28px;
}
.tg-featured-intro {
  min-height: 694px;
  padding: 72px 58px;
}
.tg-featured-intro h2 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.tg-featured-intro p {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 32px;
}
.tg-featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.tg-featured-grid .tg-market-item {
  min-height: 333px;
}
.tg-featured-grid .tg-market-thumb {
  height: 196px;
}
.tg-featured-grid .tg-market-body {
  padding: 16px 18px 16px;
}
.tg-featured-grid .tg-market-body h3 {
  font-size: 15px;
  min-height: 38px;
}
.tg-featured-grid .tg-byline {
  font-size: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tg-featured-grid .tg-price-row strong {
  font-size: 18px;
  margin-bottom: 8px;
}
.tg-featured-grid .tg-stars {
  font-size: 13px;
}
.tg-featured-grid .tg-cart-btn,
.tg-featured-grid .tg-preview-btn {
  min-height: 36px;
}
.tg-featured-grid .tg-cart-btn {
  width: 36px;
  font-size: 14px;
}
.tg-featured-grid .tg-preview-btn {
  min-width: 92px;
  padding: 0 12px;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .tg-featured-layout {
    width: min(100% - 32px, 940px);
    grid-template-columns: 1fr;
  }
  .tg-featured-intro {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .tg-featured-layout {
    width: min(100% - 22px, 100%);
  }
  .tg-featured-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact page */
.tg-contact-hero { background: linear-gradient(180deg, #f5f7fb 0%, #e9edf3 100%); }
.tg-contact-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.tg-contact-info,
.tg-contact-form-card {
  border-radius: 8px;
  box-shadow: var(--tg-shadow);
}
.tg-contact-info h2,
.tg-contact-form-card h2 {
  margin: 8px 0 14px;
  font-size: 30px;
  letter-spacing: -.04em;
}
.tg-contact-info p { color: var(--tg-muted); margin: 0 0 24px; }
.tg-contact-points { display: grid; gap: 14px; }
.tg-contact-points div {
  background: #f7f9fc;
  border: 1px solid var(--tg-border);
  border-radius: 6px;
  padding: 15px;
}
.tg-contact-points strong { display: block; margin-bottom: 4px; color: #1f2937; }
.tg-contact-points span { color: var(--tg-muted); font-size: 13px; }
.tg-contact-form .tg-btn { width: fit-content; min-width: 155px; }
.tg-alert {
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 800;
}
.tg-alert-success { background: #ecfff8; color: #08754f; border: 1px solid #b7f2d8; }
.tg-alert-error { background: #fff1f1; color: #b42318; border: 1px solid #ffd2d2; }
.tg-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
  .tg-contact-layout { grid-template-columns: 1fr; }
}

/* ThemeGet SVG icon system */
.tg-svg-icon {
  width: 1.08em;
  height: 1.08em;
  display: inline-block;
  vertical-align: -0.18em;
  flex: 0 0 auto;
}
.tg-brand-leaf,
.tg-footer-brand span,
.tg-signin,
.tg-code-search button,
.tg-stock-copy a,
.tg-cart-btn,
.tg-dashboard-nav a,
.tg-product-stats span,
.tg-contact-points strong,
.tg-btn,
.tg-green-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tg-brand-leaf .tg-svg-icon,
.tg-footer-brand .tg-svg-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.6;
}
.tg-menu-toggle .tg-svg-icon {
  width: 30px;
  height: 30px;
}
.tg-signin .tg-svg-icon {
  width: 16px;
  height: 16px;
}
.tg-code-search button .tg-svg-icon,
.tg-stock-copy a .tg-svg-icon,
.tg-green-btn .tg-svg-icon,
.tg-btn .tg-svg-icon {
  width: 16px;
  height: 16px;
}
.tg-cart-btn .tg-svg-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}
.tg-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--tg-yellow);
  line-height: 1;
  letter-spacing: 0;
}
.tg-stars .tg-star-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: currentColor;
}
.tg-new-grid .tg-stars .tg-star-icon,
.tg-featured-grid .tg-stars .tg-star-icon {
  width: 12px;
  height: 12px;
}
.tg-cat-icon .tg-svg-icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.8;
}
.tg-cat-icon .tg-icon-php,
.tg-cat-icon .tg-icon-javascript,
.tg-cat-icon .tg-icon-html5 {
  width: 38px;
  height: 38px;
}
.tg-product-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 13px 0 18px;
  color: #4b5563;
  font-weight: 800;
}
.tg-product-stats .tg-svg-icon {
  color: var(--tg-yellow);
  width: 17px;
  height: 17px;
}
.tg-product-stats .tg-icon-download {
  color: var(--tg-blue);
}
.tg-contact-points strong .tg-svg-icon,
.tg-dashboard-nav .tg-svg-icon {
  width: 17px;
  height: 17px;
  color: var(--tg-blue);
}
.tg-dashboard-nav a {
  display: flex;
}
.tg-contact-points strong {
  gap: 8px;
}

/* Purchase / checkout section */
.tg-price-large {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  margin: 14px 0 12px;
}
.tg-product-buybox .tg-product-info {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #475467;
}
.tg-product-buybox .tg-product-info li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--tg-border);
  padding-top: 10px;
}
.tg-btn-purchase {
  background: #18a67a;
  border-color: #18a67a;
  color: #fff;
}
.tg-btn-purchase:hover { background: #12946c; border-color: #12946c; }
.tg-checkout-section {
  background: #eef2f7;
  padding: 34px 0 74px;
}
.tg-checkout-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.tg-checkout-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -.03em;
}
.tg-checkout-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #867bff, #4d7df3);
}
.tg-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 18px;
  align-items: start;
}
.tg-checkout-card {
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(18, 34, 64, .05);
}
.tg-checkout-card h3 {
  margin: 8px 0 14px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tg-summary-box,
.tg-payment-box {
  border: 1px solid #dce3ed;
  border-radius: 22px;
  padding: 16px;
  background: #fbfcfe;
}
.tg-summary-thumb {
  border-radius: 16px;
  overflow: hidden;
  background: #eef3f7;
  min-height: 270px;
  display: grid;
  place-items: center;
}
.tg-summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tg-summary-pill {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e9f1fb;
  color: #1d64d6;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
}
.tg-summary-box h4 {
  margin: 12px 0 8px;
  font-size: 34px;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.tg-summary-box p {
  margin: 0 0 18px;
  color: #667085;
  line-height: 1.6;
}
.tg-summary-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tg-summary-meta-grid div {
  background: #f3f6fa;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
  padding: 13px 14px;
}
.tg-summary-meta-grid span {
  display: block;
  color: #778195;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.tg-summary-meta-grid strong {
  display: block;
  font-size: 15px;
  color: #25324b;
}
.tg-summary-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 14px;
  padding-top: 16px;
  border-top: 1px solid #e0e6ef;
}
.tg-summary-stock {
  color: #475467;
  font-weight: 700;
}
.tg-summary-price {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
}
.tg-summary-buy,
.tg-payment-submit {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 16px;
  border-radius: 12px;
}
.tg-payment-accounts {
  border: 1px dashed #b9d8ff;
  border-radius: 18px;
  padding: 14px;
  background: #f7fbff;
  margin-bottom: 16px;
}
.tg-pay-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #e5edf7;
}
.tg-pay-line:last-child { border-bottom: 0; }
.tg-pay-line strong {
  font-size: 13px;
  color: #1e293b;
}
.tg-pay-line span {
  font-weight: 700;
  color: #101828;
  word-break: break-word;
}
.tg-copy-btn {
  border: 1px solid #cfd8e3;
  background: #fff;
  color: #0ea5e9;
  border-radius: 10px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.tg-payment-form {
  display: grid;
  gap: 10px;
}
.tg-payment-form label {
  font-size: 13px;
  font-weight: 800;
  color: #344054;
}
.tg-payment-form input[type="text"],
.tg-payment-form input[type="file"],
.tg-payment-form select {
  width: 100%;
  border: 1px solid #d3dbe7;
  border-radius: 14px;
  min-height: 48px;
  background: #fff;
  padding: 0 14px;
  outline: none;
}
.tg-payment-form input[type="file"] {
  padding: 11px 14px;
}
.tg-help-text {
  color: #98a2b3;
  font-size: 12px;
  margin-top: -4px;
}
.tg-check-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  background: #f3f7fb;
  border: 1px solid #dce5ef;
  border-radius: 16px;
  padding: 14px;
}
.tg-check-agree input {
  margin-top: 3px;
}
.tg-check-agree span {
  font-weight: 700;
  line-height: 1.5;
  color: #344054;
}
@media (max-width: 1000px) {
  .tg-checkout-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .tg-checkout-card {
    padding: 14px;
    border-radius: 18px;
  }
  .tg-summary-thumb {
    min-height: 190px;
  }
  .tg-summary-meta-grid {
    grid-template-columns: 1fr;
  }
  .tg-pay-line {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* marketplace-style single item layout */
.tg-single-item-page {
  background: #f3f5f8;
  padding: 26px 0 56px;
}
.tg-item-topbar {
  margin-bottom: 24px;
}
.tg-item-title-wrap {
  max-width: 900px;
}
.tg-item-page-title {
  margin: 10px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.04em;
  line-height: 1.1;
}
.tg-item-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #667085;
  font-weight: 700;
}
.tg-item-meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tg-item-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.tg-item-main {
  min-width: 0;
}
.tg-item-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 104px;
}
.tg-item-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.tg-qa-box {
  background: #fff;
  border: 1px solid var(--tg-border);
  border-radius: 6px;
  min-height: 96px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-weight: 800;
  color: #4b5563;
}
.tg-qa-box .tg-svg-icon {
  width: 28px;
  height: 28px;
  color: #101828;
}
.tg-item-intro-text {
  margin: 30px 0 24px;
  font-size: 18px;
  line-height: 1.75;
  color: #4b5563;
}
.tg-item-intro-text p { margin: 0; }
.tg-item-offer-banner {
  margin: 0 0 24px;
  min-height: 160px;
  border-radius: 18px;
  padding: 30px 34px;
  background: linear-gradient(135deg, #2d2dff 0%, #1f1fe4 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  box-shadow: 0 18px 40px rgba(45,45,255,.18);
}
.tg-item-offer-banner strong,
.tg-item-offer-banner span,
.tg-item-offer-banner small {
  display: block;
}
.tg-item-offer-banner strong {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.04em;
}
.tg-item-offer-banner span {
  font-size: 24px;
  margin-top: 8px;
  font-weight: 900;
}
.tg-item-offer-banner small {
  opacity: .9;
  margin-top: 14px;
  font-size: 14px;
}
.tg-item-offer-banner em {
  font-style: normal;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}
.tg-direct-demo-note {
  color: #667085;
  font-size: 15px;
  margin: 0 0 18px;
}
.tg-direct-demo-note a {
  color: var(--tg-blue);
  font-weight: 800;
}
.tg-item-showcase {
  background: #111318;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 26px;
}
.tg-item-showcase img {
  width: 100%;
  display: block;
}
.tg-item-content-block,
.tg-related-items-block,
.tg-item-details-card,
.tg-author-card,
.tg-item-side-note,
.tg-item-buy-card {
  background: #fff;
  border: 1px solid var(--tg-border);
  border-radius: 6px;
  box-shadow: none;
}
.tg-item-entry-content {
  color: #344054;
  line-height: 1.8;
}
.tg-item-entry-content > :first-child { margin-top: 0; }
.tg-item-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.tg-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tg-item-ad-card {
  background: #121416;
  color: #fff;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.06);
}
.tg-item-ad-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
}
.tg-item-ad-card p {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.tg-item-ad-card .tg-btn-light {
  background: #85e35c;
  color: #101828;
  border-color: #85e35c;
  width: 100%;
  justify-content: center;
}
.tg-item-side-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}
.tg-item-side-note p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}
.tg-side-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e6f5fb;
  color: #51a9ce;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.tg-side-badge-orange {
  background: #fff1e7;
  color: #e57a23;
}
.tg-author-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.tg-author-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.tg-author-head p {
  margin: 0;
  color: #667085;
}
.tg-author-avatar {
  width: 74px;
  height: 74px;
  border-radius: 6px;
  background: #3841ff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
}
.tg-author-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.tg-author-badges span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4f7fb;
  color: #5f6b7a;
}
.tg-author-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border: 1px solid #d0d6de;
  border-radius: 4px;
  color: #344054;
  font-weight: 800;
}
.tg-item-details-card h3,
.tg-item-buy-card h3,
.tg-author-card h3 {
  margin-top: 0;
}
.tg-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f5;
  color: #667085;
}
.tg-detail-row:last-child { border-bottom: 0; }
.tg-detail-row strong {
  color: #101828;
}
.tg-item-buy-card {
  padding: 22px;
}
.tg-item-buy-price {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
}
.tg-item-buy-actions {
  display: grid;
  gap: 10px;
}
.tg-item-buy-actions .tg-btn {
  justify-content: center;
}
@media (max-width: 1100px) {
  .tg-item-main-layout {
    grid-template-columns: 1fr;
  }
  .tg-item-sidebar {
    position: static;
  }
}
@media (max-width: 800px) {
  .tg-item-quick-actions,
  .tg-related-grid {
    grid-template-columns: 1fr;
  }
  .tg-item-offer-banner {
    padding: 22px;
    min-height: auto;
  }
  .tg-item-offer-banner strong {
    font-size: 24px;
  }
  .tg-item-offer-banner span {
    font-size: 18px;
  }
  .tg-item-offer-banner em {
    font-size: 38px;
  }
}


/* Square post/product card system */
.tg-new-grid .tg-market-item,
.tg-product-grid .tg-market-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tg-new-grid .tg-market-thumb,
.tg-product-grid .tg-market-thumb {
  height: auto;
  aspect-ratio: 1 / 1;
}
.tg-new-grid .tg-market-thumb img,
.tg-product-grid .tg-market-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tg-new-grid .tg-thumb-art,
.tg-product-grid .tg-thumb-art {
  padding: 22px;
}
.tg-new-grid .tg-thumb-art strong,
.tg-product-grid .tg-thumb-art strong {
  font-size: 18px;
  line-height: 1.08;
  max-width: 100%;
}
.tg-new-grid .tg-market-body,
.tg-product-grid .tg-market-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.tg-new-grid .tg-price-row,
.tg-product-grid .tg-price-row {
  margin-top: auto;
}
.tg-new-grid .tg-card-bottom,
.tg-product-grid .tg-card-bottom {
  margin-top: auto;
}
@media (max-width: 720px) {
  .tg-new-grid .tg-market-thumb,
  .tg-product-grid .tg-market-thumb {
    aspect-ratio: 1 / 1;
  }
}

/* digital-marketplace landscape product card system - override square cards */
.tg-new-grid,
.tg-product-grid {
  grid-template-columns: repeat(4, minmax(260px, 1fr)) !important;
  gap: 34px !important;
  align-items: stretch;
}

.tg-new-grid .tg-market-item,
.tg-product-grid .tg-market-item {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 4px !important;
}

.tg-new-grid .tg-market-thumb,
.tg-product-grid .tg-market-thumb {
  aspect-ratio: auto !important;
  height: 160px !important;
  min-height: 160px !important;
  max-height: 160px !important;
  width: 100% !important;
}

.tg-new-grid .tg-market-thumb img,
.tg-product-grid .tg-market-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.tg-new-grid .tg-thumb-art,
.tg-product-grid .tg-thumb-art {
  height: 100% !important;
  padding: 22px 24px !important;
  align-content: start !important;
}

.tg-new-grid .tg-thumb-art em,
.tg-product-grid .tg-thumb-art em {
  font-size: 13px !important;
  line-height: 1.1 !important;
}

.tg-new-grid .tg-thumb-art strong,
.tg-product-grid .tg-thumb-art strong {
  font-size: 25px !important;
  line-height: 1.04 !important;
  max-width: 92% !important;
}

.tg-new-grid .tg-market-body,
.tg-product-grid .tg-market-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 18px 20px 18px !important;
}

.tg-new-grid .tg-market-body h3,
.tg-product-grid .tg-market-body h3 {
  font-size: 16px !important;
  line-height: 1.22 !important;
  min-height: 40px !important;
  margin-bottom: 6px !important;
}

.tg-new-grid .tg-byline,
.tg-product-grid .tg-byline {
  font-size: 13px !important;
  margin-bottom: 18px !important;
}

.tg-new-grid .tg-price-row,
.tg-product-grid .tg-price-row {
  margin-top: auto !important;
}

.tg-new-grid .tg-price-row strong,
.tg-product-grid .tg-price-row strong {
  font-size: 22px !important;
  margin-bottom: 12px !important;
}

.tg-new-grid .tg-card-bottom,
.tg-product-grid .tg-card-bottom {
  margin-top: 0 !important;
  align-items: flex-end !important;
  flex-wrap: nowrap !important;
}

.tg-new-grid .tg-card-buttons,
.tg-product-grid .tg-card-buttons {
  width: auto !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
}

.tg-new-grid .tg-cart-btn,
.tg-product-grid .tg-cart-btn {
  width: 42px !important;
  min-height: 42px !important;
}

.tg-new-grid .tg-preview-btn,
.tg-product-grid .tg-preview-btn {
  min-width: 126px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
}

@media (max-width: 1180px) {
  .tg-new-grid,
  .tg-product-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .tg-new-grid,
  .tg-product-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .tg-new-grid,
  .tg-product-grid {
    grid-template-columns: 1fr !important;
  }
  .tg-new-grid .tg-market-thumb,
  .tg-product-grid .tg-market-thumb {
    height: 175px !important;
    min-height: 175px !important;
    max-height: 175px !important;
  }
  .tg-new-grid .tg-card-bottom,
  .tg-product-grid .tg-card-bottom {
    flex-wrap: wrap !important;
  }
  .tg-new-grid .tg-card-buttons,
  .tg-product-grid .tg-card-buttons {
    width: 100% !important;
    margin-left: 0 !important;
  }
  .tg-new-grid .tg-preview-btn,
  .tg-product-grid .tg-preview-btn {
    flex: 1 !important;
  }
}

/* Hide WordPress admin bar spacing for frontend normal users */
body:not(.admin-bar) {
  margin-top: 0 !important;
}

/* Become an Author application */
.tg-author-apply-section {
  place-items: stretch;
}
.tg-author-apply-wrap {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .75fr);
  gap: 34px;
  align-items: start;
}
.tg-author-apply-info {
  background: #101418;
  color: #fff;
  border-radius: 14px;
  padding: 42px;
  min-height: 560px;
  box-shadow: var(--tg-shadow);
}
.tg-author-apply-info h1 {
  margin: 10px 0 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.tg-author-apply-info p {
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 32px;
}
.tg-author-steps {
  display: grid;
  gap: 16px;
}
.tg-author-steps div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: 10px;
}
.tg-author-steps .tg-svg-icon {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  color: var(--tg-green);
}
.tg-author-steps strong {
  display: block;
  color: #fff;
}
.tg-author-steps span {
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.tg-author-form-card {
  width: 100%;
}
.tg-author-form-card textarea {
  width: 100%;
  border: 1px solid var(--tg-border);
  border-radius: 4px;
  padding: 13px 14px;
  margin: 8px 0 14px;
  outline: none;
  resize: vertical;
}
.tg-seller-status-card .tg-btn {
  margin-top: 8px;
}
@media (max-width: 980px) {
  .tg-author-apply-wrap {
    grid-template-columns: 1fr;
  }
  .tg-author-apply-info {
    min-height: auto;
  }
}

/* Item Tags system */
.tg-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tg-item-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #d7e9ff;
  color: #0ea5e9;
  font-weight: 800;
  font-size: 13px;
}
.tg-item-tags a:hover {
  background: #0ea5e9;
  color: #fff;
}
.tg-detail-row-tags span {
  text-align: right;
  line-height: 1.5;
}
.tg-submit-form .tg-help-text,
.tg-auth-form .tg-help-text {
  display: block;
  margin: -8px 0 14px;
  color: #8a93a4;
  font-size: 12px;
}

/* Theme ZIP upload system */
.tg-submit-form input[type="file"] {
  width: 100%;
  border: 1px solid var(--tg-border);
  border-radius: 4px;
  padding: 13px 14px;
  background: #fff;
  outline: none;
  margin: 8px 0 14px;
}

/* API payment + seller wallet */
.tg-api-payment-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--tg-border);
}
.tg-api-payment-box h4 {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tg-api-payment-box p {
  margin: 0 0 14px;
  color: #667085;
}
.tg-api-buttons {
  display: grid;
  gap: 10px;
}
.tg-api-buttons .tg-btn {
  justify-content: center;
  width: 100%;
}
.tg-seller-balance-box {
  padding: 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #101418, #1f2937);
  color: #fff;
  margin-bottom: 22px;
}
.tg-seller-balance-box span,
.tg-seller-balance-box small {
  display: block;
  color: rgba(255,255,255,.7);
}
.tg-seller-balance-box strong {
  display: block;
  font-size: 42px;
  line-height: 1.1;
  margin: 8px 0;
}
.tg-withdraw-form {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}
.tg-withdraw-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}
.tg-withdraw-form input,
.tg-withdraw-form select,
.tg-withdraw-form textarea {
  width: 100%;
  border: 1px solid var(--tg-border);
  border-radius: 4px;
  padding: 12px 14px;
  background: #fff;
}

/* Submit item extended fields */
.tg-submit-form > label,
.tg-submit-form .tg-form-grid label {
  display: block;
  font-weight: 800;
  margin: 14px 0 8px;
}
.tg-submit-form .tg-form-grid p {
  margin: 0;
}
.tg-submit-form input[type="text"],
.tg-submit-form input[type="url"],
.tg-submit-form input[type="number"],
.tg-submit-form textarea,
.tg-submit-form select {
  width: 100%;
}

/* Live synced status badges */
.tg-status-approved {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
}
.tg-status-rejected {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}
.tg-status-pending,
.tg-status-api_pending {
  background: #eff6ff !important;
  color: #2563eb !important;
}


/* Separate Checkout Page */
.tg-separate-checkout {
  min-height: 72vh;
}
.tg-checkout-page-title {
  margin-bottom: 22px;
}
.tg-checkout-page-title .tg-checkout-head {
  margin-top: 12px;
}
.tg-checkout-page-title h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.05em;
}
.tg-checkout-page-title p {
  margin: 10px 0 0;
  max-width: 650px;
  color: #667085;
  font-size: 16px;
}
.tg-back-link {
  display: inline-flex;
  color: var(--tg-blue);
  font-weight: 800;
  margin-bottom: 8px;
}

/* Uploaded homepage images */
.tg-hero-products-image {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-hero-products-image:before {
  width: 430px;
  height: 430px;
  inset: 0 auto auto 40px;
}
.tg-hero-products-image img {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(35, 45, 70, .22));
}
.tg-stock-fan-real {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-stock-fan-real img {
  width: min(100%, 760px);
  max-height: 345px;
  object-fit: contain;
  transform: translateY(16px);
  filter: drop-shadow(0 24px 26px rgba(0,0,0,.32));
}
.tg-stock-fan-real span {
  display: none !important;
}
.tg-ai-home-assets {
  background: #e9edf3;
  padding: 0 0 50px;
}
.tg-ai-assets-card {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(360px, 1.2fr);
  gap: 28px;
  align-items: center;
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 34px 40px;
  overflow: hidden;
  box-shadow: var(--tg-shadow);
}
.tg-ai-assets-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(27px, 3vw, 45px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #fff;
}
.tg-ai-assets-card p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.72);
  font-size: 16px;
}
.tg-ai-assets-card img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.42));
}
.tg-cat-preview-image {
  background: transparent !important;
  box-shadow: none;
  border-radius: 8px;
  overflow: visible;
}
.tg-cat-preview-image img {
  width: 100%;
  height: 175px;
  object-fit: contain;
  object-position: center bottom;
}
.tg-cat-preview-image .tg-cat-icon {
  z-index: 2;
  background: #fff;
}
.tg-demo-market-item .tg-market-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1000px) {
  .tg-ai-assets-card {
    grid-template-columns: 1fr;
  }
  .tg-hero-products-image img {
    max-height: 300px;
  }
}
@media (max-width: 760px) {
  .tg-ai-assets-card {
    padding: 24px;
  }
  .tg-stock-banner {
    grid-template-columns: 1fr;
  }
  .tg-stock-fan-real {
    min-height: 180px;
  }
  .tg-stock-fan-real img {
    transform: none;
  }
  .tg-cat-preview-image img {
    height: 145px;
  }
}


/* Working navigation + modern animation layer */
body {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}
body.tg-page-ready {
  opacity: 1;
  transform: translateY(0);
}
body.tg-page-leaving {
  opacity: 0;
  transform: translateY(-8px);
}
.tg-top-header {
  transition: box-shadow .28s ease, background-color .28s ease, transform .28s ease;
}
body.tg-has-scrolled .tg-top-header {
  box-shadow: 0 10px 34px rgba(0,0,0,.22);
}
.tg-main-tabs a,
.tg-category-scroll a {
  position: relative;
  transition: color .22s ease, background-color .22s ease, transform .22s ease;
}
.tg-main-tabs a:before,
.tg-category-scroll a:before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
  opacity: .85;
}
.tg-main-tabs a:hover:before,
.tg-main-tabs a.active:before,
.tg-category-scroll a:hover:before,
.tg-category-scroll a.active:before {
  transform: scaleX(1);
}
.tg-main-tabs a:hover,
.tg-category-scroll a:hover {
  transform: translateY(-1px);
}
.tg-category-scroll a.active {
  color: var(--tg-blue);
  font-weight: 800;
}
.tg-start-anim {
  animation: tgSlideDown .55s ease both;
}
@keyframes tgSlideDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}
.tg-hero-copy h1 {
  animation: tgHeroTitle .72s cubic-bezier(.2,.8,.2,1) both;
}
.tg-hero-copy p {
  animation: tgHeroTitle .72s cubic-bezier(.2,.8,.2,1) .08s both;
}
.tg-code-search {
  animation: tgHeroTitle .72s cubic-bezier(.2,.8,.2,1) .16s both;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.tg-code-search:hover,
.tg-code-search.tg-form-focused {
  transform: translateY(-2px);
  border-color: rgba(0,115,174,.35);
  box-shadow: 0 20px 42px rgba(42, 52, 70, .17);
}
@keyframes tgHeroTitle {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.tg-hero-products-image img,
.tg-stock-fan-real img,
.tg-ai-assets-card img {
  animation: tgFloatSoft 5.5s ease-in-out infinite;
}
@keyframes tgFloatSoft {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(.6deg); }
}
.tg-stock-fan-real img {
  animation-name: tgFloatFan;
}
@keyframes tgFloatFan {
  0%,100% { transform: translateY(16px) rotate(0deg); }
  50% { transform: translateY(4px) rotate(-1deg); }
}
.tg-reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  filter: blur(8px);
  transition:
    opacity .72s cubic-bezier(.2,.8,.2,1) var(--tg-reveal-delay, 0ms),
    transform .72s cubic-bezier(.2,.8,.2,1) var(--tg-reveal-delay, 0ms),
    filter .72s cubic-bezier(.2,.8,.2,1) var(--tg-reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.tg-reveal.tg-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.tg-market-item,
.tg-cc-category-card,
.tg-content-card,
.tg-checkout-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, filter .28s ease;
}
.tg-market-item:hover,
.tg-cc-category-card:hover,
.tg-content-card:hover,
.tg-checkout-card:hover {
  transform: translate3d(var(--tg-move-x, 0), calc(var(--tg-move-y, 0) - 6px), 0);
  box-shadow: 0 22px 52px rgba(20, 25, 38, .16);
}
.tg-market-thumb {
  overflow: hidden;
}
.tg-market-thumb img,
.tg-cat-preview-image img,
.tg-summary-thumb img {
  transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}
.tg-market-item:hover .tg-market-thumb img,
.tg-cc-category-card:hover .tg-cat-preview-image img,
.tg-summary-thumb:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}
.tg-btn,
.tg-green-btn,
.tg-preview-btn,
.tg-cart-btn,
.tg-copy-btn {
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.tg-btn:hover,
.tg-green-btn:hover,
.tg-preview-btn:hover,
.tg-cart-btn:hover,
.tg-copy-btn:hover {
  transform: translate3d(var(--tg-move-x, 0), calc(var(--tg-move-y, 0) - 2px), 0);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.tg-filter-pills a {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}
.tg-filter-pills a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20,25,38,.1);
}
.tg-featured-badge,
.tg-summary-pill,
.tg-status {
  animation: tgBadgePop .55s ease both;
}
@keyframes tgBadgePop {
  from { opacity: 0; transform: scale(.75); }
  to { opacity: 1; transform: scale(1); }
}
.tg-loader {
  animation: tgLoaderOut .52s ease forwards;
  animation-delay: .55s;
}
.tg-loader-orb {
  box-shadow: 0 0 0 0 rgba(37,99,235,.45);
  animation: tgSpin .8s linear infinite, tgPulseRing 1.4s ease-in-out infinite;
}
@keyframes tgPulseRing {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,99,235,.4); }
  50% { box-shadow: 0 0 0 18px rgba(37,99,235,0); }
}
.tg-payment-form input,
.tg-payment-form select,
.tg-submit-form input,
.tg-submit-form select,
.tg-submit-form textarea,
.tg-auth-form input,
.tg-auth-form select,
.tg-auth-form textarea {
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.tg-payment-form input:focus,
.tg-payment-form select:focus,
.tg-submit-form input:focus,
.tg-submit-form select:focus,
.tg-submit-form textarea:focus,
.tg-auth-form input:focus,
.tg-auth-form select:focus,
.tg-auth-form textarea:focus {
  border-color: rgba(0,115,174,.55) !important;
  box-shadow: 0 0 0 4px rgba(0,115,174,.10);
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  body,
  .tg-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* Category image clarity + smoother scroll fixes */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

/* Remove old mock-browser overlays from real uploaded category images */
.tg-cat-preview-image::before,
.tg-cat-preview-image::after {
  display: none !important;
  content: none !important;
}

.tg-cc-category-card {
  height: 345px;
  padding-bottom: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.tg-cat-preview-image {
  width: 86%;
  height: 164px;
  margin: 62px auto 0;
  border-radius: 7px 7px 0 0;
  overflow: hidden !important;
  background: #f7fafc !important;
  box-shadow: 0 -18px 34px rgba(29, 43, 68, .10) !important;
}

.tg-cat-preview-image img {
  width: 100%;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  filter: none !important;
  transform: translateZ(0);
}

.tg-cat-preview-image .tg-cat-icon {
  top: -32px;
  width: 66px;
  height: 66px;
  border-width: 6px;
  z-index: 5;
  box-shadow: 0 12px 26px rgba(15,23,42,.16);
}

.tg-cc-category-card:hover .tg-cat-preview-image img {
  transform: scale(1.035) translateZ(0);
  filter: saturate(1.06) contrast(1.03) !important;
}

/* Lighter reveal so scroll feels smoother and does not jump */
.tg-reveal {
  transform: translateY(18px) scale(.995) !important;
  filter: none !important;
  transition:
    opacity .55s cubic-bezier(.22,.72,.22,1) var(--tg-reveal-delay, 0ms),
    transform .55s cubic-bezier(.22,.72,.22,1) var(--tg-reveal-delay, 0ms) !important;
}

.tg-reveal.tg-visible {
  transform: translateY(0) scale(1) !important;
  filter: none !important;
}

/* Stop heavy hover movement on category cards */
.tg-cc-category-card:hover {
  transform: translateY(-4px) !important;
}

.tg-market-item:hover,
.tg-content-card:hover,
.tg-checkout-card:hover {
  transform: translateY(-5px) !important;
}

/* Browser-composited smoothness */
.tg-market-item,
.tg-cc-category-card,
.tg-content-card,
.tg-checkout-card,
.tg-cat-preview-image,
.tg-market-thumb img {
  will-change: transform;
}

/* Hide any old mock line/browser pieces when real category image exists */
.tg-cat-preview-image .tg-cat-browser,
.tg-cat-preview-image .tg-cat-browser-top,
.tg-cat-preview-image .tg-cat-main-line,
.tg-cat-preview-image .tg-cat-sub-line,
.tg-cat-preview-image .tg-cat-panels {
  display: none !important;
}

@media (max-width: 760px) {
  .tg-cc-category-card {
    height: 315px;
  }
  .tg-cat-preview-image {
    width: 90%;
    height: 138px;
    margin-top: 54px;
  }
}


/* Performance + anti-lag patch */
html {
  scroll-behavior: auto !important;
}

/* Remove expensive whole-page opacity/transform transitions */
body {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
body.tg-page-ready,
body.tg-page-leaving {
  opacity: 1 !important;
  transform: none !important;
}

/* Make reveal animation lightweight */
.tg-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  will-change: auto !important;
}
.tg-reveal.tg-visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Disable infinite image animations that cause scroll jank */
.tg-hero-products-image img,
.tg-stock-fan-real img,
.tg-ai-assets-card img {
  animation: none !important;
  transform: none !important;
}

/* Remove heavy magnetic transform dependency */
.tg-market-item:hover,
.tg-cc-category-card:hover,
.tg-content-card:hover,
.tg-checkout-card:hover,
.tg-btn:hover,
.tg-green-btn:hover,
.tg-preview-btn:hover,
.tg-cart-btn:hover,
.tg-copy-btn:hover {
  transform: translateY(-2px) !important;
}

/* Reduce costly shadows while scrolling/hovering */
.tg-market-item:hover,
.tg-cc-category-card:hover,
.tg-content-card:hover,
.tg-checkout-card:hover {
  box-shadow: 0 10px 24px rgba(20, 25, 38, .10) !important;
}

/* Avoid too many permanent GPU layers */
.tg-market-item,
.tg-cc-category-card,
.tg-content-card,
.tg-checkout-card,
.tg-cat-preview-image,
.tg-market-thumb img {
  will-change: auto !important;
}

/* Category card icon clipping/overlap fix */
.tg-cc-category-card {
  overflow: visible !important;
  contain: layout paint;
}
.tg-cat-preview-image {
  overflow: visible !important;
  margin-top: 70px !important;
}
.tg-cat-preview-image img {
  border-radius: 7px 7px 0 0;
  overflow: hidden;
}
.tg-cat-preview-image .tg-cat-icon {
  top: -34px !important;
  z-index: 8 !important;
}

/* Use native scrolling and better scroll performance */
* {
  -webkit-overflow-scrolling: touch;
}


/* Square post/product card shape */
.tg-new-grid,
.tg-product-grid,
.tg-related-grid {
  align-items: stretch;
}

.tg-market-item,
.tg-card,
.tg-post-card {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}

.tg-market-thumb {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 0.58 !important;
  flex: 0 0 auto !important;
}

.tg-market-thumb img,
.tg-market-thumb .tg-thumb-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.tg-market-body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 14px 16px !important;
  min-height: 0 !important;
}

.tg-market-body h3 {
  font-size: 15px !important;
  line-height: 1.22 !important;
  margin: 0 0 6px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  overflow: hidden !important;
}

.tg-byline {
  margin-bottom: 8px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  max-height: 34px !important;
  overflow: hidden !important;
}

.tg-price-row {
  margin-top: auto !important;
}

.tg-price-row strong {
  font-size: 20px !important;
}

.tg-card-bottom {
  margin-top: 8px !important;
  align-items: flex-end !important;
  gap: 8px !important;
}

.tg-rating-sales {
  min-width: 72px !important;
}

.tg-rating-sales small,
.tg-rating-count {
  font-size: 11px !important;
}

.tg-card-buttons {
  gap: 6px !important;
}

.tg-cart-btn {
  width: 38px !important;
  min-height: 38px !important;
}

.tg-preview-btn {
  min-height: 38px !important;
  min-width: 108px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
}

@media (max-width: 720px) {
  .tg-market-item,
  .tg-card,
  .tg-post-card {
    aspect-ratio: auto !important;
  }

  .tg-market-thumb {
    aspect-ratio: 1 / .62 !important;
  }
}


/* Mobile responsive publish-ready patch */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.tg-container,
.tg-container-wide,
.tg-narrow {
  max-width: 100%;
}

.site-main,
.tg-cc-hero,
.tg-home-categories,
.tg-featured-code,
.tg-newest-code,
.tg-asset-strip,
.tg-ai-home-assets {
  overflow-x: clip;
}

/* Fix bottom black banner image clipping */
.tg-asset-strip {
  padding: 34px 0 36px;
}
.tg-stock-banner {
  overflow: hidden;
}
.tg-stock-fan-real {
  min-width: 0;
}
.tg-stock-fan-real img {
  width: min(100%, 640px) !important;
  max-height: 250px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Product/card clipping and price spacing */
.tg-market-item {
  min-width: 0;
}
.tg-market-body {
  min-width: 0;
}
.tg-market-body h3,
.tg-byline {
  overflow-wrap: anywhere;
}
.tg-price-row {
  padding-bottom: 2px;
}
.tg-price-row strong {
  line-height: 1.2;
  display: inline-block;
}
.tg-card-bottom {
  min-height: 40px;
}

/* Better card grids */
.tg-new-grid,
.tg-product-grid,
.tg-featured-grid,
.tg-related-grid {
  max-width: 100%;
}

/* Mobile header rebuild */
@media (max-width: 1024px) {
  body.tg-mobile-menu-active {
    overflow: hidden;
  }

  .tg-top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .tg-topbar {
    height: 62px;
    gap: 10px;
  }

  .tg-brand-dark {
    font-size: 17px;
    max-width: calc(100vw - 95px);
    overflow: hidden;
  }

  .tg-brand-dark small {
    font-size: 13px;
  }

  .tg-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
  }

  .tg-main-tabs,
  .tg-top-actions {
    display: none !important;
  }

  .tg-top-header.tg-menu-open .tg-main-tabs,
  .tg-top-header.tg-menu-open .tg-top-actions {
    display: grid !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: #262626 !important;
    z-index: 1001 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: 0 22px 46px rgba(0,0,0,.24);
  }

  .tg-top-header.tg-menu-open .tg-main-tabs {
    top: 62px !important;
    max-height: calc(100vh - 142px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    grid-template-columns: 1fr !important;
    padding: 10px 16px 12px !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .tg-top-header.tg-menu-open .tg-main-tabs a {
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 8px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    justify-content: flex-start !important;
    font-size: 14px !important;
  }

  .tg-top-header.tg-menu-open .tg-top-actions {
    bottom: 0 !important;
    top: auto !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
  }

  .tg-top-header.tg-menu-open .tg-top-actions a {
    display: flex !important;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.08);
  }

  .tg-signin {
    padding: 10px 12px !important;
    margin: 0 !important;
  }

  .tg-category-bar {
    position: sticky;
    top: 62px;
    z-index: 990;
  }

  .tg-category-scroll {
    min-height: 44px;
    gap: 0 !important;
    padding-inline: 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .tg-category-scroll a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    font-size: 12px;
    scroll-snap-align: start;
  }
}

/* Tablet layout */
@media (max-width: 900px) {
  .tg-cc-hero {
    min-height: auto;
    padding: 46px 0 32px;
  }

  .tg-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr !important;
    gap: 26px;
  }

  .tg-hero-products-image {
    min-height: auto;
  }

  .tg-hero-products-image:before {
    width: 300px;
    height: 300px;
    inset: 0 auto auto 50%;
    transform: translateX(-50%);
  }

  .tg-hero-products-image img {
    max-height: 260px;
  }

  .tg-ai-assets-card {
    grid-template-columns: 1fr !important;
  }

  .tg-featured-layout,
  .tg-item-main-layout,
  .tg-checkout-grid,
  .tg-author-apply-wrap {
    grid-template-columns: 1fr !important;
    width: min(100% - 24px, var(--tg-container)) !important;
  }

  .tg-item-sidebar {
    position: static !important;
  }

  .tg-featured-intro {
    min-height: auto !important;
  }
}

/* Phone layout */
@media (max-width: 640px) {
  .tg-container,
  .tg-container-wide,
  .tg-narrow {
    width: min(100% - 20px, var(--tg-container)) !important;
  }

  .tg-hero-copy h1 {
    font-size: 30px !important;
    line-height: 1.08;
  }

  .tg-hero-copy p {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }

  .tg-code-search {
    width: 100%;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr;
    padding: 12px !important;
  }

  .tg-code-search button {
    width: 100%;
  }

  .tg-home-categories {
    padding-top: 26px;
  }

  .tg-category-showcase {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .tg-cc-category-card {
    height: auto !important;
    min-height: 300px;
    padding: 28px 18px 0 !important;
    overflow: hidden !important;
  }

  .tg-cat-preview-image {
    width: 100% !important;
    max-width: 310px;
    height: 135px !important;
    margin: 58px auto 0 !important;
    overflow: visible !important;
  }

  .tg-cat-preview-image .tg-cat-icon {
    width: 58px !important;
    height: 58px !important;
    top: -30px !important;
  }

  .tg-featured-layout,
  .tg-new-grid,
  .tg-product-grid,
  .tg-featured-grid,
  .tg-related-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .tg-market-item,
  .tg-card,
  .tg-post-card {
    aspect-ratio: auto !important;
    min-height: 0 !important;
  }

  .tg-market-thumb {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
  }

  .tg-market-body h3 {
    min-height: auto !important;
    max-height: none !important;
  }

  .tg-card-bottom {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .tg-card-buttons {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
  }

  .tg-preview-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  .tg-ai-home-assets {
    padding-bottom: 28px;
  }

  .tg-ai-assets-card {
    padding: 24px 18px !important;
    border-radius: 12px;
  }

  .tg-ai-assets-card h2,
  .tg-stock-copy h2,
  .tg-featured-intro h2,
  .tg-newest-head h2 {
    font-size: 26px !important;
  }

  .tg-asset-strip {
    padding: 22px 0 28px !important;
  }

  .tg-stock-banner {
    grid-template-columns: 1fr !important;
    padding: 26px 18px !important;
    border-radius: 10px !important;
    min-height: auto !important;
  }

  .tg-stock-copy h2 {
    line-height: 1.12;
  }

  .tg-stock-fan-real {
    display: flex !important;
    min-height: 150px !important;
    margin-top: 14px;
  }

  .tg-stock-fan-real img {
    max-height: 145px !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  .tg-item-page-title {
    font-size: 28px !important;
  }

  .tg-item-quick-actions,
  .tg-summary-meta-grid,
  .tg-form-grid,
  .tg-stat-grid,
  .tg-filter-pills {
    grid-template-columns: 1fr !important;
  }

  .tg-checkout-card,
  .tg-content-card,
  .tg-auth-card {
    padding: 20px !important;
  }

  .tg-footer-grid {
    grid-template-columns: 1fr !important;
  }

  .tg-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .tg-brand-dark {
    font-size: 15px;
  }

  .tg-category-scroll a {
    font-size: 11px;
    padding-inline: 9px;
  }

  .tg-hero-copy h1 {
    font-size: 27px !important;
  }

  .tg-market-body {
    padding: 12px !important;
  }
}

/* Print/SEO clean */
@media print {
  .tg-top-header,
  .tg-category-bar,
  .tg-loader,
  .tg-footer {
    display: none !important;
  }
}


/* Final marketplace product card design - reference style */
.tg-new-grid,
.tg-product-grid,
.tg-featured-grid,
.tg-related-grid {
  align-items: stretch;
}

.tg-market-item,
.tg-card,
.tg-post-card {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 485px !important;
  background: #fff !important;
  border: 1px solid #d9e1eb !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease !important;
}

.tg-market-item:hover,
.tg-card:hover,
.tg-post-card:hover {
  transform: translateY(-3px) !important;
  border-color: #c8d3df !important;
  box-shadow: 0 12px 28px rgba(18, 28, 45, .10) !important;
}

.tg-market-thumb {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  background: #eef3f8 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
}

.tg-market-thumb img,
.tg-market-thumb .tg-thumb-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transform: none !important;
  filter: none !important;
}

.tg-market-body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 18px 20px 18px !important;
  background: #fff !important;
  min-height: 0 !important;
}

.tg-market-body h3 {
  margin: 0 0 7px !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: #172033 !important;
  min-height: 45px !important;
  max-height: 45px !important;
  overflow: hidden !important;
  letter-spacing: -.01em;
}

.tg-market-body h3 a {
  color: #172033 !important;
}

.tg-market-body h3 a:hover {
  color: #0ea5e9 !important;
}

.tg-byline {
  margin: 0 0 18px !important;
  color: #728197 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  max-height: 42px !important;
  overflow: hidden !important;
}

.tg-price-row {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.tg-price-row strong {
  display: block !important;
  font-size: 24px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  color: #152033 !important;
}

.tg-card-bottom {
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  align-items: stretch !important;
  min-height: 0 !important;
}

.tg-rating-sales {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
  color: #718096 !important;
}

.tg-rating-sales .tg-stars,
.tg-rating-stars,
.tg-stars {
  color: #ffb000 !important;
}

.tg-rating-sales svg,
.tg-stars svg {
  width: 16px !important;
  height: 16px !important;
  fill: #ffb000 !important;
  color: #ffb000 !important;
}

.tg-rating-count {
  display: inline-block !important;
  margin-left: 4px !important;
  color: #718096 !important;
  font-size: 13px !important;
}

.tg-rating-sales small {
  display: block !important;
  margin-top: 3px !important;
  color: #718096 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.tg-card-buttons {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  align-items: center !important;
}

.tg-cart-btn {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid #b9c7d6 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #4d5b6c !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.tg-cart-btn:hover {
  border-color: #0ea5e9 !important;
  color: #0ea5e9 !important;
  background: #f4fbff !important;
}

.tg-preview-btn {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 2px solid #0ea5e9 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #0ea5e9 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
}

.tg-preview-btn:hover {
  background: #0ea5e9 !important;
  color: #fff !important;
}

.tg-preview-btn svg,
.tg-cart-btn svg {
  width: 17px !important;
  height: 17px !important;
}

/* Featured cards follow the same marketplace shape */
.tg-featured-grid .tg-market-item {
  min-height: 485px !important;
}

.tg-featured-grid .tg-market-thumb {
  aspect-ratio: 16 / 9 !important;
}

/* Mobile product card refinement */
@media (max-width: 640px) {
  .tg-market-item,
  .tg-card,
  .tg-post-card {
    min-height: 0 !important;
    border-radius: 6px !important;
  }

  .tg-market-body {
    padding: 16px 18px !important;
  }

  .tg-market-body h3 {
    font-size: 17px !important;
    min-height: auto !important;
    max-height: none !important;
  }

  .tg-byline {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }

  .tg-price-row strong {
    font-size: 23px !important;
  }

  .tg-card-buttons {
    grid-template-columns: 42px 1fr !important;
    gap: 10px !important;
  }

  .tg-cart-btn,
  .tg-preview-btn {
    height: 42px !important;
    min-height: 42px !important;
  }
}


/* Search box right-end button fix */
.tg-code-search {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

.tg-code-search input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.tg-code-search button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 104px !important;
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  height: 40px !important;
  padding: 0 18px !important;
}

/* Override old mobile full-width/centered search rule */
@media (max-width: 640px) {
  .tg-code-search {
    display: flex !important;
    grid-template-columns: none !important;
    height: 54px !important;
    padding: 8px 8px 8px 14px !important;
  }

  .tg-code-search button {
    width: auto !important;
    min-width: 94px !important;
    height: 38px !important;
    margin-left: auto !important;
    padding: 0 14px !important;
  }
}

@media (max-width: 380px) {
  .tg-code-search {
    gap: 6px !important;
    padding-left: 10px !important;
  }

  .tg-code-search button {
    min-width: 82px !important;
    padding: 0 10px !important;
  }
}


/* Hard fix: search button pinned to right end */
.tg-code-search {
  position: relative !important;
  display: block !important;
  width: min(100%, 650px) !important;
  height: 58px !important;
  padding: 0 116px 0 20px !important;
  overflow: hidden !important;
}

.tg-code-search input {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  outline: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tg-code-search button {
  position: absolute !important;
  top: 50% !important;
  right: 9px !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  z-index: 2 !important;
}

.tg-code-search button:hover {
  transform: translateY(-50%) !important;
}

@media (max-width: 640px) {
  .tg-code-search {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    height: 54px !important;
    padding: 0 104px 0 14px !important;
  }

  .tg-code-search button {
    right: 8px !important;
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    height: 38px !important;
    padding: 0 10px !important;
  }
}

@media (max-width: 380px) {
  .tg-code-search {
    padding-right: 92px !important;
    padding-left: 10px !important;
  }

  .tg-code-search button {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    font-size: 12px !important;
  }
}


/* Search box visual style refinement to match reference */
.tg-code-search {
  position: relative !important;
  display: block !important;
  width: min(100%, 1080px) !important;
  height: 50px !important;
  padding: 0 116px 0 16px !important;
  background: #ffffff !important;
  border: 1px solid #d9dee7 !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.tg-code-search input {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #2d3748 !important;
  font-size: 15px !important;
  line-height: 50px !important;
}

.tg-code-search input::placeholder {
  color: #7a8698 !important;
  opacity: 1 !important;
}

.tg-code-search button {
  position: absolute !important;
  top: 7px !important;
  right: 8px !important;
  left: auto !important;
  transform: none !important;
  width: 95px !important;
  min-width: 95px !important;
  max-width: 95px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #7fba27 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  z-index: 3 !important;
}

.tg-code-search button:hover,
.tg-code-search button:focus {
  transform: none !important;
  background: #72aa22 !important;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .tg-code-search {
    width: 100% !important;
    height: 48px !important;
    padding: 0 104px 0 14px !important;
  }

  .tg-code-search input {
    font-size: 14px !important;
    line-height: 48px !important;
  }

  .tg-code-search button {
    top: 6px !important;
    right: 6px !important;
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    height: 36px !important;
    font-size: 13px !important;
  }
}


/* Exact search form child fix - keep submit button at the far right */
.tg-cc-hero .tg-code-search {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 1080px !important;
  min-height: 50px !important;
  height: 50px !important;
  padding: 0 116px 0 16px !important;
  background: #fff !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 5px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.tg-cc-hero .tg-code-search > input[type="search"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 15px !important;
  color: #2d3748 !important;
  box-sizing: border-box !important;
}

.tg-cc-hero .tg-code-search > input[type="hidden"] {
  display: none !important;
}

.tg-cc-hero .tg-code-search > button[type="submit"] {
  position: absolute !important;
  top: 7px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  width: 95px !important;
  min-width: 95px !important;
  max-width: 95px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #7fba27 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-shadow: none !important;
  z-index: 5 !important;
  cursor: pointer !important;
}

.tg-cc-hero .tg-code-search > button[type="submit"]:hover,
.tg-cc-hero .tg-code-search > button[type="submit"]:focus {
  transform: none !important;
  background: #75ae22 !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  .tg-cc-hero .tg-code-search {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 104px 0 14px !important;
  }

  .tg-cc-hero .tg-code-search > input[type="search"] {
    height: 46px !important;
    line-height: 46px !important;
    font-size: 14px !important;
  }

  .tg-cc-hero .tg-code-search > button[type="submit"] {
    top: 6px !important;
    right: 6px !important;
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    height: 36px !important;
    font-size: 13px !important;
  }
}


/* Final search box match to uploaded reference */
.tg-cc-hero .tg-code-search {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 1062px !important;
  min-height: 49px !important;
  height: 49px !important;
  margin: 0 !important;
  padding: 0 116px 0 16px !important;
  background: #ffffff !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 5px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.tg-cc-hero .tg-code-search > input[type="search"] {
  display: block !important;
  width: 100% !important;
  height: 47px !important;
  line-height: 47px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #4a5568 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  box-sizing: border-box !important;
}

.tg-cc-hero .tg-code-search > input[type="search"]::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

.tg-cc-hero .tg-code-search > input[type="hidden"] {
  display: none !important;
}

.tg-cc-hero .tg-code-search > button[type="submit"] {
  position: absolute !important;
  top: 7px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  height: 35px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #88bc2f !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  z-index: 5 !important;
  cursor: pointer !important;
}

.tg-cc-hero .tg-code-search > button[type="submit"]:hover,
.tg-cc-hero .tg-code-search > button[type="submit"]:focus {
  transform: none !important;
  background: #7fb128 !important;
  color: #fff !important;
}

.tg-cc-hero .tg-code-search > button[type="submit"] svg {
  width: 14px !important;
  height: 14px !important;
}

@media (max-width: 640px) {
  .tg-cc-hero .tg-code-search {
    max-width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 104px 0 14px !important;
  }

  .tg-cc-hero .tg-code-search > input[type="search"] {
    height: 46px !important;
    line-height: 46px !important;
    font-size: 14px !important;
  }

  .tg-cc-hero .tg-code-search > button[type="submit"] {
    top: 6px !important;
    right: 6px !important;
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    height: 36px !important;
    font-size: 13px !important;
  }
}


/* Archive/category search box match to uploaded reference */
.tg-archive-hero .tg-search.tg-archive-search,
.tg-archive-hero .tg-archive-search {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 1028px !important;
  min-height: 50px !important;
  height: 50px !important;
  margin: 14px 0 0 !important;
  padding: 0 116px 0 16px !important;
  background: #ffffff !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 5px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  box-shadow: none !important;
  gap: 0 !important;
}

.tg-archive-hero .tg-search.tg-archive-search > input[type="search"],
.tg-archive-hero .tg-archive-search > input[type="search"] {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #4a5568 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.tg-archive-hero .tg-search.tg-archive-search > input[type="search"]::placeholder,
.tg-archive-hero .tg-archive-search > input[type="search"]::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

.tg-archive-hero .tg-search.tg-archive-search > input[type="hidden"],
.tg-archive-hero .tg-archive-search > input[type="hidden"] {
  display: none !important;
}

.tg-archive-hero .tg-search.tg-archive-search > button[type="submit"],
.tg-archive-hero .tg-archive-search > button[type="submit"] {
  position: absolute !important;
  top: 7px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  height: 35px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #88bc2f !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  z-index: 4 !important;
  cursor: pointer !important;
}

.tg-archive-hero .tg-search.tg-archive-search > button[type="submit"]:hover,
.tg-archive-hero .tg-search.tg-archive-search > button[type="submit"]:focus,
.tg-archive-hero .tg-archive-search > button[type="submit"]:hover,
.tg-archive-hero .tg-archive-search > button[type="submit"]:focus {
  background: #7fb128 !important;
  color: #fff !important;
  transform: none !important;
}

.tg-archive-hero .tg-search.tg-archive-search > button[type="submit"] svg,
.tg-archive-hero .tg-archive-search > button[type="submit"] svg {
  width: 14px !important;
  height: 14px !important;
}

@media (max-width: 640px) {
  .tg-archive-hero .tg-search.tg-archive-search,
  .tg-archive-hero .tg-archive-search {
    max-width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 104px 0 14px !important;
  }

  .tg-archive-hero .tg-search.tg-archive-search > input[type="search"],
  .tg-archive-hero .tg-archive-search > input[type="search"] {
    height: 46px !important;
    line-height: 46px !important;
    font-size: 14px !important;
  }

  .tg-archive-hero .tg-search.tg-archive-search > button[type="submit"],
  .tg-archive-hero .tg-archive-search > button[type="submit"] {
    top: 6px !important;
    right: 6px !important;
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    height: 36px !important;
    font-size: 13px !important;
  }
}


/* Final search box layout fix to match the 2nd reference image */
.tg-code-search,
.tg-search.tg-archive-search,
.tg-archive-search {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 1065px !important;
  min-height: 49px !important;
  height: 49px !important;
  margin: 0 !important;
  padding: 7px 10px 7px 14px !important;
  background: #ffffff !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 5px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  box-shadow: none !important;
  position: relative !important;
}

.tg-code-search > input[type="search"],
.tg-search.tg-archive-search > input[type="search"],
.tg-archive-search > input[type="search"] {
  flex: 1 1 auto !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 35px !important;
  line-height: 35px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #4a5568 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  box-sizing: border-box !important;
}

.tg-code-search > input[type="search"]::placeholder,
.tg-search.tg-archive-search > input[type="search"]::placeholder,
.tg-archive-search > input[type="search"]::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

.tg-code-search > input[type="hidden"],
.tg-search.tg-archive-search > input[type="hidden"],
.tg-archive-search > input[type="hidden"] {
  display: none !important;
}

.tg-code-search > button[type="submit"],
.tg-search.tg-archive-search > button[type="submit"],
.tg-archive-search > button[type="submit"] {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  height: 35px !important;
  margin: 0 0 0 auto !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #88bc2f !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
}

.tg-code-search > button[type="submit"]:hover,
.tg-code-search > button[type="submit"]:focus,
.tg-search.tg-archive-search > button[type="submit"]:hover,
.tg-search.tg-archive-search > button[type="submit"]:focus,
.tg-archive-search > button[type="submit"]:hover,
.tg-archive-search > button[type="submit"]:focus {
  background: #7fb128 !important;
  color: #fff !important;
  transform: none !important;
}

.tg-code-search > button[type="submit"] svg,
.tg-search.tg-archive-search > button[type="submit"] svg,
.tg-archive-search > button[type="submit"] svg {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 auto !important;
}

@media (max-width: 640px) {
  .tg-code-search,
  .tg-search.tg-archive-search,
  .tg-archive-search {
    max-width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 6px 8px 6px 12px !important;
  }

  .tg-code-search > input[type="search"],
  .tg-search.tg-archive-search > input[type="search"],
  .tg-archive-search > input[type="search"] {
    height: 34px !important;
    line-height: 34px !important;
    font-size: 14px !important;
  }

  .tg-code-search > button[type="submit"],
  .tg-search.tg-archive-search > button[type="submit"],
  .tg-archive-search > button[type="submit"] {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    height: 34px !important;
    font-size: 13px !important;
  }
}


/* Post/product card style matched closer to latest uploaded reference */
.tg-market-item,
.tg-card,
.tg-post-card {
  background: #ffffff !important;
  border: 1px solid #dbe2ea !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.tg-market-item:hover,
.tg-card:hover,
.tg-post-card:hover {
  transform: none !important;
  box-shadow: 0 6px 18px rgba(28, 39, 54, .06) !important;
  border-color: #d2dae3 !important;
}

.tg-market-thumb {
  width: 100% !important;
  aspect-ratio: 280 / 164 !important;
  background: #eef2f7 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
}

.tg-market-thumb img,
.tg-market-thumb .tg-thumb-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.tg-market-body {
  padding: 14px 14px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  background: #fff !important;
  flex: 1 1 auto !important;
}

.tg-market-body h3 {
  margin: 0 0 6px !important;
  min-height: 0 !important;
  max-height: none !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #18222f !important;
  letter-spacing: 0 !important;
}

.tg-market-body h3 a {
  color: #18222f !important;
}

.tg-market-body h3 a:hover {
  color: #0a74b9 !important;
}

.tg-byline {
  margin: 0 0 14px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #8b97a8 !important;
}

.tg-byline a,
.tg-byline em,
.tg-byline span {
  color: #8b97a8 !important;
}

.tg-price-row {
  margin: 0 0 14px !important;
  padding: 0 !important;
}

.tg-price-row strong {
  display: block !important;
  font-size: 17px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: #1a2431 !important;
}

.tg-card-bottom {
  margin-top: auto !important;
  display: block !important;
}

.tg-rating-sales,
.tg-rating-stars,
.tg-stars,
.tg-rating-count,
.tg-rating-sales small {
  display: none !important;
}

.tg-card-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.tg-cart-btn {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 !important;
  border: 1px solid #c9d3de !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #687789 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.tg-cart-btn:hover {
  border-color: #0a74b9 !important;
  color: #0a74b9 !important;
  background: #ffffff !important;
}

.tg-preview-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 88px !important;
  max-width: 100% !important;
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 16px !important;
  border: 1px solid #0a74b9 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #0a74b9 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: none !important;
}

.tg-preview-btn:hover {
  background: #f8fcff !important;
  color: #0a74b9 !important;
  border-color: #0a74b9 !important;
}

.tg-preview-btn svg,
.tg-cart-btn svg {
  width: 15px !important;
  height: 15px !important;
}

@media (max-width: 640px) {
  .tg-market-body {
    padding: 12px !important;
  }

  .tg-market-body h3 {
    font-size: 15px !important;
  }

  .tg-byline {
    font-size: 13px !important;
    margin-bottom: 12px !important;
  }

  .tg-price-row {
    margin-bottom: 12px !important;
  }

  .tg-price-row strong {
    font-size: 16px !important;
  }

  .tg-card-buttons {
    gap: 8px !important;
  }

  .tg-preview-btn {
    min-width: 84px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}


/* Hide product/post tags on frontend */
.single-themego_item .tg-item-tags,
.single-themego_item .tg-detail-row-tags,
.tg-item-tags,
.tg-detail-row-tags {
  display: none !important;
}


/* ThemeGet full business homepage */
.tg-business-hero {
  background:
    radial-gradient(circle at 95% 25%, rgba(44, 89, 164, .25), transparent 30%),
    radial-gradient(circle at 5% 30%, rgba(37, 99, 235, .13), transparent 26%),
    linear-gradient(135deg, #071327 0%, #061122 52%, #06162d 100%);
  color: #fff;
  padding: 58px 0 34px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
}
.tg-business-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .18;
  pointer-events: none;
}
.tg-business-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(460px, 1.08fr);
  gap: 34px;
  align-items: center;
}
.tg-business-hero-copy h1 {
  margin: 0 0 17px;
  color: #fff;
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 900;
}
.tg-business-hero-copy h1 span,
.tg-business-sell-card h2 span {
  color: var(--tg-green);
}
.tg-business-hero-copy p {
  max-width: 620px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.84);
  font-size: 17px;
  line-height: 1.6;
}
.tg-business-search {
  max-width: 560px !important;
  margin-bottom: 14px !important;
}
.tg-popular-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 15px;
  align-items: center;
  margin: 10px 0 24px;
  color: rgba(255,255,255,.8);
  font-size: 13px;
}
.tg-popular-keywords a {
  color: rgba(255,255,255,.78);
}
.tg-popular-keywords a:hover { color: #fff; }
.tg-business-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  max-width: 680px;
}
.tg-business-trust-row div {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  background: rgba(255,255,255,.035);
}
.tg-business-trust-row svg { width: 20px; height: 20px; color: var(--tg-green); }
.tg-business-trust-row span { display: grid; color: #fff; font-size: 12px; font-weight: 800; line-height: 1.2; }
.tg-business-trust-row small { color: rgba(255,255,255,.65); font-size: 10px; font-weight: 600; }

.tg-business-dashboard-mock {
  min-height: 440px;
  background: #fff;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 140px 1fr;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.16);
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}
.tg-business-dashboard-mock aside {
  background: #071327;
  color: #fff;
  padding: 20px 15px;
  display: grid;
  align-content: start;
  gap: 13px;
}
.tg-business-dashboard-mock aside strong {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.tg-business-dashboard-mock aside span {
  color: rgba(255,255,255,.78);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.tg-business-dashboard-mock aside svg { width: 15px; height: 15px; color: var(--tg-green); }
.tg-business-dashboard-mock main { padding: 24px; color: #172033; }
.tg-mock-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.tg-mock-top h3 { margin: 0 0 4px; font-size: 18px; }
.tg-mock-top p { margin: 0; color: #7b8795; font-size: 12px; }
.tg-mock-top button { border: 1px solid #e5eaf0; background: #fff; border-radius: 6px; padding: 8px 10px; color: #667085; }
.tg-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.tg-mock-stats div { border: 1px solid #e7edf4; border-radius: 8px; padding: 12px; display: grid; gap: 4px; }
.tg-mock-stats span { color: #7b8795; font-size: 11px; }
.tg-mock-stats strong { font-size: 20px; }
.tg-mock-stats em { color: #14a55b; font-size: 11px; font-style: normal; font-weight: 800; }
.tg-mock-chart { height: 150px; border: 1px solid #e7edf4; border-radius: 10px; display: flex; align-items: end; gap: 18px; padding: 20px; background: linear-gradient(180deg, #fff, #f7fbff); }
.tg-mock-chart span { flex: 1; border-radius: 999px; background: linear-gradient(180deg, #3b82f6, #9fd3ff); }
.tg-mock-chart span:nth-child(1){height:36%}.tg-mock-chart span:nth-child(2){height:58%}.tg-mock-chart span:nth-child(3){height:42%}.tg-mock-chart span:nth-child(4){height:74%}.tg-mock-chart span:nth-child(5){height:62%}
.tg-mock-products { margin-top: 14px; display: grid; gap: 7px; }
.tg-mock-products p { margin: 0; display: flex; justify-content: space-between; font-size: 12px; color: #667085; }
.tg-mock-products i { width: 8px; height: 8px; background: var(--tg-green); display: inline-block; border-radius: 50%; margin-right: 5px; }

.tg-business-categories,
.tg-business-featured,
.tg-business-why,
.tg-business-testimonials {
  background: #fff;
  padding: 28px 0 18px;
}
.tg-business-categories h2,
.tg-business-why h2,
.tg-business-testimonials h2 {
  text-align: center;
  margin: 0 0 20px;
  font-size: 28px;
  letter-spacing: -.035em;
}
.tg-business-category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}
.tg-business-cat-card {
  min-height: 132px;
  border: 1px solid #e4eaf1;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 10px;
  box-shadow: 0 8px 22px rgba(20,30,46,.04);
}
.tg-business-cat-card span {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  background: #eef6ff;
  color: #2563eb;
}
.tg-business-cat-card:nth-child(2n) span { background: #f1eaff; color: #7c3aed; }
.tg-business-cat-card:nth-child(3n) span { background: #eff6ff; color: #2563eb; }
.tg-business-cat-card:nth-child(4n) span { background: #fff1e8; color: #f97316; }
.tg-business-cat-card svg { width: 28px; height: 28px; }
.tg-business-cat-card strong { color: #172033; font-size: 14px; }
.tg-business-cat-card small { color: #7b8795; font-size: 12px; }

.tg-business-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.tg-business-section-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.035em;
}
.tg-business-section-head a { color: var(--tg-blue); font-weight: 800; }
.tg-business-product-grid,
.tg-business-fallback-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.tg-business-fallback-card .tg-market-thumb { aspect-ratio: 16/9 !important; }

.tg-business-stats { background: #fff; padding: 10px 0 20px; }
.tg-business-stats-bar {
  background: linear-gradient(135deg, #071327, #06162f);
  border-radius: 10px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 25px 24px;
  box-shadow: 0 12px 28px rgba(7,19,39,.18);
}
.tg-business-stats-bar div {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.tg-business-stats-bar div:last-child { border-right: 0; }
.tg-business-stats-bar svg { grid-row: span 2; color: #a78bfa; width: 31px; height: 31px; }
.tg-business-stats-bar strong { font-size: 27px; line-height: 1; }
.tg-business-stats-bar span { color: rgba(255,255,255,.72); font-size: 13px; }

.tg-business-why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.tg-business-why-grid div {
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
  min-height: 112px;
}
.tg-business-why-grid svg { color: #2563eb; width: 25px; height: 25px; margin-bottom: 10px; }
.tg-business-why-grid strong { display: block; color: #172033; margin-bottom: 5px; }
.tg-business-why-grid span { color: #7b8795; font-size: 12px; line-height: 1.45; }

.tg-business-sell { background: #fff; padding: 14px 0 24px; }
.tg-business-sell-card {
  background: linear-gradient(135deg, #071327, #061a35);
  color: #fff;
  border-radius: 12px;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 30px;
  align-items: center;
}
.tg-sell-illustration {
  height: 150px;
  display: grid;
  place-items: center;
  position: relative;
}
.tg-sell-illustration span {
  width: 130px; height: 90px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  box-shadow: 0 18px 45px rgba(37,99,235,.22);
}
.tg-sell-illustration svg { width: 50px; height: 50px; color: #fff; }
.tg-business-sell-card h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.035em; }
.tg-business-sell-card p { margin: 0 0 18px; color: rgba(255,255,255,.75); }
.tg-sell-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tg-business-sell-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; border-left: 1px solid rgba(255,255,255,.18); padding-left: 26px; }
.tg-business-sell-card li { display: flex; gap: 8px; align-items: center; font-weight: 800; color: rgba(255,255,255,.86); }
.tg-business-sell-card li svg { color: var(--tg-green); width: 18px; height: 18px; }

.tg-business-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tg-business-testimonial-grid div {
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}
.tg-business-testimonial-grid p { margin: 0 0 14px; color: #667085; }
.tg-business-testimonial-grid strong { color: #172033; }
.tg-business-testimonial-grid span { float: right; color: #ffb000; font-weight: 900; }

.tg-business-newsletter {
  background: linear-gradient(135deg, #071327, #06162f);
  padding: 28px 0;
  color: #fff;
}
.tg-business-newsletter .tg-container-wide {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 560px);
  gap: 30px;
  align-items: center;
}
.tg-business-newsletter h2 { margin: 0 0 5px; color: #fff; }
.tg-business-newsletter p { margin: 0; color: rgba(255,255,255,.72); }
.tg-business-newsletter form {
  display: grid;
  grid-template-columns: 1fr 160px;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
}
.tg-business-newsletter input { border: 0; padding: 0 18px; min-height: 52px; outline: 0; }
.tg-business-newsletter button { border: 0; background: var(--tg-green); color: #fff; font-weight: 900; cursor: pointer; }

@media (max-width: 1200px) {
  .tg-business-hero-grid { grid-template-columns: 1fr; }
  .tg-business-dashboard-mock { max-width: 780px; }
  .tg-business-category-grid { grid-template-columns: repeat(4, 1fr); }
  .tg-business-product-grid, .tg-business-fallback-grid { grid-template-columns: repeat(3, 1fr); }
  .tg-business-why-grid { grid-template-columns: repeat(3, 1fr); }
  .tg-business-sell-card { grid-template-columns: 1fr; }
  .tg-business-sell-card ul { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  .tg-business-hero { padding: 38px 0 26px; }
  .tg-business-hero-copy h1 { font-size: 34px; }
  .tg-business-trust-row { grid-template-columns: 1fr 1fr; }
  .tg-business-dashboard-mock { grid-template-columns: 1fr; transform: none; min-height: auto; }
  .tg-business-dashboard-mock aside { display: none; }
  .tg-mock-stats { grid-template-columns: 1fr; }
  .tg-business-category-grid,
  .tg-business-product-grid,
  .tg-business-fallback-grid,
  .tg-business-why-grid,
  .tg-business-testimonial-grid,
  .tg-business-stats-bar,
  .tg-business-newsletter .tg-container-wide { grid-template-columns: 1fr; }
  .tg-business-stats-bar div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 12px 0; }
  .tg-business-stats-bar div:last-child { border-bottom: 0; }
  .tg-business-newsletter form { grid-template-columns: 1fr; }
  .tg-business-newsletter button { min-height: 48px; }
}


/* Homepage hero image replacement + enhanced animations */
.tg-business-hero-grid {
  grid-template-columns: minmax(380px, 1fr) minmax(420px, 1fr);
}

.tg-business-hero-copy {
  animation: tgFadeUp .8s ease both;
}

.tg-business-hero-showcase {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.tg-hero-showcase-shape {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,109,133,.92), rgba(255,131,160,.72));
  left: 2%;
  top: 50%;
  transform: translateY(-50%);
  filter: blur(0);
  opacity: .95;
}

.tg-business-hero-showcase img {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .24);
  animation: tgSoftFloat 6s ease-in-out infinite;
}

.tg-float-in {
  animation: tgFadeRight .95s ease .15s both;
}

.tg-animate-section {
  animation: tgFadeUp .8s ease both;
}

.tg-animate-card {
  animation: tgFadeUp .75s ease both;
}

.tg-business-category-grid .tg-business-cat-card,
.tg-business-fallback-grid .tg-business-fallback-card,
.tg-business-why-grid > div,
.tg-business-testimonial-grid > div {
  opacity: 0;
  transform: translateY(24px);
  animation: tgFadeUp .65s ease forwards;
}

.tg-business-category-grid .tg-business-cat-card:nth-child(1),
.tg-business-fallback-grid .tg-business-fallback-card:nth-child(1),
.tg-business-why-grid > div:nth-child(1),
.tg-business-testimonial-grid > div:nth-child(1) { animation-delay: .05s; }
.tg-business-category-grid .tg-business-cat-card:nth-child(2),
.tg-business-fallback-grid .tg-business-fallback-card:nth-child(2),
.tg-business-why-grid > div:nth-child(2),
.tg-business-testimonial-grid > div:nth-child(2) { animation-delay: .1s; }
.tg-business-category-grid .tg-business-cat-card:nth-child(3),
.tg-business-fallback-grid .tg-business-fallback-card:nth-child(3),
.tg-business-why-grid > div:nth-child(3),
.tg-business-testimonial-grid > div:nth-child(3) { animation-delay: .15s; }
.tg-business-category-grid .tg-business-cat-card:nth-child(4),
.tg-business-fallback-grid .tg-business-fallback-card:nth-child(4),
.tg-business-why-grid > div:nth-child(4) { animation-delay: .2s; }
.tg-business-category-grid .tg-business-cat-card:nth-child(5),
.tg-business-fallback-grid .tg-business-fallback-card:nth-child(5),
.tg-business-why-grid > div:nth-child(5) { animation-delay: .25s; }
.tg-business-category-grid .tg-business-cat-card:nth-child(6),
.tg-business-fallback-grid .tg-business-fallback-card:nth-child(6),
.tg-business-why-grid > div:nth-child(6) { animation-delay: .3s; }
.tg-business-category-grid .tg-business-cat-card:nth-child(7) { animation-delay: .35s; }
.tg-business-category-grid .tg-business-cat-card:nth-child(8) { animation-delay: .4s; }

.tg-business-featured .tg-product-grid .tg-market-item {
  opacity: 0;
  transform: translateY(22px);
  animation: tgFadeUp .65s ease forwards;
}
.tg-business-featured .tg-product-grid .tg-market-item:nth-child(1) { animation-delay: .05s; }
.tg-business-featured .tg-product-grid .tg-market-item:nth-child(2) { animation-delay: .1s; }
.tg-business-featured .tg-product-grid .tg-market-item:nth-child(3) { animation-delay: .15s; }
.tg-business-featured .tg-product-grid .tg-market-item:nth-child(4) { animation-delay: .2s; }
.tg-business-featured .tg-product-grid .tg-market-item:nth-child(5) { animation-delay: .25s; }
.tg-business-featured .tg-product-grid .tg-market-item:nth-child(6) { animation-delay: .3s; }

.tg-business-sell-card,
.tg-business-stats-bar,
.tg-business-newsletter .tg-container-wide {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.tg-business-sell-card:hover,
.tg-business-stats-bar:hover {
  transform: translateY(-4px);
}

.tg-business-cat-card,
.tg-business-why-grid div,
.tg-business-testimonial-grid div,
.tg-market-item {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tg-business-cat-card:hover,
.tg-business-why-grid div:hover,
.tg-business-testimonial-grid div:hover,
.tg-market-item:hover {
  transform: translateY(-6px);
}

@keyframes tgFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tgFadeRight {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tgSoftFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .tg-business-hero-copy,
  .tg-business-hero-showcase img,
  .tg-float-in,
  .tg-animate-section,
  .tg-animate-card,
  .tg-business-category-grid .tg-business-cat-card,
  .tg-business-fallback-grid .tg-business-fallback-card,
  .tg-business-featured .tg-product-grid .tg-market-item,
  .tg-business-why-grid > div,
  .tg-business-testimonial-grid > div {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1200px) {
  .tg-business-hero-showcase {
    min-height: 360px;
  }
  .tg-hero-showcase-shape {
    width: 320px;
    height: 320px;
    left: 6%;
  }
}

@media (max-width: 760px) {
  .tg-business-hero-showcase {
    min-height: 260px;
    margin-top: 10px;
  }
  .tg-hero-showcase-shape {
    width: 220px;
    height: 220px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .tg-business-hero-showcase img {
    border-radius: 12px;
  }
}


/* v1.6.2 - white first section, no floating hero image, no image border */
.tg-business-hero {
  background: #ffffff !important;
  color: #172033 !important;
  border-bottom: 1px solid #e6ebf2 !important;
}
.tg-business-hero:before {
  opacity: 0 !important;
  background: none !important;
}
.tg-business-hero-copy h1,
.tg-business-hero-copy h1 span {
  color: #172033 !important;
}
.tg-business-hero-copy p {
  color: #5f6b7a !important;
}
.tg-popular-keywords {
  color: #667085 !important;
}
.tg-popular-keywords a {
  color: #334155 !important;
}
.tg-popular-keywords a:hover {
  color: #111827 !important;
}
.tg-business-trust-row div {
  background: #ffffff !important;
  border: 1px solid #e6ebf2 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.tg-business-trust-row span {
  color: #172033 !important;
}
.tg-business-trust-row small {
  color: #667085 !important;
}
.tg-business-hero-showcase img {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}
.tg-float-in {
  animation: tgFadeRight .95s ease .15s both;
}
@media (prefers-reduced-motion: reduce) {
  .tg-business-hero-showcase img {
    animation: none !important;
  }
}


/* Footer legal links */
.tg-footer-grid {
  grid-template-columns: 1.4fr repeat(4, minmax(140px, 1fr));
}

.tg-footer-legal a,
.tg-footer-bottom-links a {
  color: inherit;
}

.tg-footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tg-footer-bottom-links a {
  opacity: .82;
  font-weight: 700;
}

.tg-footer-bottom-links a:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .tg-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tg-footer-grid {
    grid-template-columns: 1fr;
  }

  .tg-footer-bottom-links {
    justify-content: center;
  }
}


/* v1.6.4 API/manual checkout payment layout */
.tg-checkout-mode-api .tg-checkout-grid {
  align-items: start;
}

.tg-api-checkout-shell {
  border: 1px solid #e4ebf3;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  padding: 14px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .06);
}

.tg-api-blank-panel {
  min-height: 250px;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 15%, rgba(37,99,235,.06), transparent 25%),
    radial-gradient(circle at 85% 20%, rgba(0,115,174,.06), transparent 28%),
    #fbfcfe;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-api-blank-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.tg-api-payment-content {
  padding: 22px 16px 12px;
}

.tg-api-payment-content h4 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: 17px;
}

.tg-api-payment-content p {
  color: #667085;
  margin: 0 0 18px;
  line-height: 1.55;
}

.tg-api-buttons-stacked {
  display: grid;
  gap: 10px;
}

.tg-api-buttons-stacked form {
  margin: 0;
}

.tg-api-paypal,
.tg-api-stripe {
  width: 100% !important;
  min-height: 48px;
  border-radius: 4px !important;
  font-weight: 900 !important;
  justify-content: center;
}

.tg-api-paypal {
  background: #fff !important;
  color: #0ea5e9 !important;
  border: 2px solid #1a9bd7 !important;
}

.tg-api-paypal:hover {
  background: #f5fbff !important;
  color: #0ea5e9 !important;
}

.tg-api-stripe {
  background: #18a77b !important;
  color: #fff !important;
  border: 2px solid #18a77b !important;
}

.tg-api-stripe:hover {
  background: #13966e !important;
  color: #fff !important;
}

.tg-payment-accounts {
  display: grid;
  gap: 8px;
}

.tg-pay-line {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 10px;
  align-items: center;
}

.tg-download-ready-alert {
  margin-bottom: 18px;
}

@media (max-width: 760px) {
  .tg-api-blank-panel {
    min-height: 170px;
  }

  .tg-api-blank-image {
    min-height: 170px;
  }

  .tg-pay-line {
    grid-template-columns: 1fr;
  }
}


/* v1.6.5 bKash, Nagad, Payoneer API buttons */
.tg-api-bkash,
.tg-api-nagad,
.tg-api-payoneer {
  width: 100% !important;
  min-height: 48px;
  border-radius: 4px !important;
  font-weight: 900 !important;
  justify-content: center;
  color: #fff !important;
}

.tg-api-bkash {
  background: #e2136e !important;
  border: 2px solid #e2136e !important;
}

.tg-api-bkash:hover {
  background: #c70f60 !important;
  border-color: #c70f60 !important;
}

.tg-api-nagad {
  background: #f7941d !important;
  border: 2px solid #f7941d !important;
}

.tg-api-nagad:hover {
  background: #df7f0a !important;
  border-color: #df7f0a !important;
}

.tg-api-payoneer {
  background: #ff4800 !important;
  border: 2px solid #ff4800 !important;
}

.tg-api-payoneer:hover {
  background: #df3f00 !important;
  border-color: #df3f00 !important;
}


/* v1.6.7 Branded API payment page refinement */
.tg-checkout-card.tg-payment-card > h3 {
  margin-bottom: 16px;
}

.tg-api-checkout-shell {
  border: 1px solid #dbe4ee;
  border-radius: 22px;
  background: #ffffff;
  overflow: hidden;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .07);
}

.tg-api-blank-panel {
  min-height: 250px;
  border: 1px solid #edf1f6;
  border-radius: 18px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tg-api-blank-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.tg-api-payment-content {
  padding: 2px 4px 4px;
}

.tg-api-payment-header h4 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2937;
  font-size: 17px;
  font-weight: 800;
}

.tg-api-payment-header p {
  color: #667085;
  margin: 0 0 16px;
  line-height: 1.6;
}

.tg-api-gateway-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.tg-gateway-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.tg-gateway-chip img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.tg-api-buttons-stacked {
  display: grid;
  gap: 12px;
}

.tg-api-buttons-stacked form { margin: 0; }

.tg-api-gateway-btn {
  width: 100% !important;
  min-height: 58px;
  border-radius: 12px !important;
  font-weight: 800 !important;
  padding: 12px 16px !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  border-width: 1px !important;
  border-style: solid !important;
}

.tg-api-gateway-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}

.tg-gateway-brand {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.tg-gateway-brand img {
  max-width: 26px;
  max-height: 26px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.tg-api-payoneer .tg-gateway-brand img {
  max-width: 30px;
  max-height: 22px;
}

.tg-gateway-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.tg-gateway-copy strong {
  color: inherit;
  font-size: 15px;
  line-height: 1.2;
}

.tg-gateway-copy small {
  color: inherit;
  opacity: .78;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
}

.tg-gateway-arrow {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  opacity: .75;
}

.tg-api-paypal {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cfe0ff !important;
}
.tg-api-paypal:hover { border-color: #82a9ff !important; }

.tg-api-stripe {
  background: linear-gradient(135deg, #635bff, #5145f7) !important;
  color: #ffffff !important;
  border-color: #635bff !important;
}
.tg-api-stripe .tg-gateway-brand { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.18); }

.tg-api-bkash {
  background: linear-gradient(135deg, #e2136e, #ca0e61) !important;
  color: #ffffff !important;
  border-color: #e2136e !important;
}
.tg-api-bkash .tg-gateway-brand { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.2); }

.tg-api-nagad {
  background: linear-gradient(135deg, #f97316, #ef4444) !important;
  color: #ffffff !important;
  border-color: #f97316 !important;
}
.tg-api-nagad .tg-gateway-brand { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.2); }

.tg-api-payoneer {
  background: #ffffff !important;
  color: #1f2937 !important;
  border-color: #ffd7b0 !important;
}
.tg-api-payoneer:hover { border-color: #ffae68 !important; }

@media (max-width: 760px) {
  .tg-api-blank-panel,
  .tg-api-blank-image {
    min-height: 170px;
  }

  .tg-api-checkout-shell {
    padding: 12px;
    border-radius: 18px;
  }

  .tg-api-gateway-btn {
    grid-template-columns: 40px minmax(0,1fr) auto;
    gap: 10px;
    min-height: 54px;
    padding: 10px 12px !important;
  }

  .tg-gateway-brand {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .tg-gateway-chip {
    padding: 7px 10px;
    font-size: 12px;
  }
}


/* v1.6.8 footer payment acceptance section */
.tg-footer {
  background: linear-gradient(180deg, #081d46 0%, #061633 100%);
}

.tg-footer-grid {
  grid-template-columns: 1.4fr repeat(5, minmax(140px, 1fr));
}

.tg-footer-payments {
  min-width: 0;
}

.tg-footer-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.tg-pay-badge {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.tg-pay-visa {
  font-style: italic;
  letter-spacing: .06em;
}

.tg-pay-mastercard-icon {
  width: 24px;
  height: 16px;
  position: relative;
  display: inline-block;
}

.tg-pay-mastercard-icon i {
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: block;
}

.tg-pay-mastercard-icon i:first-child {
  left: 0;
  background: #eb001b;
}

.tg-pay-mastercard-icon i:last-child {
  right: 0;
  background: #f79e1b;
  opacity: .95;
}

.tg-pay-paypal { color: #dbeafe; }
.tg-pay-stripe { text-transform: lowercase; }

.tg-footer-secure {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.9);
}

.tg-footer-secure-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}

.tg-footer-secure-icon .tg-svg-icon {
  width: 20px;
  height: 20px;
}

.tg-footer-secure-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tg-footer-secure-copy strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.1;
}

.tg-footer-secure-copy small {
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .tg-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tg-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tg-footer-grid {
    grid-template-columns: 1fr;
  }

  .tg-footer-payment-badges {
    gap: 8px;
  }

  .tg-pay-badge {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }
}


/* v1.6.9 footer real brand payment logos */
.tg-footer-logo-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.tg-pay-logo-badge {
  width: 58px;
  height: 40px;
  border-radius: 9px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 18px rgba(0,0,0,.08);
}

.tg-pay-logo-badge img {
  display: block;
  max-width: 100%;
  max-height: 24px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tg-pay-logo-paypal img {
  max-height: 30px;
}

.tg-pay-logo-stripe img {
  max-height: 25px;
}

.tg-pay-logo-visa img {
  max-height: 20px;
}

.tg-pay-logo-mastercard img {
  max-width: 40px;
  max-height: 26px;
}

.tg-pay-badge,
.tg-pay-mastercard-icon {
  display: none !important;
}

@media (max-width: 640px) {
  .tg-pay-logo-badge {
    width: 54px;
    height: 38px;
    padding: 7px;
  }
}


/* v1.7.0 footer all real payment brand logos */
.tg-footer-logo-badges {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  max-width: 330px;
}

.tg-pay-logo-badge {
  width: 62px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.11);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 18px rgba(0,0,0,.08);
}

.tg-pay-logo-badge img {
  display: block;
  max-width: 100%;
  max-height: 26px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tg-pay-logo-visa img {
  max-width: 52px;
  max-height: 24px;
}

.tg-pay-logo-mastercard img {
  max-width: 44px;
  max-height: 28px;
}

.tg-pay-logo-paypal img {
  max-width: 36px;
  max-height: 36px;
}

.tg-pay-logo-stripe img {
  max-width: 36px;
  max-height: 36px;
}

.tg-pay-logo-bkash img,
.tg-pay-logo-nagad img {
  max-width: 36px;
  max-height: 36px;
}

.tg-pay-logo-payoneer img {
  max-width: 58px;
  max-height: 30px;
}

.tg-pay-logo-razorpay {
  width: 104px;
}

.tg-pay-logo-razorpay img {
  max-width: 92px;
  max-height: 30px;
}

.tg-pay-badge,
.tg-pay-mastercard-icon {
  display: none !important;
}

@media (max-width: 640px) {
  .tg-footer-logo-badges {
    max-width: 100%;
  }

  .tg-pay-logo-badge {
    width: 58px;
    height: 40px;
    padding: 7px;
  }

  .tg-pay-logo-razorpay {
    width: 96px;
  }
}


/* v1.7.1 footer payment logo grid matched to screenshot */
.tg-footer-payments h3 {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  margin: 0 0 14px !important;
}

.tg-footer-logo-badges {
  display: grid !important;
  grid-template-columns: repeat(4, 56px) !important;
  gap: 10px 12px !important;
  align-items: center !important;
  justify-content: start !important;
  max-width: 270px !important;
  margin: 0 0 18px !important;
}

.tg-pay-logo-badge {
  width: 56px !important;
  height: 38px !important;
  min-width: 56px !important;
  min-height: 38px !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045)) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 8px 18px rgba(0,0,0,.10) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  overflow: hidden !important;
}

.tg-pay-logo-badge img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.tg-pay-logo-visa img {
  max-width: 44px !important;
  max-height: 20px !important;
}

.tg-pay-logo-mastercard img {
  max-width: 36px !important;
  max-height: 24px !important;
}

.tg-pay-logo-paypal img {
  max-width: 34px !important;
  max-height: 30px !important;
}

.tg-pay-logo-stripe img {
  max-width: 32px !important;
  max-height: 32px !important;
}

.tg-pay-logo-bkash img {
  max-width: 35px !important;
  max-height: 34px !important;
}

.tg-pay-logo-nagad img {
  max-width: 36px !important;
  max-height: 34px !important;
}

.tg-pay-logo-payoneer img {
  max-width: 48px !important;
  max-height: 24px !important;
}

.tg-pay-logo-razorpay {
  width: 56px !important;
  min-width: 56px !important;
}

.tg-pay-logo-razorpay img {
  max-width: 48px !important;
  max-height: 24px !important;
}

.tg-footer-secure {
  margin-top: 2px !important;
}

@media (max-width: 640px) {
  .tg-footer-logo-badges {
    grid-template-columns: repeat(4, 54px) !important;
    gap: 9px !important;
    max-width: 250px !important;
  }

  .tg-pay-logo-badge,
  .tg-pay-logo-razorpay {
    width: 54px !important;
    min-width: 54px !important;
    height: 37px !important;
    min-height: 37px !important;
  }
}


/* v1.7.2 remove footer secure payment text block */
.tg-footer-secure {
  display: none !important;
}


/* v1.7.3 remove duplicate footer bottom legal links */
.tg-footer-bottom-links {
  display: none !important;
}


/* v1.7.4 documentation and license pages */
body.page .entry-content h1,
body.page .entry-content h2 {
  color: #172033;
  letter-spacing: -.02em;
}

body.page .entry-content h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 18px;
}

body.page .entry-content h2 {
  font-size: 24px;
  margin: 32px 0 12px;
}

body.page .entry-content p,
body.page .entry-content li {
  color: #5f6b7a;
  line-height: 1.75;
}

body.page .entry-content ul {
  padding-left: 22px;
}

body.page .entry-content {
  max-width: 940px;
  margin: 46px auto;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  padding: clamp(26px, 4vw, 48px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}


/* v1.7.5 working newsletter subscribe system */
.tg-newsletter-form {
  position: relative;
}

.tg-newsletter-hidden {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}

.tg-newsletter-alert {
  margin: 0 0 14px !important;
  width: 100%;
  grid-column: 1 / -1;
}

.tg-business-newsletter .tg-newsletter-form input[type="email"] {
  min-width: 0;
}

.tg-business-newsletter .tg-newsletter-form button {
  white-space: nowrap;
}


/* v1.7.6 footer social links */
.tg-footer-grid {
  grid-template-columns: minmax(190px, 1.35fr) repeat(4, minmax(110px, .85fr)) minmax(250px, 1.2fr) minmax(96px, .55fr) !important;
  gap: 28px 34px !important;
  align-items: start !important;
}

.tg-footer-social h3 {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  margin: 0 0 14px !important;
}

.tg-footer-social-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 42px) !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: start !important;
}

.tg-social-link {
  width: 42px !important;
  height: 42px !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  color: #fff !important;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease !important;
}

.tg-social-link:hover {
  transform: translateY(-2px) !important;
  opacity: .94 !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;
}

.tg-social-link svg {
  width: 25px !important;
  height: 25px !important;
  fill: currentColor !important;
  display: block !important;
}

.tg-social-youtube { background: #ff0000 !important; }
.tg-social-telegram { background: #2aabee !important; }
.tg-social-x { background: #000000 !important; }
.tg-social-facebook { background: #1877f2 !important; }

.tg-footer-bottom {
  max-width: none !important;
}

@media (max-width: 1300px) {
  .tg-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .tg-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .tg-footer-grid {
    grid-template-columns: 1fr !important;
  }

  .tg-footer-social-grid {
    grid-template-columns: repeat(4, 42px) !important;
  }
}


/* v1.7.7 robust mobile hamburger menu */
@media (max-width: 1024px) {
  body.tg-mobile-menu-active {
    overflow: hidden !important;
  }

  .tg-top-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
  }

  .tg-topbar {
    position: relative !important;
  }

  .tg-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin-left: auto !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    cursor: pointer !important;
    z-index: 100003 !important;
  }

  .tg-menu-toggle .tg-svg-icon {
    width: 30px !important;
    height: 30px !important;
  }

  .tg-main-tabs,
  .tg-top-actions {
    display: none !important;
  }

  .tg-top-header.tg-menu-open::after {
    content: "" !important;
    position: fixed !important;
    inset: 62px 0 0 !important;
    background: rgba(0,0,0,.42) !important;
    z-index: 99998 !important;
  }

  .tg-top-header.tg-menu-open .tg-main-tabs {
    display: grid !important;
    position: fixed !important;
    top: 62px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-height: calc(100vh - 142px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 12px 16px !important;
    background: #262626 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 24px 46px rgba(0,0,0,.30) !important;
    z-index: 100001 !important;
  }

  .tg-top-header.tg-menu-open .tg-main-tabs a {
    width: 100% !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 13px 10px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .tg-top-header.tg-menu-open .tg-main-tabs a:last-child {
    border-bottom: 0 !important;
  }

  .tg-top-header.tg-menu-open .tg-top-actions {
    display: grid !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
    background: #202020 !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: 0 -18px 34px rgba(0,0,0,.26) !important;
    z-index: 100002 !important;
  }

  .tg-top-header.tg-menu-open .tg-top-actions a {
    display: inline-flex !important;
    min-height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    border-radius: 7px !important;
    background: rgba(255,255,255,.09) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-align: center !important;
  }
}


/* v1.7.8 dedicated mobile drawer menu - final fix */
.tg-mobile-menu-panel {
  display: none;
}

@media (max-width: 1024px) {
  body.tg-mobile-menu-active {
    overflow: hidden !important;
  }

  .tg-top-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999999 !important;
  }

  .tg-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin-left: auto !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1000001 !important;
  }

  .tg-menu-toggle[aria-expanded="true"] {
    background: rgba(37,99,235,.28) !important;
  }

  .tg-mobile-menu-panel {
    display: block !important;
    position: fixed !important;
    inset: 62px 0 auto 0 !important;
    width: 100vw !important;
    max-height: calc(100vh - 62px) !important;
    overflow-y: auto !important;
    background: #242424 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 24px 52px rgba(0,0,0,.34) !important;
    z-index: 1000000 !important;
    transform: translateY(-16px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
  }

  .tg-mobile-menu-panel.is-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .tg-mobile-menu-inner {
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom)) !important;
  }

  .tg-mobile-menu-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .tg-mobile-menu-links a {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 13px 6px !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  .tg-mobile-menu-links a:hover {
    color: #9fe870 !important;
  }

  .tg-mobile-menu-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding-top: 14px !important;
  }

  .tg-mobile-menu-actions a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.10) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }

  .tg-mobile-menu-actions a:hover {
    background: rgba(37,99,235,.22) !important;
    color: #ffffff !important;
  }

  .tg-mobile-menu-actions .tg-svg-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .tg-top-header.tg-menu-open .tg-main-tabs,
  .tg-top-header.tg-menu-open .tg-top-actions {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .tg-mobile-menu-panel {
    display: none !important;
  }
}


/* v1.7.9 hard mobile menu fix: open by aria-hidden or is-open */
@media (max-width: 1024px) {
  .tg-top-header .tg-mobile-menu-panel {
    display: block !important;
    position: fixed !important;
    top: 62px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-height: calc(100vh - 62px) !important;
    overflow-y: auto !important;
    background: #242424 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 24px 52px rgba(0,0,0,.34) !important;
    z-index: 2147483000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-12px) !important;
  }

  .tg-top-header .tg-mobile-menu-panel.is-open,
  .tg-top-header .tg-mobile-menu-panel[aria-hidden="false"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .tg-top-header .tg-mobile-menu-inner {
    display: block !important;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom)) !important;
  }

  .tg-top-header .tg-mobile-menu-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .tg-top-header .tg-mobile-menu-links a {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 13px 6px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  .tg-top-header .tg-mobile-menu-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
    padding-top: 14px !important;
  }

  .tg-top-header .tg-mobile-menu-actions a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }

  .tg-menu-toggle,
  button[data-themego-mobile-toggle] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
    z-index: 2147483001 !important;
    position: relative !important;
    cursor: pointer !important;
  }

  body.tg-mobile-menu-active {
    overflow: hidden !important;
  }
}

@media (min-width: 1025px) {
  .tg-mobile-menu-panel {
    display: none !important;
  }
}


/* v1.8.0 clean final mobile menu */
@media (max-width: 1024px) {
  body.tg-mobile-menu-active {
    overflow: hidden !important;
  }

  .tg-top-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 2147483000 !important;
  }

  .tg-menu-toggle,
  button[data-themego-mobile-toggle] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin-left: auto !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 2147483002 !important;
  }

  .tg-menu-toggle[aria-expanded="true"],
  button[data-themego-mobile-toggle][aria-expanded="true"] {
    background: rgba(37,99,235,.30) !important;
  }

  .tg-main-tabs,
  .tg-top-actions {
    display: none !important;
  }

  .tg-mobile-menu-panel {
    display: block !important;
    position: fixed !important;
    top: 62px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-height: calc(100vh - 62px) !important;
    overflow-y: auto !important;
    background: #242424 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 24px 52px rgba(0,0,0,.34) !important;
    z-index: 2147483001 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-12px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .tg-mobile-menu-panel.is-open,
  .tg-mobile-menu-panel[aria-hidden="false"] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .tg-mobile-menu-inner {
    display: block !important;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom)) !important;
  }

  .tg-mobile-menu-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .tg-mobile-menu-links a {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 13px 6px !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  .tg-mobile-menu-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding-top: 14px !important;
  }

  .tg-mobile-menu-actions a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }
}

@media (min-width: 1025px) {
  .tg-mobile-menu-panel {
    display: none !important;
  }
}


/* v1.8.1 mobile button markup visual safeguard */
.tg-menu-toggle {
  overflow: hidden !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
}
.tg-menu-toggle .tg-svg-icon {
  flex: 0 0 auto !important;
}


/* v1.8.3 remove account type section safeguard */
.tg-auth-form select[name="themego_account_type"],
.tg-auth-form label:has(select[name="themego_account_type"]) {
  display: none !important;
}


/* v1.8.4 contact help point spacing fix */
.tg-contact-points {
  display: grid !important;
  gap: 14px !important;
}

.tg-contact-points .tg-contact-point,
.tg-contact-points > div {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  background: #f7f9fc !important;
  border: 1px solid var(--tg-border) !important;
  border-radius: 6px !important;
  padding: 15px !important;
}

.tg-contact-point-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--tg-blue) !important;
  width: 22px !important;
  height: 22px !important;
  margin-top: 1px !important;
}

.tg-contact-point-icon .tg-svg-icon {
  width: 16px !important;
  height: 16px !important;
}

.tg-contact-point-copy {
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.tg-contact-point-copy strong,
.tg-contact-points strong {
  display: block !important;
  margin: 0 !important;
  color: #1f2937 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

.tg-contact-point-copy small,
.tg-contact-points span {
  display: block !important;
  color: var(--tg-muted) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.tg-contact-points strong .tg-svg-icon {
  display: none !important;
}


/* v1.8.7 email capture popup */
.tg-email-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5, 12, 24, .72);
  backdrop-filter: blur(8px);
}

.tg-email-popup-backdrop[hidden] {
  display: none !important;
}

.tg-email-popup {
  position: relative;
  width: min(100%, 520px);
  padding: 34px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(40, 199, 111, .16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  overflow: hidden;
  animation: tgEmailPopupIn .34s ease both;
}

.tg-email-popup:before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(40,199,111,.14);
  pointer-events: none;
}

.tg-email-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.tg-email-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eafaf1;
  color: #0a7a4b;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 16px;
}

.tg-email-popup-badge .tg-svg-icon {
  width: 16px;
  height: 16px;
}

.tg-email-popup h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
  letter-spacing: -.05em;
  color: #0f172a;
}

.tg-email-popup p {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

.tg-email-popup-form {
  margin: 0 0 18px;
}

.tg-email-popup-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.tg-email-popup-input-row input[type="email"] {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: none;
  padding: 0 12px;
  background: transparent;
  color: #111827;
  font-size: 15px;
}

.tg-email-popup-input-row .tg-btn {
  min-height: 46px;
  white-space: nowrap;
  border-radius: 10px;
  padding-left: 18px;
  padding-right: 18px;
}

.tg-email-popup-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.tg-email-popup-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.tg-email-popup-benefits .tg-svg-icon {
  width: 14px;
  height: 14px;
  color: #2563eb;
}

.tg-email-popup-later {
  display: inline-flex;
  border: 0;
  background: transparent;
  padding: 0;
  color: #64748b;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes tgEmailPopupIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .tg-email-popup {
    padding: 28px 18px 22px;
    border-radius: 18px;
  }
  .tg-email-popup-input-row {
    grid-template-columns: 1fr;
  }
  .tg-email-popup-input-row .tg-btn {
    width: 100%;
    justify-content: center;
  }
}

/* v1.8.8 - redesigned first hero section only */
.tg-business-hero.tg-premium-hero {
  min-height: 560px;
  padding: 58px 0 46px !important;
  background:
    radial-gradient(circle at 50% 3%, rgba(37, 99, 235, .12), transparent 30%),
    radial-gradient(circle at 12% 62%, rgba(13, 134, 198, .06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  color: #172033 !important;
  border-bottom: 1px solid #edf2f7 !important;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.tg-business-hero.tg-premium-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 23, 42, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .025) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
  opacity: .55 !important;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 66%);
}

.tg-premium-grid-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .08), transparent);
  transform: translateX(-100%);
  animation: tgPremiumScan 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.tg-premium-orb {
  position: absolute;
  display: block;
  width: 330px;
  height: 330px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .075);
  filter: blur(22px);
  pointer-events: none;
  z-index: -1;
  animation: tgPremiumOrb 9s ease-in-out infinite;
}

.tg-premium-orb-one {
  left: -130px;
  top: 58px;
}

.tg-premium-orb-two {
  right: -135px;
  bottom: -115px;
  width: 380px;
  height: 380px;
  background: rgba(13, 134, 198, .06);
  animation-delay: -3s;
}

.tg-premium-vertical-text {
  position: absolute;
  left: max(22px, calc(50% - 420px));
  top: 74px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(23, 32, 51, .34);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .3px;
  line-height: 1;
  z-index: 3;
  animation: tgPremiumVerticalIn .8s ease .22s both;
}

.tg-premium-hero-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.tg-premium-hero-copy {
  width: min(100%, 1040px);
  margin-inline: auto;
  text-align: center;
}

.tg-premium-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  margin: 0 0 13px;
  padding: 7px 14px;
  border: 1px solid #e6edf5;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
  animation: tgPremiumFadeDown .68s ease .04s both;
}

.tg-premium-hero-copy h1 {
  margin: 0 0 18px;
  color: #172033 !important;
  font-size: clamp(42px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 950;
  text-wrap: normal;
  white-space: nowrap;
}

.tg-premium-hero-copy h1 span {
  display: inline-block;
  color: #172033 !important;
  opacity: 0;
  transform: translateY(26px) scale(.985);
  animation: tgPremiumTitleIn .72s cubic-bezier(.2,.8,.2,1) forwards;
}

.tg-premium-hero-copy h1 span:nth-child(1) { animation-delay: .13s; }

.tg-premium-subtitle {
  width: min(100%, 650px);
  margin: 0 auto 27px !important;
  color: #5d6b82 !important;
  font-size: 17px;
  line-height: 1.68;
  animation: tgPremiumFadeUp .7s ease .47s both;
}

.tg-premium-search.tg-code-search,
.tg-premium-search.tg-business-search {
  width: min(100%, 620px) !important;
  max-width: 620px !important;
  height: 44px;
  margin: 0 auto 16px !important;
  padding: 5px 5px 5px 15px;
  border: 1px solid #dbe4ef;
  border-radius: 6px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: tgPremiumFadeUp .7s ease .56s both;
}

.tg-premium-search.tg-code-search:focus-within {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .58);
  box-shadow: 0 20px 50px rgba(37, 99, 235, .13);
}

.tg-premium-search.tg-code-search input {
  color: #334155;
  font-size: 14px;
}

.tg-premium-search.tg-code-search input::placeholder {
  color: #4c5a6e;
}

.tg-premium-search.tg-code-search button {
  min-width: 85px;
  height: 32px;
  padding: 0 14px;
  border-radius: 4px;
  background: #2563eb;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 8px 16px rgba(37,99,235,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.tg-premium-search.tg-code-search button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.14), 0 11px 22px rgba(37,99,235,.26);
}

.tg-premium-search.tg-code-search button svg {
  width: 14px;
  height: 14px;
}

.tg-premium-keywords.tg-popular-keywords {
  justify-content: center;
  gap: 9px 16px;
  margin: 0 0 22px !important;
  color: #526276 !important;
  font-size: 13px;
  animation: tgPremiumFadeUp .7s ease .66s both;
}

.tg-premium-keywords.tg-popular-keywords strong {
  color: #6a7688;
}

.tg-premium-keywords.tg-popular-keywords a {
  color: #2f3b4f !important;
  transition: color .2s ease, transform .2s ease;
}

.tg-premium-keywords.tg-popular-keywords a:hover {
  color: #2563eb !important;
  transform: translateY(-1px);
}

.tg-premium-trust-row.tg-business-trust-row {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tg-premium-trust-row.tg-business-trust-row > div {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding: 12px 14px !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid #dfe8f2 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05) !important;
  opacity: 0;
  transform: translateY(20px);
  animation: tgPremiumCardIn .56s ease forwards;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tg-premium-trust-row.tg-business-trust-row > div:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(37, 99, 235, .10), transparent);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

.tg-premium-trust-row.tg-business-trust-row > div:hover {
  transform: translateY(-5px);
  border-color: rgba(37,99,235,.45) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .09) !important;
}

.tg-premium-trust-row.tg-business-trust-row > div:hover:before {
  transform: translateX(120%);
}

.tg-premium-trust-row.tg-business-trust-row > div:nth-child(1) { animation-delay: .74s; }
.tg-premium-trust-row.tg-business-trust-row > div:nth-child(2) { animation-delay: .82s; }
.tg-premium-trust-row.tg-business-trust-row > div:nth-child(3) { animation-delay: .9s; }
.tg-premium-trust-row.tg-business-trust-row > div:nth-child(4) { animation-delay: .98s; }

.tg-premium-trust-row.tg-business-trust-row svg {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: #2563eb !important;
  flex: 0 0 auto;
}

.tg-premium-trust-row.tg-business-trust-row span {
  position: relative;
  z-index: 1;
  color: #172033 !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.12;
}

.tg-premium-trust-row.tg-business-trust-row small {
  color: #607086 !important;
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
}

@keyframes tgPremiumTitleIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tgPremiumFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tgPremiumFadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tgPremiumCardIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tgPremiumOrb {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(18px,-14px,0) scale(1.06); }
}

@keyframes tgPremiumScan {
  0%, 40% { transform: translateX(-120%); opacity: 0; }
  55% { opacity: 1; }
  75%, 100% { transform: translateX(120%); opacity: 0; }
}

@keyframes tgPremiumVerticalIn {
  from { opacity: 0; transform: rotate(180deg) translateY(18px); }
  to { opacity: 1; transform: rotate(180deg) translateY(0); }
}

@media (max-width: 980px) {
  .tg-business-hero.tg-premium-hero {
    min-height: auto;
    padding: 46px 0 38px !important;
  }

  .tg-premium-vertical-text {
    display: none;
  }

  .tg-premium-hero-copy h1 {
    font-size: clamp(36px, 7vw, 52px);
    white-space: normal;
  }

  .tg-premium-trust-row.tg-business-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 540px;
  }
}

@media (max-width: 560px) {
  .tg-business-hero.tg-premium-hero {
    padding: 36px 0 30px !important;
  }

  .tg-premium-eyebrow {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .tg-premium-hero-copy h1 {
    font-size: clamp(30px, 9vw, 40px);
    letter-spacing: -.045em;
    white-space: normal;
  }

  .tg-premium-subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px !important;
  }

  .tg-premium-search.tg-code-search,
  .tg-premium-search.tg-business-search {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

  .tg-premium-search.tg-code-search input {
    min-height: 38px;
    padding: 0 8px;
  }

  .tg-premium-search.tg-code-search button {
    width: 100%;
    height: 38px;
  }

  .tg-premium-keywords.tg-popular-keywords {
    gap: 8px 12px;
  }

  .tg-premium-trust-row.tg-business-trust-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tg-business-hero.tg-premium-hero *,
  .tg-business-hero.tg-premium-hero:before {
    animation: none !important;
    transition: none !important;
  }

  .tg-premium-hero-copy h1 span,
  .tg-premium-trust-row.tg-business-trust-row > div,
  .tg-premium-eyebrow,
  .tg-premium-subtitle,
  .tg-premium-search,
  .tg-premium-keywords,
  .tg-premium-vertical-text {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* v1.8.9 marketplace-style single dark menubar */
.tg-top-header {
  background: #262626 !important;
  color: #d7d7d7 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.38) !important;
  box-shadow: none !important;
}

body.tg-has-scrolled .tg-top-header {
  background: #242424 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.20) !important;
}

.tg-topbar {
  height: 69px !important;
  min-height: 69px !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 !important;
}

.tg-brand-dark {
  width: 232px !important;
  min-width: 232px !important;
  height: 69px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.tg-brand-word {
  display: inline-block !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 36px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -2.2px !important;
  transform-origin: left center !important;
  animation: tgBrandPop .62s cubic-bezier(.18,.86,.24,1.18) both !important;
}

.tg-brand-dark:hover .tg-brand-word {
  transform: translateY(-1px) scale(1.015) !important;
}

.tg-main-tabs {
  height: 69px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  overflow: visible !important;
}

.tg-main-tabs a {
  height: 69px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 18px !important;
  color: #c8c8c8 !important;
  border: 0 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -.18px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  position: relative !important;
  transition: color .18s ease, background-color .18s ease, transform .18s ease !important;
}

.tg-main-tabs a:first-child {
  padding-left: 0 !important;
  padding-right: 22px !important;
}

.tg-main-tabs a::before {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 16px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  opacity: 0 !important;
  transform: scaleX(.25) translateY(4px) !important;
  transform-origin: center !important;
  transition: opacity .18s ease, transform .22s ease !important;
}

.tg-main-tabs a:first-child::before {
  left: 0 !important;
  right: 22px !important;
}

.tg-main-tabs a:hover,
.tg-main-tabs a.active {
  color: #ffffff !important;
  background: transparent !important;
  transform: translateY(-1px) !important;
}

.tg-main-tabs a:hover::before,
.tg-main-tabs a.active::before {
  opacity: .95 !important;
  transform: scaleX(1) translateY(0) !important;
}

.tg-top-actions {
  height: 69px !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  gap: 0 !important;
  margin-left: auto !important;
  white-space: nowrap !important;
  font-size: 14px !important;
}

.tg-top-actions a {
  min-height: 69px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  color: #f3f3f3 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transition: background-color .18s ease, color .18s ease, transform .18s ease !important;
}

.tg-top-actions .tg-register-link {
  padding: 0 22px !important;
  background: transparent !important;
}

.tg-top-actions .tg-signin {
  min-width: 107px !important;
  padding: 0 24px !important;
  background: #303030 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
}

.tg-top-actions a:hover {
  color: #ffffff !important;
  background: #333333 !important;
  transform: translateY(-1px) !important;
}

.tg-top-actions .tg-svg-icon {
  width: 15px !important;
  height: 15px !important;
  color: currentColor !important;
}

.tg-category-bar {
  display: none !important;
}

@keyframes tgBrandPop {
  from { opacity: 0; transform: translateX(-14px) scale(.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .tg-brand-dark {
    width: 190px !important;
    min-width: 190px !important;
  }

  .tg-main-tabs a {
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  .tg-main-tabs a:first-child {
    padding-right: 16px !important;
  }

  .tg-top-actions .tg-register-link {
    padding: 0 16px !important;
  }
}

@media (max-width: 1024px) {
  .tg-top-header {
    background: #262626 !important;
  }

  .tg-topbar {
    height: 62px !important;
    min-height: 62px !important;
    padding: 0 4px !important;
  }

  .tg-brand-dark {
    width: auto !important;
    min-width: 0 !important;
    height: 62px !important;
  }

  .tg-brand-word {
    font-size: 31px !important;
    letter-spacing: -1.8px !important;
  }

  .tg-menu-toggle,
  button[data-themego-mobile-toggle] {
    border-radius: 0 !important;
    background: #303030 !important;
  }

  .tg-menu-toggle[aria-expanded="true"],
  button[data-themego-mobile-toggle][aria-expanded="true"] {
    background: #3a3a3a !important;
  }

  .tg-mobile-menu-panel {
    top: 62px !important;
    max-height: calc(100vh - 62px) !important;
    background: #262626 !important;
  }

  .tg-mobile-menu-links a:hover,
  .tg-mobile-menu-actions a:hover {
    color: #ffffff !important;
    background: #303030 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tg-brand-word,
  .tg-main-tabs a,
  .tg-top-actions a {
    animation: none !important;
    transition: none !important;
  }
}

/* v1.9.1 mobile header/menu containment fix */
@media (max-width: 1024px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .tg-top-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 2147483000 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #262626 !important;
    overflow: visible !important;
  }

  .tg-topbar.tg-container-wide,
  .tg-topbar {
    width: 100% !important;
    max-width: none !important;
    height: 62px !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .tg-brand-dark {
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 58px) !important;
    height: 62px !important;
    flex: 0 1 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    color: #ffffff !important;
    z-index: 2147483002 !important;
  }

  .tg-brand-word {
    display: block !important;
    max-width: 100% !important;
    color: #ffffff !important;
    font-size: 29px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -1.6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: none !important;
  }

  .tg-main-tabs,
  .tg-top-actions,
  .tg-top-header.tg-menu-open .tg-main-tabs,
  .tg-top-header.tg-menu-open .tg-top-actions {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: static !important;
    transform: none !important;
  }

  .tg-menu-toggle,
  button[data-themego-mobile-toggle] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    flex: 0 0 44px !important;
    margin-left: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .10) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 2147483003 !important;
    overflow: hidden !important;
  }

  .tg-menu-toggle:hover,
  button[data-themego-mobile-toggle]:hover,
  .tg-menu-toggle[aria-expanded="true"],
  button[data-themego-mobile-toggle][aria-expanded="true"] {
    background: rgba(255, 255, 255, .16) !important;
    color: #ffffff !important;
  }

  .tg-menu-toggle .tg-svg-icon,
  button[data-themego-mobile-toggle] .tg-svg-icon {
    width: 27px !important;
    height: 27px !important;
    display: block !important;
    color: currentColor !important;
  }

  .tg-mobile-menu-panel {
    display: block !important;
    position: fixed !important;
    top: 62px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: calc(100vh - 62px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #242424 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 24px 52px rgba(0,0,0,.34) !important;
    z-index: 2147483001 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .tg-mobile-menu-panel.is-open,
  .tg-mobile-menu-panel[aria-hidden="false"] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .tg-mobile-menu-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box !important;
  }

  .tg-mobile-menu-links,
  .tg-mobile-menu-actions {
    width: 100% !important;
    max-width: 100% !important;
  }

  .tg-mobile-menu-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .tg-mobile-menu-links a {
    width: 100% !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 13px 6px !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  .tg-mobile-menu-links a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,.07) !important;
  }

  .tg-mobile-menu-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding-top: 14px !important;
  }

  .tg-mobile-menu-actions a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.10) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 480px) {
  .tg-topbar.tg-container-wide,
  .tg-topbar {
    padding: 0 10px !important;
  }

  .tg-brand-word {
    font-size: 26px !important;
    letter-spacing: -1.2px !important;
  }

  .tg-mobile-menu-actions {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 1025px) {
  .tg-menu-toggle,
  button[data-themego-mobile-toggle],
  .tg-mobile-menu-panel {
    display: none !important;
  }
}

/* v1.10.0 rounded premium menu + unique homepage sections */
.tg-top-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 10px 0 !important;
  backdrop-filter: none !important;
}

body.tg-has-scrolled .tg-top-header {
  background: rgba(255,255,255,.72) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px) !important;
}

.tg-topbar.tg-container-wide,
.tg-topbar {
  width: min(calc(100% - 56px), 1510px) !important;
  max-width: 1510px !important;
  height: 54px !important;
  min-height: 54px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #252525 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 999px !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .12) !important;
  overflow: hidden !important;
}

.tg-brand-dark {
  width: 300px !important;
  min-width: 250px !important;
  height: 54px !important;
  justify-content: center !important;
  padding: 0 18px !important;
}

.tg-brand-word {
  font-size: 30px !important;
  letter-spacing: -1.8px !important;
  line-height: 1 !important;
}

.tg-main-tabs {
  height: 54px !important;
  align-items: center !important;
  overflow: visible !important;
}

.tg-main-tabs a {
  height: 54px !important;
  padding: 0 15px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  color: #d1d5db !important;
  border-radius: 999px !important;
  border: 0 !important;
}

.tg-main-tabs a:first-child {
  padding-left: 15px !important;
  padding-right: 18px !important;
}

.tg-main-tabs a::before {
  left: 16px !important;
  right: 16px !important;
  bottom: 10px !important;
  height: 2px !important;
  background: #ffffff !important;
}

.tg-main-tabs a:first-child::before {
  left: 16px !important;
  right: 18px !important;
}

.tg-main-tabs a:hover,
.tg-main-tabs a.active {
  color: #ffffff !important;
  background: rgba(255,255,255,.045) !important;
}

.tg-top-actions {
  height: 54px !important;
  align-items: stretch !important;
}

.tg-top-actions a {
  min-height: 54px !important;
  height: 54px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

.tg-top-actions .tg-register-link {
  padding: 0 18px !important;
}

.tg-top-actions .tg-signin {
  min-width: 102px !important;
  padding: 0 22px !important;
  background: #303030 !important;
  border-radius: 0 !important;
}

.tg-top-actions a:hover {
  background: #343434 !important;
}

.tg-premium-hero {
  margin-top: -74px !important;
  padding-top: 142px !important;
}

.tg-home-launch-lab,
.tg-home-drops {
  background: #ffffff;
  padding: 34px 0;
  position: relative;
  overflow: hidden;
}

.tg-home-launch-lab::before,
.tg-home-drops::before {
  content: "";
  position: absolute;
  inset: auto -15% -45% -15%;
  height: 260px;
  background: radial-gradient(circle, rgba(37,99,235,.12), transparent 64%);
  pointer-events: none;
}

.tg-unique-section-head {
  max-width: 780px;
  margin: 0 auto 22px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.tg-unique-section-head span,
.tg-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(37,99,235,.09);
  color: #2563eb;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tg-unique-section-head h2 {
  margin: 12px 0 8px;
  color: #142033;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.tg-unique-section-head p {
  margin: 0;
  color: #607086;
  font-size: 15px;
  line-height: 1.65;
}

.tg-unique-section-head-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.tg-unique-section-head-row > div {
  max-width: 720px;
}

.tg-unique-section-head-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2563eb;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .25s ease, background-color .25s ease;
}

.tg-unique-section-head-row a:hover {
  transform: translateY(-2px);
  background: #dbeafe;
}

.tg-launch-lab-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px, .85fr) 1.15fr;
  gap: 18px;
}

.tg-launch-main-card {
  min-height: 360px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 25% 10%, rgba(14,165,233,.34), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #172554 52%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .22);
  overflow: hidden;
  position: relative;
}

.tg-launch-main-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
}

.tg-launch-main-card h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 12px;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: .98;
  letter-spacing: -.06em;
}

.tg-launch-main-card p {
  position: relative;
  z-index: 1;
  max-width: 510px;
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}

.tg-launch-metrics {
  position: absolute;
  z-index: 1;
  left: 34px;
  right: 34px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.tg-launch-metrics div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}

.tg-launch-metrics strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.tg-launch-metrics span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
}

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

.tg-launch-step,
.tg-drop-card {
  background: rgba(255,255,255,.92);
  border: 1px solid #dfe8f5;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15,23,42,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.tg-launch-step {
  min-height: 170px;
  padding: 24px;
}

.tg-launch-step svg,
.tg-drop-card svg {
  width: 32px;
  height: 32px;
  color: #2563eb;
}

.tg-launch-step h3,
.tg-drop-card h3 {
  margin: 16px 0 8px;
  color: #142033;
  font-size: 20px;
  letter-spacing: -.03em;
}

.tg-launch-step p,
.tg-drop-card p {
  margin: 0;
  color: #637186;
  line-height: 1.6;
}

.tg-drop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.tg-drop-card {
  min-height: 230px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.tg-drop-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -46px;
  top: -50px;
  border-radius: 50%;
  background: rgba(37,99,235,.08);
}

.tg-drop-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 950;
}

.tg-launch-step:hover,
.tg-drop-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37,99,235,.28);
  box-shadow: 0 25px 60px rgba(37,99,235,.12);
}

.tg-launch-step,
.tg-drop-card {
  opacity: 0;
  transform: translateY(24px);
  animation: tgFadeUp .72s ease forwards;
}

.tg-launch-step:nth-child(1),
.tg-drop-card:nth-child(1) { animation-delay: .05s; }
.tg-launch-step:nth-child(2),
.tg-drop-card:nth-child(2) { animation-delay: .12s; }
.tg-launch-step:nth-child(3),
.tg-drop-card:nth-child(3) { animation-delay: .19s; }
.tg-launch-step:nth-child(4),
.tg-drop-card:nth-child(4) { animation-delay: .26s; }

@media (max-width: 1280px) and (min-width: 1025px) {
  .tg-brand-dark {
    width: 235px !important;
    min-width: 210px !important;
  }
  .tg-main-tabs a {
    padding: 0 10px !important;
    font-size: 12px !important;
  }
  .tg-top-actions .tg-signin {
    min-width: 94px !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 1024px) {
  .tg-top-header {
    padding: 8px 0 !important;
    background: transparent !important;
  }

  body.tg-has-scrolled .tg-top-header {
    background: rgba(255,255,255,.72) !important;
  }

  .tg-topbar.tg-container-wide,
  .tg-topbar {
    width: calc(100% - 24px) !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 10px 0 18px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
  }

  .tg-brand-dark {
    height: 58px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 58px) !important;
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  .tg-brand-word {
    font-size: 29px !important;
    letter-spacing: -1.5px !important;
  }

  .tg-menu-toggle,
  button[data-themego-mobile-toggle] {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex-basis: 42px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.10) !important;
  }

  .tg-mobile-menu-panel,
  .tg-top-header .tg-mobile-menu-panel {
    top: 78px !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 90px) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    overflow: hidden auto !important;
  }

  .tg-premium-hero {
    margin-top: -74px !important;
    padding-top: 132px !important;
  }

  .tg-launch-lab-grid {
    grid-template-columns: 1fr;
  }

  .tg-launch-main-card {
    min-height: 330px;
  }

  .tg-drop-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .tg-home-launch-lab,
  .tg-home-drops {
    padding: 26px 0;
  }

  .tg-unique-section-head-row {
    display: block;
    text-align: center;
  }

  .tg-unique-section-head-row a {
    margin-top: 16px;
  }

  .tg-launch-steps,
  .tg-drop-grid,
  .tg-launch-metrics {
    grid-template-columns: 1fr;
  }

  .tg-launch-main-card {
    min-height: auto;
    padding: 26px;
  }

  .tg-launch-metrics {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }

  .tg-brand-word {
    font-size: 26px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tg-launch-step,
  .tg-drop-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* v1.10.1 sticky top menu as first section */
.tg-top-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  display: block !important;
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(226,232,240,.72) !important;
  box-shadow: none !important;
}

body.tg-has-scrolled .tg-top-header {
  background: rgba(255,255,255,.86) !important;
  box-shadow: 0 14px 36px rgba(15,23,42,.10) !important;
}

.admin-bar .tg-top-header {
  top: 32px !important;
}

@media (max-width: 782px) {
  .admin-bar .tg-top-header {
    top: 46px !important;
  }
}

/* Keep the rounded dark menu as the real first visible block, not over the hero. */
.tg-business-hero.tg-premium-hero,
.tg-premium-hero {
  margin-top: 0 !important;
}

.tg-business-hero.tg-premium-hero {
  padding-top: 58px !important;
}

.tg-topbar.tg-container-wide,
.tg-topbar {
  transform: translateZ(0);
  transition: width .25s ease, box-shadow .25s ease, transform .25s ease, border-color .25s ease !important;
}

body.tg-has-scrolled .tg-topbar.tg-container-wide,
body.tg-has-scrolled .tg-topbar {
  width: min(calc(100% - 40px), 1480px) !important;
  box-shadow: 0 18px 42px rgba(15,23,42,.18) !important;
  border-color: rgba(255,255,255,.12) !important;
}

@media (max-width: 1024px) {
  .tg-top-header {
    position: sticky !important;
    top: 0 !important;
    padding: 8px 0 !important;
    background: rgba(255,255,255,.92) !important;
    border-bottom: 1px solid rgba(226,232,240,.70) !important;
  }

  .tg-business-hero.tg-premium-hero,
  .tg-premium-hero {
    margin-top: 0 !important;
  }

  .tg-business-hero.tg-premium-hero {
    padding-top: 42px !important;
  }

  .tg-mobile-menu-panel,
  .tg-top-header .tg-mobile-menu-panel {
    position: fixed !important;
    top: 76px !important;
    z-index: 99998 !important;
  }

  .admin-bar .tg-mobile-menu-panel,
  .admin-bar .tg-top-header .tg-mobile-menu-panel {
    top: 122px !important;
  }
}

@media (max-width: 560px) {
  .tg-business-hero.tg-premium-hero {
    padding-top: 34px !important;
  }

  body.tg-has-scrolled .tg-topbar.tg-container-wide,
  body.tg-has-scrolled .tg-topbar {
    width: calc(100% - 18px) !important;
  }
}

/* v1.10.2 polished sticky pill menu + removed launch-lab section */
:root {
  --tg-menu-bg: linear-gradient(135deg, #071b37 0%, #0f2445 42%, #111827 100%);
  --tg-menu-bg-scrolled: linear-gradient(135deg, #061427 0%, #0b1d39 48%, #111827 100%);
  --tg-menu-border: rgba(255,255,255,.11);
}

.tg-top-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  width: 100% !important;
  padding: 14px 0 10px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.tg-has-scrolled .tg-top-header {
  background: rgba(248,251,255,.58) !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.admin-bar .tg-top-header { top: 32px !important; }

.tg-topbar.tg-container-wide,
.tg-topbar {
  width: min(calc(100% - 56px), 1480px) !important;
  max-width: 1480px !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 auto !important;
  padding: 0 16px 0 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  border-radius: 999px !important;
  background: var(--tg-menu-bg) !important;
  border: 1px solid var(--tg-menu-border) !important;
  box-shadow: 0 18px 45px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.10) !important;
  overflow: hidden !important;
  transform: translateZ(0) !important;
  transition: width .28s ease, height .28s ease, box-shadow .28s ease, background .28s ease, transform .28s ease !important;
}

body.tg-has-scrolled .tg-topbar.tg-container-wide,
body.tg-has-scrolled .tg-topbar {
  width: min(calc(100% - 72px), 1400px) !important;
  height: 54px !important;
  min-height: 54px !important;
  background: var(--tg-menu-bg-scrolled) !important;
  box-shadow: 0 22px 55px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.11) !important;
}

.tg-brand-dark {
  width: auto !important;
  min-width: 142px !important;
  height: 58px !important;
  padding: 0 10px 0 0 !important;
  color: #ffffff !important;
  flex: 0 0 auto !important;
}

.tg-brand-word {
  color: #ffffff !important;
  font-size: 31px !important;
  font-weight: 950 !important;
  letter-spacing: -1.8px !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.16) !important;
}

.tg-main-tabs {
  height: 58px !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.tg-main-tabs a {
  height: 42px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  color: rgba(255,255,255,.76) !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  letter-spacing: -.15px !important;
  text-decoration: none !important;
  transition: background-color .22s ease, color .22s ease, transform .22s ease !important;
}

.tg-main-tabs a:first-child {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.tg-main-tabs a::before,
.tg-main-tabs a:first-child::before {
  left: 16px !important;
  right: 16px !important;
  bottom: 6px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #60a5fa, #93c5fd) !important;
  opacity: 0 !important;
}

.tg-main-tabs a:hover,
.tg-main-tabs a.active {
  color: #ffffff !important;
  background: rgba(255,255,255,.09) !important;
  transform: translateY(-1px) !important;
}

.tg-main-tabs a:hover::before,
.tg-main-tabs a.active::before {
  opacity: .9 !important;
  transform: scaleX(.72) translateY(0) !important;
}

.tg-top-actions {
  height: 58px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
}

.tg-top-actions a {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  color: rgba(255,255,255,.86) !important;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  font-size: 13px !important;
  font-weight: 780 !important;
  transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease !important;
}

.tg-top-actions .tg-signin,
.tg-top-actions .tg-register-link {
  min-width: auto !important;
  background: rgba(255,255,255,.08) !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
}

.tg-top-actions a:hover {
  color: #ffffff !important;
  background: rgba(37,99,235,.36) !important;
  border-color: rgba(147,197,253,.40) !important;
  transform: translateY(-1px) !important;
}

.tg-category-bar { display: none !important; }

.tg-business-hero.tg-premium-hero,
.tg-premium-hero {
  margin-top: 0 !important;
}

.tg-business-hero.tg-premium-hero {
  padding-top: 54px !important;
}

.tg-home-launch-lab { display: none !important; }

@media (max-width: 1320px) and (min-width: 1025px) {
  .tg-topbar.tg-container-wide,
  .tg-topbar {
    width: min(calc(100% - 36px), 1280px) !important;
    padding-left: 22px !important;
    gap: 10px !important;
  }

  .tg-brand-dark { min-width: 118px !important; }
  .tg-brand-word { font-size: 28px !important; }
  .tg-main-tabs { gap: 2px !important; }
  .tg-main-tabs a { padding: 0 9px !important; font-size: 12px !important; }
  .tg-main-tabs a:first-child { padding-left: 10px !important; padding-right: 10px !important; }
  .tg-top-actions a { padding: 0 12px !important; font-size: 12px !important; }
}

@media (max-width: 1024px) {
  .tg-top-header {
    padding: 10px 0 8px !important;
    background: transparent !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.tg-has-scrolled .tg-top-header {
    background: rgba(248,251,255,.60) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  .tg-topbar.tg-container-wide,
  .tg-topbar,
  body.tg-has-scrolled .tg-topbar.tg-container-wide,
  body.tg-has-scrolled .tg-topbar {
    width: calc(100% - 22px) !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 9px 0 18px !important;
    gap: 12px !important;
    border-radius: 999px !important;
    background: var(--tg-menu-bg) !important;
    box-shadow: 0 16px 40px rgba(15,23,42,.20), inset 0 1px 0 rgba(255,255,255,.10) !important;
    overflow: hidden !important;
  }

  .tg-brand-dark {
    max-width: calc(100% - 56px) !important;
    height: 58px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .tg-brand-word {
    max-width: 100% !important;
    font-size: 27px !important;
    letter-spacing: -1.3px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .tg-main-tabs,
  .tg-top-actions,
  .tg-top-header.tg-menu-open .tg-main-tabs,
  .tg-top-header.tg-menu-open .tg-top-actions {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .tg-menu-toggle,
  button[data-themego-mobile-toggle] {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.10) !important;
  }

  .tg-menu-toggle:hover,
  button[data-themego-mobile-toggle]:hover,
  .tg-menu-toggle[aria-expanded="true"],
  button[data-themego-mobile-toggle][aria-expanded="true"] {
    background: rgba(37,99,235,.36) !important;
  }

  .tg-mobile-menu-panel,
  .tg-top-header .tg-mobile-menu-panel {
    position: fixed !important;
    top: 78px !important;
    left: 11px !important;
    right: 11px !important;
    width: calc(100vw - 22px) !important;
    max-width: calc(100vw - 22px) !important;
    max-height: calc(100vh - 90px) !important;
    border-radius: 24px !important;
    background: linear-gradient(145deg, #071b37, #111827) !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    box-shadow: 0 24px 60px rgba(15,23,42,.28) !important;
    overflow: hidden auto !important;
  }

  .tg-business-hero.tg-premium-hero {
    padding-top: 42px !important;
  }
}

@media (max-width: 782px) {
  .admin-bar .tg-top-header { top: 46px !important; }
  .admin-bar .tg-mobile-menu-panel,
  .admin-bar .tg-top-header .tg-mobile-menu-panel { top: 124px !important; }
}

@media (max-width: 560px) {
  .tg-topbar.tg-container-wide,
  .tg-topbar,
  body.tg-has-scrolled .tg-topbar.tg-container-wide,
  body.tg-has-scrolled .tg-topbar {
    width: calc(100% - 16px) !important;
  }
  .tg-brand-word { font-size: 25px !important; }
  .tg-business-hero.tg-premium-hero { padding-top: 34px !important; }
}


/* ThemeGet marketplace text + empty marketplace state */
.tg-business-empty-state {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(37,99,235,.14);
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
  text-align: center;
}
.tg-business-empty-state h3 {
  margin: 0 0 10px;
  color: #132038;
  font-size: 24px;
  font-weight: 900;
}
.tg-business-empty-state p {
  max-width: 620px;
  margin: 0 auto 20px;
  color: #5f6f85;
  line-height: 1.7;
}
.tg-brand-dark { min-width: 168px !important; }
@media (max-width: 1320px) and (min-width: 1025px) {
  .tg-brand-dark { min-width: 146px !important; }
  .tg-brand-word { font-size: 26px !important; }
}
@media (max-width: 1024px) {
  .tg-brand-word { font-size: 25px !important; }
}
@media (max-width: 420px) {
  .tg-brand-word { font-size: 22px !important; letter-spacing: -1px !important; }
}


/* ThemeGet marketplace rules cards use the former customer-card layout */
.tg-business-rules { padding: 80px 0; background: #fff; }
.tg-business-rules h2 { text-align: center; margin: 0 0 28px; font-size: clamp(28px, 4vw, 42px); color: #172033; }
.tg-business-rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tg-business-rule-grid div { padding: 24px; background: #fff; border: 1px solid #e6edf5; border-radius: 20px; box-shadow: 0 12px 30px rgba(15,23,42,.06); transition: transform .25s ease, box-shadow .25s ease; }
.tg-business-rule-grid div:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(15,23,42,.10); }
.tg-business-rule-grid p { margin: 0 0 14px; color: #667085; }
.tg-business-rule-grid strong { color: #172033; }
.tg-business-rule-grid span { float: right; color: #2563eb; font-weight: 900; }
@media (max-width: 900px) { .tg-business-rule-grid { grid-template-columns: 1fr; } }


/* Seller copyright confirmation */
.tg-rights-confirm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    margin: 16px 0 18px;
    border: 1px solid rgba(37, 99, 235, .22);
    border-radius: 14px;
    background: rgba(37, 99, 235, .06);
    color: #334155;
    font-weight: 700;
    line-height: 1.55;
}
.tg-rights-confirm input {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    flex: 0 0 auto;
}

/* Product setup guide sidebar card */
.tg-setup-guide-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 100% 100%, rgba(37, 99, 235, .22) 0 28%, transparent 29%),
    linear-gradient(145deg, #0f141a 0%, #121820 58%, #0f141a 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
}

.tg-setup-guide-card:before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(37,99,235,.24), transparent 36%, rgba(14,165,233,.16));
  opacity: .75;
  z-index: -2;
}

.tg-setup-guide-card:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -48px;
  bottom: -42px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .26);
  z-index: -1;
}

.tg-setup-guide-label {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .18);
  color: #8db6ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tg-setup-guide-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.tg-setup-guide-card p {
  margin: 0 0 20px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.65;
}

.tg-setup-guide-btn {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--tg-primary), var(--tg-secondary));
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .28);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.tg-setup-guide-btn:hover,
.tg-setup-guide-btn:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, .35);
  filter: brightness(1.04);
}

@media (max-width: 640px) {
  .tg-setup-guide-card {
    padding: 20px;
  }
}

/* v1.10.6 Promo code section */
.tg-promo-section {
  margin: 18px 0 20px;
  padding: 16px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.05));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.tg-promo-section-manual {
  margin-top: 8px;
}
.tg-promo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.tg-promo-head span {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #172033;
}
.tg-promo-head small {
  max-width: 310px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}
.tg-promo-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.tg-promo-field input {
  width: 100%;
  height: 48px;
  border: 1px solid #d6e0f0;
  border-radius: 14px;
  padding: 0 15px;
  background: #fff;
  color: #172033;
  font-weight: 700;
  text-transform: uppercase;
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.tg-promo-field input:focus {
  border-color: var(--tg-primary, #2563eb);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}
.tg-promo-apply-btn {
  min-width: 94px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--tg-primary, #2563eb), var(--tg-secondary, #0ea5e9));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
.tg-promo-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}
.tg-promo-apply-btn:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}
.tg-promo-feedback {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
}
.tg-promo-success {
  color: #047857;
}
.tg-promo-error {
  color: #dc2626;
}
.tg-promo-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.tg-promo-result span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
.tg-promo-result strong {
  color: #172033;
  font-size: 14px;
}
.tg-price-was {
  display: inline-block;
  margin-right: 8px;
  color: #94a3b8;
  font-size: 16px;
  text-decoration: line-through;
}
.tg-price-now {
  display: inline-block;
  color: var(--tg-primary, #2563eb);
  font-size: 24px;
  font-weight: 900;
}
@media (max-width: 560px) {
  .tg-promo-head {
    display: block;
  }
  .tg-promo-head small {
    display: block;
    max-width: none;
    margin-top: 4px;
    text-align: left;
  }
  .tg-promo-field,
  .tg-promo-result {
    grid-template-columns: 1fr;
  }
  .tg-promo-apply-btn {
    width: 100%;
  }
}


/* v1.11.0 hero heading overlap fix */
.tg-premium-hero {
  overflow: hidden;
}

.tg-premium-hero-wrap {
  padding-inline: 26px;
}

.tg-premium-hero-copy {
  width: min(100%, 980px);
}

.tg-premium-hero-copy h1 {
  padding-inline: 46px 18px;
}

@media (max-width: 1520px) {
  .tg-premium-vertical-text {
    left: 26px;
    top: 82px;
    font-size: 16px;
    color: rgba(23, 32, 51, .22);
  }

  .tg-premium-hero-copy {
    width: min(100%, 940px);
  }

  .tg-premium-hero-copy h1 {
    font-size: clamp(36px, 4.1vw, 54px);
    padding-left: 74px;
    padding-right: 10px;
  }
}

@media (max-width: 1366px) {
  .tg-premium-vertical-text {
    display: none;
  }

  .tg-premium-hero-copy {
    width: min(100%, 960px);
  }

  .tg-premium-hero-copy h1 {
    font-size: clamp(34px, 4.35vw, 52px);
    padding-inline: 0;
  }
}

@media (max-width: 767px) {
  .tg-premium-hero-wrap {
    padding-inline: 16px;
  }

  .tg-premium-hero-copy h1 {
    font-size: clamp(22px, 7.2vw, 34px);
    letter-spacing: -.045em;
    white-space: nowrap;
  }
}


/* v1.11.0 final hero overlap fix */
.tg-premium-vertical-text {
  display: none !important;
}

.tg-premium-hero-copy h1 {
  width: 100%;
  max-width: 100%;
  text-align: center;
  overflow: visible;
}

.tg-premium-hero-copy h1 span {
  max-width: 100%;
}
