.inventory-page {
  --inventory-panel-bg: rgba(10, 16, 12, 0.82);
  --inventory-panel-border: rgba(212, 255, 95, 0.16);
  --inventory-panel-border-strong: rgba(212, 255, 95, 0.28);
  --inventory-panel-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --inventory-card-glow: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(212, 255, 95, 0.16), rgba(212, 255, 95, 0) 45%);
}

.inventory-page .skip-link:focus {
  left: 1rem !important;
  top: 1rem !important;
}

.inventory-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: clip;
  background: transparent;
}

.inventory-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.inventory-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.inventory-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8, 17, 11, 0.24) 0%, rgba(8, 17, 11, 0.42) 45%, rgba(8, 17, 11, 0.92) 100%),
    radial-gradient(circle at 18% 24%, rgba(212, 255, 95, 0.12), transparent 28%);
}

.inventory-hero .container {
  position: relative;
  z-index: 2;
  padding-top: var(--space-12);
  padding-bottom: var(--space-8);
}

.inventory-hero-copy {
  max-width: 850px;
}

.inventory-hero-tag {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.inventory-hero-title {
  margin-bottom: 1rem;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.inventory-hero-desc {
  max-width: 700px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.6;
}

.inventory-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.inventory-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.26);
  background: rgba(255, 255, 255, 0.95);
}

.inventory-carousel-section {
  position: relative;
  min-height: 82vh;
  padding: clamp(2rem, 5vw, 3.5rem) 0 5.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(212, 255, 95, 0.08), transparent 26%),
    radial-gradient(circle at 50% 50%, rgba(7, 13, 10, 0.65), rgba(5, 8, 6, 0.98) 70%);
  perspective: 1600px;
}

.inventory-carousel-stage {
  position: relative;
  width: min(1100px, calc(100% - 3rem));
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inventory-carousel-orbit {
  position: relative;
  width: min(72vw, 760px);
  height: min(72vw, 760px);
  max-width: 760px;
  max-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.inventory-carousel-orbit.is-dragging {
  cursor: grabbing;
}

.inventory-carousel-ring {
  position: relative;
  width: 340px;
  height: 340px;
  transform-style: preserve-3d;
  will-change: transform;
}

.inventory-carousel-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(208px, 21vw, 254px);
  height: clamp(238px, 24vw, 286px);
  margin-left: calc(clamp(208px, 21vw, 254px) / -2);
  margin-top: calc(clamp(238px, 24vw, 286px) / -2);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(212, 255, 95, 0.1);
  background: rgba(13, 20, 16, 0.88);
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backface-visibility: hidden;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  will-change: transform;
}

.inventory-carousel-item:hover {
  border-color: rgba(212, 255, 95, 0.28);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.62),
    0 0 28px rgba(212, 255, 95, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.inventory-carousel-item-button {
  display: block;
  width: 100%;
  height: 100%;
}

.inventory-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inventory-carousel-item-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.1rem 1rem 1rem;
  background: linear-gradient(to top, rgba(5, 7, 6, 0.96), rgba(5, 7, 6, 0.08));
}

.inventory-carousel-item-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.94rem;
  line-height: 1.25;
}

.inventory-carousel-panel {
  position: absolute;
  top: 50%;
  z-index: 3;
  max-width: 240px;
  transform: translateY(-50%);
  pointer-events: none;
}

.inventory-carousel-panel--left {
  left: clamp(0rem, 2vw, 1rem);
}

.inventory-carousel-panel--right {
  right: clamp(0rem, 2vw, 1rem);
  text-align: right;
}

.inventory-carousel-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1.08;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.inventory-carousel-desc {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
  line-height: 1.62;
}

.inventory-carousel-cta {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 255, 95, 0.26);
  background: rgba(18, 27, 21, 0.8);
  color: var(--color-white);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.inventory-carousel-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  background: rgba(212, 255, 95, 0.94);
  color: #08110b;
  border-color: rgba(212, 255, 95, 0.6);
  box-shadow: 0 12px 30px rgba(212, 255, 95, 0.2);
}

.inventory-carousel-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: inventoryHintPulse 2.8s ease-in-out infinite;
}

@keyframes inventoryHintPulse {
  0%, 100% { opacity: 0.26; }
  50% { opacity: 0.6; }
}

.inventory-grid-section {
  padding-top: var(--space-20);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.inventory-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(212, 255, 95, 0.12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    var(--inventory-card-glow),
    rgba(11, 19, 15, 0.72);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
  will-change: transform;
}

.inventory-card:hover {
  transform: translateY(-7px);
  border-color: rgba(212, 255, 95, 0.24);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26), 0 0 18px rgba(212, 255, 95, 0.12);
}

.inventory-card-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  flex: 1 1 auto;
  min-height: 100%;
  padding: var(--space-6);
  text-align: left;
}

.inventory-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 255, 95, 0.08);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
}

.inventory-card-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: 1.25;
}

