/* ==========================================================================
   TRNG Gen Z theme
   Brand: navy #45413A + orange #5B5547, softened with cream, peach and lilac.
   ========================================================================== */
:root {
  --tg-ink: #2B2925;
  --tg-navy: #45413A;
  --tg-orange: #5B5547;
  --tg-orange-2: #C9C2B2;
  --tg-peach: #FBE3E8;
  --tg-cream: #F4F3F1;
  --tg-lilac: #EFEDE8;
  --tg-mint: #DDF5EA;
  --tg-text: #33312C;
  --tg-muted: #7A766D;
  --tg-line: rgba(43, 41, 37, .10);
  --tg-white: #fff;
  --tg-brush: #5B5547;
  --tg-black: #111111;
  --tg-radius: 22px;
  --tg-radius-sm: 14px;
  --tg-shadow: 0 10px 30px -12px rgba(43, 41, 37, .22);
  --tg-shadow-lg: 0 24px 60px -20px rgba(43, 41, 37, .35);
  --tg-ease: cubic-bezier(.22, 1, .36, 1);
  --tg-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tg-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --bs-primary: #5B5547;
  --bs-primary-rgb: 91, 85, 71;
  --bs-link-color: #45413A;
  --bs-link-hover-color: #5B5547;
}

/* ---------- base ---------- */
body.trng {
  font-family: var(--tg-font);
  color: var(--tg-text);
  background: var(--tg-cream);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
.trng h1, .trng h2, .trng h3, .trng h4, .trng h5 {
  font-family: var(--tg-display);
  color: var(--tg-ink);
  letter-spacing: -.02em;
}
.trng a { color: var(--tg-navy); text-decoration: none; transition: color .2s; }
.trng a:hover { color: var(--tg-orange); }
.trng ::selection { background: var(--tg-orange); color: #fff; }
.trng main { min-height: 50vh; }
.trng #container { overflow-x: clip; }

/* ---------- announcement ticker ---------- */
.tg-ticker {
  background: var(--tg-black);
  color: #fff;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tg-ticker__track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 9px 0;
  animation: tg-marquee 32s linear infinite;
}
.tg-ticker i { color: var(--tg-brush); font-style: normal; }
@keyframes tg-marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.tg-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  transition: box-shadow .3s;
}
/* brushstroke rule echoing the logo swirl */
.tg-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tg-brush) 0%, var(--tg-orange-2) 45%, rgba(91, 85, 71, .15) 100%);
}
.tg-header.is-stuck { box-shadow: 0 10px 28px -20px rgba(17, 17, 17, .55); }
.tg-header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 104px;
  transition: min-height .3s var(--tg-ease);
}
.tg-header.is-stuck .tg-header__inner { min-height: 76px; }
.tg-logo { flex: 0 0 auto; display: block; margin-right: 6px; }
.tg-logo img { height: 84px; width: auto; display: block; transition: height .3s var(--tg-ease), transform .4s var(--tg-ease); }
.tg-header.is-stuck .tg-logo img { height: 60px; }
.tg-logo:hover img { transform: rotate(-6deg) scale(1.04); }
.tg-logo span { font-family: var(--tg-display); font-weight: 700; font-size: 30px; color: var(--tg-black); }

.tg-nav { flex: 0 0 auto; align-items: center; gap: 4px; }
.tg-nav .tg-nav__link { white-space: nowrap; }
.tg-search-mobile-open .tg-search__form, #tg-search-mobile .tg-search__form { max-width: 640px; margin: 0 auto; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .tg-header__inner { gap: 14px; }
  .tg-nav { gap: 0; }
  .tg-nav .tg-nav__link { padding: 9px 11px; font-size: 14px; }
  .tg-search { max-width: 280px; }
  .tg-search__btn { display: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .tg-header__inner { gap: 12px; }
  .tg-logo img { height: 72px; }
  .tg-nav { gap: 0; margin-right: auto; }
  .tg-nav .tg-nav__link { padding: 9px 10px; font-size: 14px; }
}
.tg-nav__link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--tg-black) !important;
  transition: color .25s;
}
.tg-nav__link::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 7px;
  border-radius: 6px 2px 8px 3px;
  background: var(--tg-brush);
  opacity: .9;
  transform: scaleX(0) skewX(-18deg);
  transform-origin: left;
  transition: transform .35s var(--tg-ease);
  z-index: -1;
}
.tg-nav__link:hover, .tg-nav__drop.show > .tg-nav__link { color: var(--tg-black) !important; }
.tg-nav__link:hover::before, .tg-nav__drop.show > .tg-nav__link::before { transform: scaleX(1) skewX(-18deg); }
.tg-nav__link--hot { color: var(--tg-brush) !important; }
.tg-nav__link--hot::before { background: var(--tg-black); height: 3px; }
.tg-nav__link--hot:hover { color: var(--tg-brush) !important; }
.tg-chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--tg-brush);
  color: #fff;
  animation: tg-pulse 2s ease-in-out infinite;
}
@keyframes tg-pulse { 50% { transform: scale(1.12); } }

.tg-search { flex: 1 1 auto; max-width: 420px; margin-left: auto; }
.tg-search__form {
  position: relative;
  display: flex;
  align-items: center;
  background: #F6F6F6;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 4px;
  transition: border-color .25s, box-shadow .25s;
}
.tg-search__form:focus-within { background: #fff; border-color: var(--tg-brush); box-shadow: 0 0 0 4px rgba(91, 85, 71, .14); }
.tg-search__icon { position: absolute; left: 16px; color: var(--tg-muted); font-size: 14px; }
.tg-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 10px 8px 38px;
  font-size: 14px;
  color: var(--tg-ink);
}
.tg-search__btn {
  border: 0;
  border-radius: 999px;
  background: var(--tg-black);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  transition: background .25s, transform .2s;
}
.tg-search__btn:hover { background: var(--tg-brush); }
.tg-search__btn:active { transform: scale(.96); }

.tg-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tg-search + .tg-actions { margin-left: 0; }
.tg-icon-btn, .tg-cart__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--tg-line);
  background: #fff;
  color: var(--tg-black) !important;
  font-size: 17px;
  transition: transform .25s var(--tg-ease), background .25s, color .25s, border-color .25s;
}
.tg-icon-btn:hover, .tg-cart__btn:hover { transform: translateY(-2px); border-color: var(--tg-brush); color: var(--tg-brush) !important; }
.tg-cart__btn { background: var(--tg-brush); border-color: var(--tg-brush); color: #fff !important; }
.tg-cart__btn:hover { background: var(--tg-black); border-color: var(--tg-black); color: #fff !important; }
.tg-cart__count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--tg-black);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 21px;
  text-align: center;
  border: 2px solid #fff;
}
.tg-cart.is-bump .tg-cart__btn { animation: tg-bump .6s var(--tg-ease); }
@keyframes tg-bump { 30% { transform: scale(1.22) rotate(-8deg); } 60% { transform: scale(.94) rotate(4deg); } }
.tg-burger { border: 0; background: transparent; }
.tg-burger:hover { transform: none; }

.tg-dropdown {
  border: 1px solid var(--tg-line);
  border-radius: var(--tg-radius-sm);
  padding: 8px;
  box-shadow: var(--tg-shadow-lg);
  animation: tg-pop .22s var(--tg-ease);
}
.tg-dropdown .dropdown-item { border-radius: 10px; padding: 8px 12px; font-weight: 500; }
.tg-dropdown .dropdown-item:hover { background: var(--tg-peach); color: var(--tg-ink); }
@keyframes tg-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }

/* mini cart */
.tg-minicart {
  width: min(360px, 92vw);
  padding: 0;
  border: 1px solid var(--tg-line);
  border-radius: var(--tg-radius);
  box-shadow: var(--tg-shadow-lg);
  overflow: hidden;
  animation: tg-pop .22s var(--tg-ease);
}
.tg-minicart__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-family: var(--tg-display); font-weight: 700; color: var(--tg-ink); background: var(--tg-peach); }
.tg-minicart__head span { font-family: var(--tg-font); font-weight: 500; font-size: 12.5px; color: var(--tg-muted); }
.tg-minicart__list { list-style: none; margin: 0; padding: 8px 12px; max-height: 320px; overflow: auto; }
.tg-minicart__item { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px dashed var(--tg-line); }
.tg-minicart__img img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; }
.tg-minicart__info { flex: 1; display: flex; flex-direction: column; font-size: 13.5px; }
.tg-minicart__info a { font-weight: 600; color: var(--tg-ink); }
.tg-minicart__info small { color: var(--tg-muted); }
.tg-minicart__remove { border: 0; background: var(--tg-lilac); color: var(--tg-ink); width: 30px; height: 30px; border-radius: 50%; transition: background .2s, color .2s; }
.tg-minicart__remove:hover { background: var(--tg-orange); color: #fff; }
.tg-minicart__totals { padding: 8px 18px; font-size: 13.5px; }
.tg-minicart__totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.tg-minicart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 18px 18px; }
.tg-minicart__empty { padding: 34px 18px; text-align: center; color: var(--tg-muted); }
.tg-minicart__empty i { font-size: 34px; color: var(--tg-orange); margin-bottom: 8px; }

