:root {
  --loke-dark: #292929;
  --loke-light: #EEEEEE;
  --loke-grey: #E4E3E3;
  --loke-bright: #FFFFFF;
  --loke-fresh: #32D68F;
  --loke-pink: #D63279;
  --muted: #6b6b6b;
  --bg: var(--loke-bright);
  --text: var(--loke-dark);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 300; color: var(--text); background: var(--loke-light); line-height: 1.55;
}
h1, h2 { font-family: "Roboto Slab", serif; font-weight: 400; letter-spacing: -0.01em; }
h3 { font-weight: 600; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; }

header.site {
  background: var(--loke-dark); color: var(--loke-light);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 5vw; position: sticky; top: 0; z-index: 10;
}
header.site .logo { height: 28px; width: auto; }
header.site .tag { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--loke-grey); }

main { max-width: 1120px; margin: 0 auto; padding: 32px 16px 64px; }

.product {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start;
  background: var(--bg); border-radius: 16px; padding: 32px;
}
@media (max-width: 840px) { .product { grid-template-columns: 1fr; padding: 20px; gap: 24px; } }

.hero {
  background: var(--loke-bright); border: 1px solid var(--loke-grey); border-radius: 14px; padding: 24px;
  aspect-ratio: 1 / 0.95; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button {
  border: 1px solid var(--loke-grey); border-radius: 10px; background: var(--loke-bright);
  padding: 6px; cursor: pointer; aspect-ratio: 1; overflow: hidden;
}
.thumbs button.active { border-color: var(--loke-fresh); box-shadow: 0 0 0 1px var(--loke-fresh); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }

.kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--loke-fresh); }
h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 8px 0 12px; }
.lede { color: var(--muted); margin-bottom: 20px; font-size: 16px; }