.inventory-card-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.inventory-card-price {
  margin-top: auto;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.inventory-card-price span {
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
}

.inventory-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 255, 95, 0.26);
  background: rgba(212, 255, 95, 0.1);
  color: var(--color-accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inventory-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(212, 255, 95, 0.45);
  animation: inventoryChipPulse 2.2s infinite;
}

@keyframes inventoryChipPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 255, 95, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(212, 255, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 255, 95, 0); }
}

.inventory-partner-section {
  border-top: 1px solid rgba(167, 199, 231, 0.08);
}

.inventory-partner-intro {
  margin-bottom: 4rem;
  text-align: center;
}

.inventory-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-10);
  align-items: stretch;
}

.inventory-partner-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 3rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(167, 199, 231, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.inventory-partner-card--accent {
  background: linear-gradient(160deg, rgba(167, 199, 231, 0.04), rgba(27, 38, 79, 0.4));
}

.inventory-partner-title {
  margin-bottom: 0.8rem;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.inventory-partner-copy {
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  line-height: 1.6;
}

.inventory-partner-pill {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.inventory-partner-panel {
  margin-bottom: 2.5rem;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(167, 199, 231, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.inventory-fee-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.inventory-fee-label {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

.inventory-fee-value {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
}

.inventory-feature-list {
  display: grid;
  gap: 0.7rem;
}

.inventory-feature-list li {
  display: flex;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.inventory-feature-list li span {
  color: var(--color-accent);
}

.inventory-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 56px;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: center;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.inventory-action-btn:hover {
  transform: translateY(-2px);
}

.inventory-action-btn--primary {
  background: var(--color-accent);
  color: #000;
}

.inventory-action-btn--primary:hover {
  box-shadow: 0 18px 38px rgba(212, 255, 95, 0.16);
}

.inventory-action-btn--secondary {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.inventory-action-btn--secondary:hover {
  background: var(--color-accent);
  color: #000;
}

.inventory-action-note,
.inventory-partner-footer-note {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.product-modal-backdrop,
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.product-modal-backdrop {
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5, 8, 6, 0.86);
  backdrop-filter: blur(16px);
}

.product-modal-backdrop.open,
.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(960px, 100%);
  max-height: min(90vh, 840px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid var(--inventory-panel-border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    rgba(11, 19, 15, 0.95);
  box-shadow: var(--inventory-panel-shadow), 0 0 80px rgba(212, 255, 95, 0.16);
  transform: translateY(18px) scale(0.97);
  transition: transform 220ms ease;
}

.product-modal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.08));
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.35;
}

.product-modal-backdrop.open .product-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 1.3rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.product-modal-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
  background: rgba(8, 12, 10, 0.88);
}

.product-modal-media img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-logo {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  opacity: 0.68;
}

.product-modal-content {
  padding: 2.35rem 2.35rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-tag {
  color: rgba(212, 255, 95, 0.82);
  font-family: monospace;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-modal-title {
  color: transparent;
  background: linear-gradient(to right, var(--color-white), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  line-height: 1.1;
}

.product-modal-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.65;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(212, 255, 95, 0.2);
}

.modal-spec-card {
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 255, 95, 0.1);
  background: rgba(212, 255, 95, 0.05);
}

.modal-spec-label {
  margin-bottom: 0.28rem;
  color: rgba(212, 255, 95, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-spec-value {
  color: var(--color-white);
  font-size: 0.88rem;
  line-height: 1.45;
}

.modal-price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.modal-price-main {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.modal-price-sub {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.85rem;
}

.live-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 255, 95, 0.28);
  background: rgba(212, 255, 95, 0.12);
  color: var(--color-accent);
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-stock-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(212, 255, 95, 0.42);
  animation: inventoryChipPulse 2.2s infinite;
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.modal-btn-buy,
.modal-btn-cart,
.modal-btn-quote {
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.modal-btn-buy:hover,
.modal-btn-cart:hover,
.modal-btn-quote:hover {
  transform: translateY(-1px);
}

.modal-btn-buy {
  background: var(--color-accent);
  color: #000;
}

.modal-btn-buy.processing {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
  font-family: monospace;
}

.modal-btn-cart {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 255, 95, 0.18);
  color: var(--color-white);
}

.modal-btn-quote {
  grid-column: 1 / -1;
  background: transparent;
  border-color: rgba(212, 255, 95, 0.26);
  color: var(--color-accent);
}

.cart-drawer-backdrop {
  z-index: 9988;
  background: rgba(5, 8, 6, 0.62);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9989;
  width: min(420px, 100vw);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.35rem 1.25rem 1.1rem;
  border-left: 1px solid rgba(212, 255, 95, 0.12);
  background: rgba(8, 12, 10, 0.98);
  transform: translateX(100%);
  transition: transform 220ms ease;
  box-shadow: -18px 0 45px rgba(0, 0, 0, 0.34);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-header h3 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.cart-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 1.2rem;
}

.cart-items {
  overflow: auto;
  padding: 1rem 0;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.cart-empty {
  padding: 2rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cart-item-media {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.cart-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.cart-item-title {
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

.cart-item-price {
  color: var(--color-accent);
  font-size: 0.86rem;
  font-weight: 600;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
}

.cart-control-btn,
.cart-remove-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-size: 1rem;
}

.cart-remove-btn {
  margin-left: auto;
  color: rgba(255, 136, 136, 0.88);
}

.cart-item-qty {
  min-width: 1.5rem;
  color: var(--color-white);
  text-align: center;
}

.cart-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.9rem;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-white);
  font-size: 0.96rem;
  font-weight: 600;
}

.cart-total span:last-child {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.cart-checkout-btn {
  min-height: 52px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #000;
  font-size: 0.94rem;
  font-weight: 700;
}

.cart-checkout-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(212, 255, 95, 0.18);
  background: rgba(212, 255, 95, 0.08);
  color: var(--color-white);
  font-size: 1.08rem;
  flex-shrink: 0;
}

.nav-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #08110b;
  font-size: 0.72rem;
  font-weight: 700;
}

#cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 9997;
  width: min(560px, calc(100% - 2rem));
  display: none;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(212, 255, 95, 0.25);
  background: rgba(18, 30, 20, 0.97);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

#cookie-banner.visible {
  display: flex;
}

.inventory-cookie-copy {
  flex: 1;
  min-width: 220px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.55;
}

.inventory-cookie-copy a {
  color: var(--color-accent);
  text-decoration: underline;
}

.inventory-cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.inventory-cookie-btn {
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.inventory-cookie-btn--primary {
  background: var(--color-accent);
  color: #08110b;
}

.inventory-cookie-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 1180px) {
  .inventory-carousel-panel {
    max-width: 190px;
  }
}

@media (max-width: 1024px) {
  .inventory-carousel-stage {
    width: min(100%, calc(100% - 2rem));
  }

  .inventory-carousel-panel {
    position: static;
    transform: none;
    max-width: none;
    text-align: center;
  }

  .inventory-carousel-panel--right {
    text-align: center;
  }

  .inventory-carousel-stage {
    display: grid;
    justify-items: center;
    gap: 1.4rem;
  }

  .inventory-carousel-cta {
    position: static;
    transform: none;
  }

  .inventory-carousel-cta:hover {
    transform: translateY(-2px);
  }

  .inventory-carousel-hint {
    position: static;
    transform: none;
  }
}

@media (max-width: 820px) {
  .product-modal {
    grid-template-columns: 1fr;
  }

  .product-modal-media {
    min-height: 260px;
  }

  .product-modal-content {
    padding: 1.65rem 1.15rem 1.35rem;
  }

  .modal-specs {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .modal-btn-quote {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .inventory-hero {
    min-height: 48vh;
  }

  .inventory-carousel-stage {
    width: min(100%, calc(100% - 1rem));
    gap: 1rem;
  }

  .inventory-carousel-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .inventory-carousel-desc {
    max-width: 34rem;
    font-size: 0.92rem;
  }

  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .inventory-partner-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .inventory-partner-card {
    padding: 2rem 1.4rem;
  }

  .inventory-carousel-section {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .inventory-carousel-orbit {
    width: min(100%, 290px);
    height: 300px;
  }

  .inventory-carousel-ring {
    width: 170px;
    height: 170px;
  }

  .inventory-carousel-item {
    width: 156px;
    height: 178px;
    margin-left: -78px;
    margin-top: -89px;
    border-radius: 20px;
  }

  .inventory-carousel-item-overlay {
    padding: 0.85rem 0.8rem 0.8rem;
  }

  .inventory-carousel-item-title {
    font-size: 0.78rem;
  }

  .inventory-carousel-cta {
    min-width: 150px;
    min-height: 46px;
    padding: 0.75rem 1.2rem;
    font-size: 0.75rem;
  }

  .inventory-carousel-hint {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .nav-cart {
    width: 40px;
    height: 40px;
  }

  .cart-drawer {
    width: 100vw;
    border-left: 0;
  }

  #cookie-banner {
    bottom: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .inventory-carousel-orbit {
    width: min(100%, 250px);
    height: 260px;
  }

  .inventory-carousel-ring {
    width: 140px;
    height: 140px;
  }

  .inventory-carousel-item {
    width: 132px;
    height: 152px;
    margin-left: -66px;
    margin-top: -76px;
  }

  .inventory-card-button {
    padding: var(--space-5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inventory-carousel-ring,
  .inventory-card,
  .inventory-carousel-item,
  .inventory-action-btn,
  .inventory-hero-cta,
  .modal-btn-buy,
  .modal-btn-cart,
  .modal-btn-quote,
  .cart-drawer,
  .product-modal {
    transition: none !important;
    animation: none !important;
  }
}
