body#page_product_list.venture-list-page {
  background:
    linear-gradient(rgba(4, 15, 27, 0.96), rgba(2, 10, 18, 0.985)),
    var(--venture-ink);
  color: #f4eee2;
}

body#page_product_list.venture-list-page::before {
  opacity: 0.3;
}

.venture-list {
  min-height: 62vh;
  padding: 18px 0 56px;
}

.venture-list__layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.25fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.venture-list-sidebar {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.venture-list-categories,
.venture-list-main {
  border: 1px solid var(--venture-line);
  background: rgba(3, 14, 25, 0.92);
}

.venture-list-categories h2 {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem;
  border-bottom: 1px solid var(--venture-line);
  color: var(--venture-gold-light);
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.venture-list-categories h2 .material-symbols-outlined {
  color: var(--venture-gold);
  font-size: 1.1rem;
}

.venture-list-categories > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.venture-list-categories > ul > li + li {
  border-top: 1px solid rgba(201, 154, 66, 0.28);
}

.venture-list-categories a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  min-height: 47px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.78rem;
  color: #f1eadc;
  font-size: 0.76rem;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, padding-left 160ms ease;
}

.venture-list-categories a > .material-symbols-outlined:first-child {
  color: var(--venture-gold);
  font-size: 1.15rem;
}

.venture-list-categories a > .material-symbols-outlined:last-child {
  color: var(--venture-gold-light);
  font-size: 1rem;
}

.venture-list-categories a:hover,
.venture-list-categories a:focus-visible {
  background: rgba(201, 154, 66, 0.12);
  color: var(--venture-gold-light);
  outline: none;
  padding-left: 0.92rem;
}

.venture-list-categories a.is-active {
  background:
    linear-gradient(90deg, rgba(201, 154, 66, 0.72), rgba(139, 106, 48, 0.64));
  color: #fff8e8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.venture-list-categories a.is-active > .material-symbols-outlined {
  color: #fff0c9;
}

.venture-list-category__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
}

.venture-list-category__row.is-path {
  background: rgba(201, 154, 66, 0.1);
}

.venture-list-category__row .venture-list-category__link {
  grid-template-columns: 24px minmax(0, 1fr);
}

.venture-list-category__row.is-path .venture-list-category__link {
  color: var(--venture-gold-light);
}

.venture-list-category__toggle {
  display: grid;
  min-width: 42px;
  min-height: 47px;
  place-items: center;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(201, 154, 66, 0.18);
  background: transparent;
  color: var(--venture-gold-light);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.venture-list-category__toggle:hover,
.venture-list-category__toggle:focus-visible {
  background: rgba(201, 154, 66, 0.16);
  color: #fff0c9;
  outline: 1px solid var(--venture-gold);
  outline-offset: -2px;
}

.venture-list-category__toggle .material-symbols-outlined {
  font-size: 1.12rem;
  transition: transform 180ms ease;
}

.venture-list-category__toggle[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
}

.venture-list-category__children {
  margin: 0;
  padding: 0.18rem 0 0.28rem;
  border-top: 1px solid rgba(201, 154, 66, 0.2);
  background: rgba(0, 7, 14, 0.52);
  list-style: none;
}

.venture-list-category__children[hidden] {
  display: none;
}

.venture-list-category__children li + li {
  border-top: 1px solid rgba(201, 154, 66, 0.12);
}

.venture-list-categories .venture-list-category__child-link {
  grid-template-columns: 20px minmax(0, 1fr) 16px;
  min-height: 38px;
  padding: 0.42rem 0.68rem 0.42rem 1rem;
  color: #dcd3c4;
  font-size: 0.68rem;
  font-weight: 500;
}

.venture-list-categories .venture-list-category__child-link > .material-symbols-outlined:first-child {
  color: rgba(240, 206, 134, 0.72);
  font-size: 0.92rem;
}

.venture-list-categories .venture-list-category__child-link > .material-symbols-outlined:last-child {
  font-size: 0.86rem;
}

.venture-list-categories .venture-list-category__child-link:hover,
.venture-list-categories .venture-list-category__child-link:focus-visible {
  padding-left: 1.14rem;
}

.venture-list-categories .venture-list-category__child-link.is-active {
  background: linear-gradient(90deg, rgba(201, 154, 66, 0.46), rgba(139, 106, 48, 0.22));
  color: #fff8e8;
}

.venture-list-promo {
  position: relative;
  display: flex;
  min-height: 124px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid var(--venture-line);
  color: #f6eddb;
  transition: border-color 180ms ease, transform 180ms ease;
}

.venture-list-promo::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(240, 206, 134, 0.34);
  content: "";
  pointer-events: none;
}

