/* =====================================================
   MAGS MARIETTA — mobile.css
   Only loads on portrait screens 700px wide and under.
   Never edit style.css for mobile stuff — edit here.
   ===================================================== */

#site-outer {
  padding: 8px;
}

#page-wrap {
  grid-template-columns: 160px 1fr;
}

.product-grid {
  grid-template-columns: repeat(2, 1fr);
}

.product-label {
  bottom: -12px;
  left: -8px;
  right: -8px;
  min-height: 40px;
  font-size: 10px;
}

/* ===== SHOP PAGE MOBILE ===== */

/* Hide status and tags panels */
.shop-page .shop-status-panel,
.shop-page .shop-tags-panel {
  display: none;
}

/* Stack layout vertically, full width */
.shop-page #page-wrap {
  grid-template-columns: 1fr;
}

/* Sidebar goes full width on top */
.shop-page #sidebar {
  width: 100%;
}

/* Nav panel becomes horizontal 2x2 grid */
.shop-page .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shop-page .nav-links a {
  width: 100%;
}

/* Inventory spans full width */
.shop-page #main-content {
  width: 100%;
}

/* Products go to 3 columns since we have full width now */
.shop-page .product-grid {
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 12px;
}

.appraisal-banner {
  height: 20px;
  width: 100%;
  object-fit: fill;
  image-rendering: pixelated;
}

/* ===== ABOUT PAGE MOBILE ===== */

.about-page .about-status-panel,
.about-page .about-tags-panel {
  display: none;
}

.about-page #page-wrap {
  grid-template-columns: 1fr;
}

.about-page #sidebar {
  width: 100%;
}

.about-page .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.about-page .nav-links a {
  width: 100%;
}

.about-page #main-content {
  width: 100%;
}

/* ===== PRODUCT PAGE MOBILE ===== */

.product-page .product-status-panel,
.product-page .product-tags-panel {
  display: none;
}

.product-page #page-wrap,
.product-page .product-page-wrap {
  grid-template-columns: 1fr;
}

.product-page #sidebar {
  width: 100%;
}

.product-page .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.product-page .nav-links a {
  width: 100%;
}

.product-page #main-content {
  width: 100%;
}

.status-cell {
  flex-wrap: nowrap;
  gap: 8px;
}

.status-val {
  white-space: nowrap;
  margin-left: auto;
}

/* ===== CHECKOUT PAGE MOBILE ===== */

.checkout-page #page-wrap {
  grid-template-columns: 1fr;
}

.checkout-page #sidebar {
  width: 100%;
}

.checkout-page .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.checkout-page .nav-links a {
  width: 100%;
}

.checkout-page #main-content {
  width: 100%;
}
