:root {
  --inv-red-primary: var(--theme-secondary);
  --inv-red-primary-rgb: var(--theme-secondary-rgb);
  --inv-hero-accent: var(--theme-primary);
  --inv-hero-accent-rgb: var(--theme-primary-rgb);
  --inv-hero-accent-light: var(--theme-primary);
  --inv-hero-page: var(--theme-background);
  --inv-hero-surface: var(--theme-surface);
  --inv-hero-border: rgba(var(--theme-border-tint-rgb), .09);
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, sans-serif;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--inv-hero-accent) var(--inv-hero-page);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--inv-hero-page);
}

*::-webkit-scrollbar-thumb {
  min-height: 42px;
  border: 3px solid var(--inv-hero-page);
  border-radius: 999px;
  background: var(--inv-hero-accent);
  box-shadow: inset 0 0 0 1px rgba(var(--theme-glass-tint-rgb), .16);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--inv-hero-accent-light);
}

@keyframes inv-hero-enter {
  from {
    opacity: .96;
    transform: translate3d(0, 22px, 0) scale(.99);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.inv-scroll-reveal-ready [data-inv-reveal] {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(0, 22px, 0) scale(.992);
    transition:
      opacity .68s cubic-bezier(.22, 1, .36, 1),
      filter .68s cubic-bezier(.22, 1, .36, 1),
      transform .76s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--inv-reveal-delay, 0ms);
    will-change: opacity, filter, transform;
  }

  html.inv-scroll-reveal-ready [data-inv-reveal].is-visible {
    opacity: 1;
    filter: blur(0);
    transform: none;
    will-change: auto;
  }

  .dmaexpert-merged-snippet .inv-hero-in,
  .dmaexpert-merged-snippet .inv-notice {
    animation: inv-hero-enter .78s cubic-bezier(.22, 1, .36, 1) both;
    will-change: transform;
  }

  html:not(.inv-shell-ready) .dmaexpert-merged-snippet .inv-hero-in,
  html:not(.inv-shell-ready) .dmaexpert-merged-snippet .inv-notice {
    animation-play-state: paused;
  }

  .dmaexpert-merged-snippet .inv-hero-bg,
  .dmaexpert-merged-snippet .inv-hero-cyber,
  .dmaexpert-merged-snippet .inv-hero-tint,
  .dmaexpert-merged-snippet .inv-hero-fade,
  .dmaexpert-merged-snippet .inv-hero-bottom-fade {
    animation: none !important;
  }

  .dmaexpert-merged-snippet .inv-scroll-cta,
  .dmaexpert-merged-snippet .inv-notice-btn {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(.98);
    transition: opacity .58s cubic-bezier(.22, 1, .36, 1), transform .58s cubic-bezier(.22, 1, .36, 1);
  }

  .dmaexpert-merged-snippet .inv-scroll-cta.is-visible,
  .dmaexpert-merged-snippet .inv-notice-btn.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .dmaexpert-merged-snippet .inv-notice-btn {
    position: relative;
    top: 3px;
  }

  .dmaexpert-merged-snippet .inv-scroll-cta.is-visible:hover,
  .dmaexpert-merged-snippet .inv-notice-btn.is-visible:hover {
    transform: translate3d(0, -1px, 0) scale(1);
  }

  .inv-categories-page.inv-animation-ready .nexup-category-card {
    opacity: 0;
    filter: blur(4px);
    transform: translate3d(0, 18px, 0) scale(.975);
    transition: opacity .58s cubic-bezier(.22, 1, .36, 1) var(--category-delay, 0ms), filter .58s cubic-bezier(.22, 1, .36, 1) var(--category-delay, 0ms), transform .58s cubic-bezier(.22, 1, .36, 1) var(--category-delay, 0ms);
  }

  .inv-categories-page.inv-animation-ready .nexup-category-card.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

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

  .dmaexpert-merged-snippet .inv-scroll-cta,
  .dmaexpert-merged-snippet .inv-notice-btn,
  .dmaexpert-merged-snippet .inv-hero-in,
  .dmaexpert-merged-snippet .inv-notice,
  [data-inv-reveal],
  .inv-categories-page .nexup-category-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* Keep the delivery CTA aligned three pixels lower in every motion mode. */
.dmaexpert-merged-snippet .inv-notice-btn {
  position: relative;
  top: 3px;
}

.inv-categories-page {
  --cat-accent: var(--inv-hero-accent);
  --cat-accent-rgb: var(--inv-hero-accent-rgb);
  --cat-accent-light: var(--inv-hero-accent-light);
  --cat-page: var(--inv-hero-page);
  --cat-surface: var(--inv-hero-surface);
  --cat-border: var(--inv-hero-border);
  width: 100% !important;
  max-width: 1440px !important;
  margin-top: -40px;
  padding: 10px 12px 54px;
  color: var(--theme-text-primary);
}

.inv-categories-page .inv-products-frame {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(var(--theme-border-tint-rgb), .075);
  border-radius: 15px;
  background: var(--theme-surface-soft);
  box-shadow: inset 0 1px 0 rgba(var(--theme-glass-tint-rgb), .018), 0 18px 44px rgba(var(--theme-shadow-rgb), .11);
}


.inv-categories-page .inv-section-heading {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
}

.inv-categories-page .inv-section-title {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}

.inv-categories-page .inv-section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--theme-text-primary);
  font-size: 24.8px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
}

