:root {
  --sst-pi-row-gap: 14px;   /* was the theme's 28px margin-top   */
  --sst-pi-row-pad: 12px;   /* was the theme's 22px padding-top  */
  --sst-pi-card-x: 16px;
  --sst-pi-card-y: 14px;
  --sst-pi-up: #0e6b48;
  --sst-pi-up-bg: #e7f4ee;
  --sst-pi-down: #ab2440;
  --sst-pi-down-bg: #fbecef;
}
.sst-pi-card {
  min-width: 0;
  padding: var(--sst-pi-card-y) var(--sst-pi-card-x);
  border: 1px solid var(--sst-line);
  border-radius: var(--sst-card-radius);
  background: var(--sst-surface);
}
.sst-pi-card--col {
  display: flex;
  flex-direction: column;
}
.sst-pi-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sst-muted);
}
.sst-pi-muted {
  color: var(--sst-muted);
  font-size: 12px;
}
.woocommerce div.product .sst-pi-inforow {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 12px;
  align-items: start;
  margin-top: var(--sst-pi-row-gap);
  padding-top: var(--sst-pi-row-pad);
  border-top: 1px solid var(--sst-line);
}
.woocommerce div.product .sst-pi-inforow--single {
  grid-template-columns: minmax(0, 1fr);
}
.woocommerce div.product .related.products.sst-fbt,
.woocommerce div.product .related.products.sst-pi-recent {
  margin-top: var(--sst-pi-row-gap);
  padding-top: var(--sst-pi-row-pad);
}
.woocommerce div.product .sst-pi-inforow,
.woocommerce div.product .related.products.sst-fbt,
.woocommerce div.product .related.products.sst-pi-recent {
  min-width: 0;
}
.woocommerce div.product .sst-fbt .sst-fbt__head,
.woocommerce div.product .sst-pi-recent .sst-fbt__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin-bottom: 10px;
}
.woocommerce div.product .related.products.sst-fbt > .sst-fbt__head > h2,
.woocommerce div.product .related.products.sst-pi-recent > .sst-fbt__head > h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.sst-fbt__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--sst-muted);
}
.sst-pi-summary-chart {
  margin-top: 14px;
}
.sst-pi-market__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;      /* safety net: CTA drops to its own line rather than overflowing */
  gap: 2px 10px;
}
.sst-pi-market__top .sst-pi-eyebrow {
  min-width: 0;
}
.sst-pi-cta {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--sst-accent);
  text-decoration: none;
  white-space: nowrap;
}
.sst-pi-cta:hover {
  color: var(--sst-accent-dark);
  text-decoration: underline;
}
.sst-pi-cta:focus-visible {
  outline: 2px solid var(--sst-focus);
  outline-offset: 2px;
  border-radius: 3px;
}
.sst-pi-market__name {
  display: -webkit-box;
  margin: 3px 0 0;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sst-ink);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.sst-pi-market__row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 4px;
}
.sst-pi-market__value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--sst-ink);
  font-variant-numeric: tabular-nums;
}
.sst-pi-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.sst-pi-pill.sst-pi-up { background: var(--sst-pi-up-bg); color: var(--sst-pi-up); }
.sst-pi-pill.sst-pi-down { background: var(--sst-pi-down-bg); color: var(--sst-pi-down); }
.sst-pi-market__sales {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--sst-muted);
  font-variant-numeric: tabular-nums;
}
.sst-pi-spark {
  display: block;
  width: 100%;
  height: 72px;
  margin: 6px 0 2px;
  border-radius: 6px;
}
.sst-pi-spark .sst-pi-spark__line { stroke: currentColor; }
.sst-pi-spark .sst-pi-spark__fill { fill: currentColor; opacity: 0.08; }
.sst-pi-spark.sst-pi-up { color: #12835a; }
.sst-pi-spark.sst-pi-down { color: #c22947; }
.sst-pi-market__foot {
  margin: auto 0 0;
  padding-top: 2px;
  font-size: 11px;
  line-height: 1.4;
}
.sst-pi-specs {
  padding: 0;              /* overrides .sst-pi-card; parts carry their own padding */
  overflow: hidden;        /* keeps the summary hover tint inside the 12px radius */
}
.sst-pi-specs__summary {
  display: flex;           /* also removes the UA list-item marker in Chrome/Firefox */
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.sst-pi-specs__summary::-webkit-details-marker { display: none; }
.sst-pi-specs__summary::marker { content: ""; }
.sst-pi-specs__summary:hover { background: var(--sst-gray); }
.sst-pi-specs__summary:focus-visible {
  outline: 2px solid var(--sst-focus);
  outline-offset: -2px;
}
.sst-pi-specs__summary .sst-pi-eyebrow {
  flex: 0 0 auto;
}
.sst-pi-specs__preview {
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--sst-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sst-pi-specs__marker {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid var(--sst-muted);
  border-bottom: 2px solid var(--sst-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.18s ease;
}
.sst-pi-specs[open] .sst-pi-specs__marker {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.sst-pi-specs__body {
  padding: 0 14px 12px;
}
.sst-pi-specs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
}
.sst-pi-specs__row {
  min-width: 0;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--sst-line);
}
.sst-pi-specs__row dt {
  margin: 0 0 2px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sst-muted);
}
.sst-pi-specs__row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--sst-ink);
  overflow-wrap: anywhere;   /* "Mega Brave (メガブレイブ)" in a 155px cell */
}
.sst-pi-resources__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.sst-pi-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 32px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--sst-line);
  border-radius: 999px;
  background: var(--sst-paper);
  color: var(--sst-ink);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.sst-pi-chip:hover {
  border-color: var(--sst-accent);
  background: var(--sst-soft);
  color: var(--sst-accent);
}
.sst-pi-chip:focus-visible {
  outline: 2px solid var(--sst-focus);
  outline-offset: 2px;
}
.sst-pi-chip__icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--sst-accent);
}
.sst-pi-chip__icon svg {
  width: 15px;
  height: 15px;
}
.sst-pi-chip:hover .sst-pi-chip__icon {
  color: var(--sst-accent);
}
.sst-pi-chip__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sst-fbt__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-self: start;
  align-self: start;
  margin: 0 0 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sst-soft);
  color: var(--sst-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.sst-fbt__chip svg {
  flex: 0 0 auto;
}
.woocommerce div.product .sst-fbt ul.products li.product.sst-fbt__card {
  position: relative;
  border-radius: var(--sst-card-radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
@media (hover: hover) {.woocommerce div.product .sst-fbt ul.products li.product.sst-fbt__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(18, 18, 18, 0.09);
  }}
.sst-pi-check {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  cursor: pointer;
}
.sst-pi-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.sst-pi-check__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--sst-line);
  border-radius: 7px;
  background: var(--sst-paper);
  box-shadow: 0 1px 4px rgba(18, 18, 18, 0.12);
  transition: border-color 0.12s ease, background 0.12s ease;
}
.sst-pi-check__box::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: transparent;
  transition: background 0.12s ease;
}
.sst-pi-check:hover .sst-pi-check__box {
  border-color: var(--sst-accent);
}
.sst-pi-check input:checked + .sst-pi-check__box {
  border-color: var(--sst-accent);
  background: var(--sst-soft);
}
.sst-pi-check input:checked + .sst-pi-check__box::after {
  background: var(--sst-accent);
}
.sst-pi-check input:focus-visible + .sst-pi-check__box {
  outline: 2px solid var(--sst-focus);
  outline-offset: 2px;
}
.sst-pi-bulkbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid var(--sst-line);
  border-radius: 10px;
  background: var(--sst-gray);
}
.sst-pi-bulkbar[hidden] {
  display: none;
}
.sst-pi-bulkbar__summary {
  font-size: 14px;
  font-weight: 700;
  color: var(--sst-ink);
  font-variant-numeric: tabular-nums;
}
.sst-pi-bulkbar__btn.button {
  background: var(--sst-accent);
  color: var(--sst-btn-label);
  border: 0;
  border-radius: var(--sst-radius);
  font-weight: 700;
}
.sst-pi-bulkbar__btn.button:hover {
  background: var(--sst-accent-dark);
  color: var(--sst-btn-label);
}
@supports selector(::details-content) {@media (min-width: 901px) {.sst-pi-specs::details-content {
      content-visibility: visible;
    }
.sst-pi-specs__summary {
      cursor: default;
    }
.sst-pi-specs__summary:hover {
      background: transparent;
    }
.sst-pi-specs__marker,
    .sst-pi-specs__preview {
      display: none;      /* the teaser would duplicate two dl rows */
    }}}
