:root {
  --rose-950: #481026;
  --rose-850: #6d173d;
  --rose-700: #a72861;
  --rose-550: #dc4f88;
  --rose-300: #f59abe;
  --rose-100: #ffe4ee;
  --petal: #fff7fa;
  --pearl: #fffdf8;
  --ink: #241c24;
  --muted: #736772;
  --line: #ead6df;
  --mint: #dff7ef;
  --teal: #177268;
  --gold: #f3c969;
  --white: #ffffff;
  --shadow-soft: 0 18px 42px rgba(72, 16, 38, 0.12);
  --shadow-panel: 0 22px 70px rgba(109, 23, 61, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 228, 238, 0.82), rgba(255, 253, 248, 0.96) 38%, rgba(223, 247, 239, 0.52)),
    var(--petal);
  line-height: 1.5;
}
a { color: var(--rose-700); text-decoration: none; font-weight: 760; }
input, textarea, select, button { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(234, 214, 223, 0.82);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-grid;
  gap: 0;
  color: var(--rose-950);
  line-height: 1;
}
.brand span { font-size: 1.28rem; font-weight: 900; }
.brand small { color: var(--rose-700); font-size: 0.72rem; font-weight: 800; }
.top-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.top-nav a, .nav-button {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 8px;
}
.top-nav a:hover, .nav-button:hover { background: var(--rose-100); color: var(--rose-850); }
.logout-form { margin: 0; }
.nav-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 760;
}

.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.container.narrow { width: min(780px, calc(100% - 32px)); }
.hero-product { padding: clamp(28px, 6vw, 72px) 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}
.hero-copy {
  min-width: 0;
  display: grid;
  gap: 20px;
}
.hero-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.28rem, 6vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--rose-950);
}
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  color: var(--rose-700);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
}
.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  max-width: 660px;
  margin: 0;
}
.campaign-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.campaign-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(167, 40, 97, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--rose-850);
  font-size: 0.88rem;
  font-weight: 820;
  box-shadow: 0 8px 22px rgba(72, 16, 38, 0.06);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.price-row strong {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--rose-950);
  line-height: 1;
}
.price-row span {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 760;
}
.product-visual {
  position: relative;
  min-height: 230px;
  width: min(560px, 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(234, 214, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 228, 238, 0.76)),
    var(--white);
  box-shadow: var(--shadow-soft);
}
.product-aura {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 79, 136, 0.22), rgba(243, 201, 105, 0.12) 48%, transparent 70%);
}
.product-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
}
.product-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 156px;
  width: min(310px, calc(100% - 56px));
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(155deg, var(--rose-850), var(--rose-550));
  color: var(--white);
  box-shadow: 0 26px 46px rgba(109, 23, 61, 0.28);
  transform: rotate(-3deg);
}
.product-card p, .product-card strong, .product-card span { position: relative; margin: 0; }
.product-card p { color: var(--rose-100); font-weight: 900; text-transform: uppercase; font-size: 0.76rem; }
.product-card strong { font-size: clamp(1.28rem, 4vw, 1.85rem); line-height: 1.05; }
.product-card span { color: rgba(255, 255, 255, 0.82); font-weight: 760; }
.floating-note {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(23, 114, 104, 0.13);
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(560px, 100%);
}
.product-thumbs img, .media-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.benefit-list li {
  min-width: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  box-shadow: 0 8px 20px rgba(72, 16, 38, 0.06);
  font-weight: 760;
}
.order-panel, .admin-form, .confirmation, .handoff-box {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(234, 214, 223, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow-panel);
  padding: clamp(18px, 3vw, 26px);
}
.order-panel {
  position: sticky;
  top: 88px;
}
.order-panel h2, .page-band h1 {
  margin-top: 0;
  color: var(--rose-950);
}
.order-panel h2 { font-size: clamp(1.42rem, 3vw, 1.9rem); }
label {
  display: grid;
  gap: 6px;
  color: var(--rose-850);
  font-weight: 800;
  margin-bottom: 14px;
}
input, textarea, select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 108px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--rose-100);
  border-color: var(--rose-550);
}
.two-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.primary-button, .secondary-button {
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  cursor: pointer;
  font-weight: 900;
}
.primary-button {
  background: linear-gradient(135deg, var(--rose-850), var(--rose-550));
  color: white;
  box-shadow: 0 12px 26px rgba(167, 40, 97, 0.28);
}
.primary-button:hover { transform: translateY(-1px); }
.secondary-button { background: var(--rose-100); color: var(--rose-950); }
.full-width { width: 100%; }
.field-error, .error { color: #a51234; margin: -6px 0 12px; font-weight: 800; }
.success { color: var(--teal); background: var(--mint); border-radius: 8px; padding: 10px 12px; font-weight: 850; }
.delivery-note {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--petal);
}
.trust-band { padding: 8px 0 28px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.trust-grid div {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(234, 214, 223, 0.85);
}
.trust-grid strong { color: var(--rose-950); }
.trust-grid span { color: var(--muted); font-size: 0.9rem; }
.page-band { padding: clamp(28px, 5vw, 64px) 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feature-grid article {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.feature-grid h2 { color: var(--rose-950); margin-top: 0; }

.admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.admin-subtitle {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}
.login-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px) 16px;
}
.login-panel {
  width: min(430px, 100%);
}
.login-panel h1 {
  margin: 4px 0 0;
  color: var(--rose-950);
  font-size: 2rem;
}
.login-panel form {
  margin-top: 22px;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.admin-table th, .admin-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table th {
  background: linear-gradient(135deg, var(--rose-100), rgba(255, 255, 255, 0.9));
  color: var(--rose-950);
  font-size: 0.86rem;
  text-transform: uppercase;
}
.admin-table small { color: var(--muted); }
.status {
  display: inline-flex;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal);
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 900;
}
.media-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 16px;
}
.detail-list {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px 16px;
}
.detail-list dt { color: var(--muted); font-weight: 850; }
.detail-list dd { margin: 0; min-width: 0; }
.inline-form {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .order-panel {
    position: static;
  }
  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .top-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-nav a, .nav-button {
    background: rgba(255, 228, 238, 0.58);
    text-align: center;
  }
  .logout-form, .nav-button {
    width: 100%;
  }
  .container {
    width: min(100% - 24px, 1160px);
  }
  .hero-product {
    padding-top: 24px;
  }
  .hero-copy {
    gap: 16px;
  }
  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.15rem);
  }
  .product-visual {
    min-height: 200px;
  }
  .product-photo {
    min-height: 200px;
  }
  .product-card {
    width: min(280px, calc(100% - 42px));
    transform: rotate(-2deg);
  }
  .benefit-list, .trust-grid, .feature-grid, .two-fields {
    grid-template-columns: 1fr;
  }
  .order-panel {
    margin-top: 4px;
  }
  .site-header {
    position: static;
  }
  .admin-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-heading .primary-button {
    width: 100%;
  }
  .admin-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-table th, .admin-table td {
    min-width: 132px;
  }
  .detail-list {
    grid-template-columns: 1fr;
  }
  .inline-form {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .top-nav {
    grid-template-columns: 1fr;
  }
  .campaign-strip span {
    width: 100%;
    justify-content: center;
  }
  .price-row strong {
    width: 100%;
  }
}
