:root {
  --gold: #c9a24b;
  --cream: #f5efe3;
}

/* Always reserve the vertical scrollbar's gutter, even on pages short
   enough not to need one. Without this, navigating between a tall page
   (scrollbar visible) and a short one (no scrollbar) shifts the centered
   content horizontally, since only .hero-bg is full-bleed/fixed and
   doesn't move, making the jump between pages feel janky. */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

.text-gold { color: var(--gold); }
.border-gold { border-color: var(--gold); }
.text-cream { color: var(--cream); }

body[data-env="staging"] #env-banner { display: block; }
body[data-env="production"] #env-banner,
body:not([data-env]) #env-banner { display: none; }

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60vh;
  min-height: 320px;
  max-height: 640px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 70%, #000 100%), url("../images/band-bg.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* iOS Safari fails to paint position:fixed elements that use a negative
   z-index, so .hero-bg sits at z-index: 0 and the actual page content is
   raised above it instead of pushing the background behind everything. */
#env-banner,
header,
main,
footer {
  position: relative;
  z-index: 1;
}

/* main and footer both establishing their own stacking context (above)
   means a z-index set on something *inside* main -- the shop pages' fixed
   cart bar/toast/overlay, z-index 50-70 -- only competes within main's own
   context, not against footer as a whole. Since footer comes after main in
   the DOM and both were tied at z-index 1, footer's normal-flow content
   (its icon links) was winning that tie and painting over the fixed cart
   bar, so clicks meant for the bar landed on the icons underneath instead
   (see #169). Raising main above footer here lets everything inside it,
   including those fixed elements, paint on top of footer as intended. */
main {
  z-index: 2;
}

/* The footer's language menu opens upward, into the area main covers (main
   sits above footer, see above), so main swallowed the pointer events of
   every language but the one nearest the button. While the menu is open the
   footer is raised above main; closing it restores the #169 ordering. */
footer.footer-lang-open {
  z-index: 3;
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--cream);
  transition: color 0.15s ease, transform 0.15s ease;
}

.icon-link svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: currentColor;
}

.icon-link:hover,
.icon-link:focus-visible {
  color: var(--gold);
  transform: translateY(-2px);
}

.icon-link-sm {
  width: 2.25rem;
  height: 2.25rem;
}

.icon-link-sm svg {
  width: 1.5rem;
  height: 1.5rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.6rem;
  border-radius: 1rem;
  border: 2px solid var(--gold);
  color: var(--cream);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.link-card:hover,
.link-card:focus-visible {
  background-color: rgba(201, 162, 75, 0.12);
  transform: translateY(-2px);
}

.link-card-cover {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.link-card-cover-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(201, 162, 75, 0.12);
}

.link-card-cover-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: var(--gold);
}

.link-card-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.link-card-title {
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

.link-card-subtitle {
  font-size: 0.8125rem;
  color: rgba(245, 239, 227, 0.65);
  line-height: 1.3;
}

.site-nav-link {
  color: rgba(245, 239, 227, 0.65);
  transition: color 0.15s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
  color: var(--cream);
}

.site-nav-link[aria-current="page"] {
  color: var(--gold);
}

.listen-get-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.listen-get-btn:hover,
.listen-get-btn:focus-visible {
  background-color: rgba(201, 162, 75, 0.12);
}

.listen-get-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(201, 162, 75, 0.35);
  background-color: rgba(0, 0, 0, 0.35);
}

.listen-get-menu a {
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  color: var(--cream);
  font-size: 0.875rem;
  transition: background-color 0.15s ease;
}

.listen-get-menu a:hover,
.listen-get-menu a:focus-visible {
  background-color: rgba(201, 162, 75, 0.12);
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 75, 0.35);
  color: var(--cream);
  font-size: 1rem;
  line-height: 1;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lang-switcher-btn:hover,
.lang-switcher-btn:focus-visible {
  border-color: var(--gold);
  background-color: rgba(201, 162, 75, 0.12);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 8.5rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(201, 162, 75, 0.35);
  background-color: rgba(0, 0, 0, 0.85);
}