@media (max-width: 900px) {.woocommerce div.product .sst-pi-inforow {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.sst-pi-market__value {
    font-size: 22px;
  }}
@media (max-width: 640px) {.woocommerce div.product .related.products.sst-fbt ul.products {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    margin: 0 -16px;
    padding: 2px 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
.woocommerce div.product .related.products.sst-fbt ul.products::-webkit-scrollbar {
    display: none;
  }
.woocommerce div.product .related.products.sst-fbt ul.products li.product {
    flex: 0 0 64%;
    max-width: 64%;
    scroll-snap-align: start;
  }
.woocommerce div.product .sst-fbt .sst-product-card__media {
    margin: 8px 8px 0;
  }
.woocommerce div.product .sst-fbt .sst-product-card__body {
    gap: 6px;
    padding: 10px 12px 6px;
  }
.sst-pi-card {
    padding: 12px 14px;
  }
.sst-pi-specs__summary {
    min-height: 40px;
    padding: 10px 12px;
  }
.sst-pi-specs__body {
    padding: 0 12px 10px;
  }
.sst-pi-specs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
  }
.sst-pi-summary-chart {
    margin-top: 12px;
  }
.sst-pi-spark {
    height: 64px;
  }
.sst-pi-bulkbar {
    position: sticky;
    bottom: 8px;
    z-index: 5;
    justify-content: space-between;
    background: var(--sst-paper);
    box-shadow: 0 8px 24px rgba(18, 18, 18, 0.14);
  }}
@media (max-width: 380px) {.sst-pi-market__value {
    font-size: 21px;
  }
.sst-pi-chip {
    font-size: 12px;
    padding: 5px 10px 5px 9px;
  }
.sst-pi-specs__grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {.sst-pi-chip,
  .sst-pi-check__box,
  .sst-pi-check__box::after,
  .sst-pi-specs__marker,
  .woocommerce div.product .sst-fbt ul.products li.product.sst-fbt__card {
    transition: none;
  }
.woocommerce div.product .sst-fbt ul.products li.product.sst-fbt__card:hover {
    transform: none;
  }}
@media print {.sst-pi-bulkbar,
  .sst-pi-check {
    display: none;
  }
.sst-pi-specs__body {
    display: block;
  }}
.woocommerce div.product .related.products.sst-pi-recent[hidden] {
  display: none;
}
.woocommerce div.product .summary .sst-pi-points {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 2px 0 10px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
}
.sst-pi-points__earn {
  color: #8a6d1a;
  font-weight: 600;
}
.sst-pi-points__earn::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #c9a227;
  vertical-align: baseline;
}
.sst-pi-points__signin {
  font-size: 13px;
  color: #63646b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.woocommerce div.product .summary .sst-pi-points[hidden] {
  display: none;
}
.woocommerce div.product p.stock.sst-pi-lowstock {
  color: #ab2440;
  font-weight: 600;
}
.sst-pi-qocta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 11px 18px;
  border: 1px solid #17171a;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.woocommerce div.product .sst-pi-qocta__btn--all,
.sst-pi-qocta__btn--all {
  background: #f7f5f1;
  color: #17171a;
}
.woocommerce div.product .sst-pi-qocta__btn--qo,
.sst-pi-qocta__btn--qo {
  background: #17171a;
  color: #f7f5f1;
}
.sst-pi-qocta__btn--all:hover {
  background: #17171a;
  color: #f7f5f1;
}
.sst-pi-qocta__btn--qo:hover {
  background: #3a3a40;
  color: #f7f5f1;
}
.sst-pi-qocta__arrow {
  font-weight: 400;
}
.sst-pi-qocta--compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin: 14px 0 4px;
  min-width: 0;
}
.woocommerce div.product .sst-pi-qocta--band {
  grid-column: 1 / -1;
  min-width: 0;
}
.sst-pi-qocta--band {
  margin-top: var(--sst-pi-row-gap);
  padding: 26px 20px;
  border-top: 1px solid #17171a;
  border-bottom: 1px solid #d9d6cf;
  background: #f7f5f1;
}
.sst-pi-qocta__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  min-width: 0;
}
.sst-pi-qocta__eyebrow {
  margin: 0 0 6px;
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #63646b;
}
.sst-pi-qocta__lead {
  margin: 0 0 16px;
  font-size: 15px;
  color: #17171a;
}
.sst-pi-qocta__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.sst-pi-qocta--band .sst-pi-qocta__btn {
  padding: 13px 26px;
  font-size: 14px;
}
@media (max-width: 640px) {.sst-pi-qocta--compact {
    grid-template-columns: minmax(0, 1fr);
  }
.sst-pi-qocta__row {
    flex-direction: column;
    align-items: stretch;
  }}
