body > .store-topbar,
body > .ss-footer {
  max-width: 1312px;
  width: calc(100% - 32px);
  margin-inline: auto;
}
.ev-page {
  max-width: 1360px;
  margin: auto;
  padding: 28px 24px 56px;
}
.ev-page h1 {
  font-size: 32px;
  letter-spacing: 0;
  margin: 12px 0 24px;
}
.ev-breadcrumb {
  color: var(--muted);
  font-size: 13px;
}
.ev-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
}
.ev-filters {
  border-right: 1px solid var(--line);
  padding-right: 22px;
}
.ev-filters summary {
  cursor: pointer;
  min-height: 44px;
  font-weight: 700;
}
.ev-page {
  --indigo: #062a4f;
  --line: #d3dcea;
  --muted: #526680;
  --carbon: #101d31;
}
.ev-page input,
.ev-page select {
  max-width: 100%;
}
.ev-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.ev-filter-heading h2 {
  font-size: 17px;
  margin: 0;
}
.ev-filter-heading button {
  background: none;
  border: 0;
  color: var(--indigo);
  min-height: 44px;
  cursor: pointer;
}
.ev-filters fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
  min-width: 0;
}
.ev-filters legend {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ev-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  font-size: 13px;
}
.ev-filters input {
  accent-color: var(--indigo);
  width: 16px;
  height: 16px;
}
.ev-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.ev-toolbar input {
  flex: 1;
  min-width: 0;
}
.ev-toolbar input,
.ev-toolbar select {
  padding: 11px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  min-height: 44px;
  color: var(--carbon);
}
.ev-count {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}
.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ev-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.ev-card[hidden] {
  display: none;
}
.ev-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: white;
  padding: 16px;
}
.ev-card a {
  color: inherit;
  text-decoration: none;
}
.ev-card-copy {
  padding: 16px;
}
.ev-card h2 {
  font-size: 15px;
  line-height: 1.45;
  margin: 6px 0 10px;
}
.ev-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.ev-card small {
  color: var(--muted);
  font-size: 11px;
}
.ev-card-actions {
  padding: 0 16px 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}
.ev-add {
  background: var(--indigo);
  color: white;
  border: 0;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}
.ev-status {
  position: sticky;
  bottom: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 3px 12px #0001;
}
.ev-status:empty {
  display: none;
}
.ev-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 24px;
}
.ev-detail figure {
  margin: 0;
}
.ev-detail img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background: white;
}
.ev-detail figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.ev-detail h1 {
  font-size: 28px;
  line-height: 1.3;
}
.ev-detail p {
  line-height: 1.6;
}
.ev-detail table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.ev-detail th,
.ev-detail td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.ev-detail td {
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
  .ev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ev-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
  }
}
@media (max-width: 650px) {
  .ev-page {
    padding: 18px 16px 36px;
  }
  .ev-page h1 {
    font-size: 26px;
  }
  .ev-layout,
  .ev-detail {
    grid-template-columns: 1fr;
  }
  .ev-filters {
    border: 0;
    padding: 0;
  }
  .ev-filter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .ev-filters label {
    min-height: 44px;
  }
  .ev-filters fieldset {
    margin-bottom: 0;
  }
  .ev-filter-heading {
    margin-bottom: 8px;
  }
  .ev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ev-card img {
    height: 160px;
  }
  .ev-card-copy {
    padding: 12px;
  }
  .ev-card-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 12px 12px;
  }
  .ev-detail img {
    height: 300px;
  }
  .ev-toolbar select {
    max-width: 140px;
  }
}
@media (max-width: 360px) {
  .ev-grid {
    grid-template-columns: 1fr;
  }
}
