/* P. K TRADERS — seed catalog aisles (readable accordion drawers) */

.vx-cabinet {
  width: min(920px, calc(100% - 2rem));
  max-width: calc(100vw - 7.25rem);
  margin: 0.75rem auto 3rem;
  padding-bottom: 3.5rem;
  color: var(--vx-ink);
}

.vx-cabinet-mast {
  margin-bottom: 1.35rem;
  padding: 1.35rem 1.5rem;
  background: var(--vx-paper);
  border: 1.5px solid var(--vx-ink);
  border-radius: var(--vx-radius);
  box-shadow: 5px 5px 0 var(--vx-cyan);
  animation: vx-rise 0.5s var(--vx-ease) both;
}
.vx-cabinet-mast .vx-kicker {
  margin: 0 0 0.35rem;
  color: var(--vx-cyan-deep);
}
.vx-cabinet-mast h1 {
  margin: 0;
  font-family: var(--vx-font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--vx-ink);
}
.vx-cabinet-mast > p {
  margin: 0.6rem 0 0;
  color: #2f3d48;
  max-width: 48ch;
  line-height: 1.55;
  font-size: 0.98rem;
}
.vx-cabinet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.vx-cabinet-meta span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: #fff;
  border: 1.5px solid var(--vx-ink);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2f3d48;
}
.vx-cabinet-meta strong {
  font-family: var(--vx-font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--vx-ink);
}

.vx-cabinet-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: vx-rise 0.55s var(--vx-ease) 0.08s both;
}

.vx-cab {
  background: var(--vx-paper);
  border: 1.5px solid var(--vx-ink);
  border-radius: var(--vx-radius);
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(16, 24, 32, 0.1);
  transition: box-shadow 0.25s var(--vx-ease);
}
.vx-cab[open] {
  box-shadow: 5px 5px 0 var(--vx-cyan);
}

.vx-cab-face {
  display: grid;
  grid-template-columns: 2.5rem 3.5rem minmax(0, 1fr) 1.5rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 1rem;
  cursor: pointer;
  list-style: none;
  background: var(--vx-paper);
  color: var(--vx-ink);
  transition: background 0.2s;
}
.vx-cab-face::-webkit-details-marker { display: none; }
.vx-cab-face::marker { content: ""; }
.vx-cab-face:hover { background: #eef3f6; }
.vx-cab-face:focus-visible {
  outline: 3px solid var(--vx-flare);
  outline-offset: -3px;
}
.vx-cab[open] .vx-cab-face {
  background: var(--vx-ink);
  color: #F8F7F4;
  border-bottom: 1.5px solid var(--vx-ink);
}

.vx-cab-no {
  font-family: var(--vx-font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--vx-cyan-deep);
  letter-spacing: -0.02em;
}
.vx-cab[open] .vx-cab-no { color: var(--vx-flare); }

.vx-cab-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--vx-radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--vx-ink);
  background: #b8c5d0;
  flex-shrink: 0;
}
.vx-cab[open] .vx-cab-thumb { border-color: var(--vx-flare); }
.vx-cab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vx-cab-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.vx-cab-copy strong {
  font-family: var(--vx-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--vx-ink);
}
.vx-cab[open] .vx-cab-copy strong { color: #F8F7F4; }
.vx-cab-copy em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2f3d48;
}
.vx-cab[open] .vx-cab-copy em { color: rgba(248, 247, 244, 0.9); }

.vx-cab-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  justify-self: end;
  color: var(--vx-ink);
  opacity: 0.7;
  transition: transform 0.3s var(--vx-ease), opacity 0.2s, color 0.2s;
}
.vx-cab[open] .vx-cab-chevron {
  transform: rotate(225deg);
  opacity: 1;
  color: var(--vx-flare);
}

.vx-cab-tray {
  padding: 1rem 1.1rem 1.25rem;
  background: #eef3f6;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
  animation: vx-rise 0.35s var(--vx-ease) both;
}

.vx-cab-index {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.vx-cab-index a {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) auto;
  gap: 0.55rem 0.7rem;
  align-items: center;
  padding: 0.65rem 0.8rem;
  background: #fff;
  border: 1.5px solid rgba(16, 24, 32, 0.14);
  border-radius: var(--vx-radius-sm);
  color: var(--vx-ink) !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.2s, transform 0.2s var(--vx-ease), box-shadow 0.2s;
}
.vx-cab-index a:hover,
.vx-cab-index a:focus-visible {
  border-color: var(--vx-ink);
  transform: translateX(3px);
  box-shadow: 3px 3px 0 var(--vx-cyan);
  outline: none;
}
.vx-cab-idx {
  font-family: var(--vx-font-display);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--vx-cyan-deep);
}
.vx-cab-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--vx-ink);
}
.vx-cab-price {
  font-family: var(--vx-font-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--vx-cyan-deep);
  white-space: nowrap;
}
.vx-cab-more {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2f3d48;
}

.vx-cab-cta {
  width: 100%;
  justify-content: center;
  min-height: 2.75rem;
}

.vx-cabinet-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.2rem 1.3rem;
  background: var(--vx-paper);
  border: 1.5px solid var(--vx-ink);
  border-radius: var(--vx-radius);
  box-shadow: 4px 4px 0 rgba(214, 242, 58, 0.55);
  animation: vx-rise 0.55s var(--vx-ease) 0.14s both;
}
.vx-cabinet-foot strong {
  display: block;
  font-family: var(--vx-font-display);
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--vx-ink);
}
.vx-cabinet-foot p {
  margin: 0;
  color: #2f3d48;
  font-size: 0.9rem;
  max-width: 38ch;
  line-height: 1.45;
}
.vx-cabinet-foot .vx-btn {
  min-height: 2.65rem;
}

@media (max-width: 720px) {
  .vx-cabinet {
    max-width: calc(100vw - 2rem);
    padding-bottom: 5.5rem;
  }
  .vx-cab-face {
    grid-template-columns: 2rem 3rem minmax(0, 1fr) 1.25rem;
    gap: 0.55rem;
    padding: 0.7rem 0.8rem;
  }
  .vx-cab-thumb { width: 3rem; height: 3rem; }
  .vx-cab-copy strong { font-size: 0.98rem; }
  .vx-cabinet-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .vx-cabinet-foot .vx-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .vx-cab-index a {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    grid-template-areas:
      "idx name"
      "idx price";
  }
  .vx-cab-idx { grid-area: idx; }
  .vx-cab-name {
    grid-area: name;
    white-space: normal;
  }
  .vx-cab-price {
    grid-area: price;
    justify-self: start;
  }
}