.woocommerce div.product .sst-pi-reviews {
  grid-column: 1 / -1;
  min-width: 0;
}
.sst-pi-reviews {
  margin-top: var(--sst-pi-row-gap);
  padding-top: var(--sst-pi-row-pad);
  border-top: 1px solid #e3e1db;
  min-width: 0;
}
.sst-pi-reviews__title {
  margin: 0 0 14px;
  font-size: 22px;
}
.sst-pi-reviews__summary {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 320px);
  align-items: center;
  gap: 12px 40px;
  margin-bottom: 18px;
  padding: 16px var(--sst-pi-card-x);
  border: 1px solid #e3e1db;
  border-radius: 8px;
  background: #fbfaf8;
  min-width: 0;
}
.sst-pi-reviews__avg {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-width: 0;
}
.sst-pi-reviews__avg-num {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.sst-pi-reviews__stars {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.sst-pi-reviews__stars svg {
  display: inline-block;
}
.sst-pi-reviews__stars-bg svg {
  fill: #ddd9d0;
}
.sst-pi-reviews__stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
}
.sst-pi-reviews__stars-fill svg {
  fill: #c9a227;
}
.sst-pi-reviews__count {
  font-size: 13px;
  color: #63646b;
}
.sst-pi-reviews__bars {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.sst-pi-reviews__bar-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #63646b;
}
.sst-pi-reviews__bar {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #ece9e2;
  overflow: hidden;
}
.sst-pi-reviews__bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #c9a227;
}
.sst-pi-reviews__bar-n {
  text-align: right;
}
.sst-pi-reviews__list #reviews {
  max-width: none;
}
.sst-pi-reviews__list .woocommerce-Reviews-title {
  display: none;
}
.sst-pi-reviews__list #reviews .commentlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sst-pi-reviews__list #reviews .commentlist li.review {
  margin: 0;
  padding: 14px var(--sst-pi-card-x);
  border: 1px solid #e3e1db;
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}
.sst-pi-reviews__list #reviews .commentlist li.review img.avatar {
  display: none;
}
.sst-pi-reviews__list #reviews .commentlist li.review .comment_container,
.sst-pi-reviews__list #reviews .commentlist li.review .comment-text {
  margin: 0;
  padding: 0;
  border: 0;
}
.sst-pi-reviews__list #reviews .commentlist li.review.sst-pi-reviews__clamped {
  display: none;
}
.sst-pi-reviews__showall {
  display: block;
  margin: 14px auto 0;
  padding: 10px 22px;
  border: 1px solid #17171a;
  border-radius: 2px;
  background: #fff;
  color: #17171a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.sst-pi-reviews__showall:hover {
  background: #17171a;
  color: #f7f5f1;
}
@media (max-width: 900px) {.sst-pi-reviews__summary {
    grid-template-columns: minmax(0, 1fr);
  }
.sst-pi-reviews__list #reviews .commentlist {
    grid-template-columns: minmax(0, 1fr);
  }}
@media print {.sst-pi-qocta--compact,
  .sst-pi-qocta--band,
  .sst-pi-reviews__showall {
    display: none;
  }}
.woocommerce div.product .summary .sst-pi-duty[hidden] { display: none; }
.woocommerce div.product .summary .sst-pi-duty {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #63646b;
}