.inv-categories-page .inv-section-title h2::before {
  width: 4px;
  height: 27px;
  flex: 0 0 4px;
  border-radius: 99px;
  background: var(--cat-accent);
  box-shadow: 0 0 14px rgba(var(--cat-accent-rgb), .38);
  content: "";
}

.inv-categories-page .inv-section-subtitle {
  max-width: 720px;
  margin: 12px 0 0 15px;
  color: rgba(var(--theme-text-primary-rgb), .5);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.inv-categories-page .inv-panel {
  position: relative;
  z-index: 1;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.inv-categories-page .inv-panel-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0 16px;
  border-bottom: 1px solid rgba(var(--theme-border-tint-rgb), .06);
}

.inv-categories-page .inv-filter-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--cat-accent) var(--theme-surface-card);
}

.inv-categories-page .inv-filter-scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.inv-categories-page .inv-filter-scroll::-webkit-scrollbar-track {
  background: var(--theme-surface-card);
}

.inv-categories-page .inv-filter-scroll::-webkit-scrollbar-thumb {
  min-height: 0;
  border: 0;
  border-radius: 999px;
  background: var(--cat-accent);
  box-shadow: none;
}

.inv-categories-page .inv-filter-btn {
  display: inline-flex;
  min-width: 40px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: rgba(var(--theme-surface-card-rgb), .86);
  color: rgba(var(--theme-text-primary-rgb), .68);
  cursor: pointer;
  font: 800 .72rem/1 'Inter', sans-serif;
  letter-spacing: .65px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.inv-categories-page .inv-filter-btn:first-child {
  min-width: auto;
  padding-inline: 16px;
}

.inv-categories-page .inv-filter-btn:hover:not(:disabled) {
  background: rgba(var(--cat-accent-rgb), .14);
  color: var(--theme-text-primary);
  transform: translateY(-1px);
}

.inv-categories-page .inv-filter-btn.is-active {
  background: linear-gradient(135deg, var(--theme-secondary) 0%, var(--cat-accent) 58%, var(--theme-primary) 100%);
  color: var(--theme-text-primary);
}

.inv-categories-page .inv-filter-btn:disabled {
  cursor: not-allowed;
  opacity: .3;
}

.inv-categories-page .inv-filter-btn[hidden] {
  display: none !important;
}

.inv-categories-page .inv-filter-count {
  display: inline-flex;
  min-height: 36px;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(var(--theme-border-tint-rgb), .06);
  border-radius: 999px;
  background: rgba(var(--theme-glass-tint-rgb), .025);
  color: rgba(var(--theme-text-primary-rgb), .58);
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}

.inv-categories-page .inv-panel-body {
  padding: 18px 12px 0;
}

.inv-categories-page .nexup-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inv-categories-page .nexup-category-card[hidden] {
  display: none !important;
}

.inv-categories-page .nexup-category-card > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 12 / 5;
  border-radius: 10px;
  border: 2px solid rgba(var(--theme-border-tint-rgb), .08);
  background: rgba(var(--theme-glass-tint-rgb), .035);
  box-shadow: none;
  isolation: isolate;
  text-decoration: none;
  transition: transform 380ms cubic-bezier(.33, 1, .68, 1), box-shadow 380ms cubic-bezier(.33, 1, .68, 1), border-color 380ms cubic-bezier(.33, 1, .68, 1), background-color 380ms cubic-bezier(.33, 1, .68, 1);
}

.inv-categories-page .nexup-category-card > a:hover,
.inv-categories-page .nexup-category-card > a:focus-visible {
  border-color: rgba(var(--cat-accent-rgb), .75);
  box-shadow: 0 12px 28px rgba(var(--theme-shadow-rgb), .4), 0 12px 34px rgba(var(--cat-accent-rgb), .16);
  transform: translateY(-8px) scale(1.02);
  transition-duration: 500ms;
}

.inv-categories-page .nexup-category-image {
  position: absolute;
  inset: 0;
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: inherit;
  background: var(--theme-background);
}

.inv-categories-page .nexup-category-image::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 12% 120%, rgba(var(--cat-accent-rgb), .42), transparent 55%), linear-gradient(to top, rgba(var(--theme-overlay-rgb), .55), transparent 45%);
  content: "";
  pointer-events: none;
}