/* mobile drawer */
.tg-drawer { background: var(--tg-cream); border-right: 0; }
.tg-drawer__logo { height: 36px; }
.tg-drawer__nav { display: flex; flex-direction: column; }
.tg-drawer__nav a, .tg-drawer__nav .tg-nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-radius: 0;
  border-bottom: 1px solid var(--tg-line);
  font-family: var(--tg-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--tg-black) !important;
  background: none !important;
}
.tg-drawer__meta { margin-top: 20px; }

/* ---------- buttons ---------- */
.tg-btn, .trng .btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--tg-orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  transition: transform .25s var(--tg-ease), background .25s, box-shadow .25s;
  box-shadow: 0 8px 20px -10px rgba(91, 85, 71, .8);
}
.tg-btn::after, .trng .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--tg-ease);
}
.tg-btn:hover::after, .trng .btn-primary:hover::after { transform: translateX(120%); }
.tg-btn:hover, .trng .btn-primary:hover, .trng .btn-primary:focus { background: var(--tg-ink); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(43, 41, 37, .7); }
.tg-btn--ghost { background: transparent; color: var(--tg-ink) !important; border: 1.5px solid var(--tg-ink); box-shadow: none; }
.tg-btn--ghost:hover { color: #fff !important; }
.tg-btn--light { background: #fff; color: var(--tg-ink) !important; box-shadow: none; }
.tg-btn--light:hover { background: var(--tg-orange); color: #fff !important; }
.tg-btn--lg { padding: 15px 30px; font-size: 15px; }
.trng .btn-light, .trng .btn-secondary, .trng .btn-default { border-radius: 999px; }
.trng .btn-danger { border-radius: 999px; }

/* ---------- hero ---------- */
.tg-hero { position: relative; background: var(--tg-ink); }
.tg-hero .carousel { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.tg-hero .carousel-item { overflow: hidden; }
.tg-hero__img { display: block; width: 100%; height: auto; }
.tg-hero .carousel-item.active .tg-hero__img { animation: tg-kenburns 7s ease-out both; }
@keyframes tg-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.tg-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  color: var(--tg-ink);
  font-size: 18px;
  opacity: 0;
  transition: opacity .3s, transform .3s var(--tg-ease), background .25s, color .25s;
}
.tg-hero__arrow--prev { left: 24px; transform: translateX(-10px); }
.tg-hero__arrow--next { right: 24px; transform: translateX(10px); }
.tg-hero:hover .tg-hero__arrow { opacity: 1; transform: none; }
.tg-hero__arrow:hover { background: var(--tg-orange); color: #fff; }
.tg-hero__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.tg-hero__dots button { width: 34px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); overflow: hidden; }
.tg-hero__dots button.active { width: 56px; background: rgba(255, 255, 255, .5); }
.tg-hero__dots button span { display: block; height: 100%; width: 0; background: var(--tg-orange); border-radius: inherit; }
.tg-hero__dots button.active span { animation: tg-progress 5.5s linear forwards; }
.tg-hero .carousel:hover .tg-hero__dots button.active span { animation-play-state: paused; }
@keyframes tg-progress { to { width: 100%; } }

/* ---------- big marquee band ---------- */
.tg-band { background: var(--tg-orange); color: #fff; overflow: hidden; transform: rotate(-1.2deg); margin: -6px -10px 0; box-shadow: 0 10px 30px -16px rgba(91, 85, 71, .9); position: relative; z-index: 2; }
.tg-band__track { display: flex; align-items: center; gap: 30px; width: max-content; padding: 16px 0; animation: tg-marquee 28s linear infinite; }
.tg-band span { font-family: var(--tg-display); font-weight: 700; font-size: clamp(22px, 3vw, 36px); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.tg-band span.is-outline { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.tg-band b { font-size: 26px; color: var(--tg-peach); }

/* ---------- sections ---------- */
.tg-section { padding-top: 72px; }
.tg-home > .tg-section:last-of-type, .tg-home > .container:last-child { padding-bottom: 72px; }
.tg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.tg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tg-orange);
}
.tg-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.tg-kicker--light { color: var(--tg-orange-2); }
.tg-title { margin: 0; font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; line-height: 1.02; }
.tg-title em, .tg-cta h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--tg-orange), #8A8270);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tg-title--light { color: #fff !important; }
.tg-link { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.tg-link i { transition: transform .25s var(--tg-ease); }
.tg-link:hover i { transform: translateX(4px); }
.tg-link--light { color: #fff !important; }
.tg-link--light:hover { color: var(--tg-orange-2) !important; }

/* ---------- category tiles ---------- */
.tg-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.tg-cat {
  position: relative;
  display: block;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: var(--tg-lilac);
  transition: transform .45s var(--tg-ease), box-shadow .45s;
}
.tg-cat--2 { background: var(--tg-peach); }
.tg-cat--3 { background: var(--tg-mint); }
.tg-cat:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--tg-shadow-lg); }
.tg-cat__blob { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -12%; top: -14%; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: rgba(255, 255, 255, .6); animation: tg-morph 9s ease-in-out infinite; }
@keyframes tg-morph { 50% { border-radius: 63% 37% 41% 59% / 55% 62% 38% 45%; transform: rotate(25deg) scale(1.06); } }
.tg-cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s var(--tg-ease); }
/* the category picture is shown whole at its own shape (no cropping); its artwork carries the name */
.tg-cat { min-height: 0; aspect-ratio: auto; background: transparent; }
.tg-cat__blob { display: none; }
.trng .tg-cat .tg-cat__img { position: relative; inset: auto; display: block; width: 100%; height: auto; object-fit: initial; transform: none; }
.trng .tg-cat:hover .tg-cat__img { transform: scale(1.03); }
.tg-cat__label { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tg-cat__go { display: none; }
.tg-cat__label { position: absolute; left: 22px; bottom: 22px; display: flex; flex-direction: column; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); }
.tg-cat__label small { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tg-muted); }
.tg-cat__label strong { font-family: var(--tg-display); font-size: 26px; color: var(--tg-ink); line-height: 1.1; }
.tg-cat__go { position: absolute; right: 22px; bottom: 22px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--tg-ink); color: #fff; font-size: 18px; transition: transform .4s var(--tg-ease), background .3s; }
.tg-cat:hover .tg-cat__go { transform: rotate(-45deg); background: var(--tg-orange); }

/* ---------- deals band ---------- */
.tg-deals { margin-top: 72px; padding-bottom: 72px; background: radial-gradient(1200px 400px at 10% 0%, rgba(91, 85, 71, .25), transparent 60%), var(--tg-ink); }
.tg-deals .tg-section { padding-top: 64px; }

/* ---------- product grid + cards ---------- */
.tg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 991.98px) { .tg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .tg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

.trng .product-thumb.tg-card {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: var(--tg-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--tg-line);
  transition: transform .45s var(--tg-ease), box-shadow .45s var(--tg-ease);
  will-change: transform;
}
.trng .product-thumb.tg-card:hover { transform: translateY(-6px); box-shadow: var(--tg-shadow-lg); }
.tg-card__media { position: relative; margin: 10px 10px 0; border-radius: 16px; overflow: hidden; background: var(--tg-cream); aspect-ratio: 1 / 1; }
.tg-card__img, .tg-card__img img { display: block; width: 100%; height: 100%; }
.tg-card__img img { object-fit: cover; transition: transform .7s var(--tg-ease); }
.tg-card:hover .tg-card__img img { transform: scale(1.06); }
.tg-badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tg-badge--sale { background: var(--tg-orange); color: #fff; animation: tg-wiggle 3s ease-in-out infinite; }
@keyframes tg-wiggle { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-6deg); } 96% { transform: rotate(5deg); } }
.tg-card__float { position: absolute; top: 10px; right: 10px; margin: 0; }
.tg-card__fav { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--tg-ink); font-size: 15px; transition: transform .25s var(--tg-ease), background .25s, color .25s; }
.tg-card__fav:hover { background: var(--tg-orange); color: #fff; transform: scale(1.1); }
.tg-card__quick { position: absolute; left: 10px; right: 10px; bottom: 10px; margin: 0; transform: translateY(130%); transition: transform .4s var(--tg-ease); }
.tg-card:hover .tg-card__quick, .tg-card:focus-within .tg-card__quick { transform: none; }
.tg-card__add { width: 100%; border: 0; border-radius: 999px; padding: 11px 14px; background: var(--tg-ink); color: #fff; font-weight: 700; font-size: 13.5px; transition: background .25s; }
.tg-card__add:hover { background: var(--tg-orange); }
.tg-card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.tg-card__name { margin: 0; font-family: var(--tg-font); font-size: 15px; font-weight: 600; line-height: 1.35; }
.tg-card__name a { color: var(--tg-ink); }
.tg-card__rating { color: #FFB020; font-size: 12px; }
.tg-card__price { margin-top: 2px; display: flex; align-items: baseline; gap: 8px; }
.tg-card__price .price-new { font-family: var(--tg-display); font-weight: 700; font-size: 18px; color: var(--tg-ink); }
.tg-card__price .price-old { color: var(--tg-muted); text-decoration: line-through; font-size: 13.5px; }
.tg-card__tax { display: none; }
.tg-card__compare { margin: auto 0 0; padding-top: 6px; }
.tg-card__compare button { border: 0; background: none; padding: 0; color: var(--tg-muted); font-size: 12.5px; font-weight: 500; }
.tg-card__compare button:hover { color: var(--tg-orange); }
.trng .tg-deals .product-thumb.tg-card { background: #3A3731; box-shadow: none; }
.tg-deals .tg-card__name a, .tg-deals .tg-card__price .price-new { color: #fff; }
.tg-deals .tg-card__price .price-old, .tg-deals .tg-card__tax, .tg-deals .tg-card__compare button { color: #A8A397; }
.tg-deals .tg-card__media { background: #fff; }
/* touch devices: keep quick add visible */
@media (hover: none) { .tg-card__quick { transform: none; } }

/* ---------- perks ---------- */
.tg-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 991.98px) { .tg-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tg-perk { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--tg-radius); background: #fff; border: 1px solid var(--tg-line); transition: transform .35s var(--tg-ease), border-color .35s; }
.tg-perk:hover { transform: translateY(-4px); border-color: var(--tg-orange); }
.tg-perk__icon { flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--tg-peach); color: var(--tg-orange); font-size: 20px; transition: transform .4s var(--tg-ease); }
.tg-perk:nth-child(2) .tg-perk__icon { background: var(--tg-lilac); color: #A0606F; }
.tg-perk:nth-child(3) .tg-perk__icon { background: var(--tg-mint); color: #138A5A; }
.tg-perk:nth-child(4) .tg-perk__icon { background: #EFEDE8; color: var(--tg-navy); }
.tg-perk:hover .tg-perk__icon { transform: rotate(-10deg) scale(1.08); }
.tg-perk strong { display: block; color: var(--tg-ink); font-size: 15px; }
.tg-perk small { color: var(--tg-muted); }

/* ---------- CTA ---------- */
.tg-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--tg-navy); color: #D6D2C8; }
.tg-cta__text { position: relative; z-index: 1; max-width: 620px; }
.tg-cta h2 { color: #fff !important; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.05; margin: 0 0 12px; }
.tg-cta p:last-child { margin: 0; }
.tg-cta .tg-btn { position: relative; z-index: 1; }
.tg-cta__orb { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; animation: tg-float 10s ease-in-out infinite; }
.tg-cta__orb--a { width: 280px; height: 280px; right: -60px; top: -90px; background: radial-gradient(circle at 30% 30%, #8A8270, var(--tg-orange)); }
.tg-cta__orb--b { width: 180px; height: 180px; right: 30%; bottom: -110px; background: radial-gradient(circle at 30% 30%, #F3C9D3, #C98E9C); animation-delay: -4s; }
@keyframes tg-float { 50% { transform: translate(-20px, 18px) scale(1.08); } }

/* ---------- footer ---------- */
.tg-footer { position: relative; overflow: hidden; margin-top: 72px; padding: 70px 0 26px; background: var(--tg-ink); color: #BDB8AD; border: 0; }
.tg-footer__big { position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%); font-family: var(--tg-display); font-weight: 700; font-size: clamp(120px, 22vw, 330px); line-height: 1; letter-spacing: -.05em; color: rgba(255, 255, 255, .04); white-space: nowrap; pointer-events: none; user-select: none; }
.tg-footer .container { position: relative; }
.tg-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 991.98px) { .tg-footer__grid { grid-template-columns: 1fr 1fr; } .tg-footer__brand { grid-column: 1 / -1; } }
.tg-footer__logo { height: 96px; width: auto; margin-bottom: 18px; }
.tg-footer__logo-text { font-family: var(--tg-display); font-size: 30px; color: #fff; }
.tg-footer__brand p { max-width: 300px; }
.tg-footer h5 { color: #fff; font-family: var(--tg-display); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.tg-footer ul li { margin-bottom: 9px; }
.tg-footer a { color: #BDB8AD; }
.tg-footer a:hover { color: var(--tg-orange-2); }
.tg-footer ul a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--tg-ease), color .2s; padding-bottom: 2px; }
.tg-footer ul a:hover { background-size: 100% 1.5px; }
.tg-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.tg-footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s, transform .3s var(--tg-ease); }
.tg-footer__social a:hover { background: var(--tg-orange); color: #fff; transform: translateY(-3px) rotate(-8deg); }
.tg-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.tg-footer__contact { display: flex; gap: 18px; flex-wrap: wrap; }

.tg-top { position: fixed; right: 20px; bottom: 20px; z-index: 1020; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--tg-orange); color: #fff; box-shadow: var(--tg-shadow); opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .3s, transform .35s var(--tg-ease), background .25s; }
.tg-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.tg-top:hover { background: var(--tg-ink); }

/* ---------- scroll reveal ---------- */
.tg-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--tg-ease), transform .8s var(--tg-ease); transition-delay: var(--d, 0ms); }
.tg-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- default OpenCart pages ---------- */
.trng #product-category, .trng #product-product, .trng #product-search, .trng #product-special, .trng #product-manufacturer,
.trng #checkout-cart, .trng #checkout-checkout, .trng #information-contact, .trng #information-information, .trng [id^="account-"] { padding-top: 26px; padding-bottom: 20px; }
.trng .breadcrumb { background: #fff; display: inline-flex; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--tg-line); font-size: 13px; margin-bottom: 26px; }
.trng .breadcrumb > li.breadcrumb-item { padding: 0 6px; text-shadow: none; }
.trng .breadcrumb > li.breadcrumb-item:after { display: none; }
.trng .breadcrumb > li.breadcrumb-item + li:before { content: "›"; padding: 0 10px 0 0; color: var(--tg-muted); }
.trng .breadcrumb > li.breadcrumb-item:last-child a { color: var(--tg-orange); font-weight: 600; }
.trng #content > h1, .trng #content > h2:first-child { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; margin-bottom: 18px; }
.trng .form-control, .trng .form-select { border-radius: 14px; border: 1.5px solid var(--tg-line); padding: 10px 14px; background-color: #fff; }
.trng .form-control:focus, .trng .form-select:focus { border-color: var(--tg-orange); box-shadow: 0 0 0 4px rgba(91, 85, 71, .14); }
.trng .input-group > .form-control, .trng .input-group > .form-select { border-radius: 14px 0 0 14px; }
.trng .input-group > .btn:last-child { border-radius: 0 14px 14px 0; }
.trng .input-group-text { border-radius: 14px; border-color: var(--tg-line); }
.trng .list-group { border-radius: var(--tg-radius); overflow: hidden; border: 1px solid var(--tg-line); }
.trng .list-group-item { border: 0; border-bottom: 1px solid var(--tg-line); padding: 12px 18px; font-weight: 500; }
.trng .list-group-item.active { background: var(--tg-ink); color: #fff; }
.trng .list-group-item:hover:not(.active) { background: var(--tg-peach); }
.trng .card { border-radius: var(--tg-radius); border-color: var(--tg-line); overflow: hidden; }
.trng .card-header { background: var(--tg-peach); border-color: var(--tg-line); font-weight: 700; color: var(--tg-ink); }
.trng .table { --bs-table-bg: #fff; border-radius: var(--tg-radius-sm); overflow: hidden; }
.trng .table-bordered { border-color: var(--tg-line); }
.trng .nav-tabs { border-bottom: 1px solid var(--tg-line); gap: 6px; }
.trng .nav-tabs .nav-link { border: 0; border-radius: 999px; font-weight: 600; color: var(--tg-muted); }
.trng .nav-tabs .nav-link.active { background: var(--tg-ink); color: #fff; }
.trng .alert { border-radius: var(--tg-radius-sm); border: 0; }
.trng .pagination .page-link { border-radius: 50% !important; margin: 0 3px; border: 0; color: var(--tg-ink); width: 38px; height: 38px; display: grid; place-items: center; }
.trng .pagination .active .page-link { background: var(--tg-orange); color: #fff; }
.trng #product-list > .col, .trng .row-cols-lg-4 > .col, .trng .row-cols-lg-3 > .col { margin-bottom: 22px; }
.trng #product-product .price-new, .trng #product-product h2 { color: var(--tg-ink); }
.trng #product-product .image a, .trng #product-product .img-thumbnail { border-radius: var(--tg-radius); border: 0; }
.trng #product-product #button-cart { border-radius: 999px; padding: 14px 28px; font-weight: 700; }
.trng .btn-group .btn-light, .trng #list-view, .trng #grid-view { border-radius: 999px; }
.trng #display-control .btn-group { gap: 4px; }

/* ==========================================================================
   Inner pages: cart, checkout, success, account, information, contact
   ========================================================================== */
.trng :is([id^="account-"], [id^="checkout-"], [id^="information-"], [id^="affiliate-"], #common-success, #error-not-found, #product-compare) > .row { row-gap: 22px; }
.trng :is([id^="account-"], [id^="checkout-"], [id^="information-"], [id^="affiliate-"], #common-success, #error-not-found, #product-compare) #content {
  background: #fff;
  border: 1px solid var(--tg-line);
  border-radius: 28px;
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 30px 60px -45px rgba(43, 41, 37, .45);
  animation: tg-rise .6s var(--tg-ease) both;
}
@keyframes tg-rise { from { opacity: 0; transform: translateY(18px); } }
.trng :is([id^="account-"], [id^="checkout-"], [id^="information-"], [id^="affiliate-"], #error-not-found, #product-compare) #content > h1,
.trng #shopping-cart > h1 {
  position: relative;
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 26px;
  padding-bottom: 14px;
}
.trng :is([id^="account-"], [id^="checkout-"], [id^="information-"], [id^="affiliate-"], #error-not-found, #product-compare) #content > h1::after,
.trng #shopping-cart > h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--tg-orange), #8A8270);
}
.trng #content h2:not(.tg-title):not(.tg-subhead):not(.accordion-header) { font-size: 21px; margin: 30px 0 14px; }
.trng #content legend { font-family: var(--tg-display); font-weight: 700; font-size: 19px; color: var(--tg-ink); border: 0; padding: 0; margin-bottom: 14px; }
.trng #content fieldset { margin-bottom: 18px; }
.trng #content .col-form-label, .trng #content .form-label { font-weight: 600; color: var(--tg-ink); font-size: 14px; }
.trng .required .col-form-label::before, .trng .required .form-label::before { color: var(--tg-orange); }
.trng .form-check-input:checked { background-color: var(--tg-orange); border-color: var(--tg-orange); }
.trng .form-check-input:focus { box-shadow: 0 0 0 4px rgba(91, 85, 71, .14); border-color: var(--tg-orange); }
.trng .invalid-feedback { color: #D6336C; }

/* secondary buttons as pills */
.trng .btn-light, .trng .btn-secondary, .trng .btn-default { background: #fff; border: 1.5px solid var(--tg-line); color: var(--tg-ink); font-weight: 600; padding: 10px 20px; transition: border-color .25s, transform .25s var(--tg-ease); }
.trng .btn-light:hover, .trng .btn-secondary:hover, .trng .btn-default:hover { border-color: var(--tg-ink); background: #fff; color: var(--tg-ink); transform: translateY(-2px); }
.trng .btn-info { background: var(--tg-ink); border: 0; color: #fff; border-radius: 999px; padding: 8px 16px; }
.trng .btn-info:hover { background: var(--tg-orange); color: #fff; }
.trng .btn-danger { background: #FFE4EA; border: 0; color: #D6336C; padding: 8px 14px; }
.trng .btn-danger:hover { background: #D6336C; color: #fff; }
.trng #content .text-end > .btn-primary, .trng #content .float-end > .btn-primary, .trng #content .d-inline-block > .btn-primary { padding: 12px 26px; }

/* tables */
.trng #content .table-responsive { border: 1px solid var(--tg-line); border-radius: 20px; overflow-x: auto; margin-bottom: 22px; }
.trng #content .table { margin: 0; --bs-table-bg: transparent; vertical-align: middle; }
.trng #content .table-bordered, .trng #content .table-bordered > :not(caption) > * > * { border-width: 0; }
.trng #content .table > :not(caption) > * > * { padding: 14px 16px; border-bottom: 1px solid var(--tg-line); }
.trng #content .table > thead > tr > *, .trng #content .table > thead td { background: var(--tg-cream); color: var(--tg-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.trng #content .table > tbody > tr { transition: background .2s; }
.trng #content .table > tbody > tr:hover { background: #FAF9F7; }
.trng #content .table > tfoot td { background: var(--tg-cream); border-bottom: 0; }
.trng #content .table > tfoot tr:last-child td { font-family: var(--tg-display); font-size: 18px; color: var(--tg-ink); font-weight: 700; }
.trng #content .table:not(.table-responsive .table) { border: 1px solid var(--tg-line); border-radius: 20px; overflow: hidden; }
.trng #content .table .img-thumbnail { width: 64px; height: 64px; object-fit: cover; padding: 0; border: 0; border-radius: 14px; background: var(--tg-cream); }
.trng #content .table td a:not(.btn) { font-weight: 600; color: var(--tg-ink); }
.trng #content .table td a:not(.btn):hover { color: var(--tg-orange); }
/* icon-only action buttons (view / edit / remove) must keep their own icon colour */
.trng a.btn-info, .trng a.btn-success, .trng a.btn-dark, .trng a.btn-warning { color: #fff; }
.trng a.btn-info:hover, .trng a.btn-success:hover, .trng a.btn-dark:hover, .trng a.btn-warning:hover { color: #fff; }
.trng .btn-info, .trng .btn-danger { min-width: 40px; }
.trng #shopping-cart .input-group { flex-wrap: nowrap; max-width: 210px; }
.trng #shopping-cart .input-group .form-control { max-width: 70px; text-align: center; }
.trng #shopping-cart .input-group .btn { border-radius: 0; padding: 8px 12px; }
.trng #shopping-cart .input-group .btn:last-child { border-radius: 0 14px 14px 0; }

/* accordion (cart: coupon / shipping estimate) */
.trng .accordion { --bs-accordion-border-color: var(--tg-line); --bs-accordion-border-radius: 18px; --bs-accordion-inner-border-radius: 18px; --bs-accordion-active-bg: var(--tg-peach); --bs-accordion-active-color: var(--tg-ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 4px rgba(91, 85, 71, .14); margin-bottom: 22px; }
.trng .accordion-item { overflow: hidden; }
.trng .accordion-button { font-weight: 600; color: var(--tg-ink); }

/* alerts */
.trng .alert-success { background: var(--tg-mint); color: #0F6B47; }
.trng .alert-danger { background: #FFE4EA; color: #A61E4D; }
.trng .alert-info, .trng .alert-warning { background: var(--tg-peach); color: #5B5547; }

/* account sidebar */
.trng :is([id^="account-"], [id^="affiliate-"]) #column-right, .trng :is([id^="account-"], [id^="affiliate-"]) #column-left { animation: tg-rise .6s .08s var(--tg-ease) both; }
/* account menu sits on the left of the page content */
.trng :is([id^="account-"], [id^="affiliate-"]) #column-right { order: -1; }
.tg-accnav { position: sticky; top: 92px; background: var(--tg-ink); border-radius: 28px; padding: 14px; color: #BDB8AD; }
.tg-accnav__me { display: flex; align-items: center; gap: 12px; padding: 10px 10px 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tg-accnav__me strong { display: block; color: #fff; font-size: 15px; }
.tg-accnav__me small { display: block; font-size: 12px; word-break: break-all; }
.tg-accnav__avatar, .tg-hello__avatar { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--tg-orange), #8A8270); color: #fff; font-family: var(--tg-display); font-weight: 700; }
.tg-accnav__avatar { width: 46px; height: 46px; font-size: 16px; }
.tg-accnav__links { display: flex; flex-direction: column; gap: 2px; }
.tg-accnav__links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: #DDD9CF !important; font-size: 14px; font-weight: 500; transition: background .2s, color .2s, transform .25s var(--tg-ease); }
.tg-accnav__links a i { width: 18px; text-align: center; color: #8F8A7F; transition: color .2s; }
.tg-accnav__links a:hover { background: rgba(255, 255, 255, .07); color: #fff !important; transform: translateX(3px); }
.tg-accnav__links a.is-active { background: var(--tg-orange); color: #fff !important; }
.tg-accnav__links a.is-active i, .tg-accnav__links a:hover i { color: #fff; }
.tg-accnav__links a.tg-accnav__logout { margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 0 0 14px 14px; color: #FF9F9F !important; }
@media (max-width: 767.98px) {
  .trng :is([id^="account-"], [id^="affiliate-"]) #column-right { display: block !important; order: -1; width: 100%; }
  .tg-accnav { position: static; padding: 8px; border-radius: 20px; }
  .tg-accnav__me { display: none; }
  .tg-accnav__links { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .tg-accnav__links::-webkit-scrollbar { display: none; }
  .tg-accnav__links a { flex: 0 0 auto; white-space: nowrap; }
  .tg-accnav__links a.tg-accnav__logout { margin-top: 0; border-top: 0; border-radius: 14px; }
}

/* account dashboard */
.tg-hello { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px; margin-bottom: 10px; border-radius: 22px; background: linear-gradient(120deg, var(--tg-peach), var(--tg-lilac)); }
.tg-hello__avatar { width: 64px; height: 64px; font-size: 22px; box-shadow: 0 10px 24px -10px rgba(91, 85, 71, .8); }
.tg-hello h1 { margin: 0; font-size: clamp(26px, 3vw, 36px); }
.tg-hello .tg-kicker { margin-bottom: 4px; }
.tg-hello__sub { margin: 2px 0 0; color: var(--tg-muted); font-size: 14px; }
.tg-hello__cta { margin-left: auto; }
.tg-wave { display: inline-block; transform-origin: 70% 70%; animation: tg-wave 2.4s ease-in-out infinite; }
@keyframes tg-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
.tg-subhead { font-size: 15px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-muted) !important; margin: 30px 0 14px !important; font-family: var(--tg-font) !important; font-weight: 700; }
.tg-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tg-tile { position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 120px; padding: 18px; border-radius: 20px; background: var(--tg-cream); border: 1px solid var(--tg-line); color: var(--tg-ink) !important; font-weight: 600; font-size: 14px; line-height: 1.3; transition: transform .35s var(--tg-ease), box-shadow .35s, background .25s; }
.tg-tile i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--tg-orange); font-size: 17px; transition: transform .35s var(--tg-ease); }
.tg-tile::after { content: "\2192"; position: absolute; right: 16px; top: 16px; color: var(--tg-muted); transition: transform .3s var(--tg-ease), color .2s; }
.tg-tile:hover { transform: translateY(-4px); box-shadow: var(--tg-shadow); background: #fff; }
.tg-tile:hover i { transform: rotate(-8deg) scale(1.08); }
.tg-tile:hover::after { transform: translateX(4px); color: var(--tg-orange); }
.tg-tile--orange { background: var(--tg-orange); color: #fff !important; border-color: transparent; }
.tg-tile--orange::after, .tg-tile--navy::after { color: #fff; }
.tg-tile--orange:hover { background: #47423A; }
.tg-tile--navy { background: var(--tg-ink); color: #fff !important; border-color: transparent; }
.tg-tile--navy:hover { background: var(--tg-navy); }
.tg-tile--navy i { color: var(--tg-ink); }

/* success page */
.trng #common-success #content { text-align: center; overflow: hidden; }
.tg-success { position: relative; max-width: 640px; margin: 0 auto; padding: 18px 0 8px; }
.tg-success__badge { position: relative; z-index: 1; width: 108px; height: 108px; margin: 0 auto 22px; border-radius: 50%; background: var(--tg-mint); display: grid; place-items: center; animation: tg-badge .7s var(--tg-ease) both; }
.tg-success__badge svg { width: 64px; height: 64px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tg-success__badge circle { stroke: #1DB97A; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: tg-draw .7s .2s ease-out forwards; }
.tg-success__badge path { stroke: #1DB97A; stroke-width: 4.5; stroke-dasharray: 36; stroke-dashoffset: 36; animation: tg-draw .4s .75s ease-out forwards; }
@keyframes tg-draw { to { stroke-dashoffset: 0; } }
@keyframes tg-badge { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } }
.tg-success__confetti { position: absolute; left: 50%; top: 72px; width: 0; height: 0; }
.tg-success__confetti i { position: absolute; width: 9px; height: 14px; border-radius: 3px; background: var(--tg-orange); opacity: 0; transform: rotate(calc(var(--i) * 20deg)) translateY(0); animation: tg-confetti 1.3s calc(.35s + var(--i) * 12ms) var(--tg-ease) forwards; }
.tg-success__confetti i:nth-child(3n) { background: var(--tg-navy); }
.tg-success__confetti i:nth-child(3n+1) { background: #F3C9D3; border-radius: 50%; width: 10px; height: 10px; }
.tg-success__confetti i:nth-child(4n) { background: #1DB97A; }
@keyframes tg-confetti { 0% { opacity: 1; transform: rotate(calc(var(--i) * 20deg)) translateY(0) scale(.6); } 100% { opacity: 0; transform: rotate(calc(var(--i) * 20deg + 90deg)) translateY(-170px) scale(1); } }
.tg-success__title { font-size: clamp(30px, 4vw, 46px) !important; margin-bottom: 14px !important; padding: 0 !important; }
.tg-success__title::after { display: none !important; }
.tg-success__msg { color: var(--tg-muted); font-size: 15.5px; line-height: 1.7; }
.tg-success__msg p { margin-bottom: 8px; }
.tg-success__msg a { font-weight: 600; color: var(--tg-orange); }
.tg-success__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* login / register two-up cards */
.trng #account-login #content .row > [class*="col-"] > div,
.trng #account-login #content .row > [class*="col-"] > form { height: 100%; padding: 26px; border-radius: 22px; background: var(--tg-cream); border: 1px solid var(--tg-line); }
.trng #account-login #content .row > [class*="col-"] { margin-bottom: 18px; }

/* checkout */
.trng #checkout-checkout #content > .row > [class*="col-"] > div { margin-bottom: 18px; }
.trng #checkout-checkout #checkout-confirm, .trng #checkout-checkout #checkout-payment-method, .trng #checkout-checkout #checkout-shipping-method { padding: 22px; border-radius: 22px; background: var(--tg-cream); border: 1px solid var(--tg-line); }
.trng #checkout-checkout #checkout-shipping-address, .trng #checkout-checkout #checkout-register, .trng #checkout-checkout #checkout-payment-address { padding: 22px; border-radius: 22px; border: 1px solid var(--tg-line); }

/* ==========================================================================
   Product detail page
   ========================================================================== */
.tg-pdp { padding-top: 26px; }
.tg-pdp__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 991.98px) { .tg-pdp__top { grid-template-columns: 1fr; } }

.tg-pdp__gallery { position: sticky; top: 96px; animation: tg-rise .6s var(--tg-ease) both; }
.tg-pdp__stage { position: relative; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--tg-line); aspect-ratio: 1 / 1; }
.tg-pdp__main, .tg-pdp__main img { display: block; width: 100%; height: 100%; }
.tg-pdp__main img { object-fit: cover; transition: transform .8s var(--tg-ease); cursor: zoom-in; }
.tg-pdp__stage:hover .tg-pdp__main img { transform: scale(1.06); }
.tg-pdp__zoom { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--tg-ink); pointer-events: none; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--tg-ease); }
.tg-pdp__stage:hover .tg-pdp__zoom { opacity: 1; transform: none; }
.tg-pdp__off { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 8px 14px; border-radius: 999px; background: var(--tg-orange); color: #fff; font-family: var(--tg-display); font-weight: 700; font-size: 15px; box-shadow: 0 8px 18px -8px rgba(91, 85, 71, .9); animation: tg-wiggle 3s ease-in-out infinite; }
.tg-pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.tg-pdp__thumb { flex: 0 0 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; background: #fff; transition: border-color .2s, transform .25s var(--tg-ease); }
.tg-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tg-pdp__thumb:hover { transform: translateY(-2px); }
.tg-pdp__thumb.is-active { border-color: var(--tg-orange); }

.tg-pdp__info { animation: tg-rise .6s .08s var(--tg-ease) both; }
.tg-pdp__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tg-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--tg-ink); color: #fff !important; font-size: 12.5px; font-weight: 600; transition: background .2s; }
a.tg-pill:hover { background: var(--tg-orange); }
.tg-pill--soft { background: var(--tg-lilac); color: var(--tg-ink) !important; }
a.tg-pill--soft:hover { background: var(--tg-peach); }
.tg-pill--ok { background: var(--tg-mint); color: #0F6B47 !important; }
.tg-pill--warn { background: #FFE4EA; color: #A61E4D !important; }
.tg-pill--ok i, .tg-pill--warn i { font-size: 7px; animation: tg-pulse 1.8s ease-in-out infinite; }
.tg-pdp__title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; margin: 0 0 12px; }
.tg-pdp__rating { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13.5px; color: var(--tg-muted) !important; }
.tg-stars { color: #FFB020; letter-spacing: 2px; }
.tg-pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--tg-line); }
.tg-pdp__now { font-family: var(--tg-display); font-weight: 700; font-size: clamp(30px, 3vw, 40px); color: var(--tg-ink); line-height: 1; }
.tg-pdp__was { font-size: 18px; color: var(--tg-muted); text-decoration: line-through; }
.tg-pdp__save { padding: 4px 10px; border-radius: 999px; background: var(--tg-mint); color: #0F6B47; font-size: 12.5px; font-weight: 700; }
.tg-pdp__taxnote { margin: 8px 4px 0; font-size: 12.5px; color: var(--tg-muted); }
.tg-pdp__discounts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

#product { margin-top: 22px; }
.tg-pdp__label { font-family: var(--tg-font) !important; font-size: 13px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-muted) !important; margin: 0 0 12px; }
.tg-pdp #product .form-label { font-weight: 700; color: var(--tg-ink); }
/* radio / checkbox options as tappable chips */
.tg-pdp #product [id^="input-option-"] { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-pdp #product [id^="input-option-"] > .form-check { padding: 0; margin: 0; }
.tg-pdp #product [id^="input-option-"] .form-check-input { position: absolute; opacity: 0; pointer-events: none; }
.tg-pdp #product [id^="input-option-"] .form-check-label { display: inline-flex; align-items: center; gap: 8px; min-width: 52px; justify-content: center; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--tg-line); background: #fff; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s var(--tg-ease); }
.tg-pdp #product [id^="input-option-"] .form-check-label:hover { border-color: var(--tg-ink); transform: translateY(-1px); }
.tg-pdp #product [id^="input-option-"] .form-check-input:checked + .form-check-label { background: var(--tg-ink); border-color: var(--tg-ink); color: #fff; }
.tg-pdp #product [id^="input-option-"] .form-check-label .img-thumbnail { width: 32px; height: 32px; padding: 0; border-radius: 8px; }

/* size pills + colour swatches (select and radio options) */
.tg-opt__label { display: flex; align-items: baseline; font-weight: 700 !important; color: var(--tg-ink); font-size: 15px; margin-bottom: 10px; }
/* "Colors *" — star after the name (replaces the core star in front) */
.trng .tg-opt.required .tg-opt__label::before { content: none; }
.tg-opt.required .tg-opt__label::after { content: "*"; color: #D6336C; margin-left: 4px; order: 1; }
.tg-opt__picked { order: 2; margin-left: 10px; font-weight: 500; color: var(--tg-muted); font-size: 14px; }
.tg-opt__picked:not(:empty)::before { content: "— "; }
.tg-pdp #product .tg-opt__list { display: flex; flex-wrap: wrap; gap: 10px; }
.tg-opt__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tg-size {
  min-width: 58px; height: 42px; padding: 0 18px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1.5px solid var(--tg-black); border-radius: 999px; background: #fff;
  color: var(--tg-black); font-weight: 700; font-size: 14px; line-height: 1.1; cursor: pointer; user-select: none;
  transition: background .2s, color .2s, transform .2s var(--tg-ease);
}
.tg-size small { font-size: 10.5px; font-weight: 600; opacity: .7; }
.tg-size:hover { transform: translateY(-1px); background: var(--tg-cream); }
.tg-opt__input:checked + .tg-size { background: var(--tg-black); color: #fff; }
.tg-swatch {
  position: relative; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background-size: cover; background-position: center;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .18);
  transition: transform .2s var(--tg-ease), box-shadow .2s;
}
.tg-swatch.is-light { box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .3); }
.tg-swatch:hover { transform: scale(1.08); }
.tg-opt__input:checked + .tg-swatch { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--tg-black); }
.tg-opt__input:checked + .tg-swatch::after {
  content: ""; position: absolute; left: 50%; top: 46%; width: 12px; height: 7px; margin: -4px 0 0 -6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg);
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, .6));
}
.tg-opt__input:checked + .tg-swatch.is-light::after { border-color: var(--tg-black); filter: none; }
.tg-opt__input:focus-visible + .tg-size, .tg-opt__input:focus-visible + .tg-swatch { outline: 2px solid var(--tg-orange); outline-offset: 3px; }
.tg-opt .is-invalid .tg-size { border-color: #D6336C; }
#tg-price.is-changed .tg-pdp__now { animation: tg-flash .45s var(--tg-ease); }
@keyframes tg-flash { 40% { transform: scale(1.06); } }
.tg-pdp__now { display: inline-block; }

.tg-pdp__buy { display: flex; gap: 12px; margin-top: 8px; }
.tg-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--tg-line); border-radius: 999px; background: #fff; padding: 4px; }
.tg-qty__btn { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--tg-cream); color: var(--tg-ink); transition: background .2s, color .2s; }
.tg-qty__btn:hover { background: var(--tg-ink); color: #fff; }
.tg-qty__input { width: 46px; border: 0; outline: 0; background: transparent; text-align: center; font-weight: 700; font-size: 16px; color: var(--tg-ink); }
.tg-pdp__add { flex: 1; font-size: 16px; }
.tg-pdp__extra { display: flex; flex-wrap: wrap; gap: 18px; margin: 16px 0 0; }
.tg-pdp__ghost { border: 0; background: none; padding: 0; color: var(--tg-ink); font-weight: 600; font-size: 14px; transition: color .2s; }
.tg-pdp__ghost:hover { color: var(--tg-orange); }
.tg-pdp__ghost i { margin-right: 6px; }
.tg-pdp__perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; margin: 24px 0 0; }
.tg-pdp__perks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--tg-line); font-size: 13px; color: var(--tg-muted); line-height: 1.35; }
.tg-pdp__perks b { color: var(--tg-ink); }
.tg-pdp__perks i { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--tg-peach); color: var(--tg-orange); }
.tg-pdp__perks li:nth-child(2) i { background: var(--tg-lilac); color: #A0606F; }
.tg-pdp__perks li:nth-child(3) i { background: var(--tg-mint); color: #138A5A; }
.tg-pdp__perks li:nth-child(4) i { background: #EFEDE8; color: var(--tg-navy); }
@media (max-width: 575.98px) { .tg-pdp__perks { grid-template-columns: 1fr; } }
.tg-pdp__meta { margin: 18px 4px 0; font-size: 12.5px; color: var(--tg-muted); }
.tg-pdp__meta b { color: var(--tg-ink); font-weight: 600; }

.tg-pdp__tabs { margin-top: 56px; padding: clamp(20px, 3vw, 34px); border-radius: 28px; background: #fff; border: 1px solid var(--tg-line); }
.tg-pdp__tabs .nav-tabs { border: 0; margin-bottom: 22px; padding: 5px; display: inline-flex; border-radius: 999px; background: var(--tg-cream); }
.tg-pdp__tabs .nav-tabs .nav-link { padding: 10px 20px; }
.tg-pdp__desc { font-size: 15.5px; line-height: 1.75; max-width: 760px; }
.tg-pdp__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
#tab-review .form-control { border-radius: 14px; }
#tab-review #review { margin-bottom: 18px; }

.tg-related { margin-top: 64px; }

/* mobile buy bar */
.tg-pdp__sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1025; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 22px; background: rgba(43, 41, 37, .94); backdrop-filter: blur(10px); color: #fff; box-shadow: var(--tg-shadow-lg); transform: translateY(140%); transition: transform .4s var(--tg-ease); }
.tg-pdp__sticky strong { display: block; max-width: 46vw; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-pdp__sticky span { font-family: var(--tg-display); font-weight: 700; font-size: 18px; color: var(--tg-orange-2); }
.tg-pdp__sticky.is-visible { transform: none; }
@media (max-width: 767.98px) {
  .tg-pdp__sticky { display: flex; }
  .tg-pdp__gallery { position: static; }
  .trng .tg-top { bottom: 90px; }
}

/* ---------- about block ("Fashion that fits every body") ---------- */
.tg-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tg-about__title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 0 0 16px; }
.tg-about__body { color: var(--tg-muted); font-size: 15.5px; line-height: 1.75; margin: 0 0 24px; max-width: 520px; }
.tg-about .tg-btn { border-radius: 4px; }
.tg-about__media { position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--tg-shadow); }
.tg-about__media img { display: block; width: 100%; height: auto; }
.tg-about__play {
  position: absolute; top: 50%; left: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: #E8487A; color: #fff; font-size: 20px; padding-left: 4px;
  box-shadow: 0 0 0 10px rgba(232, 72, 122, .25);
  animation: tg-ring 2s ease-out infinite;
}
.tg-about__media .tg-about__play { left: 0; margin-left: 0; }
@keyframes tg-ring { 0% { box-shadow: 0 0 0 0 rgba(232, 72, 122, .45); } 100% { box-shadow: 0 0 0 22px rgba(232, 72, 122, 0); } }
.tg-about__play:hover { transform: scale(1.08); }
/* feature cards (drawn in CSS instead of a picture) */
.tg-about__media--cards { overflow: visible; box-shadow: none; border-radius: 0; }
.tg-feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tg-feat__card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  min-height: clamp(170px, 18vw, 220px); padding: 24px 16px;
  border-radius: 28px; background: linear-gradient(160deg, #fff 0%, #FBF7F3 100%);
  border: 1.5px solid #E6D3B8;
  box-shadow: 0 1px 0 #fff inset, 0 14px 30px -18px rgba(43, 41, 37, .35);
  text-align: center;
  transition: transform .35s var(--tg-ease), box-shadow .35s, border-color .35s;
}
.tg-feat__card:hover { transform: translateY(-5px); border-color: #D4B48A; box-shadow: 0 22px 40px -20px rgba(43, 41, 37, .45); }
.tg-feat__icon {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #FFF6E8 0%, #F8E9D3 70%);
}
.tg-feat__icon svg { width: 46px; height: 46px; fill: none; stroke: var(--tg-orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--tg-ease); }
.tg-feat__card:nth-child(4) .tg-feat__icon svg { stroke: #E07A2E; }
.tg-feat__card:hover .tg-feat__icon svg { transform: scale(1.1) rotate(-6deg); }
.tg-feat__title { font-family: var(--tg-display); font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; line-height: 1.15; color: var(--tg-black); max-width: 12ch; }
.tg-about__play--center { left: 50% !important; top: 50%; margin: -32px 0 0 -32px !important; }
@media (max-width: 575.98px) {
  .tg-feat__card { min-height: 150px; padding: 18px 10px; border-radius: 22px; gap: 12px; }
  .tg-feat__icon { width: 62px; height: 62px; }
  .tg-feat__icon svg { width: 36px; height: 36px; }
  .tg-feat__title { font-size: 15.5px; }
}

.tg-video .modal-content { background: #000; border: 0; border-radius: 12px; overflow: hidden; }
.tg-video__close { position: absolute; top: -40px; right: 0; z-index: 2; opacity: 1; }
.tg-video .ratio > iframe, .tg-video .ratio > video { width: 100%; height: 100%; border: 0; }

/* ---------- B2B teaser band ---------- */
.tg-b2b-band { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--tg-radius); background: var(--tg-peach); color: var(--tg-ink) !important; transition: transform .35s var(--tg-ease), box-shadow .35s; }
.tg-b2b-band:hover { transform: translateY(-3px); box-shadow: var(--tg-shadow); }
.tg-b2b-band__icon { flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--tg-orange); font-size: 22px; }
.tg-b2b-band__text { flex: 1; min-width: 0; }
.tg-b2b-band__text strong { display: block; font-family: var(--tg-display); font-size: 20px; }
.tg-b2b-band__text small { display: block; color: var(--tg-muted); font-size: 14px; }
.tg-b2b-band__btn { flex: 0 0 auto; }

/* ---------- "Have a question?" form ---------- */
.tg-ask { position: relative; overflow: hidden; margin-top: 72px; padding: 64px 0 72px; background: #fff; }
.tg-ask .container { position: relative; z-index: 1; max-width: 860px; }
.tg-ask__decor { position: absolute; left: 0; bottom: 0; width: clamp(140px, 22vw, 300px); height: auto; pointer-events: none; z-index: 0; }
.tg-ask__head { text-align: center; margin-bottom: 30px; }
.tg-ask__title { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 12px; }
.tg-ask__head p { max-width: 640px; margin: 0 auto; color: var(--tg-muted); line-height: 1.7; }
.tg-ask .form-control { border-radius: 2px; border: 1px solid #DCD9D3; background: #fff; padding: 12px 14px; font-size: 14px; }
.tg-ask .form-control:focus { border-color: var(--tg-orange); }
.tg-ask .form-check-label { font-size: 13px; color: var(--tg-muted); }
.tg-btn--square { border-radius: 2px; text-transform: uppercase; letter-spacing: .04em; padding: 12px 34px; }
/* honeypot */
.tg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* highlighted word on dark backgrounds: pink instead of taupe so it stays readable */
.tg-title--light em, .tg-cta h2 em { background: linear-gradient(90deg, #FBE3E8, #F3C9D3); -webkit-background-clip: text; background-clip: text; }

/* ---------- B2B page ---------- */
.tg-b2b { padding-top: 26px; }
.tg-b2b__hero { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: 28px; background: linear-gradient(120deg, var(--tg-peach), var(--tg-cream)); }
.tg-b2b__hero.has-image { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.tg-b2b__title { font-size: clamp(30px, 4vw, 50px); line-height: 1.05; margin: 0 0 14px; }
.tg-b2b__text { color: var(--tg-text); font-size: 15.5px; line-height: 1.75; margin: 0 0 18px; max-width: 560px; }
.tg-b2b__contact { display: flex; flex-wrap: wrap; gap: 10px; }
.tg-b2b__contact a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; color: var(--tg-ink); }
.tg-b2b__img { width: 100%; height: auto; border-radius: 20px; }
.tg-b2b__perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.tg-b2b__card { padding: clamp(22px, 4vw, 44px); border-radius: 28px; background: #fff; border: 1px solid var(--tg-line); margin-bottom: 40px; }
.tg-b2b__formtitle { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 6px; }
.tg-b2b__formsub { color: var(--tg-muted); margin: 0 0 22px; }
.tg-b2b .form-label { font-weight: 600; font-size: 14px; color: var(--tg-ink); }
@media (max-width: 991.98px) {
  .tg-about { grid-template-columns: 1fr; }
  .tg-about__media { order: -1; }
  .tg-about__media .tg-about__play { left: 50%; margin-left: -32px; }
  .tg-b2b__hero.has-image { grid-template-columns: 1fr; }
  .tg-b2b__perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .tg-b2b-band { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .tg-b2b-band__icon { width: 46px; height: 46px; font-size: 18px; }
  .tg-b2b-band__text strong { font-size: 17px; }
  .tg-b2b-band__btn { width: 100%; }
  .tg-ask { margin-top: 40px; padding: 44px 0 52px; }
  .tg-ask .form-control { font-size: 16px; }
  .tg-ask__decor { width: 110px; opacity: .5; }
  .tg-b2b__perks .tg-perk { flex-direction: column; align-items: flex-start; }
}

/* ---------- install app bar ---------- */
.tg-install {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 1060;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 12px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--tg-line);
  box-shadow: 0 24px 50px -18px rgba(43, 41, 37, .45);
  transform: translateY(150%);
  opacity: 0;
  transition: transform .45s var(--tg-ease), opacity .3s;
}
.tg-install[hidden] { display: none; }
.tg-install.is-open { transform: none; opacity: 1; }
.tg-install__icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--tg-line); }
.tg-install__text { flex: 1; min-width: 0; line-height: 1.3; }
.tg-install__text strong { display: block; font-family: var(--tg-display); font-size: 15.5px; color: var(--tg-ink); }
.tg-install__text small { display: block; font-size: 12.5px; color: var(--tg-muted); }
.tg-install__ios { display: none !important; }
.tg-install.is-ios .tg-install__ios { display: block !important; }
.tg-install.is-ios .tg-install__msg, .tg-install.is-ios .tg-install__btn { display: none; }
.tg-install__btn { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--tg-orange); color: #fff; font-weight: 700; font-size: 14px; }
.tg-install__btn:active { transform: scale(.96); }
.tg-install__close { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--tg-cream); color: var(--tg-muted); }
/* the PDP buy bar sits at the bottom too: lift the install bar above it */
body:has(.tg-pdp__sticky) .tg-install { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }

/* installed app (standalone): no browser chrome, respect the notch */
@media (display-mode: standalone) {
  .tg-header { padding-top: env(safe-area-inset-top, 0px); }
  .tg-install { display: none !important; }
}

/* ---------- tablets & phones ---------- */
@media (max-width: 991.98px) {
  .tg-header__inner { min-height: 84px; }
  .tg-logo img { height: 66px; }
  .tg-section { padding-top: 56px; }
  .tg-deals { margin-top: 56px; padding-bottom: 56px; }
  .tg-footer { margin-top: 56px; }
}

/* ---------- phones ---------- */
@media (max-width: 767.98px) {
  body.trng { font-size: 14.5px; }
  .trng .container, .trng .container-fluid { padding-left: 16px; padding-right: 16px; }

  /* ticker */
  .tg-ticker { font-size: 11px; letter-spacing: .06em; }
  .tg-ticker__track { gap: 18px; padding: 7px 0; animation-duration: 26s; }

  /* header: burger | logo | icons */
  .tg-header__inner { gap: 8px; min-height: 64px; }
  .tg-header.is-stuck .tg-header__inner { min-height: 58px; }
  .tg-logo { margin: 0 auto 0 0; }
  .tg-logo img { height: 50px; }
  .tg-header.is-stuck .tg-logo img { height: 42px; }
  .tg-logo:hover img { transform: none; }
  .tg-burger { width: 38px; margin-left: -6px; font-size: 19px; }
  .tg-actions { gap: 6px; margin-left: 0; }
  .tg-icon-btn, .tg-cart__btn { width: 40px; height: 40px; font-size: 15px; }
  .tg-cart__count { min-width: 19px; height: 19px; line-height: 15px; font-size: 10px; top: -4px; right: -4px; }
  .tg-header::after { height: 2px; }
  #tg-search-mobile .container { padding-bottom: 12px !important; }
  .tg-minicart { width: calc(100vw - 24px); }
  .tg-drawer { width: min(86vw, 340px) !important; }
  .tg-drawer__nav a, .tg-drawer__nav .tg-nav__link { font-size: 18px; padding: 13px 4px; }

  /* hero */
  .tg-hero__arrow { display: none; }
  .tg-hero__dots { bottom: 8px; gap: 6px; }
  .tg-hero__dots button { width: 18px; height: 4px; }
  .tg-hero__dots button.active { width: 30px; }

  /* orange band */
  .tg-band { transform: rotate(-1deg); margin: -4px -8px 0; }
  .tg-band__track { gap: 16px; padding: 10px 0; animation-duration: 22s; }
  .tg-band span { font-size: 18px; }
  .tg-band span.is-outline { -webkit-text-stroke: 1px #fff; }
  .tg-band b { font-size: 16px; }

  /* section headings */
  .tg-section { padding-top: 40px; }
  .tg-head { flex-direction: row; align-items: flex-end; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 18px; }
  .tg-kicker { font-size: 11px; margin-bottom: 6px; }
  .tg-kicker::before { width: 16px; }
  .tg-title { font-size: 28px; }
  .tg-link { font-size: 13.5px; }

  /* categories: one per row, the artwork carries the name so keep it big enough to read */
  .tg-cats { grid-template-columns: 1fr; gap: 14px; }
  .tg-cat { min-height: 0; border-radius: 18px; }
  .tg-cat:hover { transform: none; }

  /* product grid + cards */
  .tg-grid { gap: 12px; }
  .trng .product-thumb.tg-card { border-radius: 16px; }
  .trng .product-thumb.tg-card:hover { transform: none; box-shadow: 0 1px 0 var(--tg-line); }
  .tg-card__media { margin: 6px 6px 0; border-radius: 12px; }
  .tg-badge { top: 8px; left: 8px; padding: 4px 8px; font-size: 10px; }
  .tg-card__float { top: 6px; right: 6px; }
  .tg-card__fav { width: 32px; height: 32px; font-size: 13px; }
  .tg-card__quick { left: 6px; right: 6px; bottom: 6px; }
  .tg-card__add { padding: 8px 10px; font-size: 12px; }
  .tg-card__body { padding: 10px 10px 12px; gap: 2px; }
  .tg-card__name { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tg-card__price { flex-wrap: wrap; gap: 2px 6px; }
  .tg-card__price .price-new { font-size: 15.5px; }
  .tg-card__price .price-old { font-size: 12px; }
  .tg-card__compare { display: none; }
  .tg-deals { margin-top: 40px; padding-bottom: 40px; }
  .tg-deals .tg-section { padding-top: 40px; }

  /* perks: compact 2x2 */
  .tg-perks { gap: 10px; }
  .tg-perk { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 16px; }
  .tg-perk__icon { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
  .tg-perk strong { font-size: 14px; }
  .tg-perk small { font-size: 12px; }

  /* CTA */
  .tg-cta { border-radius: 22px; padding: 28px 20px; gap: 20px; }
  .tg-cta h2 { font-size: 26px; }
  .tg-cta .tg-btn { width: 100%; }
  .tg-cta__orb--a { width: 180px; height: 180px; }
  .tg-home > .tg-section:last-of-type, .tg-home > .container:last-child { padding-bottom: 40px; }

  /* footer */
  .tg-footer { margin-top: 40px; padding: 44px 0 calc(22px + env(safe-area-inset-bottom, 0px)); }
  .tg-footer__grid { gap: 26px 18px; }
  .tg-footer__logo { height: 72px; margin-bottom: 12px; }
  .tg-footer h5 { margin-bottom: 12px; font-size: 13.5px; }
  .tg-footer__bottom { flex-direction: column; margin-top: 32px; font-size: 12.5px; }
  .tg-footer__contact { flex-direction: column; gap: 8px; }
  .tg-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }

  /* inner pages */
  .trng .breadcrumb { display: flex; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; max-width: 100%; scrollbar-width: none; margin-bottom: 18px; }
  .trng .breadcrumb::-webkit-scrollbar { display: none; }
  .trng :is([id^="account-"], [id^="checkout-"], [id^="information-"], [id^="affiliate-"], #common-success, #error-not-found, #product-compare) #content { border-radius: 20px; padding: 20px 16px; }
  .trng #content .table > :not(caption) > * > * { padding: 10px; }
  .tg-pdp__tabs { margin-top: 36px; border-radius: 20px; }
  .tg-pdp__tabs .nav-tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  .tg-pdp__tabs .nav-tabs .nav-link { white-space: nowrap; padding: 8px 14px; }
  .tg-pdp__stage { border-radius: 20px; }
  .tg-pdp__buy { flex-wrap: wrap; }
  .tg-pdp__add { min-width: 0; }
  .tg-related { margin-top: 40px; }

  /* iOS zooms into inputs under 16px */
  .trng input.form-control, .trng select.form-select, .trng textarea.form-control, .tg-search__input { font-size: 16px; }
}

/* ---------- small phones (≤ 380px) ---------- */
@media (max-width: 380px) {
  .tg-logo img { height: 44px; }
  .tg-icon-btn, .tg-cart__btn { width: 36px; height: 36px; font-size: 14px; }
  .tg-actions { gap: 4px; }
  .tg-title { font-size: 25px; }
  .tg-card__add { font-size: 11px; padding: 7px 8px; }
  .tg-install__text small { font-size: 11.5px; }
  .tg-install__btn { padding: 9px 14px; }
}

/* ---------- respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .tg-js [data-reveal] { opacity: 1; transform: none; }
}
