/* Native archive adapters; the sidebar/cards/filter geometry stays shared. */
.td-wordpress .violet-store .td-archive-layout {
  margin: 0;
}
.td-wordpress .violet-store .td-archive-layout.is-enhanced .td-filter-submit {
  display: none;
}
/* Keep native list spacing out of the shared Pagination controls. */
.td-wordpress .violet-store .pagination {
  container: td-archive-pagination / inline-size;
}
.td-wordpress .violet-store .pagination > ol {
  margin: 0;
  min-inline-size: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.td-wordpress .violet-store .pagination > ol > li {
  margin: 0;
}
.td-wordpress .violet-store .pagination :is(a, .pagination-disabled) {
  line-height: var(--line-heading);
}
.td-wordpress .violet-store .pagination > :is(a, .pagination-disabled) {
  flex: none;
}
.td-wordpress .violet-store .pagination .td-pagination-gap-compact {
  display: none;
}
@media (max-width: 640px) {
  .td-wordpress .violet-store .pagination {
    gap: var(--space-1);
  }
}
/* The archive column can be narrower than the viewport. At this width five
   page links, two arrows and the gaps no longer fit at 44px per target. */
@container td-archive-pagination (max-width: 368px) {
  .td-wordpress .violet-store .pagination > ol,
  .td-wordpress .violet-store .pagination > ol > li {
    gap: var(--space-1);
  }
  .td-wordpress .violet-store .pagination :is(.td-pagination-neighbor, .td-pagination-gap-wide) {
    display: none;
  }
  .td-wordpress .violet-store .pagination .td-pagination-gap-compact {
    display: inline;
  }
}

/* Author archives use the collection-story panel and the editorial grid. */
.td-wordpress .violet-store .td-author-profile {
  margin-block-start: 0;
}
.td-wordpress .violet-store .td-author-profile .section-heading {
  margin-block-end: var(--space-3);
}
.td-wordpress .violet-store .td-author-profile .td-author-bio {
  max-inline-size: none;
}
.td-wordpress .violet-store .td-author-profile .td-author-bio > p {
  text-align-last: start;
}
.td-wordpress .violet-store .td-author-profile-meta {
  display: grid;
  align-content: center;
  align-self: stretch;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-control);
  background: var(--tint);
}
.td-wordpress .violet-store .td-author-profile-stat {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--muted);
  font-size: var(--font-small);
}
.td-wordpress .violet-store .td-author-profile-stat strong {
  display: block;
  color: var(--accent-text);
  font-size: var(--font-panel-title);
  font-weight: var(--weight-heading);
  line-height: var(--line-heading);
}
.td-wordpress .violet-store .td-author-profile-icon {
  display: grid;
  place-items: center;
  flex: 0 0 var(--control-size);
  aspect-ratio: 1;
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--accent-text);
}
.td-wordpress .violet-store .td-author-profile-icon svg {
  inline-size: var(--space-5);
  block-size: var(--space-5);
}
.td-wordpress .violet-store .td-author-articles {
  scroll-margin-block-start: var(--space-5);
}
@media (min-width: 641px) {
  .td-wordpress .violet-store .td-author-profile {
    grid-template-columns: minmax(0, 1fr) min(var(--sidebar-width), 34%);
  }
}
@media (max-width: 640px) {
  .td-wordpress .violet-store .td-author-profile {
    padding: var(--space-4);
  }
  .td-wordpress .violet-store .td-author-profile .td-author-bio > p {
    text-align: start;
  }
  .td-wordpress .violet-store .td-author-profile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
  }
}

