:root{
  --ink:#0b0b0d; --panel:#131316; --panel-2:#0f0f11; --bone:#f4f1e9;
  --gold:#f5c300; --red:#e8432e; --green:#3ecf6e; --white:#ffffff;
  --mut-70: rgba(244,241,233,0.70); --mut-50: rgba(244,241,233,0.50);
  --mut-35: rgba(244,241,233,0.35); --mut-18: rgba(244,241,233,0.18); --mut-10: rgba(244,241,233,0.10);
  --ease: cubic-bezier(0.22,1,0.36,1);
  --font-display: "Anton", sans-serif;
  --font-body: "Inter", sans-serif;
}
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
body{ font-family:var(--font-body); background:var(--ink); color:var(--white); -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; }
img{ max-width:100%; display:block; }
ul{ list-style:none; }

/* ── Nav (same pattern as main site) ── */
#nav{ position:fixed; top:0; left:0; right:0; z-index:1000; width:100%; max-width:460px; margin:0 auto; padding:18px 20px 0; }
.nav-inner{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  background:rgba(19,19,22,0.78); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border:1px solid var(--mut-10); border-radius:100px; padding:10px 14px; transition:background .4s;
}
#nav.scrolled .nav-inner{ background:rgba(11,11,13,0.94); border-color:var(--mut-18); }
.nav-icon-btn{ width:38px; height:38px; border-radius:50%; flex-shrink:0; background:none; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.nav-icon-btn:hover{ background:var(--mut-10); }
.nav-icon-btn svg{ width:19px; height:19px; stroke:var(--white); fill:none; stroke-width:1.8; stroke-linecap:round; }
.nav-burger{ justify-self:start; flex-direction:column; gap:4.5px; }
.nav-burger span{ display:block; width:16px; height:1.6px; background:var(--white); border-radius:2px; transition:transform .3s, opacity .3s; }
.nav-burger.open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity:0; }
.nav-burger.open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
.nav-cart{ justify-self:end; position:relative; }
.nav-cart-count{ position:absolute; top:2px; right:2px; width:15px; height:15px; border-radius:50%; background:var(--gold); color:var(--ink); font-size:9px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.nav-logo{ justify-self:center; display:flex; align-items:center; gap:9px; }
.nav-logo-mark{ width:30px; height:30px; border-radius:8px; background:var(--gold); display:flex; align-items:center; justify-content:center; }
.nav-logo-mark span{ font-family:var(--font-display); font-size:13px; color:var(--ink); }
.nav-mobile{ max-height:0; overflow:hidden; background:rgba(11,11,13,0.97); border-radius:20px; margin-top:8px; transition:max-height .35s var(--ease); }
.nav-mobile.open{ max-height:400px; }
.nav-mobile ul{ padding:10px 22px; }
.nav-mobile li{ border-bottom:1px solid var(--mut-10); }
.nav-mobile li:last-child{ border-bottom:none; }
.nav-mobile a{ display:block; padding:14px 0; font-size:15px; font-weight:600; color:var(--mut-70); }
.nav-mobile a.active{ color:var(--gold); }

/* ── Page hero ── */
.page-hero{ padding:170px 32px 70px; text-align:center; background:linear-gradient(180deg, var(--panel) 0%, var(--ink) 100%); border-bottom:1px solid var(--mut-10); }
.page-hero h1{ font-family:var(--font-display); font-weight:500; font-size:38px; letter-spacing:0.3px; line-height:1.15em; text-transform:uppercase; }
@media (min-width:810px){ .page-hero h1{ font-size:50px; } }
.page-hero p{ font-size:16px; color:var(--mut-50); max-width:560px; margin:16px auto 0; line-height:1.6; }

.section{ padding:60px 32px; max-width:1280px; margin:0 auto; }

/* ── Filter tabs ── */
.filter-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.filter-tab{ font-size:14px; color:var(--mut-50); background:transparent; border:1px solid var(--mut-18); border-radius:100px; padding:10px 22px; cursor:pointer; transition:all .2s; }
.filter-tab.active{ color:var(--ink); background:var(--white); border-color:var(--white); }
.filter-tab:not(.active):hover{ border-color:var(--mut-35); color:var(--white); }

/* ── Product grid ── */
.product-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:22px; }
.product-card{ background:var(--panel); border:1px solid var(--mut-10); border-radius:18px; overflow:hidden; transition:transform .3s var(--ease); }
.product-card:hover{ transform:translateY(-6px); }
.product-thumb{ width:100%; aspect-ratio:1/1; background:var(--panel-2); overflow:hidden; position:relative; }
.product-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.product-card:hover .product-thumb img{ transform:scale(1.06); }
.product-type-tag{ position:absolute; top:12px; left:12px; font-size:9.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--ink); background:var(--gold); padding:5px 11px; border-radius:100px; }
.product-body{ padding:16px 18px 18px; }
.product-name{ font-size:16px; font-weight:600; margin-bottom:4px; line-height:1.3; }
.product-artist{ font-size:12.5px; color:var(--mut-35); margin-bottom:10px; }
.product-price-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.product-price{ font-family:var(--font-display); font-size:19px; color:var(--gold); }

