@font-face { font-family: "Anton"; src: url("../fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Dark Heart City merch store. Requires dhc-system.css. Mobile-first. */
body.shop { background: #fff; }

/* ---------- Header (Shopify-style: centered logo, menu below) ---------- */
.shop-top { background: var(--ink); color: #fff; padding-top: var(--safe-top); position: sticky; top: 0; z-index: 40; }
.shop-top__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; }
.shop-top__left, .shop-top__right { display: flex; align-items: center; gap: var(--space-1); }
.shop-top__right { justify-content: flex-end; }
.shop-logo img { height: 56px; width: auto; display: block; }
@media (min-width: 900px) { .shop-logo img { height: 84px; } .shop-top__bar { min-height: 110px; } }
.shop-icon { position: relative; width: var(--tap); height: var(--tap); display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; border-radius: 50%; text-decoration: none; }
.shop-icon svg { width: 24px; height: 24px; }
.shop-icon:hover { background: rgba(255,255,255,.08); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--violet); color: var(--ink); font-size: 12px; font-weight: 500; display: grid; place-items: center; line-height: 1; }
.cart-count[hidden] { display: none; }
.shop-nav { display: none; justify-content: center; flex-wrap: wrap; gap: var(--space-2) var(--space-6); padding-bottom: var(--space-4); }
.shop-nav a { color: #e9e2e7; text-decoration: none; font-size: var(--text-sm); letter-spacing: .08em; text-transform: uppercase; padding: var(--space-1) 0; }
.shop-nav a:hover, .shop-nav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 900px) { .shop-nav { display: flex; } .shop-top .site-menu { display: none; } }
.shop-search { background: var(--ink); padding: 0 var(--gutter) var(--space-4); }
.shop-search[hidden] { display: none; }
.shop-search input { width: 100%; max-width: 40rem; display: block; margin: 0 auto; min-height: 48px; padding: 0 var(--space-4); border-radius: var(--radius); border: 0; font: var(--text-base) var(--font-body); }

/* ---------- Banner (auto collage from product photos) ---------- */
.shop-banner { position: relative; overflow: hidden; background: #f4f1f4; text-align: center; padding: var(--space-6) var(--gutter) var(--space-7); }
.shop-banner__collage { position: relative; height: 230px; max-width: 520px; margin: 0 auto; }
.shop-banner__collage img { position: absolute; top: 10px; width: 46%; aspect-ratio: 4 / 5; object-fit: cover; background: #fff; box-shadow: 0 12px 30px rgba(31,20,29,.18); border-radius: 4px; }
.shop-banner__collage img:nth-child(1) { left: 2%; transform: rotate(-9deg); }
.shop-banner__collage img:nth-child(2) { left: 27%; top: 0; z-index: 2; transform: rotate(0); }
.shop-banner__collage img:nth-child(3) { right: 2%; transform: rotate(9deg); }
.shop-banner__kicker { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-style: italic; font-size: var(--text-xl); margin-top: var(--space-5); }
.shop-banner h1 { font-family: var(--font-body); font-weight: 400; font-size: clamp(2.4rem, 11vw, 5rem); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.shop-banner__cta { margin-top: var(--space-5); }
@media (min-width: 768px) { .shop-banner__collage { height: 360px; max-width: 760px; } }

/* ---------- Product grid (white, floating) ---------- */
.shop-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.shop-head { display: flex; justify-content: space-between; align-items: baseline; padding: var(--space-6) 0 var(--space-4); }
.shop-head h2 { font-size: var(--text-2xl); }
.shop-head span { color: var(--muted); font-size: var(--text-sm); }
.shop-grid { list-style: none; margin: 0; padding: 0 0 var(--space-8); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-3); }
@media (min-width: 768px) { .shop-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-7) var(--space-5); } }
@media (min-width: 1100px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }
.shop-card { position: relative; }
.shop-card__img { position: relative; aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.shop-card__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease, transform .4s ease; background: #fff; }
@media (hover: hover) { .shop-card:hover .shop-card__alt { opacity: 1; } }
.shop-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.shop-card:hover .shop-card__img img { transform: scale(1.04); }
.shop-card h3 { font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); line-height: var(--leading-snug); margin-top: var(--space-2); }
.shop-card h3 a { text-decoration: none; }
.shop-card h3 a::after { content: ""; position: absolute; inset: 0; }
.shop-card p { font-size: var(--text-base); margin-top: var(--space-1); }
.shop-empty { padding: var(--space-8) 0; text-align: center; color: var(--muted); }

/* ---------- Product page ---------- */
.pp { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); padding: var(--space-4) 0 var(--space-8); }
@media (min-width: 900px) { .pp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-8); padding-top: var(--space-6); } }
.pp-main { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; }
.pp-thumbs { display: flex; gap: var(--space-2); overflow-x: auto; padding: var(--space-2) 0; scrollbar-width: none; }
.pp-thumbs::-webkit-scrollbar { display: none; }
.pp-thumbs button { flex: none; width: 76px; height: 76px; padding: 2px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.pp-thumbs button[aria-pressed="true"] { border: 2px solid var(--ink); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp-info h1 { font-size: var(--text-3xl); line-height: 1.12; }
.pp-price { font-size: var(--text-xl); margin-top: var(--space-3); }
.pp-label { font-size: var(--text-sm); color: var(--muted); margin: var(--space-5) 0 var(--space-2); }
.pp-label b { color: var(--ink); font-weight: 500; }
.pp-options { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pp-opt {
  min-width: 52px; min-height: var(--tap); padding: 0 var(--space-4);
  border: 1px solid var(--ink); border-radius: 99px; background: #fff; color: var(--ink);
  font: 500 var(--text-base) var(--font-body); cursor: pointer;
}
.pp-opt[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pp-opt:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.pp-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -2px; border: 1px solid rgba(0,0,0,.15); }
.pp-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.pp-qty button { width: var(--tap); height: var(--tap); background: none; border: 0; font-size: 1.3rem; cursor: pointer; }
.pp-qty span { min-width: 2.2em; text-align: center; }
.pp-add { margin-top: var(--space-5); width: 100%; }
.pp-note { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-2); text-align: center; min-height: 1.4em; }
.pp-desc { margin-top: var(--space-6); color: var(--ink-soft); line-height: var(--leading-body); }
.pp-desc ul { padding-left: 1.2em; }
.pp-desc p + p { margin-top: var(--space-3); }
.pp-back { display: inline-block; margin: var(--space-4) 0 0; color: var(--muted); }

/* ---------- Cart drawer ---------- */
.cart-scrim { position: fixed; inset: 0; background: rgba(31,20,29,.45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.cart-scrim.is-open { opacity: 1; pointer-events: auto; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 61; transform: translateX(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; padding-top: var(--safe-top); padding-bottom: var(--safe-bottom); }
.cart.is-open { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: var(--text-xl); }
.cart__close { width: var(--tap); height: var(--tap); background: none; border: 0; font-size: 1.6rem; cursor: pointer; }
.cart__items { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: var(--space-3) var(--space-5); }
.cart__item { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.cart__item img { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cart__item b { display: block; font-weight: 500; font-size: var(--text-sm); line-height: var(--leading-snug); }
.cart__item span { display: block; font-size: var(--text-sm); color: var(--muted); }
.cart__row { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-2); }
.cart__remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: var(--text-sm) var(--font-body); min-height: 32px; }
.cart__foot { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: var(--text-lg); }
.cart__foot .btn { width: 100%; margin-top: var(--space-3); }
.cart__foot small { display: block; text-align: center; color: var(--muted); margin-top: var(--space-2); font-size: var(--text-sm); }
.cart__empty { color: var(--muted); padding: var(--space-6) 0; text-align: center; }

/* Pinterest save buttons */
.pin-btn { position: absolute; top: 8px; right: 8px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #e60023; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.18); opacity: .92; transition: transform .15s ease, opacity .15s ease; }
.pin-btn:hover { transform: scale(1.08); opacity: 1; }
@media (hover: hover) { .pin-btn { opacity: 0; } .shop-card:hover .pin-btn, .pin-btn:focus-visible { opacity: 1; } }
.pp-pin { margin-top: var(--space-3); width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pp-pin svg { color: #e60023; }
