:root {
  --ink: #201217;
  --muted: #74616a;
  --line: #efd9e0;
  --rose: #e63876;
  --rose-dark: #a8174b;
  --cream: #fff6f7;
  --shell: #fce6ee;
  --white: #ffffff;
  --blush: #f8b5c9;
  --shadow: 0 30px 90px rgba(114, 28, 62, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(230, 56, 118, 0.16), transparent 31%),
    radial-gradient(circle at 12% 18%, rgba(248, 181, 201, 0.22), transparent 28%),
    linear-gradient(180deg, #fff9fb 0%, #fff4f6 48%, #ffffff 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
}

.brand,
.whatsapp-link,
.quiet-btn,
.support-line {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--rose-dark));
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(91, 24, 48, 0.18);
}

.brand-logo {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(232, 56, 118, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px rgba(91, 24, 48, 0.14);
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-logo.large {
  width: 82px;
  height: 82px;
  margin: 0 auto 12px;
}

.whatsapp-link,
.quiet-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(99, 31, 56, 0.08);
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.icon-link svg,
.floating-whatsapp svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 22px 0 68px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 6.7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-points span {
  border: 1px solid rgba(232, 56, 118, 0.16);
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(126, 36, 68, 0.07);
  font-size: 0.86rem;
  font-weight: 800;
}

.price-row,
.hero-actions,
.checkout-head,
.form-row,
.thanks-actions {
  display: flex;
  align-items: center;
}

.price-row {
  gap: 14px;
  margin: 28px 0 16px;
}

.price {
  font-size: 1.75rem;
  font-weight: 900;
}

.stock {
  border-radius: 999px;
  padding: 9px 13px;
  color: #7b163e;
  background: #ffe4ed;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-actions,
.thanks-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.primary-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #401522);
  box-shadow: 0 18px 36px rgba(35, 18, 23, 0.2);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.primary-btn.full {
  width: 100%;
}

.purchase-panel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(232, 56, 118, 0.14);
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 38px rgba(96, 38, 56, 0.09);
  backdrop-filter: blur(14px);
}

.purchase-total {
  display: grid;
  gap: 2px;
  min-width: 128px;
  border-left: 1px solid var(--line);
  padding: 2px 12px 2px 14px;
}

.purchase-total span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.purchase-total strong {
  color: var(--rose-dark);
  font-size: 1.06rem;
  font-weight: 900;
  white-space: nowrap;
}

.hero-order-btn {
  min-width: 190px;
  min-height: 58px;
  padding: 0 34px;
  background: linear-gradient(135deg, #e63876, #8f123f);
  box-shadow: 0 20px 44px rgba(166, 24, 77, 0.28);
  font-size: 1.02rem;
}

.hero-order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 52px rgba(166, 24, 77, 0.34);
}

.product-stage {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
}

.product-stage::before {
  position: absolute;
  inset: 5% -2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 56, 118, 0.22), rgba(255, 255, 255, 0) 64%);
  content: "";
}

.product-card {
  position: relative;
  display: grid;
  width: min(100%, 570px);
  min-height: 570px;
  place-items: center;
  border: 1px solid rgba(239, 217, 224, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.94), rgba(255,238,244,0.78)),
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.9), transparent 48%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-card::before {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(232, 56, 118, 0.12);
  border-radius: 50%;
  content: "";
}

.product-card::after {
  position: absolute;
  right: -22%;
  bottom: -26%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(232, 56, 118, 0.1);
  content: "";
}

.product-stage img {
  position: relative;
  z-index: 1;
  width: min(90%, 500px);
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(112, 25, 58, 0.22));
}

.product-badge,
.delivery-badge {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(232, 56, 118, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 32px rgba(90, 28, 52, 0.12);
  color: var(--rose-dark);
  font-size: 0.86rem;
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.product-badge {
  top: 22px;
  left: 22px;
}

.delivery-badge {
  right: 22px;
  bottom: 22px;
}

.quantity-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.quantity-picker button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
}

.quantity-picker div {
  display: grid;
  min-width: 76px;
  place-items: center;
  line-height: 1.1;
}

.quantity-picker span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quantity-picker strong {
  color: var(--rose-dark);
  font-size: 1.3rem;
  font-weight: 900;
}

.details,
.trust-strip,
.checkout {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 74px;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border: 0;
}

.details > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 38px rgba(96, 38, 56, 0.07);
}

.details > div + div {
  border-left: 1px solid var(--line);
}

.detail-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -42px;
}

.trust-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px rgba(96, 38, 56, 0.08);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.checkout {
  padding-top: 20px;
}

.checkout-head {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.checkout h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.mini-cart {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--shell);
  font-weight: 800;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 26px;
  align-items: start;
}

.payment-box,
.order-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.payment-box {
  padding: 26px;
}

.payment-box p {
  color: var(--muted);
  line-height: 1.65;
}

.payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(232, 56, 118, 0.18);
  border-radius: 8px;
  margin: 20px 0;
  padding: 16px;
  background: linear-gradient(135deg, #fff7fa, #ffe8f0);
}

