/* TANKZONE_UNIFIED_LUXURY_STOREFRONT_AND_SWEATPANTS_V28 */

:root {
  --tz28-black: #080808;
  --tz28-ink: #111111;
  --tz28-muted: #6e6e69;
  --tz28-paper: #f3f2ee;
  --tz28-card: #ffffff;
  --tz28-soft: #e8e7e1;
  --tz28-red: #ed1c24;
  --tz28-radius-xl: 28px;
  --tz28-radius-lg: 22px;
  --tz28-radius-md: 14px;
  --tz28-shadow: 0 20px 60px rgba(8, 8, 8, .09);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--tz28-paper);
}

.shell {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

/* One polished header language on every viewport. */
.announcement {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: var(--tz28-red);
  color: #fff;
  font-weight: 800;
  letter-spacing: .015em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(8, 8, 8, .92) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .10);
}

.site-header .header-inner {
  min-height: 74px;
}

.site-header .brand {
  gap: 11px;
  letter-spacing: .12em;
}

.site-header .brand img {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28));
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  text-decoration: none;
}

.desktop-nav a {
  padding-block: 27px 24px;
  color: rgba(255, 255, 255, .72);
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 50%;
  bottom: 18px;
  height: 2px;
  background: var(--tz28-red);
  transition: inset-inline 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after {
  inset-inline: 0;
}

.header-icon-link,
.icon-button {
  border-radius: 50%;
  transition: background-color 180ms ease, transform 180ms ease;
}

.header-icon-link:hover,
.header-icon-link:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, .10);
  transform: translateY(-1px);
}

/* Home hero: one component system, responsively composed. */
.tz-home-hero {
  overflow: hidden;
  background: var(--tz28-black) !important;
}

.tz-home-hero .hero-grid {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    radial-gradient(circle at 16% 16%, rgba(237, 28, 36, .13), transparent 30%),
    linear-gradient(135deg, #111 0%, #080808 62%, #121212 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
}

.tz-home-hero .hero-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent 82%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent 82%);
}

.tz-home-hero .hero-copy {
  position: relative;
  z-index: 2;
}

.tz-home-hero .tz-gym-tanks-kicker,
.tz-home-hero .tz-heavy-eyebrow {
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tz-home-hero .tz-gym-tanks-kicker {
  color: rgba(255, 255, 255, .60);
}

.tz-home-hero .tz-heavy-eyebrow {
  color: var(--tz28-red);
}

.tz-home-hero .hero-copy h1 {
  max-width: 720px;
  text-wrap: balance;
  letter-spacing: -.045em;
}

.tz-home-hero .tz-gym-tanks-description {
  max-width: 590px;
  color: rgba(255, 255, 255, .70);
  line-height: 1.85;
}

.tz-gym-tanks-primary,
.tz-gym-tanks-track,
.button,
.tank-pack-home-action {
  border-radius: var(--tz28-radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.tz-gym-tanks-primary:hover,
.tz-gym-tanks-primary:focus-visible,
.tz-gym-tanks-track:hover,
.tz-gym-tanks-track:focus-visible,
.button:hover,
.button:focus-visible,
.tank-pack-home-action:hover,
.tank-pack-home-action:focus-visible {
  transform: translateY(-2px);
}

.tz-gym-tanks-primary {
  box-shadow: 0 12px 28px rgba(237, 28, 36, .22);
}

.tz-home-hero .hero-actions {
  display: none !important;
}

.tz-home-hero .tz-hero-original-rewards {
  display: none !important;
}

.tz-home-hero .tz-hero-rewards-compact {
  width: 100%;
  max-width: 520px;
  min-height: 72px;
  display: flex !important;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--tz28-radius-md);
  background: linear-gradient(110deg, rgba(237, 28, 36, .14), rgba(255, 255, 255, .045));
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.tz-home-hero .tz-hero-rewards-compact:hover,
.tz-home-hero .tz-hero-rewards-compact:focus-visible {
  border-color: rgba(237, 28, 36, .70);
  background: linear-gradient(110deg, rgba(237, 28, 36, .21), rgba(255, 255, 255, .06));
  transform: translateY(-2px);
}

.tz-hero-rewards-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  font-size: 20px;
}

.tz-hero-rewards-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
}

.tz-hero-rewards-copy strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.tz-hero-rewards-copy > span {
  overflow: hidden;
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tz-hero-rewards-arrow {
  color: var(--tz28-red);
  font-size: 20px;
}

/* Product discovery uses the same cards and rhythm everywhere. */
.featured-section {
  padding: 78px 0 92px !important;
  background: var(--tz28-paper) !important;
}

.section-heading {
  margin-bottom: 38px !important;
}

.section-heading h2 {
  letter-spacing: -.035em;
  text-wrap: balance;
}

.product-grid {
  gap: 24px 18px !important;
}

.product-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(8, 8, 8, .08);
  border-radius: var(--tz28-radius-lg);
  background: var(--tz28-card) !important;
  box-shadow: 0 8px 26px rgba(8, 8, 8, .055);
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(8, 8, 8, .14);
  box-shadow: var(--tz28-shadow);
}

.product-card-image {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--tz28-radius-lg) - 1px) calc(var(--tz28-radius-lg) - 1px) 0 0 !important;
  background: linear-gradient(145deg, #f1f1ee, #e6e6e1) !important;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.2, .7, .2, 1);
}