/* In the footer the switcher button sits centered (not flush to a container
   edge like it did in the header), so center the dropdown under the button
   instead of right-aligning it. It also opens upward (bottom instead of
   top) since the footer is the last thing on the page -- opening downward
   would extend the page past what should be its natural end. */
.lang-switcher-menu-footer {
  top: auto;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.lang-switcher-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  color: var(--cream);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.lang-switcher-item:hover,
.lang-switcher-item:focus-visible {
  background-color: rgba(201, 162, 75, 0.12);
}

.lang-switcher-item.is-active {
  color: var(--gold);
}

.show-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 2px solid var(--gold);
}

.show-card-date {
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.show-card-title {
  color: var(--cream);
  font-weight: 600;
}

.show-card-venue {
  color: rgba(245, 239, 227, 0.65);
  font-size: 0.8125rem;
}

.show-card.is-past {
  opacity: 0.55;
}

/* Homepage "next show" teaser — same .show-card, but the ticket/website
   action sits on the right on wider screens (info left, button right)
   instead of stacking below the venue like the /shows/ grid cards. */
@media (min-width: 640px) {
  .show-card-teaser {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

/* Free-entry indicator on a show card — visually distinct (dashed border)
   from the .listen-get-btn links since it isn't clickable. */
.show-free-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px dashed var(--gold);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Shop carousel — hides the native scroll bar so the CSS scroll-snap track
   (js/shop-carousel.js) reads as a carousel, not a plain overflowing div.
   Scrolling/swiping itself needs no JS at all. */
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Carousel prev/next tap zones (js/shop-carousel.js, js/carousel-core.js) --
   full carousel height, 35% width at each edge (Instagram-Stories style),
   replacing the old ~28px circular arrow buttons that were both fiddly to
   hit on a phone and, once missed, made the whole carousel feel unresponsive
   (see #167). The 35% here is just the no-JS-yet paint; shop-carousel.js
   re-applies the same number from carousel-core.js's EDGE_RATIO once it
   runs, so the two can never drift apart. The visible chevron is centered
   and small, but the *tappable* button underneath it spans the full zone. */
.carousel-tap-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 35%;
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.carousel-tap-zone-prev { left: 0; justify-content: flex-start; }
.carousel-tap-zone-next { right: 0; justify-content: flex-end; }

.carousel-tap-chevron {
  margin: 0 0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--cream);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.carousel-tap-zone:hover .carousel-tap-chevron { background-color: rgba(0, 0, 0, 0.6); }
/* The dots row (js/shop-carousel.js) spans the full width (inset-x-0) so
   its dots can be centered, which would otherwise let its empty margins
   swallow clicks meant for the tap zones underneath at the bottom of the
   carousel -- only the dots themselves should be clickable. */
[data-carousel-dots] { pointer-events: none; }
[data-carousel-dots] > * { pointer-events: auto; }
/* Immediate visual response on tap/click, before the (smooth, ~300ms)
   scroll even starts -- without this the only feedback was the slide
   itself gliding into place, which read as a delay when the tap first
   landed slightly outside the old tiny button. */
.carousel-tap-zone:active .carousel-tap-chevron { transform: scale(0.85); background-color: rgba(0, 0, 0, 0.7); }
/* Header cart icon link (layouts/partials/header.html, js/cart-badge.js) --
   always visible/clickable, even with an empty cart (see #170: hiding it
   entirely below one item left no way at all to open an empty cart). Sized
   as a proper touch target (min 2.75rem), not just the icon's own bounds. */
.cart-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.5rem 0;
  color: var(--cream);
  transition: color 0.15s ease;
}
.cart-icon-link:hover,
.cart-icon-link:focus-visible {
  color: var(--gold);
}
.cart-icon-link svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: currentColor;
}

/* The item-count pill itself -- only shown once the cart has something in
   it, overlaid on the icon's corner like a standard cart badge. */
.cart-badge {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background-color: var(--gold);
  color: #000;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.1rem;
}

/* /shop/ product grid + cart (layouts/shop/list.html, js/shop-page.js). */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid var(--gold);
}

.product-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Same pill styling as the homepage's "New" badge (layouts/index.html) --
   overlaid on the product photo's top-left corner, the standard spot for a
   "just added" flag in a shop grid. */
.product-card-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  color: #000;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background-color: var(--gold);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  padding: 0.75rem;
}

