/* ===========================
   Collection Header - shared
   =========================== */
.collection-header {
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
  color: var(--header-text-color, #121212);
}

.collection-header__title {
  margin: 0 0 12px;
  color: inherit;
  font-weight: 400;
  font-family: var(--font-heading-family, "Cormorant Garamond", "Times New Roman", serif);
  font-size: 2.3vw;
  padding: 0 30px;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0.01em;
}

.collection-header__subtitle {
  color: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.collection-header__subtitle-wrap {
  display: flex;
  margin-top: 8px;
}

.collection-header--hero .collection-header__subtitle-wrap {
  justify-content: center;
}

.collection-header--split .collection-header__subtitle-wrap {
  justify-content: center;
}

.collection-header--strip .collection-header__subtitle-wrap {
  justify-content: center;
}

.collection-header__subtitle-pill {
  display: inline-flex;
  align-items: center;
  background-color: var(--pill-bg, #fce4e4);
  color: var(--pill-text-color, #121212);
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  max-width: 100%;
  transition: opacity 0.2s ease;
}

a.collection-header__subtitle-pill:hover {
  opacity: 0.85;
}

.collection-header__subtitle-pill p {
  margin: 0;
  display: inline;
}

.collection-header__subtitle-pill u {
  text-decoration: underline;
}

.collection-header--hero {
  text-align: center;
}

.collection-header--split {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

@media (min-width: 960px) {
  .collection-header--split {
    flex-direction: row;
    align-items: center;
    gap: 2vw;
  }
  .collection-header--split .collection-header__text {
    flex: 0 0 auto;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .collection-header--split .collection-header-blocks {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.collection-header--strip {
  text-align: center;
}

/* ===========================
   Collection Header Blocks - shared
   =========================== */
.collection-header-blocks {
  width: 100%;
  padding-top: 6px;
  padding-bottom: 6px;
}

.collection-header-blocks__list {
  list-style: none;
  margin: 0;
  padding: 0 3vw;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.collection-header-blocks__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.collection-header-blocks__link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.collection-header-blocks__text {
  color: inherit;
}

/* ===========================
   Label blocks (text with custom bg + text color)
   =========================== */
.collection-header-blocks--labels .collection-header-blocks__list {
  justify-content: stretch;
  gap: 2vw;
  flex-wrap: nowrap;
}

.collection-header-blocks--labels .collection-header-blocks__item--label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background-color: var(--label-bg, #121212);
  border-radius: 4px;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.collection-header-blocks--labels .collection-header-blocks__link,
.collection-header-blocks--labels .collection-header-blocks__text {
  color: var(--label-text-color, #ffffff);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection-header-blocks--labels .collection-header-blocks__item--label:hover {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

@media (max-width: 959px) {
  .collection-header-blocks--labels .collection-header-blocks__list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .collection-header-blocks--labels .collection-header-blocks__list::-webkit-scrollbar {
    display: none;
  }
  .collection-header-blocks--labels .collection-header-blocks__item--label {
    flex: 0 0 140px;
    padding: 12px 20px;
  }
}

/* ===========================
   Circle blocks (round image + text)
   =========================== */
.collection-header-blocks--circles .collection-header-blocks__list {
  justify-content: center;
  gap: 1.2vw;
  flex-wrap: nowrap;
}

.collection-header-blocks--circles .collection-header-blocks__item--circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 12vw;
  text-align: center;
  flex: 0 0 auto;
}

.collection-header-blocks--circles .collection-header-blocks__media {
  display: block;
  width: 12vw;
  height: 12vw;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f5f5f5;
  flex: 0 0 auto;
}

.collection-header-blocks--circles .collection-header-blocks__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-header-blocks--circles .collection-header-blocks__link {
  flex-direction: column;
  gap: 8px;
}

.collection-header-blocks--circles .collection-header-blocks__text {
  font-size: 16px;
  color: #121212;
  height: 30px;
  line-height: 15px;
}

/* ===========================
   Rectangle blocks (fixed height, fluid width)
   =========================== */
.collection-header-blocks--rectangles .collection-header-blocks__list {
  display: flex;
  gap: 12px;
  padding: 0 5vw;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

.collection-header-blocks--rectangles .collection-header-blocks__item--rectangle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.collection-header-blocks--rectangles .collection-header-blocks__media {
  display: block;
  width: auto;
  height: var(--rectangle-height, 200px);
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 4px;
  flex: 0 0 auto;
}

.collection-header-blocks--rectangles .collection-header-blocks__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-header-blocks--rectangles .collection-header-blocks__link {
  flex-direction: column;
  gap: 8px;
}

.collection-header-blocks--rectangles .collection-header-blocks__text {
  font-size: 13px;
  color: #121212;
}

@media (max-width: 959px) {
  .collection-header-blocks--rectangles .collection-header-blocks__list {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .collection-header-blocks--rectangles .collection-header-blocks__list::-webkit-scrollbar {
    display: none;
  }
  .collection-header-blocks--rectangles .collection-header-blocks__item--rectangle {
    flex: 0 0 130px;
  }
}

@media (max-width: 959px) {
  .collection-banner--hide-mobile {
    display: none !important;
  }
}