/* ── Buttons ── */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:var(--font-body); font-size:14px; font-weight:600; border:none; border-radius:100px; padding:11px 22px; cursor:pointer; transition:background .2s, transform .15s; white-space:nowrap; }
.btn-primary{ background:var(--white); color:var(--ink); }
.btn-primary:hover{ background:var(--gold); transform:translateY(-1px); }
.btn-gold{ background:var(--gold); color:var(--ink); }
.btn-gold:hover{ background:var(--white); }
.btn-ghost{ background:transparent; color:var(--white); border:1px solid var(--mut-18); }
.btn-ghost:hover{ border-color:var(--mut-35); }
.btn-danger{ background:rgba(232,67,46,0.12); color:#ff9787; }
.btn-block{ width:100%; }
.btn-lg{ padding:16px 30px; font-size:16px; }

/* ── Product detail ── */
.product-detail{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px; align-items:start; }
.product-detail-img{ border-radius:20px; overflow:hidden; aspect-ratio:1/1; background:var(--panel); }
.product-detail-tag{ display:inline-block; font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--ink); background:var(--gold); padding:5px 14px; border-radius:100px; margin-bottom:16px; }
.product-detail-title{ font-family:var(--font-display); font-size:34px; letter-spacing:0.3px; text-transform:uppercase; line-height:1.1; margin-bottom:8px; }
.product-detail-artist{ font-size:15px; color:var(--mut-50); margin-bottom:20px; }
.product-detail-price{ font-family:var(--font-display); font-size:32px; color:var(--gold); margin-bottom:22px; }
.product-detail-desc{ font-size:15px; color:var(--mut-50); line-height:1.7; margin-bottom:28px; }
.qty-row{ display:flex; align-items:center; gap:14px; margin-bottom:22px; }
.qty-control{ display:flex; align-items:center; border:1px solid var(--mut-18); border-radius:100px; }
.qty-control button{ width:38px; height:38px; background:none; border:none; color:var(--white); cursor:pointer; font-size:16px; }
.qty-control input{ width:44px; text-align:center; background:none; border:none; color:var(--white); font-size:15px; }

/* ── Cart ── */
.cart-table{ width:100%; border-collapse:collapse; }
.cart-row{ display:grid; grid-template-columns:70px 1fr auto auto auto; gap:16px; align-items:center; padding:16px 0; border-bottom:1px solid var(--mut-10); }
.cart-row-img{ width:70px; height:70px; border-radius:10px; overflow:hidden; background:var(--panel-2); }
.cart-row-img img{ width:100%; height:100%; object-fit:cover; }
.cart-row-name{ font-size:14.5px; font-weight:600; }
.cart-row-artist{ font-size:12px; color:var(--mut-35); }
.cart-row-qty input{ width:50px; text-align:center; background:var(--panel-2); border:1px solid var(--mut-18); border-radius:8px; padding:8px; color:var(--white); }
.cart-row-price{ font-family:var(--font-display); color:var(--gold); font-size:15px; white-space:nowrap; }
.cart-summary{ background:var(--panel); border:1px solid var(--mut-10); border-radius:20px; padding:26px; }
.cart-summary-row{ display:flex; justify-content:space-between; font-size:14.5px; color:var(--mut-50); margin-bottom:12px; }
.cart-summary-total{ display:flex; justify-content:space-between; font-family:var(--font-display); font-size:22px; color:var(--white); padding-top:16px; border-top:1px solid var(--mut-10); margin-bottom:22px; }
.empty-cart{ text-align:center; padding:80px 20px; color:var(--mut-35); }