.product-card-title {
  color: var(--cream);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
}

.product-card-price {
  color: rgba(245, 239, 227, 0.65);
  font-size: 0.8125rem;
}

.size-select {
  width: 100%;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(201, 162, 75, 0.35);
  background-color: rgba(0, 0, 0, 0.35);
  color: var(--cream);
  font-size: 0.8125rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem;
  border-radius: 1rem;
  border: 1px solid rgba(201, 162, 75, 0.35);
}

.cart-item-photo {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  color: var(--cream);
  font-weight: 600;
  font-size: 0.875rem;
}

.cart-item-price {
  color: rgba(245, 239, 227, 0.65);
  font-size: 0.8125rem;
}

.cart-item-size {
  color: rgba(245, 239, 227, 0.5);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty-input {
  width: 3.25rem;
  height: 2.75rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(201, 162, 75, 0.35);
  background-color: rgba(0, 0, 0, 0.35);
  color: var(--cream);
  font-size: 1rem;
  text-align: center;
}

/* Touch target is the full button (min 44px, Apple/Google's own guidance),
   not just the underlined text inside it -- the old text-only link was
   fiddly to tap accurately on a phone. */
.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  color: rgba(245, 239, 227, 0.65);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.15s ease;
}

.cart-remove-btn:hover,
.cart-remove-btn:focus-visible {
  color: var(--cream);
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0.25rem;
  color: rgba(245, 239, 227, 0.75);
  font-size: 0.8125rem;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 1rem;
  border: 2px solid var(--gold);
  color: var(--cream);
  font-weight: 700;
}

.cart-success {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 2px solid var(--gold);
}

.cart-success-title {
  color: var(--gold);
  font-weight: 700;
}

.cart-success-message {
  color: rgba(245, 239, 227, 0.75);
  font-size: 0.875rem;
}

.cart-international-note {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 2px solid var(--gold);
  color: var(--cream);
  font-size: 0.875rem;
}

.cart-error-note {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 2px solid #e05252;
  color: var(--cream);
  font-size: 0.875rem;
}

/* Cart overlay (layouts/shop/list.html, js/shop-page.js) -- see #168: the
   cart used to be an inline section at the bottom of /shop/, needing a
   scroll past the whole product grid to reach. It's now a full-viewport
   panel that opens on top of the catalog instead, closed with an
   explicit, big (44px) button that returns to the grid exactly where the
   buyer left it -- no navigation, no lost scroll position. */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background-color: #000;
  overflow-y: auto;
}

.cart-overlay-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1rem 0.75rem;
  background-color: #000;
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
}

.cart-overlay-title {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-overlay-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 162, 75, 0.35);
  color: var(--cream);
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color 0.15s ease;
}
.cart-overlay-close:hover,
.cart-overlay-close:focus-visible {
  background-color: rgba(201, 162, 75, 0.12);
}

/* max-width matches PayPal's Smart Payment Buttons, which cap their own
   rendered width at ~750px (a hard SDK limit, not something CSS can
   override on the button iframe itself) -- on wide viewports, capping the
   whole panel to match avoids a gap between the button and the wider cart
   items/total above it. */
.cart-overlay-body {
  width: 100%;
  max-width: 46.875rem;
  margin: 0 auto;
  padding: 1rem 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Individual product page (layouts/shop/single.html, js/shop-product.js). */
.shop-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  margin-bottom: 0.75rem;
  color: rgba(245, 239, 227, 0.75);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color 0.15s ease;
}
.shop-back-link:hover,
.shop-back-link:focus-visible {
  color: var(--cream);
}

.product-detail-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem;
  border: 2px solid var(--gold);
  overflow: hidden;
}