.product-card:hover .product-card-image img,
.product-card:focus-within .product-card-image img {
  transform: scale(1.025);
}

.product-card-copy {
  padding: 18px 18px 20px !important;
}

.product-category {
  color: var(--tz28-red) !important;
  font-weight: 800;
  letter-spacing: .02em;
}

.product-card h3 {
  min-height: 2.8em;
  margin-top: 5px;
  line-height: 1.4;
}

.product-card-meta {
  padding-top: 12px;
  border-top: 1px solid rgba(8, 8, 8, .075);
}

.round-arrow {
  border-radius: 50%;
}

.product-card-split-actions {
  gap: 8px !important;
  margin-top: 14px !important;
}

.product-card-cart-button {
  min-height: 46px;
  border-radius: 12px !important;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.product-card-cart-button:hover,
.product-card-cart-button:focus-visible {
  transform: translateY(-1px);
}

.product-card-cart-buy {
  box-shadow: 0 9px 20px rgba(8, 8, 8, .10);
}

/* Catalog and category pages. */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background:
    radial-gradient(circle at 15% 20%, rgba(237, 28, 36, .18), transparent 32%),
    var(--tz28-black) !important;
}

.compact-page-hero {
  padding-block: 72px !important;
}

.catalog-section {
  padding-block: 54px 92px !important;
}

.catalog-toolbar {
  gap: 18px;
  margin-bottom: 38px;
  padding: 14px;
  border: 1px solid rgba(8, 8, 8, .08);
  border-radius: var(--tz28-radius-lg);
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 8, 8, .045);
}

.category-pills {
  scrollbar-width: thin;
}

.category-pills .pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  white-space: nowrap;
}

.category-pills .pill.active,
.category-pills .pill[aria-current="page"] {
  border-color: var(--tz28-black);
  background: var(--tz28-black);
  color: #fff;
}

.search-box input,
.search-box button {
  min-height: 46px;
  border-radius: 12px;
}

/* Premium full-width stories become a consistent set of dark cards. */
.tz-home-reviews,
.tz-home-tankpack,
.tz-home-affiliate,
.brand-manifesto {
  width: min(1240px, calc(100% - 48px));
  margin: 24px auto 0 !important;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--tz28-radius-xl);
  background:
    radial-gradient(circle at 12% 15%, rgba(237, 28, 36, .10), transparent 28%),
    var(--tz28-black) !important;
  box-shadow: 0 24px 70px rgba(8, 8, 8, .12);
}

.tz-home-reviews {
  padding: clamp(54px, 6vw, 78px) clamp(24px, 7vw, 88px) !important;
}

.tz-home-tankpack {
  padding: clamp(54px, 7vw, 86px) clamp(24px, 7vw, 88px) !important;
}

.tz-home-affiliate,
.brand-manifesto {
  padding-block: clamp(64px, 8vw, 94px) !important;
}

.tz-home-tankpack h2,
.tz-home-affiliate h2,
.brand-manifesto h2,
.tz-home-reviews h2 {
  letter-spacing: -.035em;
  text-wrap: balance;
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: var(--tz28-black) !important;
}

/* Clear active-category affordance, including the new Sweatpants section. */
.desktop-nav a.tz28-current-link,
.mobile-nav a.tz28-current-link {
  color: #fff;
}

.mobile-nav a.tz28-current-link {
  border-inline-start-color: var(--tz28-red);
  background: rgba(237, 28, 36, .09);
}