.venture-list-promo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 10, 18, 0.94), rgba(3, 14, 25, 0.38));
  content: "";
}

.venture-list-promo--member {
  background: url("../../img/pickup/venture-hero.jpg") 74% center / cover;
}

.venture-list-promo--buy {
  background: url("../../img/pickup/venture-event.jpg") 72% center / cover;
}

.venture-list-promo > * {
  position: relative;
  z-index: 1;
}

.venture-list-promo > span:first-child {
  color: var(--venture-gold);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.venture-list-promo strong {
  margin-top: 0.12rem;
  color: var(--venture-gold-light);
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
}

.venture-list-promo small {
  margin-top: 0.35rem;
  color: #e1d8c9;
  font-size: 0.62rem;
}

.venture-list-promo > .material-symbols-outlined {
  position: absolute;
  z-index: 1;
  right: 0.8rem;
  bottom: 0.65rem;
  color: rgba(240, 206, 134, 0.72);
  font-size: 1.35rem;
}

.venture-list-promo:hover,
.venture-list-promo:focus-visible {
  border-color: var(--venture-gold-light);
  outline: none;
  transform: translateY(-2px);
}

.venture-list-main {
  min-width: 0;
}

.venture-list-heading {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid var(--venture-line);
  background:
    radial-gradient(circle at 78% 120%, rgba(201, 154, 66, 0.16), transparent 18rem),
    rgba(4, 16, 29, 0.96);
}

.venture-list-heading > .material-symbols-outlined {
  color: var(--venture-gold);
  font-size: 1.35rem;
}

.venture-list-heading h1 {
  overflow: hidden;
  margin: 0;
  color: var(--venture-gold-light);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venture-list-toolbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.8rem 0.45rem 1rem;
  border-bottom: 1px solid var(--venture-line);
}

.venture-list-toolbar p {
  margin: 0;
  color: #d2c8b8;
  font-size: 0.72rem;
}

.venture-list-toolbar p span {
  margin-inline: 0.1rem;
  color: #f4ead8;
  font-weight: 700;
}

.venture-list-toolbar__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.venture-list-sort {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #cfc5b5;
  font-size: 0.68rem;
}

.venture-list-sort__select {
  position: relative;
  display: block;
}

.venture-list-sort select {
  min-width: 132px;
  height: 34px;
  appearance: none;
  border: 1px solid var(--venture-gold-muted);
  border-radius: 0;
  background: rgba(4, 16, 29, 0.95);
  color: #eee5d6;
  cursor: pointer;
  font-size: 0.68rem;
  padding: 0 2rem 0 0.72rem;
}

.venture-list-sort select:focus {
  border-color: var(--venture-gold-light);
  box-shadow: none;
  outline: 1px solid rgba(240, 206, 134, 0.35);
}

.venture-list-sort__select > .material-symbols-outlined {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  color: var(--venture-gold-light);
  font-size: 1rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.venture-list-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #a84c43;
  background: rgba(122, 32, 26, 0.36);
  color: #ffd7d2;
  font-size: 0.75rem;
}

.venture-list-alert p {
  margin: 0;
}

.venture-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(2, 12, 22, 0.74);
}

