.collection-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 65px 0 50px;
  gap: 30px;
}
.collection-intro .eyebrow {
  font-size: 9px;
  color: var(--terra);
  margin-bottom: 22px;
}
.collection-intro h1 {
  font: 400 78px/0.95 var(--display);
  letter-spacing: -0.05em;
}
.collection-intro h1 em {
  color: var(--terra);
  font-weight: 400;
}
.collection-intro > div > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 22px;
}
.collection-intro-note {
  display: flex;
  gap: 20px;
  align-items: center;
  align-self: end;
  padding-bottom: 10px;
}
.collection-intro-note svg {
  width: 54px;
  height: 54px;
  color: #b7a582;
  stroke-width: 0.8;
}
.collection-intro-note p {
  font-size: 11px !important;
  margin: 0 !important;
}
.collection-intro-note em {
  font: italic 23px var(--display);
  color: var(--ink);
}
.collection-controls {
  margin-bottom: 32px;
}
.occasion-controls {
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 25px;
}
.occasion-tabs {
  display: flex;
  gap: 30px;
  overflow: auto;
  scrollbar-width: none;
  flex: 1;
}
.occasion-tabs button {
  padding: 12px 0 16px;
  min-height: 46px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: none;
  font-size: 11px;
  white-space: nowrap;
}
.occasion-tabs button[aria-pressed="true"] {
  color: var(--terra);
  border-bottom-color: var(--terra);
}
.more-occasions select {
  border: 0;
  background: none;
  font-size: 11px;
  color: var(--ink);
  width: 150px;
  cursor: pointer;
  min-height: 44px;
}
.search-controls {
  display: flex;
  gap: 20px;
  padding: 23px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.collection-search {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
}
.collection-search > span {
  color: var(--muted);
  height: 20px;
}
.collection-search svg {
  width: 16px;
  height: 16px;
}
.collection-search input {
  width: 100%;
  background: none;
  border: 0;
  font-size: 12px;
  padding: 10px 0;
  min-height: 44px;
  color: var(--ink);
}
.collection-search input::placeholder {
  color: #777c70;
}
.filter-mood {
  display: flex;
  gap: 14px;
  align-items: center;
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.filter-mood label {
  font-size: 11px;
  color: var(--muted);
}
.filter-mood select {
  border: 1px solid var(--line);
  padding: 9px 14px;
  color: var(--ink);
  background: transparent;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
  min-height: 44px;
}
.saved-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  background: none;
  border: 0;
  font-size: 11px;
  border-left: 1px solid var(--line);
  padding: 10px 0 10px 22px;
  min-height: 44px;
}
.saved-filter svg {
  width: 16px;
  height: 16px;
}
.saved-filter > span:last-child {
  background: var(--sage);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
}
.saved-filter[aria-pressed="true"] {
  color: var(--terra);
}
.saved-filter[aria-pressed="true"] svg {
  fill: var(--terra);
}
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
}
.sort-label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}
.sort-label select {
  border: 0;
  background: none;
  font-size: 10px;
  color: var(--ink);
  cursor: pointer;
  min-height: 36px;
}
.active-filter-info button {
  border: 0;
  background: var(--sage);
  color: var(--ink);
  font-size: 9px;
  padding: 7px 12px;
  border-radius: 3px;
}
.collection-bottom {
  text-align: center;
  margin: 75px 0 65px;
  border-top: 1px solid var(--line);
  padding-top: 42px;
}
.collection-bottom > span {
  color: var(--terra);
  display: block;
  margin-bottom: 14px;
}
.collection-bottom > span svg {
  width: 28px;
  height: 28px;
}
.collection-bottom h2 {
  font: 400 40px var(--display);
  letter-spacing: -0.02em;
}
.collection-bottom p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 15px;
}
.collection-grid {
  gap: 40px 26px;
}
.collection-grid .template-image {
  aspect-ratio: 1/1.1;
}
.collection-grid .preview-paper {
  width: 208px;
  height: 332.8px;
}
.collection-grid .preview-render {
  transform: scale(0.52);
}
.collection-grid .template-image {
  padding: 30px 20px;
}
@media (min-width: 1500px) {
  .collection-grid .preview-paper {
    width: 232px;
    height: 371.2px;
  }
  .collection-grid .preview-render {
    transform: scale(0.58);
  }
}
@media (max-width: 1100px) {
  .collection-grid .preview-paper {
    width: 178px;
    height: 284.8px;
  }
  .collection-grid .preview-render {
    transform: scale(0.445);
  }
  .collection-grid {
    gap: 30px 22px;
  }
  .occasion-tabs {
    gap: 22px;
  }
  .collection-intro h1 {
    font-size: 70px;
  }
  .collection-intro-note {
    gap: 15px;
  }
}
@media (max-width: 800px) {
  .collection-intro {
    padding: 45px 0 35px;
  }
  .collection-intro h1 {
    font-size: 62px;
  }
  .collection-intro-note svg {
    width: 35px;
  }
  .collection-intro-note em {
    font-size: 20px;
  }
  .collection-intro-note p {
    font-size: 9px !important;
  }
  .collection-grid .preview-paper {
    width: 190px;
    height: 304px;
  }
  .collection-grid .preview-render {
    transform: scale(0.475);
  }
  .occasion-controls {
    gap: 20px;
  }
  .occasion-tabs {
    gap: 20px;
  }
  .more-occasions select {
    width: 120px;
    font-size: 10px;
  }
  .search-controls {
    gap: 14px;
  }
  .filter-mood {
    padding-left: 15px;
    gap: 10px;
  }
  .filter-mood label {
    display: none;
  }
  .saved-filter {
    padding-left: 15px;
  }
  .collection-grid .template-image {
    aspect-ratio: 1/1.2;
  }
}
@media (max-width: 550px) {
  .collection-intro {
    padding: 38px 0 32px;
  }
  .collection-intro h1 {
    font-size: 60px;
  }
  .collection-intro .eyebrow {
    font-size: 8px;
    margin-bottom: 20px;
  }
  .collection-intro > div > p {
    font-size: 11px;
    margin-top: 20px;
  }
  .collection-intro > div > p br {
    display: none;
  }
  .collection-intro-note {
    display: none;
  }
  .occasion-controls {
    display: block;
  }
  .occasion-tabs {
    gap: 22px;
  }
  .occasion-tabs button {
    font-size: 11px;
  }
  .more-occasions {
    display: block;
    padding: 7px 0;
    border-top: 1px solid var(--line);
  }
  .more-occasions select {
    width: 100%;
    font-size: 11px;
    min-height: 38px;
  }
  .search-controls {
    flex-wrap: wrap;
    padding: 15px 0;
    gap: 12px;
  }
  .collection-search {
    flex-basis: 100%;
    border-bottom: 1px solid var(--line);
    padding-bottom: 7px;
  }
  .collection-search input {
    font-size: 12px;
  }
  .filter-mood {
    border: 0;
    padding: 0;
  }
  .filter-mood label {
    display: block;
    font-size: 10px;
  }
  .filter-mood select {
    font-size: 10px;
    min-height: 40px;
  }
  .saved-filter {
    margin-left: auto;
    font-size: 10px;
    padding-left: 17px;
  }
  .results-toolbar {
    flex-wrap: wrap;
    padding-top: 16px;
    font-size: 9px;
    gap: 10px;
  }
  .sort-label {
    gap: 4px;
  }
  .sort-label select {
    font-size: 9px;
    max-width: 125px;
  }
  .active-filter-info:empty {
    display: none;
  }
  .collection-controls {
    margin-bottom: 20px;
  }
  .collection-grid {
    gap: 26px 12px;
  }
  .collection-grid .template-image {
    aspect-ratio: 1/1.45;
    padding: 30px 5px;
  }
  .collection-grid .preview-paper {
    width: 132px;
    height: 211.2px;
  }
  .collection-grid .preview-render {
    transform: scale(0.33);
  }
  .collection-bottom {
    margin-block: 50px 40px;
    padding-top: 30px;
  }
  .collection-bottom h2 {
    font-size: 32px;
  }
  .collection-bottom p {
    max-width: 290px;
    margin-inline: auto;
    font-size: 11px;
  }
  .collection-grid .template-open {
    width: 33px;
    height: 36px;
  }
  .collection-grid .template-name {
    font-size: 21px;
  }
  .collection-grid .collection-price {
    font-size: 8px;
  }
}