.product-detail-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  padding-top: 1.25rem;
}

.product-detail-title {
  color: var(--cream);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.3;
}

.product-detail-price {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

/* Big, touch-friendly size choices in place of a native <select> -- each
   one is its own button (min 48px square), easy to tap accurately instead
   of opening a small dropdown menu. */
.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
  margin-bottom: 0.5rem;
}

.size-picker-btn {
  min-width: 3rem;
  min-height: 3rem;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(201, 162, 75, 0.35);
  color: var(--cream);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.size-picker-btn:hover,
.size-picker-btn:focus-visible {
  border-color: var(--gold);
}

.size-picker-btn-selected {
  border-color: var(--gold);
  background-color: var(--gold);
  color: #000;
}

.add-to-cart-btn {
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.75rem;
  border-radius: 9999px;
  background-color: var(--gold);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  transition: opacity 0.15s ease;
}
.add-to-cart-btn:hover,
.add-to-cart-btn:focus-visible {
  opacity: 0.85;
}

/* "Just added to cart" toast + floating cart bar (layouts/shop/list.html,
   layouts/shop/single.html, js/shop-page.js, js/shop-product.js,
   js/cart-feedback.js) -- see #167: gives instant confirmation and a way
   to reach the cart overlay from wherever the buyer already is. */
.cart-toast {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  max-width: calc(100% - 2rem);
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid var(--gold);
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--cream);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.cart-float-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid var(--gold);
  background-color: #0f0c08;
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}
.cart-float-bar:hover,
.cart-float-bar:focus-visible {
  border-color: var(--cream);
}

/* Toggled on <body> by the shop pages' data-x-effect whenever the floating
   bar above is shown -- reserves room below the FOOTER specifically (not
   just the page's own content), since the footer is a sibling of <main>
   that renders after it. Without this, the bar (fixed to the viewport)
   sits on top of the footer's language switcher/copyright line once the
   buyer scrolls all the way down (see #169). */
body.has-cart-bar footer {
  padding-bottom: 5.5rem;
}

.cart-international-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.cart-international-links a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
}

[data-x-cloak] {
  display: none !important;
}

iframe {
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loading / wait indicators (layouts/partials/wait-indicator.html,
   js/wait-tracker.js) -- see specs/002-loading-indicators/. One shared
   look for every wait: a gold ring + short text, a busy button state and a
   skeleton placeholder. Reduced-motion users get the same shapes without
   rotation or shimmer. */
.wait-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-size: 0.875rem;
}

.wait-spinner {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(201, 162, 75, 0.3);
  border-top-color: var(--gold);
  border-radius: 9999px;
  animation: wait-spin 0.8s linear infinite;
}

@keyframes wait-spin {
  to { transform: rotate(360deg); }
}

/* Reserves the space PayPal's buttons will fill so the cart does not jump. */
.wait-slot {
  min-height: 3rem;
}

.btn-busy {
  opacity: 0.6;
  cursor: progress;
  pointer-events: none;
}

.skeleton {
  border-radius: 1rem;
}

/* Shimmer behind content that loads by itself (iframes/embeds): its space is
   already reserved, this only shows that something is coming. */
.skeleton,
.embed-loading {
  background: linear-gradient(90deg, rgba(245, 239, 227, 0.06) 25%, rgba(245, 239, 227, 0.14) 50%, rgba(245, 239, 227, 0.06) 75%);
  background-size: 200% 100%;
  animation: wait-shimmer 1.4s ease-in-out infinite;
}

@keyframes wait-shimmer {
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wait-spinner,
  .skeleton,
  .embed-loading {
    animation: none;
  }
}

/* Placeholder sizes while data loads (js/wait-tracker.js consumers): close
   to the final cards so nothing jumps when the content arrives. */
.product-card-skeleton {
  aspect-ratio: 4 / 5;
}

.product-detail-skeleton {
  aspect-ratio: 4 / 5;
}

.show-card-skeleton {
  min-height: 7rem;
}

.release-skeleton {
  min-height: 12rem;
}