.venture-product-card {
  min-width: 0;
  border-right: 1px solid var(--venture-line);
  border-bottom: 1px solid var(--venture-line);
  background: rgba(4, 16, 29, 0.72);
}

.venture-product-card:nth-child(4n) {
  border-right: 0;
}

.venture-product-card__link {
  display: flex;
  min-height: 324px;
  height: 100%;
  flex-direction: column;
  color: #f4ede0;
  transition: background-color 180ms ease, color 180ms ease;
}

.venture-product-card__media {
  position: relative;
  display: grid;
  min-height: 244px;
  flex: 1;
  place-items: center;
  overflow: hidden;
  padding: 0.75rem;
}

.venture-product-card__media img {
  width: 100%;
  height: 100%;
  max-height: 232px;
  object-fit: contain;
  transition: filter 220ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.venture-product-card__media.is-sold-out::after {
  position: absolute;
  inset: 0;
  background: rgba(1, 8, 15, 0.26);
  content: "";
  pointer-events: none;
}

.venture-product-card__media.is-sold-out img {
  filter: grayscale(0.48) brightness(0.72);
}

.venture-product-card__soldout {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: calc(100% - 1.5rem);
  padding: 0.62rem 0.55rem;
  border: 1px solid rgba(255, 231, 180, 0.86);
  background: rgba(133, 34, 31, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
  color: #fff7e5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%);
}

.venture-product-card__body {
  display: block;
  padding: 0 0.8rem 1.05rem;
  text-align: center;
}

.venture-product-card__body h2 {
  overflow: hidden;
  margin: 0;
  color: #f2eadc;
  font-family: "Noto Serif JP", serif;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venture-product-card__body strong {
  display: block;
  overflow: hidden;
  margin-top: 0.2rem;
  color: #f6ead1;
  font-family: "Noto Serif JP", serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venture-product-card__link:hover,
.venture-product-card__link:focus-visible {
  background: rgba(201, 154, 66, 0.08);
  color: var(--venture-gold-light);
  outline: none;
}

.venture-product-card__link:hover img,
.venture-product-card__link:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: translateY(-3px) scale(1.025);
}

.venture-product-card__link:hover h2,
.venture-product-card__link:focus-visible h2 {
  color: var(--venture-gold-light);
}

.venture-list-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 14px;
}

.venture-list-pagination button {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border: 1px solid var(--venture-gold-muted);
  border-radius: 0;
  background: rgba(3, 14, 25, 0.9);
  color: #eadfc9;
  cursor: pointer;
  font-family: "Noto Serif JP", serif;
  font-size: 0.75rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.venture-list-pagination button:hover,
.venture-list-pagination button:focus-visible {
  border-color: var(--venture-gold-light);
  background: rgba(201, 154, 66, 0.14);
  color: var(--venture-gold-light);
  outline: none;
  transform: translateY(-1px);
}

.venture-list-pagination button:active {
  transform: translateY(1px);
}

.venture-list-pagination button.is-current {
  border-color: var(--venture-gold-light);
  background: var(--venture-gold-light);
  color: #07111d;
  cursor: default;
  font-weight: 700;
}

.venture-list-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

.venture-list-pagination__direction {
  min-width: 82px !important;
  padding-inline: 0.7rem;
}

.venture-list-pagination__ellipsis {
  min-width: 22px;
  color: var(--venture-gold-light);
  text-align: center;
}

.venture-list-empty {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.venture-list-empty > .material-symbols-outlined {
  color: var(--venture-gold);
  font-size: 2.8rem;
}

.venture-list-empty h2 {
  margin: 1rem 0 0;
  color: #f0e8da;
  font-family: "Noto Serif JP", serif;
  font-size: 1.08rem;
}

.venture-list-empty p {
  margin: 0.5rem 0 1.4rem;
  color: #bdb4a6;
  font-size: 0.72rem;
}

.venture-list-empty a {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--venture-gold-muted);
  color: var(--venture-gold-light);
  font-size: 0.72rem;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.venture-list-empty a:hover,
.venture-list-empty a:focus-visible {
  border-color: var(--venture-gold-light);
  background: rgba(201, 154, 66, 0.12);
  outline: none;
}

@media (max-width: 1080px) {
  .venture-list__layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .venture-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .venture-product-card:nth-child(4n) {
    border-right: 1px solid var(--venture-line);
  }

  .venture-product-card:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 820px) {
  .venture-list {
    padding-top: 12px;
  }

  .venture-list__layout {
    grid-template-columns: 1fr;
  }

  .venture-list-sidebar {
    gap: 8px;
  }

  .venture-list-categories > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venture-list-categories > ul > li + li {
    border-top: 0;
  }

  .venture-list-categories > ul > li {
    border-top: 1px solid rgba(201, 154, 66, 0.28);
  }

  .venture-list-categories > ul > li:nth-child(odd) {
    border-right: 1px solid rgba(201, 154, 66, 0.28);
  }

  .venture-list-promo {
    display: none;
  }

  .venture-product-card__link {
    min-height: 300px;
  }

  .venture-product-card__media {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .venture-list-categories h2 {
    min-height: 50px;
  }

  .venture-list-categories > ul {
    grid-template-columns: 1fr;
  }

  .venture-list-categories > ul > li:nth-child(odd) {
    border-right: 0;
  }

  .venture-list-categories > ul > li + li {
    border-top: 1px solid rgba(201, 154, 66, 0.28);
  }

  .venture-list-categories a {
    grid-template-columns: 20px minmax(0, 1fr) 14px;
    min-height: 42px;
    padding-inline: 0.55rem;
    font-size: 0.68rem;
  }

  .venture-list-category__row {
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .venture-list-category__row .venture-list-category__link {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .venture-list-category__toggle {
    min-width: 38px;
    min-height: 42px;
  }

  .venture-list-categories .venture-list-category__child-link {
    grid-template-columns: 17px minmax(0, 1fr) 13px;
    min-height: 36px;
    padding: 0.38rem 0.48rem 0.38rem 0.68rem;
    font-size: 0.64rem;
  }

  .venture-list-heading {
    min-height: 52px;
    padding-inline: 0.8rem;
  }

  .venture-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.7rem 0.8rem;
  }

  .venture-list-toolbar__controls {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .venture-list-sort {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0.3rem;
  }

  .venture-list-sort__select,
  .venture-list-sort select {
    width: 100%;
  }

  .venture-list-sort__select {
    max-width: none;
  }

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

  .venture-product-card:nth-child(3n) {
    border-right: 1px solid var(--venture-line);
  }

  .venture-product-card:nth-child(2n) {
    border-right: 0;
  }

  .venture-product-card__link {
    min-height: 248px;
  }

  .venture-product-card__media {
    min-height: 174px;
    padding: 0.45rem;
  }

  .venture-product-card__media img {
    max-height: 172px;
  }

  .venture-product-card__body {
    padding: 0 0.45rem 0.8rem;
  }

  .venture-product-card__body h2 {
    font-size: var(--venture-product-title-size-mobile);
  }

  .venture-product-card__body strong {
    font-size: var(--venture-product-price-size-mobile);
  }

  .venture-list-pagination {
    gap: 5px;
    padding-inline: 8px;
  }

  .venture-list-pagination button {
    min-width: 34px;
    height: 34px;
  }

  .venture-list-pagination__direction {
    min-width: 42px !important;
  }

  .venture-list-pagination__direction > span:not(.material-symbols-outlined) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .venture-list-categories a,
  .venture-list-category__toggle,
  .venture-list-category__toggle .material-symbols-outlined,
  .venture-list-promo,
  .venture-product-card__link,
  .venture-product-card__media img,
  .venture-list-pagination button {
    transition: none;
  }
}
