:root {
  --ink: #f8f1f4;
  --muted: #b9aeb4;
  --panel: #17171d;
  --panel-2: #22222a;
  --line: #34303a;
  --rose: #d96b91;
  --rose-soft: #f0b4c8;
  --cyan: #8ad7dc;
  --green: #a7d890;
  --black: #08090d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(8, 9, 13, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(217, 107, 145, 0.58);
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav-button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-button {
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.hero {
  min-height: calc(88vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(34px, 5vw, 72px) clamp(18px, 5vw, 64px) 34px;
  overflow: hidden;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions,
.form-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--rose);
  color: #16070d;
}

.button.secondary {
  background: var(--cyan);
  color: #071517;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-strip {
  height: min(62vh, 620px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  transform: rotate(-3deg);
}

.hero-strip img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-strip img:first-child {
  grid-row: span 2;
}

.story-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px clamp(18px, 5vw, 64px) 28px;
}

.story-tabs a {
  flex: 0 0 auto;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--rose-soft), var(--rose) 56%, #3c2531 57%);
  border: 7px solid #22222a;
  color: #1a0a10;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.story-tabs span {
  max-width: 84px;
}

.section-head,
.admin-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 54px clamp(18px, 5vw, 64px) 20px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: var(--black);
  background: var(--rose-soft);
  border-color: var(--rose-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 64px) 54px;
}

.promos {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(18px, 4vw, 42px);
  padding: 54px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.promo-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 230px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(217, 107, 145, 0.16), rgba(138, 215, 220, 0.08)), #111218;
}

.promo-card h3 {
  margin: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.promo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}

.product-card[hidden] {
  display: none;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--panel-2);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(8, 9, 13, 0.76);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.product-body h3 {
  margin: 0;
  min-height: 2.5em;
  font-size: 1.05rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.price {
  margin: 0;
  color: var(--rose-soft);
  font-size: 1.1rem;
  font-weight: 950;
}

.desc {
  min-height: 5.6em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.75rem;
}

.buy-row {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 8px;
  align-items: center;
}

.buy-row .mini-link {
  grid-column: 1 / -1;
}

.mini-link {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 0 clamp(18px, 5vw, 64px) 54px;
  border: 1px solid var(--line);
}

.about {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 68px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.about-media {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 42%, rgba(217, 107, 145, 0.25), rgba(8, 9, 13, 0.1) 60%), #101116;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-media img {
  width: min(72%, 280px);
  border-radius: 50%;
  border: 1px solid rgba(217, 107, 145, 0.45);
  box-shadow: var(--shadow);
}

.about-copy {
  max-width: 860px;
}

.about-text {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.about-text p,
.admin-note p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.signature {
  margin: 22px 0 0;
  color: var(--rose-soft);
  font-weight: 950;
}

.admin-note {
  padding: 54px clamp(18px, 5vw, 64px) 24px;
  border-bottom: 1px solid var(--line);
}

.admin-note h1 {
  max-width: 920px;
}

.admin-note p {
  max-width: 720px;
  margin-top: 18px;
}

.info-band article {
  padding: clamp(20px, 3vw, 34px);
  background: #101116;
}

.info-band span {
  color: var(--cyan);
  font-weight: 950;
}

.info-band h3 {
  margin: 12px 0 8px;
  text-transform: uppercase;
}

.info-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin {
  padding-bottom: 54px;
  background: #101116;
  border-top: 1px solid var(--line);
}

.login-panel {
  min-height: calc(100vh - 73px);
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px) clamp(18px, 5vw, 64px);
}

.login-panel[hidden],
.admin-shell[hidden] {
  display: none;
}

.login-card {
  width: min(100%, 520px);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(217, 107, 145, 0.14), rgba(138, 215, 220, 0.08)), #111218;
  box-shadow: var(--shadow);
}

.login-card h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.login-card p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.login-error {
  margin: 0;
  color: var(--rose-soft);
  font-weight: 900;
}

.product-form,
.copy-lab {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 clamp(18px, 5vw, 64px) 18px;
}

label,
.copy-lab > div {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08090d;
  color: var(--ink);
  padding: 12px;
  outline: none;
}

textarea {
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(217, 107, 145, 0.18);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--rose);
}

.wide,
.copy-lab > div {
  grid-column: span 2;
}

.form-actions {
  grid-column: span 2;
  align-self: end;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer-links a {
  color: var(--rose-soft);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promos,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    height: 520px;
  }
}

@media (max-width: 760px) {
  .topbar,
  .section-head,
  .admin-head,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-strip {
    height: 390px;
    transform: none;
  }

  .story-tabs a {
    width: 96px;
    height: 96px;
  }

  .product-grid,
  .promo-grid,
  .info-band,
  .product-form,
  .copy-lab {
    grid-template-columns: 1fr;
  }

  .wide,
  .copy-lab > div,
  .form-actions {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.9rem;
  }

  .product-grid {
    gap: 12px;
  }

  .buy-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
