/* On-site Shopify cart — stays on fan site until checkout */
button.tp-merch-film__order {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 12;
  pointer-events: auto !important;
}

#eclipse-merch .tp-merch-film__card {
  cursor: pointer;
}

#eclipse-merch .tp-merch-film__card .tp-merch-film__media,
#eclipse-merch .tp-merch-film__card .tp-merch-film__img {
  pointer-events: auto;
}

.tp-shop-bag {
  position: fixed;
  z-index: 9000;
  right: clamp(12px, 3vw, 20px);
  bottom: clamp(12px, 3vw, 20px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tp-shop-bag:hover,
.tp-shop-bag:focus-visible {
  border-color: rgba(220, 228, 240, 0.65);
  background: rgba(12, 12, 12, 0.96);
  outline: none;
}

.tp-shop-bag[hidden] {
  display: none !important;
}

.tp-shop-bag__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.tp-shop-picker {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 24px);
  box-sizing: border-box;
  pointer-events: none;
}

.tp-shop-picker[hidden] {
  display: none !important;
}

.tp-shop-picker.is-open {
  pointer-events: auto;
}

.tp-shop-picker__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.tp-shop-picker__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  max-height: min(92vh, 640px);
  overflow: auto;
  padding: clamp(20px, 5vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: #000;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  --tp-shop-soft-glow: 0 0 6px rgba(255, 255, 255, 0.28), 0 0 14px rgba(255, 255, 255, 0.1);
}

.tp-shop-picker__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 clamp(14px, 3vw, 20px);
  padding: clamp(12px, 3vw, 18px);
  box-sizing: border-box;
  background: radial-gradient(120% 100% at 50% 40%, rgba(28, 28, 32, 0.9) 0%, #000 72%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.tp-shop-picker__img {
  display: block;
  width: 100%;
  max-width: min(280px, 72vw);
  height: auto;
  max-height: min(42vh, 280px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.65));
}

.tp-shop-picker__img[hidden] {
  display: none !important;
}

.tp-shop-picker__glow {
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-shadow: var(--tp-shop-soft-glow);
}

.tp-shop-picker__title {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

.tp-shop-picker__price {
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
}

.tp-shop-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tp-shop-sizes__btn {
  min-width: 48px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  text-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tp-shop-sizes__btn.tp-shop-picker__glow {
  text-shadow: none;
}

.tp-shop-sizes__btn:hover,
.tp-shop-sizes__btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.tp-shop-sizes__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tp-shop-picker__close {
  width: 100%;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}

.tp-shop-picker__status {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 200, 200, 0.9);
  min-height: 1.2em;
}

.tp-shop-cart {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.tp-shop-cart.is-open {
  pointer-events: auto;
}

.tp-shop-cart[hidden] {
  display: none !important;
}

.tp-shop-cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition: opacity 0.25s ease;
  border: none;
  padding: 0;
  cursor: pointer;
}

.tp-shop-cart.is-open .tp-shop-cart__backdrop {
  opacity: 1;
}

.tp-shop-cart__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 400px);
  max-height: 100%;
  background: #000;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
}

.tp-shop-cart.is-open .tp-shop-cart__panel {
  transform: translateX(0);
}

.tp-shop-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tp-shop-cart__title {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

.tp-shop-cart__close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.tp-shop-cart__lines {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 12px 20px;
  list-style: none;
}

.tp-shop-cart__line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-shop-cart__line-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #111;
  border-radius: 4px;
}

.tp-shop-cart__line-title {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tp-shop-cart__line-meta {
  margin: 0 0 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
}

.tp-shop-cart__qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tp-shop-cart__qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.tp-shop-cart__empty {
  padding: 24px 20px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.tp-shop-cart__foot {
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tp-shop-cart__subtotal {
  margin: 0 0 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.tp-shop-cart__checkout {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: #fff;
  color: #000;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.tp-shop-cart__checkout:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tp-shop-cart__checkout-note {
  margin: 10px 0 0;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.4;
}