.inv-categories-page .nexup-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform .3s ease, filter .3s ease;
}

.inv-categories-page .nexup-category-card > a:hover img {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.inv-categories-page .nexup-category-placeholder {
  color: #5d6474;
  font-size: 38px;
}

.inv-categories-page .nexup-category-name {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: inline-block;
  max-width: calc(100% - 24px);
  height: 29px;
  overflow: hidden;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--theme-border-tint-rgb), .06);
  background: rgba(var(--theme-surface-deep-rgb), .72);
  box-shadow: 0 4px 14px rgba(var(--theme-shadow-rgb), .45);
  backdrop-filter: blur(6px);
  color: var(--theme-text-primary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .6px;
  line-height: 27px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .34s cubic-bezier(.22, 1, .36, 1), transform .34s cubic-bezier(.22, 1, .36, 1), background .2s ease;
}

.inv-categories-page .nexup-category-card > a:hover .nexup-category-name {
  opacity: 0;
  transform: translateY(10px);
}

.inv-categories-page .nexup-category-starting {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  max-width: calc(100% - 24px);
  min-height: 31px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 118, .34);
  border-radius: 999px;
  background: rgba(var(--theme-surface-deep-rgb), .72);
  box-shadow: 0 4px 12px rgba(var(--theme-shadow-rgb), .28);
  backdrop-filter: blur(7px);
  color: var(--theme-text-primary);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 31px;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(18px);
  transition: opacity .38s cubic-bezier(.22, 1, .36, 1), transform .38s cubic-bezier(.22, 1, .36, 1);
  white-space: nowrap;
}

.inv-categories-page .nexup-category-starting > span {
  padding: 0 10px 0 12px;
}

.inv-categories-page .nexup-category-starting > strong {
  display: inline-flex;
  align-items: center;
  padding: 0 11px 0 9px;
  background: rgba(0, 230, 118, .38);
  color: #52ff9b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  text-shadow: 0 1px 2px rgba(var(--theme-surface-deep-rgb), .35);
}

.inv-categories-page .nexup-category-starting > strong:empty {
  display: none;
}

.inv-categories-page .nexup-category-card.has-category-price > a:hover .nexup-category-starting,
.inv-categories-page .nexup-category-card.has-category-price > a:focus-visible .nexup-category-starting {
  opacity: 1;
  transform: translateY(0);
}

.inv-categories-page .nexup-category-empty {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 35px;
  color: rgba(var(--theme-text-primary-rgb), .45);
  text-align: center;
}

.inv-categories-page .nexup-category-empty[hidden] {
  display: none !important;
}

.inv-categories-page .nexup-category-empty > i {
  margin-bottom: 15px;
  color: var(--cat-accent);
  font-size: 32px;
}

.inv-categories-page .nexup-category-empty strong {
  color: var(--theme-text-primary);
  font-size: 20px;
}

.inv-categories-page .nexup-category-empty span {
  margin-top: 8px;
  font-size: 13px;
}

@keyframes inv-category-gradient {
  0% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@keyframes inv-card-sheen {
  0% { transform: translateX(-120%); opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@media (max-width: 1100px) {
  .inv-categories-page .nexup-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .inv-categories-page {
    padding: 10px 16px 54px;
  }

  .inv-categories-page .inv-products-frame {
    padding: 18px;
    border-radius: 14px;
  }

  .inv-categories-page .inv-panel-tools {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 14px;
  }

  .inv-categories-page .inv-panel-body {
    padding-top: 16px;
  }

  .inv-categories-page .nexup-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .inv-categories-page {
    padding-right: 16px;
    padding-left: 16px;
  }

  .inv-categories-page .inv-products-frame {
    padding: 14px;
    border-radius: 13px;
  }

  .inv-categories-page .nexup-category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Mobile catalog filters */
@media (max-width: 767.98px) {
  .inv-categories-page .inv-panel-tools {display:flex;min-width:0;flex-direction:column;align-items:stretch;gap:11px;overflow:visible}
  .inv-categories-page .inv-filter-scroll {display:flex;width:100%;min-width:0;max-width:100%;flex:0 0 auto;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 0 9px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;touch-action:pan-x;scroll-snap-type:x proximity}
  .inv-categories-page .inv-filter-scroll::-webkit-scrollbar {display:none}
  .inv-categories-page .inv-filter-btn {flex:0 0 auto;min-width:42px;min-height:40px;scroll-snap-align:start}
  .inv-categories-page .inv-filter-btn.is-active {background:var(--cat-accent);color:var(--theme-text-primary);box-shadow:none}
  .inv-categories-page .inv-filter-count {align-self:flex-start}
}
