/* ============================================================
   CAESAR'S ANGELS — MERCH PAGE (merch.css)
   ============================================================ */

.merch-hero { position: relative; height: 70vh; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.merch-hero__bg { position: absolute; inset: 0; }
.merch-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.merch-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,51,36,0.92) 0%, rgba(42,51,36,0.3) 55%, rgba(42,51,36,0.05) 100%); }
.merch-hero__content { position: relative; z-index: 3; padding: 0 var(--gutter) clamp(2.5rem,5vw,4rem); width: 100%; max-width: var(--max-w); margin: 0 auto; }
.merch-hero__h1 { font-family: var(--font-disp);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 400; line-height: 0.88;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--text-1); }

/* Filter bar */
.merch-filter { background: var(--deep); position: sticky; top: var(--nav-h); z-index: 100; }
.merch-filter__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 0; }
.filter-btn { padding: 1rem 1.5rem; font-size: 0.62rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); border-right: none; cursor: none; transition: color 250ms, background 250ms; background: transparent; }
.filter-btn:hover { color: var(--text-1); }
.filter-btn.active { color: var(--gold); }

/* Product grid */
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; background: none; }
.product-card { background: var(--base); cursor: none; transition: background 300ms; display: flex; flex-direction: column; }
.product-card:hover { background: var(--surface); }
.product-card.hidden { display: none; }
.product-card__img { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem; }
.product-card__img-placeholder img { width: 70px; opacity: 0.2; }
.product-card__img-placeholder span { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); }
.product-card__body { padding: clamp(1.2rem,2.5vw,1.8rem); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-card__cat { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); font-weight: 400; }
.product-card__name { font-family: var(--font-disp); font-size: clamp(1.1rem,1.8vw,1.5rem); font-weight: 400; color: var(--text-1); line-height: 1.15; }
.product-card__desc { font-size: 0.8rem; font-weight: 300; color: var(--text-2); line-height: 1.8; flex: 1; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding-top: 0; border-top: none; }
.product-card__price { font-family: var(--font-disp); font-size: 1.3rem; font-weight: 300; color: var(--text-1); }
.product-card__btn { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); background: none; padding: 0; border: none; cursor: none; font-weight: 400; transition: color 250ms; }
.product-card__btn:hover { color: var(--gold-hi); }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 800; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: var(--gutter); }
.modal-overlay.open { display: flex; }
.modal { background: var(--base); border: none; max-width: 640px; width: 100%; max-height: 90dvh; overflow-y: auto; padding: clamp(1.5rem,3vw,2.5rem); position: relative; }
.modal__close { position: absolute; top: 1rem; right: 1rem; font-size: 1rem; color: var(--text-3); cursor: none; transition: color 200ms; }
.modal__close:hover { color: var(--text-1); }
.modal__name { font-family: var(--font-disp); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 300; color: var(--text-1); margin-bottom: 0.5rem; }
.modal__price { font-family: var(--font-disp); font-size: 1.5rem; font-weight: 300; color: var(--gold); margin-bottom: 1.25rem; }
.modal__desc { font-size: 0.85rem; font-weight: 300; color: var(--text-2); line-height: 1.9; margin-bottom: 1.5rem; }
.modal__sizes { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.size-btn { padding: 0.5em 0.9em; border: 1px solid var(--border-2); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-2); cursor: none; transition: border-color 200ms, color 200ms; background: transparent; }
.size-btn.selected, .size-btn:hover { border-color: var(--gold); color: var(--gold); }
.modal__note { font-size: 0.72rem; font-weight: 300; color: var(--text-2); font-style: italic; margin-bottom: 1.5rem; }
.modal__cta { width: 100%; padding: 0.75em 0; background: none; color: var(--gold); font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; cursor: none; border: none; transition: color 250ms; margin-top: 0.75rem; }
.modal__cta:hover { color: var(--gold-hi); }

@media (max-width: 600px) { .merch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .merch-grid { grid-template-columns: 1fr; } }
