/* INVENTORY PAGE ONLY */

/* TOOLS */

.inventory-tools {
  width: min(1180px, calc(100% - 36px));
  margin: 42px auto 0;
  padding: 34px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 94% 12%, rgba(255, 223, 60, 0.22), transparent 24%),
    linear-gradient(135deg, #ffffff, #f2f5fa);
  border: 1px solid rgba(40, 107, 216, 0.26);
  box-shadow:
    0 22px 58px rgba(7, 20, 47, 0.13),
    0 6px 18px rgba(40, 107, 216, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tools-heading span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tools-heading h1 {
  margin: 8px 0 8px;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -2px;
  font-weight: 900;
}

.tools-heading p {
  max-width: 760px;
  margin: 0;
  color: #59677e;
  line-height: 1.65;
  font-weight: 500;
}

.filter-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr;
  gap: 18px;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.filter-field span {
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  padding: 0 17px;
  font: inherit;
  font-weight: 700;
  color: #334463;
  background: linear-gradient(135deg, #ffffff, #f3f6fb);
  border: 1.5px solid rgba(129, 152, 193, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(7, 20, 47, 0.04);
  outline: none;
  opacity: 1;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: rgba(40, 107, 216, 0.52);
  box-shadow:
    0 0 0 4px rgba(40, 107, 216, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(7, 20, 47, 0.07);
}

.filter-field input::placeholder {
  color: #8a98ad;
}

.tools-footer {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.tools-note {
  padding: 15px 17px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 18px;
  background: rgba(40, 107, 216, 0.07);
  border: 1px solid rgba(40, 107, 216, 0.14);
  color: #43536d;
  line-height: 1.55;
  font-size: 14px;
  font-weight: 650;
}

.tools-note span {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(244, 63, 63, 0.12);
}

.clear-filters-btn {
  flex: 0 0 auto;
  min-height: 50px;
  border: none;
  padding: 13px 20px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(7, 20, 47, 0.16);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.clear-filters-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  color: var(--navy);
  box-shadow: 0 18px 34px rgba(255, 184, 46, 0.25);
}


/* GALLERY */

.inventory-section {
  width: min(1280px, calc(100% - 36px));
  margin: 50px auto 76px;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.gallery-header h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -1.4px;
}

.gallery-header p {
  margin: 0;
  padding: 12px 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 223, 60, 0.18), transparent 40%),
    linear-gradient(135deg, #ffffff, #f4f7fb);
  border: 1px solid rgba(40, 107, 216, 0.24);
  box-shadow:
    0 12px 26px rgba(7, 20, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-weight: 900;
}


/* 4 PER ROW ON DESKTOP */

.inventory-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.inventory-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 10px;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 223, 60, 0.12), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(40, 107, 216, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(244, 248, 253, 0.98), rgba(226, 235, 247, 0.95));
  border: 1px solid rgba(40, 107, 216, 0.32);
  box-shadow:
    0 22px 56px rgba(7, 20, 47, 0.14),
    0 8px 20px rgba(40, 107, 216, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.inventory-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(315deg, rgba(40, 107, 216, 0.08), transparent 38%);
  opacity: 0.7;
  z-index: 1;
}

.inventory-item:hover {
  transform: translateY(-7px);
  border-color: rgba(40, 107, 216, 0.48);
  box-shadow:
    0 30px 72px rgba(7, 20, 47, 0.19),
    0 10px 24px rgba(40, 107, 216, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}


/* CONDITION ACCENTS */

.inventory-item.condition-near-mint {
  border-color: rgba(34, 197, 94, 0.38);
}

.inventory-item.condition-lightly-played {
  border-color: rgba(255, 184, 46, 0.42);
}

.inventory-item.condition-moderately-played {
  border-color: rgba(249, 115, 22, 0.40);
}

.inventory-item.condition-heavily-played {
  border-color: rgba(194, 65, 12, 0.42);
}

.inventory-item.condition-damaged {
  border-color: rgba(244, 63, 63, 0.46);
}

.inventory-item.condition-near-mint::after,
.inventory-item.condition-lightly-played::after,
.inventory-item.condition-moderately-played::after,
.inventory-item.condition-heavily-played::after,
.inventory-item.condition-damaged::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 5px;
  border-radius: 0 0 999px 999px;
  z-index: 5;
  pointer-events: none;
}

.inventory-item.condition-near-mint::after {
  background: linear-gradient(90deg, #22c55e, rgba(34, 197, 94, 0.35));
}

.inventory-item.condition-lightly-played::after {
  background: linear-gradient(90deg, #ffdf3c, rgba(255, 184, 46, 0.45));
}

.inventory-item.condition-moderately-played::after {
  background: linear-gradient(90deg, #f97316, rgba(249, 115, 22, 0.38));
}

.inventory-item.condition-heavily-played::after {
  background: linear-gradient(90deg, #c2410c, rgba(194, 65, 12, 0.38));
}

.inventory-item.condition-damaged::after {
  background: linear-gradient(90deg, #ef4444, rgba(244, 63, 63, 0.38));
}

.inventory-item.request-added {
  border-color: rgba(255, 184, 46, 0.70);
  box-shadow:
    0 26px 68px rgba(7, 20, 47, 0.18),
    0 0 0 4px rgba(255, 223, 60, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}


/* IMAGE AREA */

.inventory-image-wrap {
  position: relative;
  z-index: 2;
  border-radius: 22px;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(190, 203, 221, 0.55) 0%, rgba(214, 224, 237, 0.42) 18%, rgba(186, 200, 219, 0.52) 100%),
    linear-gradient(145deg, #dde6f1, #c8d4e4);
  border: 1px solid rgba(134, 156, 191, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(120, 142, 178, 0.16),
    0 10px 24px rgba(7, 20, 47, 0.08);
}

.inventory-item img {
  width: 100%;
  height: 330px;
  display: block;
  object-fit: contain;
  cursor: zoom-in;
  border-radius: 16px;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.inventory-item:hover img {
  transform: scale(1.015);
  filter: saturate(1.03) contrast(1.02);
}


/* INFO AREA */

.inventory-info {
  position: relative;
  z-index: 2;
  padding: 15px 5px 4px;
}

.inventory-info-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.type-badge,
.condition-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: "Outfit", "Inter", sans-serif;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
}

.type-badge {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 223, 60, 0.25);
  border-color: rgba(255, 184, 46, 0.32);
}

.type-badge.graded {
  background: rgba(40, 107, 216, 0.13);
  border-color: rgba(40, 107, 216, 0.24);
  color: #153f8d;
}

.type-badge.single {
  background: rgba(255, 223, 60, 0.25);
  border-color: rgba(255, 184, 46, 0.32);
  color: #6c4900;
}

.type-badge.sealed {
  background: rgba(244, 63, 63, 0.12);
  border-color: rgba(244, 63, 63, 0.22);
  color: #a92727;
}

.condition-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.45px;
}

.condition-badge.near-mint {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.30);
  color: #127339;
}

.condition-badge.lightly-played {
  background: rgba(255, 223, 60, 0.24);
  border-color: rgba(255, 184, 46, 0.34);
  color: #7a5600;
}

.condition-badge.moderately-played {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.30);
  color: #9a4510;
}

.condition-badge.heavily-played {
  background: rgba(194, 65, 12, 0.16);
  border-color: rgba(194, 65, 12, 0.32);
  color: #87320c;
}

.condition-badge.damaged {
  background: rgba(244, 63, 63, 0.15);
  border-color: rgba(244, 63, 63, 0.32);
  color: #a92727;
}

.item-price {
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
  padding-top: 4px;
}

.inventory-info h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.45px;
}

.inventory-info p {
  margin: 7px 0 0;
  color: #66758a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
}

.add-list-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 12px 24px rgba(7, 20, 47, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.add-list-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  color: var(--navy);
  box-shadow:
    0 16px 30px rgba(255, 184, 46, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.add-list-btn.added {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

.add-list-btn.added:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.empty-message {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 94% 12%, rgba(255, 223, 60, 0.18), transparent 24%),
    linear-gradient(135deg, #ffffff, #f2f5fa);
  border: 1px solid rgba(40, 107, 216, 0.22);
  box-shadow:
    0 18px 44px rgba(7, 20, 47, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}


/* REQUEST LIST */

.request-list-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 4000;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  padding: 14px 18px 14px 20px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 42%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  font-family: "Outfit", "Inter", sans-serif;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 18px 42px rgba(7, 20, 47, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.request-list-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 52px rgba(7, 20, 47, 0.36),
    inset 0 1px 0 rgba(255,255,255,0.20);
}

.request-list-button span {
  font-size: 16px;
}

.request-list-button strong {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  color: var(--navy);
  font-size: 15px;
}

.request-overlay {
  position: fixed;
  inset: 0;
  z-index: 4998;
  background: rgba(7, 20, 47, 0.50);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.request-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.request-drawer {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4999;
  width: min(520px, calc(100vw - 36px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255,223,60,0.18), transparent 28%),
    linear-gradient(135deg, #ffffff, #eef4fc);
  border: 1px solid rgba(40, 107, 216, 0.26);
  box-shadow:
    0 34px 90px rgba(7, 20, 47, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.92);
  transform: translateX(calc(100% + 34px));
  transition: transform 0.24s ease;
}

.request-drawer.active {
  transform: translateX(0);
}

.request-drawer-header {
  padding: 26px 26px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(40, 107, 216, 0.14);
}

.request-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.request-drawer-header h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1px;
}

.request-drawer-header p {
  margin: 10px 0 0;
  color: #59677e;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 600;
}

.request-close-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(7, 20, 47, 0.16);
}

.request-empty {
  margin: 18px 18px 0;
  padding: 22px;
  display: grid;
  gap: 8px;
  border-radius: 22px;
  background: rgba(40, 107, 216, 0.07);
  border: 1px solid rgba(40, 107, 216, 0.14);
  color: var(--navy);
}

.request-empty.hidden {
  display: none;
}

.request-empty strong {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 20px;
}

.request-empty span {
  color: #59677e;
  line-height: 1.45;
  font-weight: 600;
}

.request-list-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.request-list-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(242,247,253,0.94));
  border: 1px solid rgba(40, 107, 216, 0.18);
  box-shadow:
    0 10px 24px rgba(7,20,47,0.08),
    inset 0 1px 0 rgba(255,255,255,0.85);
}

.request-list-item img {
  width: 70px;
  height: 90px;
  object-fit: contain;
  border-radius: 12px;
  background: #dbe5f2;
}

.request-list-details {
  min-width: 0;
}

.request-list-details h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.request-list-details p {
  margin: 6px 0 0;
  color: #59677e;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.request-list-details span {
  display: block;
  margin-top: 5px;
  color: #8490a3;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.request-remove-btn {
  border: none;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(244, 63, 63, 0.12);
  color: #a92727;
  font-family: "Outfit", "Inter", sans-serif;
  font-weight: 900;
  cursor: pointer;
}

.request-remove-btn:hover {
  background: #ef4444;
  color: white;
}

.request-actions {
  padding: 16px 18px 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(40, 107, 216, 0.14);
  background: rgba(255,255,255,0.56);
}

.request-actions button {
  min-height: 48px;
  border: none;
  border-radius: 16px;
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.request-actions button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  color: var(--navy);
}

.request-actions button.danger {
  background: rgba(244, 63, 63, 0.12);
  color: #a92727;
}

.request-actions button.danger:hover:not(:disabled) {
  background: #ef4444;
  color: white;
}

.request-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.request-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 6000;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(7, 20, 47, 0.94);
  color: white;
  font-family: "Outfit", "Inter", sans-serif;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(7, 20, 47, 0.30);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.request-toast.active {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* LOAD MORE */

.load-more-wrap {
  text-align: center;
  margin-top: 38px;
}

.load-more-btn {
  min-height: 54px;
  border: none;
  padding: 15px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  color: #172033;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(255, 184, 46, 0.26);
  transition: 0.2s ease;
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(255, 184, 46, 0.34);
}

.load-more-btn.hidden {
  display: none;
}

.error-message {
  grid-column: 1 / -1;
  padding: 20px;
  border-radius: 22px;
  background: #fff1f1;
  border: 1px solid rgba(244, 63, 63, 0.28);
  color: #9b1c1c;
  font-weight: 800;
}


/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 47, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox-inner {
  width: min(96vw, 980px);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-toolbar {
  width: min(95vw, 950px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

.lightbox-toolbar span {
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.lightbox-toggle {
  display: flex;
  gap: 8px;
}

.lightbox-toggle button {
  border: none;
  padding: 10px 15px;
  border-radius: 14px;
  background: #eef3fb;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s ease;
}

.lightbox-toggle button:hover,
.lightbox-toggle button.active {
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  transform: translateY(-1px);
}

.lightbox-toggle button.hidden {
  display: none;
}

.lightbox img {
  max-width: min(95vw, 950px);
  max-height: 84vh;
  border-radius: 22px;
  background: white;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
}

.close-btn {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}


/* RESPONSIVE */

@media (max-width: 1200px) {
  .inventory-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .inventory-item img {
    height: 305px;
  }
}

@media (max-width: 1000px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .tools-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .clear-filters-btn {
    width: 100%;
  }

  .gallery-header {
    display: block;
  }

  .gallery-header p {
    display: inline-flex;
    margin-top: 14px;
  }

  .inventory-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .inventory-item img {
    height: 285px;
  }
}

@media (max-width: 640px) {
  .inventory-tools,
  .inventory-section {
    width: calc(100% - 24px);
  }

  .inventory-tools {
    margin-top: 24px;
    padding: 24px;
    border-radius: 28px;
  }

  .tools-heading h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .inventory-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .inventory-item {
    border-radius: 20px;
    padding: 7px;
  }

  .inventory-image-wrap {
    border-radius: 16px;
    padding: 6px;
  }

  .inventory-item img {
    height: 210px;
    border-radius: 12px;
  }

  .inventory-info {
    padding: 12px 3px 3px;
  }

  .inventory-info-top {
    display: block;
  }

  .badge-group {
    margin-bottom: 8px;
  }

  .inventory-info h3 {
    font-size: 16px;
  }

  .inventory-info p {
    font-size: 12px;
  }

  .item-price {
    display: block;
    font-size: 14px;
    padding-top: 0;
  }

  .type-badge,
  .condition-badge {
    font-size: 10px;
    padding: 5px 8px;
  }

  .add-list-btn {
    min-height: 42px;
    margin-top: 11px;
    border-radius: 14px;
    font-size: 13px;
  }

  .request-list-button {
    right: 14px;
    bottom: 14px;
    min-height: 54px;
    padding: 12px 14px 12px 16px;
  }

  .request-list-button span {
    font-size: 14px;
  }

  .request-list-button strong {
    min-width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .request-drawer {
    top: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    border-radius: 26px;
  }

  .request-drawer-header {
    padding: 22px 20px 16px;
  }

  .request-drawer-header h2 {
    font-size: 28px;
  }

  .request-list-items {
    padding: 14px;
  }

  .request-list-item {
    grid-template-columns: 58px 1fr;
  }

  .request-list-item img {
    width: 58px;
    height: 74px;
  }

  .request-remove-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .request-actions {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .request-toast {
    width: calc(100% - 28px);
    text-align: center;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .lightbox-toggle {
    width: 100%;
  }

  .lightbox-toggle button {
    flex: 1;
  }

  .lightbox img {
    max-height: 78vh;
  }

  .close-btn {
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    font-size: 32px;
  }

  /* FINAL POLISH: HIDE TYPE BADGE + EMPHASIZE PRICE */

.type-badge {
  display: none !important;
}

.inventory-info-top {
  align-items: center;
}

.badge-group {
  flex: 1;
}

.item-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,0.34), transparent 42%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  box-shadow:
    0 12px 24px rgba(7, 20, 47, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

@media (max-width: 640px) {
  .item-price {
    width: fit-content;
    margin-top: 6px;
    font-size: 16px;
    min-height: 34px;
    padding: 7px 11px;
  }
}
}
