.akiba-desktop-shelves {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding-block: 24px 44px;
}
.akiba-desktop-shelf {
  display: flex;
  flex-direction: column;
  --shelf-start: var(--akiba-psa-orange);
  --shelf-end: var(--akiba-psa-orange-deep);
  --shelf-strong: var(--akiba-orange-text);
  --shelf-focus: var(--akiba-on-psa-orange);
  padding: clamp(16px, 2vw, 24px);
  min-width: 0;
  border-radius: 18px;
  border-top: 5px solid var(--shelf-start);
  color: var(--akiba-on-psa-orange);
  background:
    repeating-linear-gradient(132deg, #ffffff0a 0 1px, transparent 1px 19px),
    linear-gradient(125deg, var(--shelf-start) 15%, var(--shelf-end));
  box-shadow: 0 10px 24px -16px var(--shelf-strong);
}
.akiba-desktop-shelf[data-home-card-format="box"] {
  --shelf-start: var(--akiba-purchase);
  --shelf-end: #fff0a7;
  --shelf-strong: #47300b;
  --shelf-focus: #47300b;
  color: var(--akiba-on-purchase);
}
.akiba-desktop-shelf-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.akiba-desktop-shelf-heading h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.1;
}
.akiba-desktop-shelf-heading a, .akiba-desktop-shelf-retry {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
}
.akiba-desktop-shelf-retry { background: transparent; border: 0; cursor: pointer; }
.akiba-desktop-shelf :focus-visible { outline: 2px solid var(--shelf-focus); outline-offset: 3px; }
.akiba-desktop-shelf-message { margin: 0; padding-block: 6px; }
.akiba-desktop-products {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}
.akiba-desktop-shelf[data-home-card-format="box"] .akiba-desktop-products {
  flex: none;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: max(220px, calc((100% - 54px) / 4));
  grid-auto-rows: auto;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #aa6c00 #ffedb0;
  padding-bottom: 12px;
}
.akiba-desktop-shelf[data-home-card-format="box"] .akiba-desktop-product {
  scroll-snap-align: start;
}
.akiba-desktop-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 13px;
  background: #fff;
  color: #231b24;
  overflow: hidden;
}
.akiba-desktop-product a:hover strong { text-decoration: underline; }
.akiba-desktop-product > a { display: block; }
.akiba-desktop-product > .journey-banner { margin: auto 9px 9px; }
.akiba-desktop-product > form { margin: auto 14px 14px; }
.akiba-desktop-box-purchase {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  background: var(--akiba-purchase);
  color: var(--akiba-on-purchase);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.akiba-desktop-box-purchase:hover { background: var(--akiba-purchase-hover); }
.akiba-desktop-product-photo {
  width: 100%;
  height: clamp(130px, 16vw, 225px);
  padding: 12px;
  object-fit: contain;
  background: #fff;
}
.akiba-card-cover-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}
.akiba-card-cover {
  flex: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  -webkit-mask: var(--card-cover-mask) center / 100% 100% no-repeat;
  mask: var(--card-cover-mask) center / 100% 100% no-repeat;
}
.akiba-desktop-product-info {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  overflow-wrap: anywhere;
}
.akiba-desktop-product-info b { color: var(--shelf-strong); }
.akiba-desktop-card-description { margin: 0; font-size: .875rem; line-height: 1.45; }
.akiba-desktop-photo-pending {
  display: grid;
  place-items: center;
  background: #f8f4f1;
  text-align: center;
  color: #554a45;
}
.akiba-desktop-coming-soon { font-size: .875rem; }
@media (max-width: 767px) {
  .akiba-desktop-shelves { display: none; }
}
