/* Reduced CSS generated from current page */

/* From: http://127.0.0.1:5501/styles/main.css */
:root { --navy: #0b1b3a; --navy-soft: #122549; --silver: #d9d9d9; --silver-light: #f5f5f5; --silver-mid: #c2c2c2; --silver-dark: #a9a9a9; --bg: var(--silver); --card: #ffffff; --border: var(--silver-dark); --ink: #0f172a; --muted: #4b5563; --accent: var(--navy); --accent-soft: #dbe3f4; }
* { box-sizing: border-box; }
body { margin: 0px; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; scroll-behavior: smooth; }
a { color: inherit; }
.site { max-width: 1120px; margin: 0px auto; padding: 1.25rem 1rem 4rem; }
.header-inner { max-width: 1120px; margin: 0px auto; padding: 0.75rem 1rem 0.85rem; display: flex; flex-direction: column; gap: 0.6rem; }
@media (min-width: 768px) {
.header-inner { flex-direction: column; }
}
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; flex-direction: column; gap: 0.15rem; }
.brand-name { font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.brand-tagline { font-size: 0.8rem; color: var(--muted); }
.mini-spot-strip { font-size: 0.78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: flex-end; }
.mini-spot-pill { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgb(255, 255, 255); display: inline-flex; align-items: center; gap: 0.4rem; }
.mini-spot-pill span.label { text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted); }
.mini-spot-pill span.value { font-weight: 600; color: var(--navy); }
nav { margin-top: 0.35rem; }
nav ul { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0px; margin: 0px; list-style: none; }
nav a { text-decoration: none; font-size: 0.84rem; padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; color: var(--muted); }
nav a.active { border-color: var(--navy); background: var(--accent-soft); color: var(--navy); }
section { padding: 3rem 0px 0px; }
.section-header { margin-bottom: 1.5rem; }
.section-kicker { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 0.35rem; }
.section-title { font-size: 1.4rem; margin: 0px 0px 0.4rem; color: var(--navy-soft); }
.section-subtitle { max-width: 40rem; font-size: 0.95rem; color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(1, minmax(0px, 1fr)); }
.grid-3 { grid-template-columns: repeat(1, minmax(0px, 1fr)); }
@media (min-width: 768px) {
.grid-2 { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
}
.hero { display: grid; gap: 1.75rem; }
@media (min-width: 768px) {
.hero { grid-template-columns: minmax(0px, 3fr) minmax(0px, 2fr); align-items: center; }
}
.hero-copy h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin: 0px 0px 0.75rem; color: var(--navy); }
.hero-copy p { font-size: 0.98rem; color: var(--muted); max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.btn { appearance: none; border-radius: 999px; padding: 0.6rem 1.2rem; font-size: 0.9rem; font-weight: 500; cursor: pointer; border: 1px solid transparent; background: var(--navy); color: rgb(249, 250, 251); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; }
.btn-ghost { background: transparent; color: var(--navy-soft); border-color: var(--border); }
.hero-panel { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-soft); padding: 1.25rem 1.25rem 1.1rem; display: grid; gap: 0.8rem; }
.hero-panel-title { font-size: 0.9rem; font-weight: 600; color: var(--navy-soft); }
.hero-panel-rows { font-size: 0.8rem; color: var(--muted); display: grid; gap: 0.45rem; }
.hero-panel-row { display: flex; justify-content: space-between; gap: 0.75rem; }
.hero-panel-row span.label { color: var(--muted); }
.hero-panel-row span.value { font-weight: 600; color: var(--navy-soft); }
.hero-panel-footnote { font-size: 0.72rem; color: var(--muted); }
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); padding: 1rem; box-shadow: var(--shadow-soft); }
.card-header { display: flex; justify-content: space-between; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.5rem; }
.card-title { font-size: 0.95rem; margin: 0px; color: var(--navy-soft); }
.card-body { font-size: 0.86rem; color: var(--muted); }
.pill { display: inline-flex; align-items: center; padding: 0.15rem 0.6rem; border-radius: 999px; border: 1px solid var(--border); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.pill-accent { border-color: var(--navy); background: var(--accent-soft); color: var(--navy-soft); }
.coin-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
.coin-grid { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
}
.coin-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); padding: 0.85rem; box-shadow: var(--shadow-soft); display: grid; gap: 0.55rem; font-size: 0.85rem; }
.coin-thumb { border-radius: 10px; border: 1px solid var(--border); background: var(--platinum-soft); aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--muted); }
.coin-name { font-weight: 600; color: var(--navy-soft); }
.coin-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }
.coin-price { font-weight: 600; font-size: 0.86rem; color: var(--navy-soft); }
.coin-note { font-size: 0.74rem; color: var(--muted); }
.faq-item { border-bottom: 1px solid var(--border); padding: 0.75rem 0px; }
.faq-q { font-size: 0.9rem; font-weight: 600; color: var(--navy-soft); }
.faq-a { font-size: 0.86rem; color: var(--muted); margin-top: 0.25rem; }
.form-grid { display: grid; gap: 1rem; max-width: 480px; }
.field { display: grid; gap: 0.25rem; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--navy-soft); }
.field span.helper { font-size: 0.76rem; color: var(--muted); }
input, textarea { width: 100%; border-radius: 999px; border: 1px solid var(--border); padding: 0.6rem 0.85rem; font-size: 0.88rem; font-family: inherit; background: rgb(255, 255, 255); }
textarea { border-radius: 12px; min-height: 120px; resize: vertical; padding-top: 0.55rem; }
footer { margin-top: 3rem; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 1.25rem; }
html, body { height: 100%; }
body { background: rgb(11, 27, 58); position: relative; }
.hero-copy { background: linear-gradient(to right, rgba(11, 27, 58, 0.75), rgba(11, 27, 58, 0.35), rgba(11, 27, 58, 0)); padding: 2rem; border-radius: 16px; }
.hero-copy h1 { color: rgb(242, 243, 244) !important; text-shadow: rgba(0, 0, 0, 0.55) 0px 2px 18px; }
.hero-copy p { color: rgba(243, 244, 246, 0.88) !important; text-shadow: rgba(0, 0, 0, 0.45) 0px 2px 14px; }
.hero-actions .btn { background: rgba(11, 27, 58, 0.92) !important; color: rgb(255, 255, 255) !important; }
.hero-actions .btn-ghost { background: rgba(255, 255, 255, 0.08); color: rgb(255, 255, 255) !important; border-color: rgba(255, 255, 255, 0.55) !important; }
.section-header { background: linear-gradient(to right, rgba(11, 27, 58, 0.78), rgba(11, 27, 58, 0.4), rgba(11, 27, 58, 0)); padding: 1.25rem 1.5rem; border-radius: 16px; margin-bottom: 1.5rem; }
.section-kicker { color: rgba(243, 244, 246, 0.72) !important; text-shadow: rgba(0, 0, 0, 0.45) 0px 2px 14px; }
.section-title { color: rgb(242, 243, 244) !important; text-shadow: rgba(0, 0, 0, 0.55) 0px 2px 18px; }
.section-subtitle { color: rgba(243, 244, 246, 0.86) !important; text-shadow: rgba(0, 0, 0, 0.45) 0px 2px 14px; }
header { border-bottom: 1px solid var(--silver-dark); box-shadow: rgba(255, 255, 255, 0.35) 0px -1px 0px inset; background: linear-gradient(
    135deg,
    var(--silver-light) 0%,
    var(--silver) 35%,
    var(--silver-mid) 55%,
    var(--silver-light) 75%,
    var(--silver-dark) 100%
  ) !important; }