.price-row { display: flex; align-items: baseline; gap: 12px; }
.price { font-size: 34px; font-weight: 700; }
.rrp { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.save { background: var(--loke-pink); color: var(--loke-bright); font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price-note { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.price-note strong { font-weight: 600; }

.includes { margin: 22px 0; border-top: 1px solid var(--loke-grey); }
.includes li {
  list-style: none; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--loke-grey);
}
.includes .ico { width: 36px; height: 36px; border-radius: 6px; background: var(--loke-light); overflow: hidden; }
.includes .ico img { width: 100%; height: 100%; object-fit: contain; }
.includes .name { font-weight: 600; font-size: 15px; }
.includes .detail { font-size: 13px; color: var(--muted); }
.includes .each { font-size: 14px; color: var(--muted); white-space: nowrap; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field select, .field input {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--loke-grey); border-radius: 10px;
  background: var(--bg); color: var(--text); width: 100%;
}
.field select:focus, .field input:focus { outline: 2px solid var(--loke-fresh); outline-offset: 1px; border-color: var(--loke-fresh); }
.field-row { display: grid; grid-template-columns: 1fr 1fr 140px; gap: 12px; }
.field-row.no-state { grid-template-columns: 1fr 140px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.no-state { grid-template-columns: 1fr 140px; } }
.summary .row.est { color: var(--muted); }
.summary .row.est.total { color: var(--text); border-top: 1px dashed var(--loke-grey); }
.min-note { text-transform: none; letter-spacing: 0; font-weight: 400; }

.plans { border: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.plans legend { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.plan {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1px solid var(--loke-grey); border-radius: 12px; padding: 12px 14px; background: var(--loke-bright);
}
.plan.selected { border-color: var(--loke-fresh); box-shadow: 0 0 0 1px var(--loke-fresh); background: #f3fbf7; }
.plan input { accent-color: var(--loke-fresh); width: 16px; height: 16px; flex-shrink: 0; }
.plan-body { display: flex; flex-direction: column; gap: 1px; }
.plan-title { font-weight: 700; font-size: 15px; }
.plan-sub { font-size: 13px; color: var(--muted); }
.plan-price { margin-left: auto; font-weight: 700; font-size: 15px; white-space: nowrap; }
.summary .row.then { color: var(--muted); font-size: 13px; padding-top: 2px; }

.qty { display: flex; border: 1px solid var(--loke-grey); border-radius: 10px; overflow: hidden; }
.qty button { width: 40px; border: 0; background: var(--loke-light); cursor: pointer; font-size: 18px; color: var(--text); }
.qty button:hover { background: var(--loke-grey); }
.qty input { border: 0; border-radius: 0; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }

.summary {
  background: var(--loke-light); border-radius: 12px; padding: 16px 18px; margin: 10px 0 18px; font-size: 14px;
}
.summary .row { display: flex; justify-content: space-between; padding: 5px 0; }
.summary .row.total { border-top: 1px solid var(--loke-grey); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 16px; }
.summary .muted { color: var(--muted); }
.summary .tax { color: var(--muted); font-size: 13px; }
.summary .tax b { color: var(--loke-pink); font-weight: 600; }

.buy {
  display: block; width: 100%; border: 0; cursor: pointer;
  background: var(--loke-fresh); color: var(--loke-dark);
  font-size: 17px; font-weight: 700; padding: 16px; border-radius: 12px; transition: filter .15s;
}
.buy:hover { filter: brightness(0.95); }
.buy[disabled] { opacity: .55; cursor: not-allowed; }
.error { color: var(--loke-pink); font-size: 14px; margin-top: 10px; min-height: 1.4em; }
.secure { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

.facts {
  margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 840px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--bg); border-radius: 14px; padding: 20px 22px; border-left: 4px solid var(--loke-fresh); }
.fact h3 { font-size: 15px; margin-bottom: 6px; }
.fact p { font-size: 14px; color: var(--muted); }

footer { text-align: center; font-size: 13px; color: var(--muted); padding: 24px 16px 40px; }
footer img { height: 22px; width: auto; margin: 0 auto 10px; opacity: .8; }

/* success page */
.receipt { max-width: 640px; margin: 0 auto; background: var(--bg); border-radius: 16px; padding: 32px; }
.receipt .check { width: 56px; height: 56px; border-radius: 50%; background: var(--loke-fresh); display: grid; place-items: center; margin-bottom: 16px; }
.receipt h1 { font-size: 28px; margin-bottom: 6px; }
.receipt table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.receipt td { padding: 8px 0; border-bottom: 1px solid var(--loke-grey); }
.receipt td:last-child { text-align: right; white-space: nowrap; }
.receipt tr.total td { font-weight: 700; font-size: 16px; border-bottom: 0; }
.receipt .addr { font-size: 14px; color: var(--muted); white-space: pre-line; }
.link { display: inline-block; margin-top: 18px; color: var(--loke-dark); font-weight: 600; }

.promo { margin: 4px 0 14px; border: 1px dashed var(--loke-grey); border-radius: 12px; padding: 10px 14px; }
.promo summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.promo-row { display: flex; gap: 8px; margin-top: 10px; }
.promo-row input { flex: 1; font: inherit; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 10px 12px; border: 1px solid var(--loke-grey); border-radius: 10px; background: var(--bg); min-width: 0; }
.promo-row input:focus { outline: 2px solid var(--loke-fresh); outline-offset: 1px; border-color: var(--loke-fresh); }
.promo-row button { font: inherit; font-weight: 700; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--loke-dark); color: var(--loke-bright); cursor: pointer; }
.promo-row button[disabled] { opacity: .5; cursor: default; }
.promo-msg { font-size: 13px; margin-top: 8px; min-height: 1.2em; color: var(--muted); }
.promo-msg.ok { color: #1f8f5f; font-weight: 600; }
.promo-msg.bad { color: var(--loke-pink); }
.summary .row.discount { color: #1f8f5f; font-weight: 600; }

.summary .row[hidden], .plan[hidden], .field[hidden] { display: none; }

.field-hint { font-size: 12px; color: var(--muted); }
.field-hint.bad { color: var(--loke-pink); }
#store { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
