/* ===========================================================
   pietsbeats — producer store
   =========================================================== */

:root {
  --bg:    #f5f5f7;
  --surf:  #ffffff;
  --line:  rgba(0,0,0,0.08);
  --ink:   #1d1d1f;
  --sub:   #6e6e73;
  --acc:   #ff8a3d;
  --sans:  'Space Grotesk', system-ui, sans-serif;
  --mono:  'Space Mono', ui-monospace, monospace;
  --max:   1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}
.mono { font-family: var(--mono); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 40px;
  background: rgba(245,245,247,0.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-left { display: flex; align-items: center; gap: 10px; }
#logo-canvas { width: 72px; height: 72px; display: block; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.nav-links { display: flex; gap: 30px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em; color: var(--sub); }
.nav-links span { cursor: pointer; transition: color .15s; }
.nav-links span:hover { color: var(--ink); }
.cart-btn { font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); padding: 8px 15px; border-radius: 2px; cursor: pointer; white-space: nowrap; transition: border-color .15s; }
.cart-btn:hover { border-color: rgba(0,0,0,0.3); }
.cart-btn.cart-flash { border-color: var(--acc); color: var(--acc); }

/* ---------- BUTTONS ---------- */
.btn { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; padding: 14px 28px; border-radius: 2px; cursor: pointer; display: inline-flex; align-items: center; gap: 11px; border: 1px solid transparent; text-decoration: none; }
.btn-primary { background: var(--acc); color: #ffffff; font-weight: 700; }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: rgba(0,0,0,0.25); }
.btn .play-tri { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ---------- HERO (home) ---------- */
.hero { display: grid; grid-template-columns: 2fr 3fr; height: 640px; overflow: hidden; background: #0d0d0d; }
.hero-inner { display: flex; flex-direction: column; justify-content: center; padding: 0 56px; }
.hero-img { background: #0d0d0d; position: relative; overflow: hidden; }
.hero-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 26%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%); }
.hero-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.2); }
.hero-label { font-family: 'Bebas Neue', var(--sans); font-size: 32px; letter-spacing: 0.12em; color: var(--acc); margin-bottom: 16px; min-height: 1.1em; }
.hero-label::after { content: '▌'; animation: blink .7s step-end infinite; }
.hero-label.typed::after { display: none; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero-title { font-family: 'Bebas Neue', var(--sans); font-size: 160px; line-height: 0.85; font-weight: 400; letter-spacing: 0.02em; margin: 0 0 32px; color: #ffffff; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.3); color: #ffffff; }
.hero-actions .btn-outline:hover { border-color: rgba(255,255,255,0.6); }
.hero-meta { font-family: var(--mono); font-size: 12.5px; color: rgba(255,255,255,0.5); margin-left: 4px; }

/* ---------- CATEGORY TILES ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); }
.tile { background: var(--surf); padding: 36px 28px; cursor: pointer; transition: background .15s; }
.tile:hover { background: #ebebf0; }
.tile-title { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.tile-title.acc { color: var(--acc); }
.tile-sub { font-family: var(--mono); font-size: 12px; color: var(--sub); }

/* ---------- SECTIONS ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 60px 40px 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.section h2 { font-size: 22px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.viewall { font-family: var(--mono); font-size: 13px; color: var(--sub); cursor: pointer; }
.viewall:hover { color: var(--ink); }

/* ---------- GRIDS ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

/* ---------- PRODUCT CARD ---------- */
.card { cursor: pointer; }
.cover { position: relative; aspect-ratio: 1/1; border-radius: 6px;
  background: linear-gradient(135deg, #e8e8ed 0%, #d8d8de 100%);
  background-size: cover; background-position: center;
  border: 1px solid var(--line); overflow:hidden;
  transition: transform .2s ease; }
.card:hover .cover { transform: scale(1.015); }
.add { position: absolute; top: 11px; right: 11px; width: 32px; height: 32px; border-radius: 50%; z-index:1;
  background: rgba(255,255,255,0.85); border: 1px solid rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center; font-size: 19px; line-height: 1; cursor: pointer; color: var(--ink); }
.add:hover { background: var(--acc); color: #fff; border-color: var(--acc); }
.play { position: absolute; left: 11px; bottom: 11px; width: 40px; height: 40px; border-radius: 50%; z-index:1;
  background: rgba(255,255,255,0.85); border: 1px solid rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.play.on { background: var(--acc); border-color: var(--acc); }
.tri { width: 0; height: 0; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.play.on .tri { border-left-color: #fff; }
.card-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 13px; gap: 10px; }
.card-title { font-size: 16px; font-weight: 500; }
.price { font-family: var(--mono); font-size: 13px; color: var(--sub); }
.meta { font-family: var(--mono); font-size: 12px; color: var(--sub); margin-top: 4px; }

/* equaliser bars */
.eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq span { width: 2px; height: 14px; background: var(--acc); transform-origin: bottom; animation: eq .8s ease-in-out infinite; }
.eq.dark span { background: #fff; }
.eq span:nth-child(2) { animation-delay: .2s; }
.eq span:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%,100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* ---------- FEATURED BEAT ROW ---------- */
.beat-row { display: flex; gap: 16px; align-items: center; cursor: pointer; }
.beat-cover { width: 72px; height: 72px; flex: none; border-radius: 4px;
  background: linear-gradient(135deg, #e8e8ed 0%, #d8d8de 100%);
  border: 1px solid var(--line); }
.beat-info { flex: 1; min-width: 0; }
.beat-info .t { font-size: 16px; font-weight: 500; }
.round-play { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- BEATSTARS CTA ---------- */
.beatstars-cta { padding: 48px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.beatstars-cta p { font-size: 16px; color: var(--sub); margin: 0; }

/* ---------- FOOTER ---------- */
.footer { max-width: var(--max); margin: 48px auto 0; padding: 26px 40px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--sub); }
.footer .socials { display: flex; gap: 24px; }
.footer .socials a { cursor: pointer; color: var(--sub); text-decoration: none; }
.footer .socials a:hover { color: var(--ink); }

/* ---------- STORE ---------- */
.store-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.store-title { font-size: 46px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 30px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.tab { font-family: var(--mono); font-size: 13px; padding: 10px 16px; cursor: pointer; color: var(--sub); }
.tab .bar { height: 2px; background: transparent; margin-top: 9px; }
.tab.active { color: var(--ink); }
.tab.active .bar { background: var(--acc); }

/* ---------- VIDEO SLIDER ---------- */
.vid-slider { overflow: hidden; border-radius: 12px; }
.vid-stage { position: relative; height: 520px; overflow: hidden; }
.vid-card { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; background: #111; cursor: pointer; opacity: 0; pointer-events: none; }
.vid-card[data-offset="0"] { z-index: 10; opacity: 1; pointer-events: auto; }
.vid-main, .vid-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 48px 16px 14px; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%); pointer-events: none; display: flex; flex-direction: column; gap: 10px; z-index: 15; }
.vid-dots { display: flex; gap: 5px; justify-content: center; pointer-events: auto; }
.vid-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; border: none; padding: 0; transition: background .2s, transform .2s; flex-shrink: 0; }
.vid-dot.active { background: #fff; transform: scale(1.5); }
.vid-hint { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,0.8); pointer-events: none; white-space: nowrap; z-index: 15; animation: hint-nudge 1.6s ease-in-out infinite; }
.vid-hint::after { content: ' →'; font-size: 13px; }
.vid-stage:not(.on-cover) .vid-hint { display: none; }
@keyframes hint-nudge { 0%, 100% { opacity: 0.6; transform: translateY(-50%) translateX(0); } 50% { opacity: 1; transform: translateY(-50%) translateX(5px); } }
.vid-label-row { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.vid-label { font-family: var(--sans); font-size: 14px; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vid-volume { -webkit-appearance: none; appearance: none; width: 80px; opacity: 1; height: 2px; background: transparent; border: none; outline: none; cursor: pointer; pointer-events: auto; flex-shrink: 0; }
.vid-stage.on-cover .vid-volume { opacity: 0; pointer-events: none; width: 0; }
.vid-volume::-webkit-slider-runnable-track { height: 2px; background: rgba(255,255,255,0.35); border-radius: 2px; }
.vid-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; cursor: pointer; margin-top: -4px; }
.vid-volume::-moz-range-track { height: 2px; background: rgba(255,255,255,0.35); border-radius: 2px; border: none; }
.vid-volume::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: none; cursor: pointer; }
.vid-pause-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; gap: 5px; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 15; }
.vid-stage.vid-paused .vid-pause-icon { opacity: 1; }
.vid-pause-icon::before, .vid-pause-icon::after { content: ''; width: 4px; height: 16px; background: #fff; border-radius: 2px; }
.vid-prev, .vid-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.45); border: none; color: #fff; font-size: 22px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; z-index: 15; }
.vid-prev { left: 12px; }
.vid-next { right: 12px; }
.vid-prev:hover, .vid-next:hover { background: rgba(0,0,0,0.75); }

/* ---------- PRODUCT DETAIL ---------- */
.product { max-width: 1080px; margin: 0 auto; padding: 40px 40px 60px; }
.back { font-family: var(--mono); font-size: 13px; color: var(--sub); cursor: pointer; margin-bottom: 32px; display: inline-block; }
.back:hover { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: 480px 1fr; gap: 56px; align-items: start; }
.product-cover { position: relative; aspect-ratio: 1/1; border-radius: 8px;
  background: linear-gradient(135deg, #e8e8ed 0%, #d8d8de 100%);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-cover .ph { font-family: var(--mono); font-size: 12px; color: var(--sub); }
.big-play { position: absolute; left: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--acc); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.big-play .tri { border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 3px; }
.ptag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
.ptitle { font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; }
.pdesc { font-size: 16px; line-height: 1.6; color: var(--sub); max-width: 440px; margin: 0 0 24px; }
.pmeta { font-family: var(--mono); font-size: 12.5px; color: var(--sub); margin-bottom: 30px; }
.lic-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.lic-row { border: 1px solid var(--line); border-radius: 4px; padding: 15px 16px; cursor: pointer; display: flex; align-items: center; gap: 13px; transition: border-color .15s; }
.lic-row:hover { border-color: rgba(0,0,0,0.2); }
.lic-row.active { border-color: var(--acc); }
.radio { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line); flex: none; }
.lic-row.active .radio { border: 5px solid var(--acc); }
.lic-info { flex: 1; }
.lic-info .t { font-size: 15px; font-weight: 500; }
.lic-info .s { font-family: var(--mono); font-size: 11.5px; color: var(--sub); margin-top: 3px; }
.lic-price { font-family: var(--mono); font-size: 14px; }
.preview-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.preview-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; font-size: 14px; color: var(--sub); transition: border-color 0.15s, color 0.15s; }
.preview-row:hover { border-color: rgba(0,0,0,0.2); color: var(--ink); }
.preview-row.active { border-color: var(--acc); color: var(--ink); }
.preview-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex: none; }
.preview-icon .tri { border-left: 9px solid var(--acc); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.preview-row.active .preview-icon .tri { display: none; }
.price-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bigprice { font-size: 30px; font-weight: 600; }
.contents { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.contents-total { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.contents-label { font-family: var(--mono); font-size: 12px; color: var(--sub); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.contents-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.contents-list li { font-family: var(--mono); font-size: 13px; color: var(--sub); }

/* ---------- CART ---------- */
.cart { max-width: 1080px; margin: 0 auto; padding: 48px 40px 60px; }
.cart-title { font-size: 46px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 32px; }
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.cart-item { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci-cover { width: 60px; height: 60px; flex: none; border-radius: 4px;
  background: linear-gradient(135deg, #e8e8ed 0%, #d8d8de 100%);
  border: 1px solid var(--line); }
.ci-info { flex: 1; min-width: 0; }
.ci-info .t { font-size: 16px; font-weight: 500; }
.ci-info .m { font-family: var(--mono); font-size: 12px; color: var(--sub); margin-top: 4px; }
.ci-price { font-family: var(--mono); font-size: 14px; }
.ci-remove { font-family: var(--mono); font-size: 18px; color: var(--sub); cursor: pointer; line-height: 1; padding: 0 4px; }
.ci-remove:hover { color: var(--acc); }
.summary { background: var(--surf); border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.sum-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--sub); margin-bottom: 12px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); margin-bottom: 24px; }
.sum-total .l { font-size: 16px; font-weight: 600; }
.sum-total .v { font-size: 22px; font-weight: 600; }
.fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.fields .row { display: flex; gap: 10px; }
input { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 13px 14px; color: var(--ink); font-family: var(--mono); font-size: 13px; width: 100%; }
input::placeholder { color: var(--sub); }
input:focus { outline: none; border-color: var(--acc); }
.place-order { font-family: var(--mono); background: var(--acc); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; padding: 16px; border-radius: 4px; text-align: center; cursor: pointer; transition: opacity .15s; }
.place-order:hover { opacity: 0.88; }
.note { font-family: var(--mono); font-size: 11px; color: var(--sub); text-align: center; margin-top: 14px; }
.empty { padding: 60px 0; text-align: center; }
.empty .msg { font-family: var(--mono); font-size: 14px; color: var(--sub); margin-bottom: 24px; }

/* ---------- CONFIRM ---------- */
.confirm { max-width: 620px; margin: 0 auto; padding: 100px 40px; text-align: center; }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--acc); display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; }
.check span { width: 22px; height: 11px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); margin-top: -4px; }
.c-title { font-size: 38px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; }
.c-text { font-size: 15px; line-height: 1.6; color: var(--sub); margin: 0 0 30px; }
.c-order { display: inline-flex; gap: 28px; font-family: var(--mono); font-size: 13px; color: var(--sub); border: 1px solid var(--line); border-radius: 4px; padding: 16px 26px; margin-bottom: 34px; }
.c-order .v { color: var(--ink); }

/* ---------- STICKY PLAYER ---------- */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 20px;
  padding: 14px 28px; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line); animation: up .28s ease; }
@keyframes up { from { transform: translateY(120%); } to { transform: translateY(0); } }
.player .p-eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; flex: none; }
.player .p-eq span { width: 3px; height: 22px; background: var(--acc); transform-origin: bottom; animation: eq .8s ease-in-out infinite; }
.player .p-eq span:nth-child(2) { animation-delay: .15s; }
.player .p-eq span:nth-child(3) { animation-delay: .3s; }
.player .p-eq span:nth-child(4) { animation-delay: .45s; }
.p-info { flex: none; min-width: 150px; }
.p-info .t { font-size: 15px; font-weight: 500; color: var(--ink); }
.p-info .m { font-family: var(--mono); font-size: 11.5px; color: var(--sub); margin-top: 2px; }
.p-wave { flex: 1; height: 40px; cursor: pointer; display: block; }
.p-time { font-family: var(--mono); font-size: 12px; color: var(--sub); flex: none; }
.p-pause { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 3px; cursor: pointer; }
.p-pause span { width: 3px; height: 13px; background: var(--ink); }
.p-pause .p-play-tri { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid var(--ink); margin-left: 3px; }
.player .p-eq.paused span { animation-play-state: paused; }
.big-play.paused .eq span, .eq.paused span { animation-play-state: paused; }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-img { height: 56vw; min-height: 240px; }
  .hero-inner { padding: 48px 32px; }
  .hero-title { font-size: 100px; }
  .grid4 { grid-template-columns: repeat(2,1fr); }
  .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid4, .grid3 { grid-template-columns: 1fr; }
  .wrap, .section, .product, .cart { padding-left: 22px; padding-right: 22px; }
  .nav { padding: 16px 22px; }
  .hero-inner { padding: 36px 22px; }
  .hero-title { font-size: 72px; }
}

/* ---------- SITE-WIDE LEGAL FOOTER ---------- */
.site-foot {
  max-width: var(--max);
  margin: 64px auto 0;
  padding: 22px 40px 40px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.02em;
  color: var(--sub);
}
.site-foot .legal { cursor: pointer; transition: color .15s; text-decoration: none; color: var(--sub); }
.site-foot .legal:hover { color: var(--ink); }

/* ---------- SECURE / STRIPE BADGES ---------- */
.secure-badges {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.02em;
  color: var(--sub); text-align: center;
}

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px 40px;
}
.legal-page .back {
  display: inline-block; margin-bottom: 24px;
  font-family: var(--mono); font-size: 13px;
  color: var(--sub); cursor: pointer; text-decoration: none;
}
.legal-page .back:hover { color: var(--ink); }
.legal-title {
  font-size: 40px; font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.legal-page h2 {
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  margin: 28px 0 8px; color: var(--acc);
}
.legal-page p {
  margin: 0 0 4px; line-height: 1.7;
  color: var(--sub); font-size: 15px;
}
.legal-page .legal-note {
  margin-top: 32px; padding: 16px 18px;
  background: var(--surf); border: 1px solid var(--line); border-radius: 8px;
  font-size: 13px; color: var(--sub);
}

@media (max-width: 720px) {
  .site-foot { padding: 20px 22px 32px; }
  .legal-page { padding: 40px 22px; }
  .legal-title { font-size: 30px; }
}