.brand-name { color: rgb(11, 27, 58) !important; }
.brand-tagline { color: rgb(55, 65, 81) !important; }
nav a { color: rgb(55, 65, 81) !important; }
nav a.active { border: 1px solid var(--silver-dark); box-shadow: rgba(255, 255, 255, 0.7) 0px 1px 0px inset, rgba(0, 0, 0, 0.12) 0px 1px 2px; background: linear-gradient(
    to bottom,
    var(--silver-light),
    var(--silver)
  ) !important; color: var(--navy) !important; }
.mini-spot-pill { background: linear-gradient(
    to bottom,
    #ffffff,
    var(--silver-light)
  ); border: 1px solid var(--silver-dark); box-shadow: rgba(255, 255, 255, 0.75) 0px 1px 0px inset, rgba(0, 0, 0, 0.18) 0px 1px 3px; }
.mini-spot-pill .label { color: rgb(75, 85, 99); }
.mini-spot-pill .value { color: rgb(11, 27, 58); }
.hero-panel { background: radial-gradient(circle at 30% 25%,
      rgba(255,255,255,0.9) 0%,
      rgba(255,255,255,0.35) 18%,
      rgba(255,255,255,0) 45%),

    linear-gradient(
      135deg,
      var(--silver-light) 0%,
      var(--silver) 35%,
      var(--silver-mid) 55%,
      var(--silver-light) 75%,
      var(--silver-dark) 100%
    ); border: 1px solid var(--silver-dark); box-shadow: rgba(255, 255, 255, 0.75) 0px 1px 0px inset, rgba(0, 0, 0, 0.12) 0px -8px 16px inset, rgba(0, 0, 0, 0.18) 0px 6px 18px; }
