:root {
  --ink: #06140f;
  --field: #0a1f16;
  --turf: #0f2e22;
  --leaf: #1db954;
  --lime: #b8f25a;
  --foam: #f4f7f2;
  --mist: #a8c4b5;
  --line: rgba(184, 242, 90, 0.18);
  --glow: rgba(29, 185, 84, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #06140f;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--foam);
  font-family: "Sora", system-ui, sans-serif;
  overflow-x: hidden;
  top: 0 !important;
}

body.translated-ltr,
body.translated-rtl {
  top: 0 !important;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.font-display {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.04em;
}

.bg-atmosphere {
  background-color: #06140f;
  background-image:
    radial-gradient(ellipse 900px 480px at 85% -5%, rgba(29, 185, 84, 0.2), transparent 70%),
    radial-gradient(ellipse 700px 420px at 0% 12%, rgba(184, 242, 90, 0.08), transparent 70%);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
}

.turf-grid {
  background-image:
    linear-gradient(rgba(184, 242, 90, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 242, 90, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 20, 15, 0.45) 0%, rgba(6, 20, 15, 0.78) 55%, rgba(6, 20, 15, 0.98) 100%),
    url("../img/herobg.jpg") center / cover no-repeat;
  transform: scale(1.05);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2%, -1%, 0); }
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-orb {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.45rem;
  background: url("../img/icon.png") center / contain no-repeat;
  box-shadow: 0 0 0 1px rgba(184, 242, 90, 0.22), 0 0 20px var(--glow);
  animation: orb-spin 10s linear infinite;
}

@keyframes orb-spin {
  to { transform: rotate(360deg); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), #7be05a 45%, var(--leaf));
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(29, 185, 84, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(29, 185, 84, 0.45);
  filter: brightness(1.05);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 247, 242, 0.22);
  color: var(--foam);
  text-decoration: none;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(184, 242, 90, 0.55);
  background: rgba(184, 242, 90, 0.08);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--line);
  background: rgba(15, 46, 34, 0.85);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.hero-screen .marquee {
  border-bottom: 0;
}

.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  padding: 0.75rem 0;
  animation: marquee 28s linear infinite;
}

@media (max-width: 767px) {
  .marquee-track {
    gap: 1.5rem;
    padding: 0.65rem 0;
  }

  .marquee-track span {
    font-size: 0.92rem;
  }
}

.marquee-track span {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--mist);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #0c1a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(184, 242, 90, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  outline: none;
}

.product-card:focus-visible {
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--lime), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.product-card-media {
  position: relative;
  width: 100%;
}

.product-card img,
.product-card-media,
.product-card .product-placeholder {
  pointer-events: none;
  user-select: none;
}

/* Badges sit on the image; keep clicks on the card */
.product-card-media .card-badge-on-media {
  pointer-events: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  background: #0d241b;
  transition: transform 0.45s ease;
  display: block;
}

.product-card:hover img {
  transform: scale(1.04);
}

/* CSS watermark layer — no canvas / no re-encode */
.wm-mark {
  position: relative;
}

.wm-mark::after {
  content: "@hydrasports.in";
  position: absolute;
  right: 0.65rem;
  bottom: 0.55rem;
  z-index: 3;
  font-size: clamp(0.62rem, 2.2vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  user-select: none;
}

.product-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.05;
  background:
    radial-gradient(circle at 50% 40%, rgba(184, 242, 90, 0.18), transparent 55%),
    linear-gradient(160deg, #0d241b, #07140f);
  color: var(--mist);
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.4rem;
}

/* Compact 2-column product cards on mobile */
@media (max-width: 1023px) {
  .product-card {
    border-radius: 1rem;
  }

  .product-card .p-4 {
    padding: 0.7rem !important;
  }

  .product-card h3 {
    font-size: 0.82rem !important;
    min-height: 2.2rem !important;
    line-height: 1.25 !important;
  }

  .product-card .price {
    font-size: 1.15rem;
  }

  .product-card .text-xs {
    font-size: 0.65rem;
  }

  .product-card .card-badge {
    font-size: 0.5rem;
    padding: 0.14rem 0.36rem;
    letter-spacing: 0.03em;
  }

  .product-placeholder {
    font-size: 1.05rem;
  }
}

@media (max-width: 767px) {
  .product-card:hover,
  .product-card:focus-visible {
    transform: none;
    box-shadow: none;
  }

  .product-card:hover img {
    transform: none;
  }
}

.price {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.55rem;
}

.price-mrp {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: 0.85;
}

.sheet-price.price-row,
.sheet-price .price-row {
  margin-top: 1rem;
}

.sheet-price .price {
  font-size: 1.7rem;
}

.sheet-price .price-mrp {
  font-size: 0.9rem;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
}

.stock-pill::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.2);
}