/* ── Checkout form ── */
.field{ margin-bottom:16px; display:flex; flex-direction:column; gap:7px; }
.field label{ font-size:12px; font-weight:600; letter-spacing:0.5px; text-transform:uppercase; color:var(--mut-50); }
.field input, .field textarea{ font-family:var(--font-body); font-size:15px; background:var(--panel-2); border:1px solid var(--mut-18); border-radius:12px; padding:13px 16px; color:var(--white); width:100%; resize:vertical; }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--gold); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.alert{ border-radius:12px; padding:13px 16px; font-size:13.5px; margin-bottom:20px; line-height:1.5; }
.alert-error{ background:rgba(232,67,46,0.12); border:1px solid rgba(232,67,46,0.35); color:#ff9787; }
.alert-success{ background:rgba(62,207,110,0.12); border:1px solid rgba(62,207,110,0.35); color:#7fe8a0; }

/* ── Footer (compact) ── */
footer{ border-top:1px solid var(--mut-10); padding:50px 32px 26px; margin-top:60px; }
.footer-inner{ max-width:1280px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.footer-brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-size:14px; letter-spacing:0.5px; }
.footer-links{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-links a{ font-size:13.5px; color:var(--mut-50); }
.footer-links a:hover{ color:var(--gold); }
.footer-copy{ font-size:12px; color:var(--mut-35); width:100%; margin-top:10px; }

.empty-state{ text-align:center; padding:80px 20px; color:var(--mut-35); }

@media (max-width:720px){
  .page-hero{ padding:150px 20px 60px; }
  .product-detail{ grid-template-columns:1fr; }
  .cart-row{ grid-template-columns:56px 1fr; grid-template-areas:"img name" "img qty" "img price"; }
  .cart-row-img{ grid-area:img; width:56px; height:56px; }
  .field-row{ grid-template-columns:1fr; }
}

/* ── Event cards ── */
.event-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:24px; }
.event-card{ display:block; text-decoration:none; color:inherit; background:var(--panel); border:1px solid var(--mut-10); border-radius:18px; overflow:hidden; transition:transform .3s var(--ease); }
.event-card:hover{ transform:translateY(-6px); }
.event-thumb{ position:relative; width:100%; aspect-ratio:16/9; background:var(--panel-2); overflow:hidden; }
.event-thumb img{ width:100%; height:100%; object-fit:cover; }
.event-date-badge{
  position:absolute; top:12px; left:12px; z-index:2;
  background:var(--white); color:var(--ink); border-radius:10px; overflow:hidden;
  width:52px; text-align:center; box-shadow:0 4px 14px rgba(0,0,0,0.3);
}
.event-date-badge .day{ font-family:var(--font-display); font-size:20px; line-height:1.3; padding-top:4px; }
.event-date-badge .mon{ font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase; background:var(--gold); padding:3px 0; }
.event-body{ padding:20px 22px 22px; }
.event-name{ font-family:var(--font-display); font-size:20px; letter-spacing:0.3px; text-transform:uppercase; margin-bottom:8px; line-height:1.2; }
.event-meta{ font-size:13px; color:var(--mut-35); margin-bottom:16px; }
.event-price-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.event-price{ font-family:var(--font-display); font-size:17px; color:var(--gold); }

/* ── Event detail page ── */
.event-detail-img{ width:100%; aspect-ratio:21/9; border-radius:20px; overflow:hidden; background:var(--panel); margin-bottom:28px; }
.event-detail-img img{ width:100%; height:100%; object-fit:cover; }
.event-detail-title{ font-family:var(--font-display); font-size:clamp(30px,4vw,44px); letter-spacing:0.3px; text-transform:uppercase; line-height:1.1; margin-bottom:16px; }
.event-detail-meta{ display:flex; flex-wrap:wrap; gap:20px; margin-bottom:20px; }
.event-detail-meta-item{ display:flex; align-items:center; gap:8px; font-size:14px; color:var(--mut-50); }
.event-detail-meta-item svg{ width:16px; height:16px; fill:none; stroke:var(--gold); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.event-detail-desc{ font-size:15px; color:var(--mut-50); line-height:1.7; max-width:640px; }

/* ── Ticket type selector ── */
.ticket-types{ display:flex; flex-direction:column; gap:12px; }
.ticket-type-row{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  background:var(--panel); border:1px solid var(--mut-10); border-radius:14px; padding:18px 20px;
}
.ticket-type-name{ font-size:15.5px; font-weight:600; margin-bottom:4px; }
.ticket-type-avail{ font-size:12px; color:var(--mut-35); }
.ticket-type-price{ font-family:var(--font-display); color:var(--gold); font-size:18px; }
.ticket-type-soldout{ font-size:12px; color:var(--red); font-weight:700; text-transform:uppercase; letter-spacing:0.5px; }
.ticket-type-qty{ display:flex; align-items:center; border:1px solid var(--mut-18); border-radius:100px; }
.ticket-type-qty button{ width:34px; height:34px; background:none; border:none; color:var(--white); cursor:pointer; font-size:16px; }
.ticket-type-qty input{ width:40px; text-align:center; background:none; border:none; color:var(--white); font-size:14px; }

@media (max-width:720px){
  .event-detail-img{ aspect-ratio:16/9; }
}

/* ── Panel card (used on the ticket confirmation page) ── */
.panel-card{ background:var(--panel); border:1px solid var(--mut-10); border-radius:20px; padding:24px 28px; margin-bottom:16px; }
.panel-card-title{ font-family:var(--font-display); font-size:18px; letter-spacing:0.3px; text-transform:uppercase; margin-bottom:20px; }