.subnav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0px 0px 1.25rem; }
.subpill { appearance: none; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.1); color: rgb(255, 255, 255); padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.84rem; cursor: pointer; }
.hero-panel-title { color: rgb(11, 27, 58); font-weight: 700; }
.hero-panel-row span.label { color: rgb(55, 65, 81); }
.hero-panel-row span.value { color: rgb(11, 27, 58); font-weight: 700; }
.hero-panel-footnote { color: rgb(55, 65, 81); }
.hero-panel, .card, .coin-card { background: none; }
.hero-panel, .card, .coin-card { background: radial-gradient(circle at 30% 25%,
      rgba(255,255,255,0.9) 0%,
      rgba(255,255,255,0.35) 18%,
      rgba(255,255,255,0) 45%),

    linear-gradient(
      135deg,
      var(--silver-light) 0%,
      var(--silver) 35%,
      var(--silver-mid) 55%,
      var(--silver-light) 75%,
      var(--silver-dark) 100%
    ) !important; border: 1px solid var(--silver-dark) !important; box-shadow: rgba(255, 255, 255, 0.75) 0px 1px 0px inset, rgba(0, 0, 0, 0.12) 0px -10px 18px inset, rgba(0, 0, 0, 0.2) 0px 8px 22px !important; }
.coin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ⬅️ 4 columns */
  gap: 1.1rem;
}
.coin-grid { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 1025px) {
.coin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ⬅️ 4 columns */
  gap: 1.1rem;
}
}
@media (min-width: 641px) and (max-width: 1024px) {
.coin-grid { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
}
@media (max-width: 640px) {
.coin-grid { grid-template-columns: 1fr; }
}
.coin-thumb img { display: block; }
.coin-grid { grid-auto-flow: row; }
.coin-thumb { padding: 0px; overflow: hidden; }
.coin-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.coin-card[data-url] { cursor: pointer; }
.coin-grid > .coin-card { width: 100%; min-width: 0px; height: 100%; }
.coin-thumb { padding: 0.55rem; overflow: hidden; margin: -0.55rem -0.55rem 0px; }
.coin-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-logo { width: 64px; height: 64px; border-radius: 50%; padding: 6px; background: radial-gradient(circle at 30% 25%,
      rgba(255,255,255,0.9) 0%,
      rgba(255,255,255,0.35) 18%,
      rgba(255,255,255,0) 45%),
    linear-gradient(
      135deg,
      var(--silver-light),
      var(--silver),
      var(--silver-mid),
      var(--silver-light),
      var(--silver-dark)
    ); border: 1px solid var(--silver-dark); box-shadow: rgba(255, 255, 255, 0.7) 0px 1px 0px inset, rgba(0, 0, 0, 0.25) 0px 3px 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 50%; }

.coin-card { background: linear-gradient(
      135deg,
      var(--silver-light),
      var(--silver)
    ) !important; box-shadow: rgba(255, 255, 255, 0.65) 0px 1px 0px inset, rgba(0, 0, 0, 0.18) 0px 6px 16px !important; }

    
   /* FULL BACKGROUND IMAGE */
body {
  background: #0b1b3a; /* navy fallback */
  position: relative;
}

/* Image layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
 background: url("/image/background.jpg") center / cover no-repeat;
  filter: contrast(110%) brightness(70%);
  z-index: -2;
}

/* Dark overlay for readability */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 58, 0.78); /* navy overlay */
  z-index: -1;
}