.stock-pill.out::before {
  background: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

/* Product card category + stock badges */
.card-badge {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.card-badge-on-media {
  position: absolute;
  z-index: 2;
  max-width: calc(100% - 1.1rem);
}

.card-badge-cat.card-badge-on-media {
  top: auto;
  bottom: 0.45rem;
  left: 0.45rem;
  max-width: min(72%, 11rem);
}

.card-badge-stock.card-badge-on-media {
  top: 0.45rem;
  right: 0.45rem;
  left: auto;
  max-width: 38%;
  flex-shrink: 0;
}

.card-badge-cat {
  color: #f4f7f2;
  background: rgba(6, 20, 15, 0.72);
}

.card-badge-stock {
  gap: 0.28rem;
}

.card-badge-stock::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.card-badge-stock.is-in {
  color: #86efac;
  background: rgba(6, 20, 15, 0.78);
  border-color: rgba(29, 185, 84, 0.4);
}

.card-badge-stock.is-in::before {
  background: var(--leaf);
  box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.25);
}

.card-badge-stock.is-out {
  color: #fca5a5;
  background: rgba(6, 20, 15, 0.78);
  border-color: rgba(248, 113, 113, 0.4);
}

.card-badge-stock.is-out::before {
  background: #f87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.25);
}

@media (min-width: 1024px) {
  .card-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.55rem;
  }

  .card-badge-cat.card-badge-on-media {
    top: auto;
    bottom: 0.65rem;
    left: 0.65rem;
    max-width: min(65%, 13rem);
  }

  .card-badge-stock.card-badge-on-media {
    top: 0.65rem;
    right: 0.65rem;
  }
}

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.float-cta .float-btn {
  pointer-events: auto;
}

.float-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.06);
}

.float-wa {
  background: #25d366;
  color: white;
}

.float-call {
  background: var(--foam);
  color: var(--ink);
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}

.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  max-height: min(88vh, 720px);
  overflow: auto;
  border-radius: 1.5rem 1.5rem 0 0;
  background: linear-gradient(180deg, #0f2a1e, #08160f 40%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
  padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  pointer-events: none;
  visibility: hidden;
}

.sheet.open {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.sheet-handle {
  display: block;
  width: 3rem;
  height: 0.3rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
}

/* Larger tap target around the thin handle bar */
.sheet-handle::before {
  content: "";
  position: absolute;
  inset: -14px -48px;
}

.sheet-drag-zone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.2rem 0 0.65rem;
  margin: 0 0 0.15rem;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.sheet-drag-zone:active {
  cursor: grabbing;
}

.sheet.is-dragging {
  transition: none !important;
}

.sheet-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 22, 15, 0.55);
  color: var(--foam);
  cursor: pointer;
}

.sheet-layout {
  display: flex;
  flex-direction: column;
}

.sheet-header {
  padding-right: 2.5rem;
}

.sheet-media {
  margin-top: 1rem;
}

.sheet-title {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.sheet-meta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--mist);
}

.sheet-price {
  margin-top: 1rem;
}

.sheet-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mist);
}

.sheet-desc p {
  margin: 0 0 0.55rem;
}

.sheet-desc p:last-child {
  margin-bottom: 0;
}

.sheet-desc ul,
.sheet-desc ol {
  margin: 0.35rem 0 0.55rem;
  padding-left: 1.2rem;
}

.sheet-desc li {
  margin: 0.28rem 0;
}