.td-wordpress .violet-store .td-archive-sidebar details,
.td-wordpress .violet-store .td-archive-sidebar summary {
  margin: 0;
  border: 0;
}
.td-wordpress
  .violet-store
  .td-archive-sidebar
  .sidebar-toggle::-webkit-details-marker {
  display: none;
}
.td-wordpress .violet-store .td-archive-sidebar .sidebar-toggle {
  list-style: none;
}
/* Product category navigation follows the page, without a nested wheel target. */
.td-wordpress .violet-store [data-td-category-sidebar] {
  position: static;
  max-height: none;
  overflow: visible;
}
.td-wordpress .violet-store .td-archive-sidebar :where(label, legend) {
  margin-bottom: 0;
}
.td-wordpress .violet-store .td-archive-sidebar .filter-group legend {
  margin-bottom: var(--space-2);
}
.td-wordpress .violet-store .td-archive-sidebar .td-brand-filter {
  margin-block-start: var(--space-4);
  padding-block-start: var(--space-4);
  border-block-start: 1px solid var(--border);
}
.td-wordpress .violet-store .td-archive-sidebar .filter-group > label.filter-option + label.filter-option {
  margin-block-start: var(--space-1);
}
.td-wordpress .violet-store .td-archive-sidebar .filter-option input {
  margin: 0;
}
.td-wordpress .violet-store .td-archive-sidebar .price-filter-field input,
.td-wordpress .violet-store .td-native-archive .archive-search input {
  border: 0;
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding-inline: 0;
  color: var(--td-field-color, var(--text));
  font-size: var(--font-body);
}
.td-wordpress
  .violet-store
  .td-native-archive
  :where(.price-preset, .filter-reset, .sidebar-toggle) {
  background: transparent;
  color: var(--muted);
}
.td-wordpress
  .violet-store
  .td-native-archive
  .price-preset[aria-pressed="true"] {
  background: var(--surface);
  color: var(--accent-text);
}
.td-wordpress .violet-store .td-native-archive .filter-reset {
  color: var(--accent-text);
}
.td-wordpress .violet-store .td-native-archive .td-archive-grid {
  display: grid;
  grid-template-columns: repeat(var(--td-archive-cols, 3), minmax(0, 1fr));
  gap: var(--td-archive-gap, var(--space-4));
}
.td-wordpress .violet-store .td-archive-grid > [data-td-feed-item] {
  display: flex;
  min-width: 0;
}
.td-wordpress .violet-store .td-archive-grid > [data-td-feed-item] > article {
  flex: 1;
  width: 100%;
}
.td-wordpress .violet-store .td-native-archive .td-price-login {
  font-size: var(--font-small);
  color: var(--accent-text);
}
.td-wordpress .violet-store .td-native-archive .td-archive-sort {
  flex-shrink: 0;
  min-width: calc(var(--space-8) * 3);
}
.td-wordpress .violet-store .td-native-archive .select-field-trigger {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  min-height: calc(var(--control-size) + 2px);
  font-size: var(--font-control);
  font-weight: var(--weight-control);
}
.td-wordpress .violet-store .td-native-archive .select-field-options {
  margin: 0;
}
.td-wordpress
  .violet-store
  .td-native-archive
  .select-field-options
  [role="option"] {
  list-style: none;
}
.td-wordpress .violet-store .td-archive-layout.td-sidebar-full-width {
  grid-template-columns: minmax(0, 1fr);
}
.td-wordpress .violet-store .td-native-archive .td-story-text-only {
  grid-template-columns: minmax(0, 1fr);
}
.td-wordpress .violet-store .td-catalog-guide-link {
  display: none;
}
@media (max-width: 640px) {
  .td-wordpress .violet-store .td-catalog-guide-link {
    display: inline-flex;
  }
  .td-wordpress .violet-store #td-catalog-guide {
    scroll-margin-block-start: calc(var(--control-size) + var(--space-5));
  }
}
@media (min-width: 901px) {
  .td-wordpress .violet-store .td-archive-layout.td-sidebar-sidebar-left {
    grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  }
  .td-wordpress .violet-store .td-sidebar-sidebar-left > .td-archive-sidebar {
    grid-column: 2;
    grid-row: 1;
  }
  .td-wordpress .violet-store .td-sidebar-sidebar-left > .archive-content {
    grid-column: 1;
    grid-row: 1;
  }
  .td-wordpress
    .violet-store
    .td-archive-layout:has([data-collapse-desktop="1"]) {
    grid-template-columns: minmax(0, 1fr);
  }
  .td-wordpress
    .violet-store
    .td-archive-layout:has([data-collapse-desktop="1"])
    > :is(.td-archive-sidebar, .archive-content) {
    grid-column: 1;
    grid-row: auto;
  }
  .td-wordpress .violet-store [data-collapse-desktop="1"] {
    position: static;
    max-height: none;
  }
  .td-wordpress .violet-store [data-collapse-desktop="1"] .sidebar-toggle {
    display: flex;
    width: 100%;
    gap: var(--space-2);
    align-items: center;
    min-height: var(--control-size);
    font-size: var(--font-control);
  }
  .td-wordpress .violet-store [data-collapse-desktop="1"] .sidebar-toggle span {
    flex: 1;
  }
  .td-wordpress .violet-store [data-collapse-desktop="1"] .sidebar-toggle svg {
    width: var(--space-4);
    height: var(--space-4);
  }
  .td-wordpress .violet-store [data-collapse-desktop="1"] .sidebar-heading {
    display: none;
  }
}
@media (max-width: 1250px) and (min-width: 641px) {
  .td-wordpress .violet-store .td-native-archive .td-archive-grid {
    grid-template-columns: repeat(
      var(--td-archive-cols-tablet, 2),
      minmax(0, 1fr)
    );
    gap: var(--td-archive-gap-tablet, var(--td-archive-gap, var(--space-4)));
  }
}
@media (max-width: 900px) {
  .td-wordpress .violet-store .td-archive-sidebar .sidebar-content {
    padding: var(--space-3);
  }
  .td-wordpress .violet-store .td-archive-sidebar .sidebar-content[inert] {
    display: none;
  }
}
@media (max-width: 900px) and (min-width: 641px) {
  .td-wordpress .violet-store [data-collapse-tablet="0"] .sidebar-content {
    display: block;
  }
  .td-wordpress .violet-store [data-collapse-tablet="0"] .sidebar-toggle {
    display: none;
  }
}
@media (max-width: 640px) {
  .td-wordpress .violet-store .td-native-archive .td-archive-grid {
    grid-template-columns: repeat(
      var(--td-archive-cols-mobile, 1),
      minmax(0, 1fr)
    );
    gap: var(--td-archive-gap-mobile, var(--td-archive-gap, var(--space-4)));
  }
  .td-wordpress .violet-store .td-native-archive .td-archive-sort {
    width: 100%;
  }
  .td-wordpress .violet-store [data-collapse-mobile="0"] .sidebar-content {
    display: block;
  }
  .td-wordpress .violet-store [data-collapse-mobile="0"] .sidebar-toggle {
    display: none;
  }
}