/* Additions to make coin cards smaller and more rectangualar */
.coin-thumb {
  aspect-ratio: 1 / 1;   /* ⬅️ square = calmer */
  max-height: 220px;     /* ⬅️ hard visual cap */
}
.coin-thumb img {
  object-fit: contain;  /* IMPORTANT for bullion */
  padding: 10px;        /* gives breathing room */
}
/* Inventory cards should be quiet */
.coin-card {
  background: #f7f7f7 !important;
  box-shadow: none !important;
  border: 1px solid #e2e2e2;
}
.coin-name {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.coin-price {
  margin-top: 0.4rem;
  font-weight: 600;
}
@media (max-width: 1100px) {
  .coin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .coin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .coin-grid {
    grid-template-columns: 1fr;
  }
}
/* Remove visual frame around product images */
.coin-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: transparent;
}
.coin-thumb-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;

  background: #f6f7f9;   /* soft neutral */
  border-radius: 14px;   /* shape, not frame */
}



.coin-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
/* ===== eBay-style inventory cards ===== */
/* eBay-style: card = wrapper, media box + info box */
.coin-card{
  border-radius: 18px;
  overflow: visible;                 /* important: let inner boxes own rounding */
  background: transparent;           /* wrapper is invisible */
  border: 0;
  box-shadow: none;
}

/* TOP BOX (image) */
.coin-media{
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;

  border-radius: 18px 18px 0 0;      /* round top only */
  background: #e9edf2;               /* soft fallback */
}

/* image fills the media box */
.coin-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;                 /* eBay look */
  object-position: center;
}

/* BOTTOM BOX (info) */
.coin-info{
  background: #fff;
  border-radius: 0 0 18px 18px;      /* round bottom only */
  padding: 14px 14px 16px;

  border: 1px solid rgba(0,0,0,0.08);
  border-top: 0;                     /* so it merges with media box */
  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
}

/* optional: subtle seam line like eBay */
.coin-info{
  position: relative;
}
.coin-info::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 1px;
  background: rgba(0,0,0,0.06);
}
.coin-media{ aspect-ratio: 1 / 1; }
/* --- Actions row (qty + add to cart) --- */
.coin-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

/* Quantity stepper */
.qty{
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  background: #f3f5f8;
  border: 1px solid rgba(0,0,0,0.10);
  overflow: hidden;
  height: 40px;
}

.qty-btn{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.qty-btn:hover{
  background: rgba(0,0,0,0.05);
}

.qty-input{
  width: 46px;
  height: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 700;
  outline: none;
}

/* remove number input spinners */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.qty-input[type=number]{ -moz-appearance: textfield; }

/* Add to cart button */
.btn-cart{
  flex: 1;
  height: 40px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  background: #0b5fff;          /* can swap to your brand CTA */
  color: #fff;
  padding: 0 14px;
}

.btn-cart:hover{
  filter: brightness(0.96);
}

.btn-cart:active{
  transform: translateY(1px);
}

/* Mobile: stack nicely if needed */
@media (max-width: 520px){
  .coin-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .qty{
    width: 100%;
    justify-content: center;
  }
  .qty-input{
    width: 60px;
  }
}
/* ===== CART DRAWER ===== */
.cart-dimmer{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 80;
}

.cart-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: #fff;
  z-index: 90;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: -20px 0 40px rgba(0,0,0,0.35);
}