.sheet-desc li::marker {
  color: var(--volt, #b8f25a);
}

.sheet-desc strong,
.sheet-desc b {
  color: var(--foam, #f4fff8);
  font-weight: 650;
}

.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

#sheet-gallery {
  margin-top: 0.75rem;
}

#sheet-gallery img {
  object-fit: cover;
}

#sheet-image {
  position: relative;
}

#sheet-image .sheet-image-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: min(58vw, 20rem);
  min-height: 16rem;
  max-height: 22rem;
  padding: 0.35rem;
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(184, 242, 90, 0.08), transparent 55%),
    #0a1511;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.08);
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
}

#sheet-image .sheet-main-img,
#sheet-image .sheet-image-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  display: block;
}

#sheet-image .product-placeholder {
  border-radius: 1rem;
  height: min(58vw, 20rem);
  min-height: 16rem;
  max-height: 22rem;
  width: 100%;
}

#sheet-image .zoom-chip {
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  bottom: auto;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--foam);
  background: rgba(6, 20, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* Desktop sheet image frame */
@media (min-width: 768px) {
  #sheet-image {
    flex: 1;
    min-height: 0;
  }

  #sheet-image .sheet-image-frame {
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    border-radius: 1.15rem;
    padding: 0.5rem;
  }

  #sheet-image .sheet-main-img,
  #sheet-image .sheet-image-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  #sheet-image .product-placeholder {
    height: 100%;
    min-height: 280px;
    max-height: 420px;
  }

  #sheet-gallery {
    margin-top: 0.85rem;
  }

  #sheet-gallery img {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: cover;
  }
}

/* Zoom lightbox */
.zoom-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(4, 12, 9, 0.94);
  backdrop-filter: blur(6px);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.zoom-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zoom-lightbox[hidden] {
  display: none;
}

.zoom-lightbox.open[hidden] {
  display: grid;
}

.zoom-close {
  position: absolute;
  top: calc(0.85rem + env(safe-area-inset-top));
  right: 0.85rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 22, 15, 0.85);
  color: var(--foam);
  cursor: pointer;
}

.zoom-hint {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top));
  left: 1rem;
  right: 4rem;
  margin: 0;
  font-size: 0.72rem;
  color: var(--mist);
  pointer-events: none;
}

.zoom-stage {
  width: min(96vw, 920px);
  height: min(78vh, 780px);
  overflow: auto;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: zoom-in;
}

.zoom-img {
  max-width: 100%;
  max-height: min(78vh, 780px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.zoom-img.is-zoomed {
  max-width: none;
  max-height: none;
  width: 180%;
  cursor: zoom-out;
}

/* Desktop: centered modal, images left · details + order right */
@media (min-width: 768px) {
  .sheet {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(920px, calc(100vw - 3rem));
    max-height: min(86vh, 640px);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transform: translate(-50%, -46%) scale(0.96);
    opacity: 0;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  }

  .sheet.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .sheet-handle,
  .sheet-drag-zone {
    display: none;
  }

  .sheet-close {
    top: 1.1rem;
    right: 1.1rem;
  }

  .sheet-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "media header"
      "media details";
    gap: 0.35rem 1.5rem;
    align-items: stretch;
    height: 100%;
    max-height: calc(min(86vh, 640px) - 3rem);
  }

  .sheet-media {
    grid-area: media;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .sheet-header {
    grid-area: header;
    padding-right: 2.25rem;
  }

  .sheet-details {
    grid-area: details;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: auto;
    padding-right: 0.25rem;
  }

  .sheet-title {
    font-size: 1.55rem;
  }

  .sheet-price {
    margin-top: 0.85rem;
  }

  .sheet-desc {
    flex: 1;
  }

  .sheet-actions {
    margin-top: auto;
    padding-top: 1.25rem;
  }
}

.wholesale-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(184, 242, 90, 0.12), transparent 42%),
    linear-gradient(180deg, #0f2e22 0%, #071a12 55%, #06140f 100%);
}

.wholesale-glow {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 58%;
  height: 85%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(29, 185, 84, 0.32), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.wholesale-panel > .relative {
  position: relative;
  z-index: 1;
}

.wholesale-banner .btn-primary {
  box-shadow: 0 12px 36px rgba(29, 185, 84, 0.4);
}

/* Mobile: keep green frames / glows inside cards */
@media (max-width: 767px) {
  .wholesale-banner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .wholesale-panel {
    border-radius: 1.25rem;
    background:
      linear-gradient(160deg, rgba(184, 242, 90, 0.1), transparent 50%),
      linear-gradient(180deg, #0f2e22 0%, #071a12 60%, #06140f 100%);
  }

  .wholesale-glow {
    top: auto;
    bottom: -30%;
    right: -20%;
    left: auto;
    width: 70%;
    height: 55%;
    opacity: 0.7;
  }

  .wholesale-stats .rounded-2xl {
    border-radius: 1rem;
  }

  /* Order-flow green bordered cards */
  #order-flow li {
    border-radius: 1.15rem;
    padding: 1.15rem !important;
  }

  #order-flow .font-display.text-5xl {
    font-size: 2.4rem;
  }

  /* Soften oversized section glow washes on small screens */
  .absolute.inset-0.bg-gradient-to-br {
    opacity: 0.55;
  }

  #order-flow,
  #story,
  #about,
  #guides,
  #faq,
  #featured,
  #shop {
    background-color: transparent;
  }
}

