/* R.A.E. merchandise editorial: dark, spacious surroundings and fashion-style product stages. */
.merch-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 85% -18%, rgba(67, 107, 122, .20), transparent 42%), #0c1a25;
  border-top: 1px solid rgba(173, 204, 209, .16);
  border-bottom: 1px solid rgba(173, 204, 209, .16);
}
.merch-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(255px, .6fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 59px;
}
.merch-headline h2 {
  margin: 23px 0 0;
  font-size: clamp(52px, 6.3vw, 105px);
  line-height: .98;
  letter-spacing: -.082em;
  font-weight: 800;
}
.merch-headline h2 em { color: #adcad0; }
.merch-intro { padding-bottom: 6px; }
.merch-intro > span,
.merch-collection-mark,
.merch-counter,
.merch-photo-tag,
.merch-product-meta > div > span,
.merch-bottom,
.merch-shop-link {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}
.merch-intro > span { color: #d7cd94; }
.merch-intro p {
  max-width: 300px;
  margin: 15px 0 20px;
  color: #b2c2ca;
  font-size: 13px;
  line-height: 1.85;
}
.merch-shop-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 23px;
  padding: 0 0 9px;
  color: #ebdfa9;
  border-bottom: 1px solid #8a886e;
  transition: color .2s ease, border-color .2s ease;
}
.merch-shop-link:hover { color: white; border-color: white; }
.merch-shop-link span { font-size: 17px; }
.merch-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 75px;
  padding-top: 16px;
  padding-bottom: 17px;
  border-top: 1px solid #344c58;
}
.merch-toolbar > div { display: flex; align-items: center; gap: 24px; }
.merch-collection-mark { color: #e6e8e7; }
.merch-counter { color: #9eb7c0; font-variant-numeric: tabular-nums; }
.merch-controls { gap: 9px !important; }
.merch-motion,
.merch-arrow {
  border: 1px solid #41616d;
  background: #152d3b;
  color: #edf2ef;
  height: 42px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.merch-motion { border-radius: 100px; padding: 0 15px; font-size: 12px; }
.merch-motion span { font-size: 8px; letter-spacing: .13em; font-weight: 800; margin-left: 6px; }
.merch-arrow { width: 42px; border-radius: 50%; font-size: 22px; }
.merch-motion:hover,.merch-arrow:hover { color: #e8dba4; background: #214656; border-color: #aecad0; }
.merch-rail {
  display: flex;
  gap: 17px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding: 4px 0 15px;
  scroll-padding-inline: 0;
  outline-offset: 4px;
}
.merch-rail::-webkit-scrollbar { display: none; }
.merch-product {
  flex: 0 0 calc((100% - 34px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  transition: transform .3s ease;
}
.merch-product:hover { transform: translateY(-4px); }
.merch-photo {
  height: clamp(330px, 32vw, 445px);
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: #dde4e0;
  isolation: isolate;
}
.merch-photo:before { content: ''; position: absolute; z-index: 2; inset: 12px; border: 1px solid rgba(40,58,62,.15); pointer-events: none; }
.merch-photo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 33px 14px 16px;
  mix-blend-mode: multiply;
  transform: scale(1);
  transition: transform .7s cubic-bezier(.18,.67,.18,1);
}
.merch-product:hover .merch-photo img { transform: scale(1.065); }
.merch-photo-tag { position: absolute; z-index: 3; left: 23px; top: 22px; color: #3d565b; font-size: 8px; }
.merch-product-action {
  position: absolute; z-index: 4;
  bottom: 23px; right: 23px;
  width: 43px; height: 43px;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 50%;
  color: #e9e2b0;
  background: #102735;
  transition: transform .25s, background .25s;
}
.merch-product:hover .merch-product-action { transform: rotate(45deg); background: #254b5b; }
.merch-product-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 23px 5px 6px; }
.merch-product-meta > div > span { color: #9db3bc; font-size: 8px; }
.merch-product-meta h3 { margin: 0; color: #f7f7f2; font-size: clamp(18px, 1.8vw, 25px); line-height: 1.2; letter-spacing: -.045em; font-weight: 800; }
.merch-product-meta b { white-space: nowrap; color: #e7dba9; font-size: 11px; font-weight: 800; letter-spacing: -.025em; padding-top: 8px; }
.merch-bottom {
  display: grid;
  grid-template-columns: 1fr minmax(90px, 240px) 1fr;
  align-items: center;
  gap: 25px;
  margin-top: 27px;
  padding-top: 20px;
  border-top: 1px solid #344c58;
  color: #829ca7;
  font-size: 8px;
}
.merch-bottom > span:first-child { line-height: 1.8; }
.merch-bottom i { margin: 0 7px; color: #e9dca7; font-style: normal; }
.merch-progress { height: 2px; width: 100%; background: #34505c; }
.merch-progress span { display: block; height: 100%; width: 11.111%; background: #e3d89d; transition: width .4s; }
.merch-bottom > a { justify-self: end; color: #e8dda9; }
.merch-bottom > a span { font-size: 13px; padding-left: 8px; }
.merch-bottom > a:hover { color: #fff; }

/* The user-supplied Elfsight widget takes the place of placeholder Instagram photography. */
.ig-feed-widget {
  width: 100%;
  flex: 1 1 auto;
  min-height: 330px;
  max-height: 420px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #547080 transparent;
  border-radius: 5px;
  background: #0d1b28;
}
.ig-feed-widget > div { width: 100%; min-height: 100%; }
.ig-feed-widget noscript { padding: 25px; }

@media (max-width: 1050px) {
  .merch-header { grid-template-columns: minmax(0, 1.15fr) minmax(235px, .85fr); gap: 28px; }
  .merch-product { flex-basis: calc((100% - 17px) / 2); }
  .merch-photo { height: clamp(310px, 38vw, 450px); }
}
@media (max-width: 760px) {
  .merch-header { display: block; margin-bottom: 37px; }
  .merch-headline h2 { font-size: clamp(47px, 10.2vw, 75px); }
  .merch-intro { margin-top: 27px; }
  .merch-intro p { max-width: 420px; }
  .merch-toolbar { padding-top: 16px; }
  .merch-toolbar > div { gap: 13px; }
  .merch-collection-mark { display: none; }
  .merch-product { flex-basis: min(75vw, 340px); }
  .merch-photo { height: min(85vw, 415px); }
  .merch-product-meta h3 { font-size: 19px; }
  .merch-bottom { grid-template-columns: 1fr auto; gap: 15px; }
  .merch-progress { grid-row: 2; grid-column: 1 / -1; }
  .ig-feed-widget { flex: none; height: 390px; max-height: 390px; min-height: 0; }
}
@media (max-width: 420px) {
  .merch-product { flex-basis: 82vw; }
  .merch-photo { height: 92vw; }
  .merch-motion span { display: none; }
  .merch-motion { padding: 0 12px; }
  .merch-bottom > span:first-child { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .merch-product,.merch-photo img,.merch-product-action,.merch-progress span { transition: none; }
}


/* Compact playlist and merchandise editorial specifically for phones. */
@media (max-width: 760px) {
  .spotify-section.section-pad { padding-top: 42px; padding-bottom: 48px; }
  .spotify-grid { gap: 20px; }
  .spotify-copy h2 {
    font-size: clamp(33px, 8.7vw, 47px);
    line-height: .99;
    letter-spacing: -.075em;
    margin: 12px 0 13px;
  }
  .spotify-copy > p {
    font-size: 11px;
    line-height: 1.55;
    margin-bottom: 15px;
    max-width: 340px;
  }
  .spotify-copy .button { height: 39px; padding: 0 16px; font-size: 9px; }
  .spotify-player-shell { padding: 12px; border-radius: 12px; }
  .spotify-corner { font-size: 9px; margin-bottom: 9px; }
  .spotify-player-shell iframe { display: block; height: 232px; border-radius: 9px !important; }
  .spotify-footnote { margin-top: 9px; font-size: 7px; }

  .merch-section.section-pad { padding-top: 47px; padding-bottom: 46px; }
  .merch-header { margin-bottom: 19px; }
  .merch-headline h2 {
    margin-top: 12px;
    font-size: clamp(35px, 8.9vw, 48px);
    line-height: .98;
  }
  .merch-intro { margin-top: 15px; }
  .merch-intro > span { font-size: 8px; }
  .merch-intro p {
    font-size: 11px;
    line-height: 1.55;
    margin: 8px 0 12px;
  }
  .merch-shop-link { padding-bottom: 6px; font-size: 8px; }
  .merch-toolbar { min-height: 53px; padding: 8px 0 10px; }
  .merch-motion, .merch-arrow { height: 34px; }
  .merch-arrow { width: 34px; font-size: 18px; }
  .merch-rail { gap: 12px; padding-bottom: 8px; }
  .merch-product { flex-basis: min(62vw, 260px); }
  .merch-photo { height: min(65vw, 275px); }
  .merch-photo img { padding: 17px 8px 9px; }
  .merch-photo:before { inset: 8px; }
  .merch-photo-tag { left: 12px; top: 11px; font-size: 7px; }
  .merch-product-action {
    width: 32px; height: 32px;
    right: 12px; bottom: 12px; font-size: 17px;
  }
  .merch-product-meta { gap: 6px; padding: 12px 2px 4px; }
  .merch-product-meta h3 { font-size: 14px; line-height: 1.25; }
  .merch-product-meta b { font-size: 9px; padding-top: 3px; }
  .merch-bottom {
    margin-top: 15px;
    padding-top: 14px;
    gap: 9px;
  }
  .merch-bottom > a { font-size: 8px; }
}
@media (max-width: 380px) {
  .spotify-copy h2 { font-size: 32px; }
  .merch-product { flex-basis: 65vw; }
  .merch-photo { height: 68vw; }
  .merch-product-meta h3 { font-size: 13px; }
}
