/* The catalogue's existing military palette and cart controls carry through. */
.product-grid.armory-mode {display:block}

.armory-intro {
  display:flex;
  align-items:baseline;
  gap:12px;
  margin:0 0 13px;
  padding:11px 14px;
  border:1px solid #3c463b;
  border-radius:var(--radius,6px);
  background:#202620;
}
.armory-intro strong {flex:none;color:#e7ece1;font-size:12px;font-weight:600}
.armory-intro span {color:var(--muted);font-size:10px;line-height:1.5}
.armory-gun-list {display:grid;gap:9px}
.armory-gun {
  min-width:0;
  overflow:hidden;
  border:1px solid #3d453d;
  border-radius:var(--radius,6px);
  background:#222724;
}
.armory-gun.is-expanded {border-color:#946243}
.armory-gun-head {display:flex;align-items:center;min-width:0}
.armory-gun-toggle {
  display:flex;
  align-items:center;
  gap:13px;
  flex:1;
  min-width:0;
  min-height:78px;
  padding:10px 15px;
  border:0;
  background:none;
  color:var(--text);
  text-align:left;
}
.armory-gun-toggle:hover {background:#2c3029}
.armory-gun-toggle:focus-visible,
.armory-gun-add:focus-visible,
.armory-item-add:focus-visible,
.armory-gun-panel-heading button:focus-visible,
.armory-other summary:focus-visible {outline:2px solid var(--accent);outline-offset:-3px}
.armory-gun-toggle img {
  flex:none;
  width:68px;
  height:52px;
  object-fit:contain;
  filter:drop-shadow(0 5px 4px #0006);
}
.armory-gun-title {display:flex;flex-direction:column;gap:5px;min-width:0}
.armory-gun-title strong {font-size:14px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.armory-gun-title small {font-size:10px;color:var(--muted);line-height:1.35}
.armory-chevron {margin-left:auto;color:var(--accent);font-size:22px;line-height:1;transform:rotate(0deg);transition:transform .18s ease-out}
.armory-gun.is-expanded .armory-chevron {transform:rotate(180deg)}
.armory-gun-purchase {display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:none;padding:10px 15px 10px 5px}
.armory-gun-price {font-variant-numeric:tabular-nums;color:#ffd1b2;font-size:15px;font-weight:600;white-space:nowrap}
.armory-gun-price small {font-size:9px;font-weight:400;color:var(--muted)}
.armory-gun-add,.armory-item-add {
  display:grid;
  place-items:center;
  flex:none;
  width:36px;
  height:36px;
  border:1px solid #895436;
  border-radius:4px;
  background:#3c2b21;
  color:#ffa471;
}
.armory-gun-add:hover:not(:disabled),.armory-item-add:hover:not(:disabled) {background:#523223;border-color:#b76b3d}
.armory-gun-add:disabled,.armory-item-add:disabled {opacity:.35;cursor:not-allowed}
.armory-gun-add svg,.armory-item-add svg {width:16px;height:16px}
.armory-gun-panel[hidden] {display:none}
.armory-gun-panel {padding:0 16px 16px;border-top:1px solid #414a40;background:#1b211d}
.armory-gun-panel-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0 9px}
.armory-gun-panel-heading span {color:#e7ece1;font-size:11px;font-weight:600}
.armory-gun-panel-heading button {padding:5px 7px;border-radius:3px;background:none;color:var(--accent);font-size:10px}
.armory-gun-panel-heading button:hover {background:#3b2e25}
.armory-empty {margin:2px 0 0;padding:12px 13px;border:1px dashed #536050;border-radius:4px;color:var(--muted);font-size:11px;line-height:1.6}
.armory-attachment-notice {margin-bottom:10px}
.armory-section + .armory-section {margin-top:13px}
.armory-section h4 {display:flex;align-items:baseline;gap:8px;margin:0 0 7px;color:#e6e9e1;font-size:11px;font-weight:600}
.armory-section h4 span {font-size:9px;color:var(--quiet);font-weight:400}
.armory-section-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.armory-item {
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  min-width:0;
  min-height:48px;
  padding:6px 8px;
  border:1px solid #363f36;
  border-radius:4px;
  background:#252b26;
}
.armory-item-icon {width:32px;height:32px;object-fit:contain;display:block;flex:none}
.armory-item-placeholder {display:grid;place-items:center;border:1px solid #404a3f;border-radius:3px;color:#8c998b}
.armory-item-placeholder svg {width:17px;height:17px}
.armory-item-copy {display:flex;flex-direction:column;gap:2px;min-width:0}
.armory-item-copy strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e0e5d9;font-size:11px;font-weight:500}
.armory-item-copy small {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--quiet);font-size:9px}
.armory-mount-note {grid-column:2/-1;display:block;margin:0 0 2px;font-size:10px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.armory-mount-note.is-required {color:#e4bc92}
.armory-mount-note.is-direct {color:#a5b99c}
.armory-mount-note.is-unknown {color:var(--muted)}
.armory-item-purchase {display:flex;align-items:center;gap:7px;white-space:nowrap}
.armory-item-price {font-variant-numeric:tabular-nums;color:#ffc69f;font-size:11px}
.armory-item-price small {display:block;color:var(--quiet);font-size:8px;text-align:right}
.armory-item-add {width:32px;height:32px}
.armory-item-add svg {width:14px;height:14px}
.armory-item-status {color:var(--quiet);font-size:10px;white-space:nowrap}
.armory-item.is-unlisted {background:#20251f;border-style:dashed}
.armory-other {margin-top:15px;border:1px solid #3d453d;border-radius:var(--radius,6px);background:#212622}
.armory-other summary {display:flex;align-items:center;gap:8px;padding:13px 15px;color:#e3e9df;font-size:12px;font-weight:600;cursor:pointer;list-style:none}
.armory-other summary::-webkit-details-marker {display:none}
.armory-other summary:after {content:'⌄';margin-left:auto;color:var(--accent);font-size:19px;line-height:1}
.armory-other[open] summary:after {transform:rotate(180deg)}
.armory-other summary span {color:var(--quiet);font-size:10px;font-weight:400}
.armory-other > p {padding:0 15px 12px;color:var(--muted);font-size:10px;line-height:1.6}
.armory-other-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 14px 14px}

@media (max-width:1050px) {
  .armory-section-grid {grid-template-columns:1fr}
  .armory-other-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:650px) {
  .armory-intro {display:block;padding:10px 12px}
  .armory-intro strong {display:block;margin-bottom:4px}
  .armory-gun-head {display:block}
  .armory-gun-toggle {width:100%;min-height:68px;padding:8px 11px 0;gap:10px}
  .armory-gun-toggle img {width:56px;height:48px}
  .armory-gun-title strong {font-size:12px}
  .armory-gun-title small {font-size:9px}
  .armory-gun-purchase {padding:0 11px 9px}
  .armory-gun-price {font-size:13px}
  .armory-gun-add {width:34px;height:34px}
  .armory-gun-panel {padding:0 10px 11px}
  .armory-section-grid {grid-template-columns:1fr}
  .armory-item {gap:7px;padding:5px 7px}
  .armory-other-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 10px 10px}
}
@media (prefers-reduced-motion:reduce) {
  .armory-chevron {transition:none}
}