.bat-pick-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.bat-pick-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.bat-pick-table th,
.bat-pick-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bat-pick-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(184, 242, 90, 0.08);
}

.bat-pick-table tbody tr:last-child td {
  border-bottom: 0;
}

.bat-pick-table tbody tr:hover td {
  background: rgba(184, 242, 90, 0.04);
}

.bat-pick-table .wt {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--lime);
  white-space: nowrap;
}

.bat-pick-note {
  border-left: 3px solid var(--lime);
  background: rgba(184, 242, 90, 0.08);
  border-radius: 0 1rem 1rem 0;
  padding: 1rem 1.15rem;
}

/* Google Translate widget — keep a single compact select in the nav */
.lang-switch {
  position: relative;
  width: 7.25rem;
  min-width: 7.25rem;
  max-width: 7.25rem;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-trigger {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f4f7f2;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  white-space: nowrap;
}

.lang-trigger:hover,
.lang-trigger:focus-visible {
  border-color: rgba(184, 242, 90, 0.55);
  color: #b8f25a;
  outline: none;
}

.lang-trigger:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Kill every Google chrome node except the language <select> */
.lang-switch.is-ready .lang-trigger,
.lang-switch .goog-te-gadget > span,
.lang-switch .goog-logo-link,
.lang-switch .goog-te-gadget a,
.lang-switch img,
.lang-switch .goog-te-gadget-icon,
.lang-switch .goog-te-gadget-simple,
.lang-switch .goog-te-menu-value,
#google_translate_element .goog-te-gadget-simple,
#google_translate_element .goog-te-gadget-icon {
  display: none !important;
}

.lang-switch .goog-te-gadget {
  font-family: "Sora", system-ui, sans-serif !important;
  font-size: 0 !important;
  color: transparent !important;
  line-height: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

.lang-switch .goog-te-gadget .goog-te-combo,
.lang-switch select.goog-te-combo {
  display: block !important;
  font-family: "Sora", system-ui, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #f4f7f2 !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  padding: 0.4rem 0.55rem !important;
  min-height: 2.25rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.lang-switch .goog-te-gadget .goog-te-combo:hover,
.lang-switch .goog-te-gadget .goog-te-combo:focus,
.lang-switch select.goog-te-combo:hover,
.lang-switch select.goog-te-combo:focus {
  border-color: rgba(184, 242, 90, 0.55) !important;
  background-color: rgba(184, 242, 90, 0.1) !important;
}

.lang-switch .goog-te-gadget .goog-te-combo option,
.lang-switch select.goog-te-combo option {
  background: #0a1f16 !important;
  color: #f4f7f2 !important;
}

/* Nav links must not wrap when Google injects <font> tags */
#site-nav nav {
  flex-wrap: nowrap;
  min-width: 0;
}

#site-nav .nav-link {
  white-space: nowrap;
  flex-shrink: 0;
}