/* Desktop composition: spacious but no longer oversized. */
@media (min-width: 901px) {
  .site-header .header-inner {
    grid-template-columns: minmax(165px, 200px) minmax(0, 1fr) minmax(185px, 205px) !important;
    gap: 16px !important;
  }

  .desktop-nav {
    justify-content: center;
    gap: clamp(14px, 1.65vw, 26px) !important;
    font-size: clamp(11px, .93vw, 12.5px) !important;
  }

  .tz-home-hero {
    padding: 24px 0 34px !important;
  }

  .tz-home-hero .hero-grid {
    min-height: 620px !important;
    height: auto !important;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr) !important;
    border-radius: var(--tz28-radius-xl);
    overflow: hidden;
  }

  [dir="rtl"] .tz-home-hero .hero-grid {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr) !important;
  }

  .tz-home-hero .hero-copy {
    min-height: 620px !important;
    justify-content: center;
    padding: 66px clamp(44px, 5.5vw, 78px) !important;
  }

  .tz-home-hero .hero-copy h1 {
    font-size: clamp(52px, 5.35vw, 72px) !important;
    line-height: 1.04 !important;
  }

  .tz-home-hero .tz-gym-tanks-description {
    font-size: 14px !important;
  }

  .tz-home-hero .tz-hero-large-media {
    min-height: 620px !important;
    height: 620px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .075), transparent 55%);
  }

  .tz-home-hero .hero-products-image {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 82% !important;
    max-height: 570px !important;
    margin: auto !important;
    transform: none !important;
    object-fit: contain !important;
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, .42));
  }

  .tz-home-hero .hero-word {
    font-size: clamp(150px, 15vw, 205px) !important;
    color: rgba(255, 255, 255, .045) !important;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Tablet and phone use the same compact hierarchy. */
@media (max-width: 900px) {
  .shell {
    width: min(760px, calc(100% - 24px));
  }

  .tz-home-hero {
    padding: 12px 0 18px !important;
  }

  .tz-home-hero .hero-grid {
    width: min(760px, calc(100% - 24px)) !important;
    min-height: 0 !important;
    height: auto !important;
    margin-inline: auto !important;
    border-radius: var(--tz28-radius-lg);
    overflow: hidden;
  }

  .tz-home-hero .hero-copy {
    width: 100% !important;
    min-height: 0 !important;
    padding: 38px 22px 24px !important;
  }

  .tz-home-hero .hero-copy h1 {
    font-size: clamp(38px, 10vw, 58px) !important;
    line-height: 1.06 !important;
  }

  .tz-home-hero .tz-hero-large-media {
    display: none !important;
  }

  .tz-home-hero .tz-hero-rewards-compact {
    max-width: none;
  }

  .tz-home-reviews,
  .tz-home-tankpack,
  .tz-home-affiliate,
  .brand-manifesto {
    width: min(760px, calc(100% - 24px));
    border-radius: var(--tz28-radius-lg);
  }
}

@media (min-width: 769px) and (max-width: 1019px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .announcement {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
  }

  .site-header .header-inner {
    min-height: 66px;
  }

  .mobile-nav {
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: rgba(8, 8, 8, .985) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  }

  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-inline-start: 3px solid transparent;
  }

  .featured-section {
    padding: 50px 0 60px !important;
  }

  .section-heading {
    margin-bottom: 26px !important;
  }

  .product-grid {
    gap: 12px 10px !important;
  }

  .product-card {
    border-radius: 15px;
  }

  .product-card-image {
    border-radius: 14px 14px 0 0 !important;
  }

  .product-card-copy {
    padding: 12px 11px 13px !important;
  }

  .product-card h3 {
    min-height: 2.8em;
    font-size: 12px;
  }

  .product-card-split-actions {
    gap: 6px !important;
    margin-top: 10px !important;
  }

  .product-card-cart-button {
    min-height: 42px;
    padding-inline: 5px !important;
    border-radius: 10px !important;
    font-size: 10px !important;
  }

  .compact-page-hero {
    padding-block: 48px !important;
  }

  .catalog-section {
    padding-block: 30px 62px !important;
  }

  .catalog-toolbar {
    padding: 10px;
    border-radius: 16px;
  }

  .category-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 3px;
  }

  .category-pills .pill {
    flex: 0 0 auto;
    min-height: 40px;
  }

  .tz-home-reviews,
  .tz-home-tankpack,
  .tz-home-affiliate,
  .brand-manifesto {
    margin-top: 14px !important;
  }

  .tz-home-reviews {
    padding: 42px 18px !important;
  }

  .tz-home-tankpack {
    padding: 42px 20px !important;
  }

  .site-footer {
    margin-top: 14px;
  }
}

@media (max-width: 390px) {
  .tz-home-hero .hero-copy {
    padding-inline: 18px !important;
  }

  .tz-gym-tanks-actions {
    gap: 8px !important;
  }

  .tz-gym-tanks-primary,
  .tz-gym-tanks-track {
    padding-inline: 13px !important;
  }

  .tz-hero-rewards-copy > span {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* TANKZONE_HERO_IMAGE_POSITION_FIX_V28_1 */

/*
 * The legacy hero rule leaves physical top/left offsets on desktop. Their
 * resolved values differ between rtl and ltr. An ID-qualified rule wins that
 * cascade safely and lets the existing flex container center the image.
 */
@media (min-width: 901px) {
  html body .tz-home-hero #hero-visual-mobile-fix {
    align-items: center !important;
    justify-content: center !important;
  }

  html body .tz-home-hero #hero-products-image-mobile-fix {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: block !important;
    flex: 0 1 auto !important;
    align-self: center !important;

    width: 456px !important;
    min-width: 0 !important;
    max-width: 82% !important;
    height: auto !important;
    max-height: 570px !important;
    margin: 0 !important;

    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;

    object-fit: contain !important;
    object-position: center !important;
  }
}