.payment-total span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.payment-total strong {
  color: var(--rose-dark);
  font-size: 1.35rem;
  font-weight: 900;
  white-space: nowrap;
}

.account-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.account-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: 8px;
  padding: 16px;
  background: var(--cream);
}

.support-line {
  display: inline-flex;
  color: var(--rose-dark);
  font-weight: 800;
}

.order-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(232, 63, 119, 0.12);
}

input[readonly] {
  color: var(--rose-dark);
  background: #fff4f8;
  font-weight: 900;
}

.form-row {
  gap: 14px;
}

.form-row label {
  flex: 1;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #1f9f5a;
  box-shadow: 0 14px 34px rgba(31, 159, 90, 0.28);
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 29px;
  height: 29px;
}

.thanks-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.thanks {
  width: min(680px, 100%);
  text-align: center;
}

.thanks h1 {
  margin: 16px 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
}

.thanks p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.thanks-actions {
  justify-content: center;
  margin: 28px 0;
}

.support-note {
  color: var(--muted);
  font-weight: 800;
}

.order-confirmation-id {
  display: inline-flex;
  border-radius: 999px;
  margin-bottom: 18px;
  padding: 10px 14px;
  color: var(--rose-dark);
  background: var(--shell);
}

.admin-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login,
.admin-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.admin-login {
  width: min(440px, 100%);
}

.admin-login h1,
.admin-title h1 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.alert {
  border-radius: 8px;
  padding: 12px 14px;
  color: #8a1732;
  background: #ffe9ef;
  font-weight: 700;
}

.setup-panel {
  text-align: center;
}

.setup-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.setup-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.setup-result {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  text-align: left;
}

.setup-result span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-weight: 800;
}

.admin-header {
  border-bottom: 1px solid var(--line);
}

.admin-shell {
  padding: 38px 0 80px;
}

.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.status-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.status-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.status-tabs a.active {
  color: var(--white);
  background: var(--ink);
}

.status-tabs span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(232, 63, 119, 0.16);
  font-size: 0.8rem;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.admin-metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.admin-metrics span,
.admin-metrics strong {
  display: block;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-metrics strong {
  margin-top: 5px;
  font-size: 1.8rem;
}

.admin-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 18px;
}

.orders-table-wrap,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.orders-table th,
.orders-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px;
  text-align: left;
  vertical-align: middle;
}

.orders-table th {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orders-table td span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.muted-link {
  color: var(--muted);
  text-decoration: none;
}

.muted-link:hover,
.table-link:hover {
  color: var(--rose-dark);
}

.orders-table tr:last-child td {
  border-bottom: 0;
}

.empty-cell {
  color: var(--muted);
  text-align: center;
}

.table-link {
  color: var(--rose-dark);
  font-weight: 800;
  text-decoration: none;
}

.status-form {
  margin: 0;
}

.status-form select {
  min-width: 140px;
  padding: 10px 12px;
}

.status-form.wide {
  display: flex;
  gap: 10px;
}

.status-form.wide .primary-btn {
  min-height: 48px;
}

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

.detail-panel {
  padding: 24px;
}

.detail-panel h2 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  margin: 0;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  line-height: 1.55;
}

dd a {
  color: var(--rose-dark);
  font-weight: 800;
  text-decoration: none;
}

.screenshot-link {
  display: block;
}

.screenshot-link img {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--cream);
}

@media (max-width: 820px) {
  .hero,
  .checkout-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: -28px;
  }

  .hero {
    gap: 20px;
    min-height: auto;
    padding-top: 28px;
  }

  .product-stage {
    min-height: auto;
    order: -1;
  }

  .product-card {
    width: min(100%, 520px);
    min-height: auto;
    aspect-ratio: 1;
  }

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

  .details > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .checkout-head,
  .form-row,
  .admin-title,
  .admin-search {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-search {
    display: flex;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .site-header {
    width: min(100% - 24px, 1160px);
  }

  .hero,
  .details,
  .trust-strip,
  .checkout {
    width: min(100% - 24px, 1160px);
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .lede {
    font-size: 1rem;
  }

  .primary-btn,
  .quiet-btn {
    width: 100%;
  }

  .whatsapp-link {
    padding: 10px 13px;
  }

  .hero-points {
    gap: 8px;
  }

  .hero-points span {
    font-size: 0.8rem;
  }

  .product-stage img {
    width: min(88%, 360px);
  }

  .product-badge,
  .delivery-badge {
    padding: 8px 10px;
    font-size: 0.74rem;
  }

  .product-badge {
    top: 12px;
    left: 12px;
  }

  .delivery-badge {
    right: 12px;
    bottom: 12px;
    max-width: 64%;
    text-align: center;
  }

  .purchase-panel {
    display: grid;
    width: 100%;
    gap: 10px;
  }

  .purchase-total {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 10px 6px 4px;
  }

  .quantity-picker {
    justify-content: space-between;
  }

  .quantity-picker button {
    width: 38px;
    height: 38px;
  }

  .quantity-picker div {
    min-width: 64px;
  }

  .admin-metrics {
    grid-template-columns: 1fr;
  }
}
