:root {
  --ink: #080808;
  --cream: #fffdf9;
  --paper: #f7f1e9;
  --pink: #efa8b0;
  --orange: #ff5a16;
  --yellow: #ffc22d;
  --green: #35b85e;
  --blue: #169fe9;
  --purple: #8267d9;
  --muted: #6b6259;
  --line: #111;
  --shadow: 0 12px 0 rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #eee8df;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-shell {
  max-width: 1500px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  border-left: 2px solid var(--line);
  border-right: 2px solid var(--line);
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 38px;
  border-bottom: 2px solid var(--line);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand-lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-lockup img { width: 66px; height: 66px; object-fit: contain; border-radius: 50%; }
.brand-lockup strong { font-family: Georgia, serif; font-size: 24px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

.btn {
  appearance: none;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  min-height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: none;
}
.btn:hover { transform: translateY(-1px); }
.btn.secondary { background: var(--cream); color: var(--ink); }
.btn.orange { background: var(--orange); color: var(--ink); }
.btn.blue { background: var(--blue); color: var(--ink); }
.btn.small { min-height: 38px; padding: 8px 15px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.eyebrow {
  display: inline-flex;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  background: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.hero-commerce {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  border-bottom: 2px solid var(--line);
}
.hero-commerce-copy {
  padding: 70px 50px 58px;
  background: var(--pink);
  border-right: 2px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-commerce h1 {
  margin: 18px 0 22px;
  font-family: Impact, "Arial Narrow Bold", sans-serif;
  font-size: clamp(60px, 7vw, 120px);
  line-height: .86;
  letter-spacing: -2px;
  text-transform: uppercase;
}
.hero-commerce p { max-width: 690px; font-size: 21px; line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-doodles { position: absolute; right: 35px; bottom: 18px; font-size: 74px; transform: rotate(-9deg); }
.hero-commerce-art {
  min-height: 560px;
  background:
    radial-gradient(circle at 25% 25%, var(--yellow) 0 7%, transparent 7.4%),
    radial-gradient(circle at 78% 25%, var(--blue) 0 9%, transparent 9.4%),
    linear-gradient(145deg, #efe0c9, #fff8ed);
  display: grid;
  place-items: center;
  padding: 38px;
  position: relative;
  overflow: hidden;
}
.collage-card {
  width: min(430px, 92%);
  aspect-ratio: 4 / 5;
  border: 3px solid var(--line);
  border-radius: 24px;
  background: #080808;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(3deg);
}
.collage-card:before, .collage-card:after {
  content: "♡ ✦ ♡ ✦";
  position: absolute;
  color: var(--pink);
  font-size: 30px;
  letter-spacing: 10px;
}
.collage-card:before { top: 28px; left: 24px; }
.collage-card:after { bottom: 28px; right: 18px; color: var(--yellow); }
.collage-card h2 { margin: auto 0; font-family: Georgia, serif; font-size: 58px; line-height: .94; color: #ff6252; text-align: center; }
.collage-card p { text-align: center; font-weight: 700; color: #8ecbff; }

.section-heading { padding: 40px 44px 24px; display: flex; gap: 24px; align-items: end; justify-content: space-between; }
.section-heading h2 { margin: 0; font-family: Impact, sans-serif; font-size: 48px; text-transform: uppercase; }
.section-heading p { max-width: 620px; margin: 0; line-height: 1.45; color: var(--muted); }

.category-grid, .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.category-card, .product-card { min-width: 0; padding: 26px; border-right: 2px solid var(--line); background: var(--cream); }
.category-card:last-child, .product-card:last-child { border-right: 0; }
.category-card:nth-child(1) { background: #ffd0d5; }
.category-card:nth-child(2) { background: #ffe084; }
.category-card:nth-child(3) { background: #9eddfb; }
.category-card:nth-child(4) { background: #a9e5b9; }
.category-icon { font-size: 50px; display: block; margin-bottom: 34px; }
.category-card h3, .product-card h3 { margin: 0 0 10px; font-size: 24px; }
.category-card p, .product-card p { margin: 0 0 20px; line-height: 1.45; }
.category-card a { font-weight: 800; text-decoration: none; }

.product-card { padding: 20px; background: #fffaf3; }
.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid var(--line);
  background: #121212;
  margin-bottom: 18px;
}
.product-placeholder {
  aspect-ratio: 4 / 5;
  border: 2px solid var(--line);
  margin-bottom: 18px;
  padding: 20px;
  color: white;
  background: #090909;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: .95;
  position: relative;
  overflow: hidden;
}
.product-placeholder:before { content: "♡ ✦ ♡ ✦ ♡"; position: absolute; top: 15px; color: var(--pink); font-family: Arial; font-size: 18px; letter-spacing: 7px; }
.product-placeholder:after { content: "✦ ♡ ✦ ♡ ✦"; position: absolute; bottom: 15px; color: var(--yellow); font-family: Arial; font-size: 18px; letter-spacing: 7px; }
.product-meta { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.price { font-size: 22px; font-weight: 900; }

.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 2px solid var(--line); }
.value-item { padding: 26px; border-right: 2px solid var(--line); }
.value-item:last-child { border-right: 0; }
.value-item strong { display: block; font-size: 22px; margin-bottom: 6px; }
.value-item span { color: var(--muted); line-height: 1.4; }

.product-page { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); border-bottom: 2px solid var(--line); }
.product-gallery { background: #efe7dc; padding: 36px; border-right: 2px solid var(--line); }
.product-gallery .main-preview { width: min(520px, 100%); aspect-ratio: 9/16; margin: 0 auto; border: 3px solid var(--line); background: #070707; color: white; display: grid; place-items: center; text-align: center; padding: 38px; font-family: Georgia, serif; font-size: clamp(40px, 5vw, 72px); line-height: .9; box-shadow: var(--shadow); position: sticky; top: 120px; }
.product-info { padding: 52px 48px; }
.product-info h1 { font-family: Impact, sans-serif; font-size: clamp(48px, 5vw, 86px); line-height: .9; margin: 15px 0 20px; text-transform: uppercase; }
.product-info .lead { font-size: 20px; line-height: 1.5; }
.detail-list { display: grid; gap: 10px; padding: 0; list-style: none; margin: 26px 0; }
.detail-list li { padding: 14px 16px; background: #fff7eb; border: 2px solid var(--line); border-radius: 12px; }
.notice { border: 2px solid var(--line); background: var(--yellow); padding: 16px; border-radius: 14px; margin: 22px 0; }

.studio-page { min-height: 100vh; background: #f1ece5; }
.studio-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 30px; background: var(--ink); color: white; position: sticky; top: 0; z-index: 50; }
.studio-header a { text-decoration: none; }
.studio-wrap { max-width: 1280px; margin: 0 auto; padding: 34px 24px 80px; }
.studio-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.studio-sidebar, .panel { background: var(--cream); border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 7px 0 rgba(0,0,0,.08); }
.studio-sidebar { padding: 20px; position: sticky; top: 104px; }
.studio-sidebar h2 { margin-top: 0; }
.status-card { padding: 15px; border: 2px solid var(--line); border-radius: 14px; margin: 12px 0; background: #fff7e7; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: #999; display: inline-block; margin-right: 8px; }
.status-dot.good { background: var(--green); }
.status-dot.bad { background: var(--orange); }
.panel { padding: 26px; margin-bottom: 24px; }
.panel h1, .panel h2 { margin-top: 0; }
.panel h1 { font-family: Impact, sans-serif; font-size: 52px; text-transform: uppercase; line-height: .92; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; }
.field small { color: var(--muted); line-height: 1.35; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 2px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 13px 14px;
}
.field textarea { min-height: 190px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 4px solid rgba(22,159,233,.2); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.message { display: none; border: 2px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 16px; white-space: pre-wrap; }
.message.show { display: block; }
.message.error { background: #ffd3d3; }
.message.success { background: #ccefd5; }
.login-card { max-width: 520px; margin: 80px auto; background: var(--cream); border: 2px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.login-card h1 { font-family: Impact, sans-serif; font-size: 54px; line-height: .9; margin: 0 0 16px; }
.hidden { display: none !important; }
.taxonomy-results { max-height: 260px; overflow: auto; border: 2px solid var(--line); border-radius: 12px; background: white; }
.taxonomy-option { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #ddd; background: white; padding: 10px 12px; }
.taxonomy-option:hover { background: #e9f6ff; }
.taxonomy-option:last-child { border-bottom: 0; }
.summary-box { background: #0b0b0b; color: white; padding: 18px; border-radius: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }

.site-footer { display: grid; grid-template-columns: 1.2fr repeat(3, .8fr); gap: 32px; padding: 38px 42px; background: var(--cream); }
.site-footer h4 { margin-top: 0; }
.site-footer a { display: block; text-decoration: none; margin: 8px 0; font-size: 14px; }
.footer-brand { display: flex; gap: 16px; }
.footer-brand img { width: 78px; height: 78px; border-radius: 50%; }
.footer-brand p { margin-top: 0; line-height: 1.45; font-size: 14px; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid #bbb; padding-top: 18px; font-size: 12px; color: var(--muted); }

@media (max-width: 1000px) {
  .hero-commerce, .product-page { grid-template-columns: 1fr; }
  .hero-commerce-copy, .product-gallery { border-right: 0; border-bottom: 2px solid var(--line); }
  .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card:nth-child(2), .product-card:nth-child(2) { border-right: 0; }
  .category-card:nth-child(-n+2), .product-card:nth-child(-n+2) { border-bottom: 2px solid var(--line); }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2) { border-right: 0; }
  .value-item:nth-child(-n+2) { border-bottom: 2px solid var(--line); }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-sidebar { position: static; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-shell { border-left: 0; border-right: 0; }
  .site-header { padding: 10px 16px; }
  .brand-lockup strong { font-size: 19px; }
  .brand-lockup img { width: 52px; height: 52px; }
  .site-nav { display: none; }
  .hero-commerce-copy { padding: 48px 22px 36px; }
  .hero-commerce h1 { font-size: 64px; }
  .hero-commerce p { font-size: 17px; }
  .hero-commerce-art { min-height: 450px; padding: 22px; }
  .collage-card h2 { font-size: 45px; }
  .section-heading { padding: 30px 20px 18px; align-items: start; flex-direction: column; }
  .category-grid, .product-grid, .value-strip { grid-template-columns: 1fr; }
  .category-card, .product-card, .value-item { border-right: 0; border-bottom: 2px solid var(--line); }
  .category-card:last-child, .product-card:last-child, .value-item:last-child { border-bottom: 0; }
  .product-info { padding: 36px 22px; }
  .product-gallery { padding: 24px; }
  .product-gallery .main-preview { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .studio-wrap { padding: 22px 14px 70px; }
  .studio-header { padding: 18px; }
  .panel { padding: 20px; }
  .panel h1 { font-size: 42px; }
  .site-footer { grid-template-columns: 1fr; padding: 30px 22px; }
  .footer-legal { grid-column: auto; }
}