#site-nav font {
  vertical-align: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}

.skiptranslate iframe.goog-te-banner-frame,
body > .skiptranslate,
.goog-te-spinner-pos {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* Keep translate dropdown clickable; kill leftover full-page frames */
iframe[id*=":1.container"],
iframe.goog-te-menu-frame {
  max-width: 100vw;
}

#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-ORHb,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
  display: none !important;
  pointer-events: none !important;
}

.nav-blur {
  background: rgba(6, 20, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-num {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.5rem, 10vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #fff, var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.65rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: rgba(184, 242, 90, 0.1);
  border: 1px solid rgba(184, 242, 90, 0.2);
  color: var(--lime);
}

.swing {
  animation: swing 3.8s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes swing {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(184, 242, 90, 0.45);
  animation: pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0; }
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 1.25rem;
  min-height: 18rem;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.mobile-dock {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 1.25rem;
  background: rgba(8, 22, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.mobile-dock.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

@media (min-width: 768px) {
  .mobile-dock {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
}

body.has-dock {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  body.has-dock.dock-visible {
    padding-bottom: 5.5rem;
  }
}

.gallery-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.gallery-strip::-webkit-scrollbar {
  height: 0;
}

.gallery-strip img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.75rem;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.gallery-strip img.active {
  border-color: var(--lime);
}

.bat-svg {
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

/* ——— Page loader (lightweight) ——— */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #080e0e;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(20, 48, 36, 0.9), transparent 70%),
    radial-gradient(ellipse 80% 70% at 50% 50%, #0c1614, #080e0e 75%);
  pointer-events: none;
}

.loader-mark {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.loader-orb {
  width: 3.25rem;
  height: 3.25rem;
  animation: loader-pulse 1s ease-in-out infinite;
}

@keyframes loader-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.loader-label {
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(168, 196, 181, 0.85);
}

body.is-loading {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .loader-orb {
    animation: none;
  }
}

/* Hydra scroll flame — left edge, follows scroll */
.scroll-flame {
  position: fixed;
  left: 0;
  top: 0;
  width: 72px;
  height: 100vh;
  height: 100dvh;
  z-index: 40;
  pointer-events: none;
  opacity: 0.9;
  mix-blend-mode: screen;
}

@media (min-width: 768px) {
  .scroll-flame {
    width: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-flame {
    display: none !important;
  }
}

/* ——— Interest popup (Google Sheets) ——— */
.interest-popup {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: end center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.interest-popup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.interest-popup[hidden] {
  display: none;
}

.interest-popup.open[hidden] {
  display: grid;
}

.interest-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 9, 0.62);
  backdrop-filter: blur(4px);
}

.interest-card {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  margin-bottom: 0.25rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #123226, #0a1a13 55%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(18px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.interest-popup.open .interest-card {
  transform: translateY(0);
}

.interest-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 22, 15, 0.55);
  color: var(--foam);
  cursor: pointer;
}

.interest-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.interest-title {
  margin: 0.45rem 0 0;
  padding-right: 2rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.7rem, 6vw, 2.1rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: #fff;
}

.interest-subtitle {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--mist);
}

.interest-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.interest-field {
  display: grid;
  gap: 0.3rem;
}

.interest-field span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}

.interest-field input,
.interest-field select {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.interest-field input:focus,
.interest-field select:focus {
  border-color: rgba(184, 242, 90, 0.55);
}

.interest-field select option {
  background: #0a1f16;
  color: #fff;
}

.interest-submit {
  width: 100%;
  margin-top: 0.2rem;
  justify-content: center;
}

.interest-status {
  margin: 0;
  min-height: 1.1rem;
  font-size: 0.78rem;
  color: var(--mist);
  text-align: center;
}

.interest-status.is-ok {
  color: var(--lime);
}

.interest-status.is-err {
  color: #ffb4b4;
}

@media (min-width: 768px) {
  .interest-popup {
    place-items: center;
  }
}
