/* FAMOUS PEOPLE LOS ANGELES — site styles
   Design tokens carried over from the previous build:
   greyscale, zero corner radius, Syne display + DM Sans body. */

:root {
  --bg:        #F5F5F5;
  --fg:        #171717;
  --card:      #FFFFFF;
  --border:    #D9D9D9;
  --muted:     #E6E6E6;
  --muted-fg:  #6B6B6B;
  --ink:       #0A0A0A;
  --display:   "Syne", system-ui, sans-serif;
  --sans:      "DM Sans", system-ui, -apple-system, sans-serif;
  --maxw:      1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.92; }
.eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted-fg);
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }

/* ---------- header ---------- */
.announce {
  background: var(--ink); color: #FFF; text-align: center;
  padding: 10px 20px; font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245,245,245,0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.head-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 68px;
}
.brand { text-decoration: none; line-height: 1.05; }
.brand b { display: block; font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: 0.16em; }
.brand span { display: block; font-size: 8px; letter-spacing: 0.36em; color: var(--muted-fg); margin-top: 4px; }
nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a {
  text-decoration: none; font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 0;
  border-bottom: 1px solid transparent;
}
nav.main a:hover, nav.main a[aria-current="page"] { border-bottom-color: var(--fg); }
.cart-btn {
  font-family: inherit; font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: inherit;
}
.cart-count {
  min-width: 18px; height: 18px; padding: 0 5px; background: var(--fg); color: #FFF;
  font-size: 10px; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 19px 34px; border: 1px solid var(--fg); background: var(--fg); color: #FFF;
  transition: background .15s, color .15s;
}
.btn:hover { background: transparent; color: var(--fg); }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: #FFF; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #FFF; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0; align-items: stretch; min-height: 560px;
}
.hero-copy { padding: 76px 56px; display: flex; flex-direction: column; justify-content: center; }
.hero-copy .eyebrow { color: rgba(255,255,255,0.55); }
.hero-copy h1 { font-size: clamp(46px, 6vw, 86px); margin: 16px 0 0; color: #FFF; }
.hero-copy p { color: rgba(255,255,255,0.72); max-width: 380px; margin: 22px 0 0; font-size: 15px; }
.hero-copy .btn { margin-top: 36px; align-self: flex-start; border-color: #FFF; background: #FFF; color: var(--ink); }
.hero-copy .btn:hover { background: transparent; color: #FFF; }
.hero-media { position: relative; background: #111; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-cap {
  position: absolute; left: 20px; bottom: 18px;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}

/* ---------- sections ---------- */
section { padding: 76px 0; }
.sec-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 34px; }

/* ---------- product grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.tile { background: var(--card); border: 1px solid var(--border); text-decoration: none; display: block; }
.tile .ph { aspect-ratio: 4/5; overflow: hidden; background: var(--muted); }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover .ph img { transform: scale(1.03); }
.tile .meta { padding: 16px 18px 20px; }
.tile .name { font-family: var(--display); font-weight: 700; font-size: 17px; }
.tile .price { font-size: 15px; margin-top: 6px; }
.tag {
  display: inline-block; background: var(--fg); color: #FFF; font-size: 9px;
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 9px;
}

/* ---------- feature block (single product) ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,0.9fr);
  gap: 0; border: 1px solid var(--border); background: var(--card);
}
.feature-img { display: block; background: var(--muted); overflow: hidden; aspect-ratio: 1/1; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-img:hover img { transform: scale(1.03); }
.feature-copy {
  padding: 52px 48px; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
}

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,0.75fr); gap: 56px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery .main-img { background: var(--muted); aspect-ratio: 4/5; overflow: hidden; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.thumbs button {
  padding: 0; border: 1px solid var(--border); background: var(--muted);
  aspect-ratio: 1/1; overflow: hidden; cursor: pointer;
}
.thumbs button[aria-pressed="true"] { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy h1 { font-size: clamp(32px, 4vw, 46px); }
.price-lg { font-size: 24px; font-weight: 500; margin-top: 14px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sizes button {
  min-width: 56px; height: 46px; padding: 0 14px; font-family: inherit; font-size: 13px;
  background: var(--card); color: var(--fg); border: 1px solid var(--border); cursor: pointer;
}
.sizes button[aria-pressed="true"] { background: var(--fg); color: #FFF; border-color: var(--fg); }
.field-label { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.specs { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); font-weight: 400; vertical-align: top; }
.specs th { width: 150px; color: var(--muted-fg); }
.note { font-size: 12px; color: var(--muted-fg); margin-top: 14px; line-height: 1.6; }
.err { color: #B3261E; font-size: 13px; margin-top: 12px; }

/* ---------- editorial strip ---------- */
.strip-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.strip-3 figure { margin: 0; }
.strip-3 .ph { aspect-ratio: 3/4; overflow: hidden; background: var(--muted); }
.strip-3 .ph img { width: 100%; height: 100%; object-fit: cover; }
.strip-3 figcaption { margin-top: 12px; }
.strip-3 h3 { font-size: 22px; margin-bottom: 6px; }
.strip-3 p { margin: 0; font-size: 14px; color: var(--muted-fg); }

/* ---------- prose (policy pages) ---------- */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(34px,5vw,54px); }
.prose h2 { font-size: 20px; margin: 40px 0 10px; }
.prose p { margin: 0 0 14px; white-space: pre-line; }
.prose .updated { font-size: 12px; color: var(--muted-fg); margin-top: 14px; }

/* ---------- cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(10,10,10,0.42); z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--bg); border-left: 1px solid var(--border); z-index: 70;
  transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--border);
}
.drawer h2 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; }
.drawer .items { flex: 1 1 auto; overflow-y: auto; padding: 8px 24px; }
.drawer footer { border-top: 1px solid var(--border); padding: 22px 24px; }
.line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.line img { width: 72px; height: 90px; object-fit: cover; background: var(--muted); flex: 0 0 auto; }
.line .info { flex: 1 1 auto; min-width: 0; }
.line .nm { font-family: var(--display); font-weight: 700; font-size: 15px; }
.line .sub { font-size: 12px; color: var(--muted-fg); margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); margin-top: 10px; }
.qty button { width: 30px; height: 30px; border: none; background: none; cursor: pointer; font-family: inherit; font-size: 15px; color: inherit; }
.qty span { min-width: 28px; text-align: center; font-size: 13px; }
.rm { background: none; border: none; padding: 0; margin-top: 10px; margin-left: 12px; font-family: inherit; font-size: 12px; color: var(--muted-fg); cursor: pointer; text-decoration: underline; }
.totals { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.totals.grand { font-size: 19px; font-weight: 600; margin: 12px 0 18px; font-family: var(--display); }
.empty { text-align: center; color: var(--muted-fg); padding: 64px 0; font-size: 14px; }
.x { background: none; border: none; cursor: pointer; font-size: 22px; line-height: 1; padding: 0; color: inherit; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--border); padding: 52px 0 60px; margin-top: 20px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 30px 48px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: 13px; }
.foot-links a { text-decoration: none; color: var(--muted-fg); }
.foot-links a:hover { color: var(--fg); }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted-fg); line-height: 1.7; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px 24px; order: 2; }
  .hero-media { order: 1; aspect-ratio: 4/3; }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .feature { grid-template-columns: 1fr; }
  .feature-copy { padding: 36px 24px 44px; }
  .grid-3, .strip-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  section { padding: 54px 0; }
}
@media (max-width: 560px) {
  .grid-3, .strip-3 { grid-template-columns: 1fr; }
  nav.main { gap: 16px; }
  nav.main a.hide-sm { display: none; }
  .head-in { height: 60px; }
}