.cart-head{
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title{
  font-weight: 900;
  font-size: 1.05rem;
}

.cart-close{
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.cart-items{
  padding: 16px;
  overflow-y: auto;
  display: grid;
  gap: 12px;
}

.cart-row{
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: start;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
}

.cart-thumb{
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
}

.cart-name{
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-sub{
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

.cart-controls{
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cart-qty{
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f3f4f6;
  cursor: pointer;
  font-weight: 900;
}

.cart-qtyval{
  min-width: 20px;
  text-align: center;
  font-weight: 800;
}

.cart-remove{
  border: 0;
  background: transparent;
  color: #0b5fff;
  font-weight: 700;
  cursor: pointer;
}

.cart-line{
  font-weight: 800;
  white-space: nowrap;
}

.cart-foot{
  border-top: 1px solid #e5e7eb;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.cart-total{
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.cart-checkout{
  height: 44px;
  border-radius: 12px;
  border: 0;
  background: #0b5fff;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.cart-checkout:disabled{
  opacity: 0.7;
  cursor: not-allowed;
}

.cart-empty{
  color: #64748b;
}
.cart-dimmer { position: fixed; inset: 0; z-index: 9998 !important; }
.cart-drawer { position: fixed; right: 0; top: 0; z-index: 9999 !important; }

/* 🔒 Make the HTML hidden attribute actually hide elements (wins over display:grid/flex) */
[hidden] {
  display: none !important;
}
.cart-btn {
  position: relative;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: inherit;
}

.cart-btn:hover {
  opacity: 0.85;
}

.cart-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: crimson;
  color: white;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  font-weight: 600;
  pointer-events: none;
}

.qty {
  width: 96px;       /* 👈 key line */
  flex-shrink: 0;    /* 👈 prevents stealing space */
}
.qty-btn {
  width: 32px;
}

.qty-input {
  width: 32px;
}
/* =========================================
   MOBILE TUNING (append at very bottom)
   ========================================= */

/* iOS/Chrome safe spacing + prevent header/hero “hugging” */
@media (max-width: 640px) {
  .site {
    padding-top: 0.75rem;   /* gives breathing room under header */
  }

  header {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .header-inner {
    padding: 0.65rem 0.85rem 0.75rem;
    gap: 0.75rem;
  }

  /* Stack the top row nicely */
  .top-row {
    align-items: center;
    gap: 0.75rem;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .brand-tagline {
    font-size: 0.78rem;
  }

  /* Spot pills should drop under branding, full width */
  .mini-spot-strip {
    justify-content: flex-start;
    width: 100%;
    gap: 0.5rem;
  }
  .mini-spot-pill {
    flex: 1;
    justify-content: space-between;
    min-width: 0;
  }

  /* Nav becomes horizontally scrollable (prevents ugly multi-line wrap) */
  nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    gap: 0.4rem;
  }
  nav ul::-webkit-scrollbar {
    height: 6px;
  }
  nav a {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  /* Hero spacing + readable padding on small screens */
  section {
    padding-top: 2rem;
  }

  .hero {
    gap: 1rem;
  }

  .hero-copy {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .hero-copy h1 {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  .hero-actions {
    gap: 0.6rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero panel should not feel cramped */
  .hero-panel {
    padding: 1rem;
    border-radius: 16px;
  }

  /* Section header overlay padding smaller on mobile */
  .section-header {
    padding: 1rem 1.1rem;
  }

  /* Inventory cards: tighten text so everything fits */
  .coin-info {
    padding: 12px 12px 14px;
  }
  .coin-name {
    font-size: 0.92rem;
    line-height: 1.25;
  }
  .coin-note {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  /* Subcategory pills: easier taps + less wrap chaos */
  .subnav {
    gap: 0.45rem;
    margin-bottom: 1rem;
  }
  .subpill {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
}

/* Extra-small phones (like 360px wide) */
@media (max-width: 380px) {
  .brand-name { font-size: 0.95rem; }
  .mini-spot-pill { padding: 4px 8px; }
  .hero-copy { padding: 1rem; }
}
/* =========================================
   MOBILE: FIX NARROW / RIGHT-GUTTER LAYOUT
   Append to very bottom of main.css
   ========================================= */
@media (max-width: 640px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* If desktop styling adds padding around the whole page, remove it */
  body {
    margin: 0;
    padding: 0;
  }

  /* Kill any “centered container with max-width” behavior on mobile */
  .site, .container, .page, main, header, section, footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  /* If your header card is rounded like desktop, flatten it on mobile */
  header {
    border-radius: 0;
  }

  /* Make sure big images/cards don’t overflow and cause weird spacing */
  img, video {
    max-width: 100%;
    height: auto;
    display: block;
  }
}
/* ===== Coming Soon: force correct layout inside Inventory grid ===== */

/* 1) If this lives inside .coin-grid, make it span ALL columns */
.coin-grid > .coming-soon-grid{
  grid-column: 1 / -1 !important;
  justify-self: stretch;
  width: 100%;
  max-width: none;
}

/* 2) Force the coming-soon container to actually be a grid */
.coming-soon-grid{
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 14px;
}

/* 3) Two-up on larger screens (adjust breakpoint if you want earlier) */
@media (min-width: 640px){
  .coming-soon-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 4) Reset any global inventory/card image constraints */
.coming-soon-grid img{
  width: 100% !important;
  height: auto !important;          /* <-- kills forced heights */
  max-height: none !important;
  object-fit: cover;
  display: block;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

/* ===============================
   MOBILE HEADER: BIG LOGO LEFT
   =============================== */
@media (max-width: 640px) {

  .top-row{
    display: grid;
    grid-template-columns: 72px 1fr; /* ⬅️ BIGGER LOGO COLUMN */
    grid-template-areas:
      "logo brand"
      "spots spots";
    align-items: center;
    gap: 12px 14px;
  }

  /* BIG logo */
  .brand-logo{
    grid-area: logo;
    width: 84px;        /* ⬅️ increase here if you want even bigger */
    height: 84px;
    padding: 6px;
    justify-self: start;
  }

  .brand-logo img{
    width: 100%;
    height: 100%;
  }

  /* Brand text */
  .brand{
    grid-area: brand;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }

  .brand-name{
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .brand-tagline{
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* Spot pills stay below */
  .mini-spot-strip{
    grid-area: spots;
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
  }

  .mini-spot-pill{
    flex: 1 1 auto;
  }
}
/* ===============================
   MOBILE: add breathing room between logo + text
   =============================== */
@media (max-width: 640px) {

  /* Increase horizontal gap between logo column and text */
  .top-row{
    column-gap: 20px;   /* ⬅️ THIS is the main fix */
    row-gap: 14px;
  }

  /* Give brand text its own padding so it doesn’t cling */
  .brand{
    padding-left: 4px;
    gap: 6px;           /* more vertical air between name/tagline */
  }

  /* Slightly relax line-height so text doesn’t feel compressed */
  .brand-name{
    line-height: 1.2;
  }

  .brand-tagline{
    line-height: 1.25;
  }
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;

  background: #ffffff;
  color: #0b2a4a; /* match your navy */

  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);

  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cart-btn:active {
  transform: translateY(0);
}
#cartBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 1.5rem;
  height: 1.5rem;

  font-size: 0.85rem;
  font-weight: 700;

  background: #0b2a4a;
  color: #fff;

  border-radius: 999px;
  padding: 0 0.4rem;
}
