:root {
  --bg: #f5f2ea;
  --card: #ffffff;
  --ink: #1a2e24;
  --muted: #5f6b63;
  --line: #e3ddd0;
  --accent: #c49a3c;
  --dark: #17362a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a { color: var(--ink); }

.top {
  background: var(--dark);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}
.top a { color: #fff; text-decoration: none; }
.brand { font-weight: 700; letter-spacing: .04em; font-size: 1.15rem; }

.back { font-size: .9rem; opacity: .85; }

.wrap { max-width: 640px; margin: 0 auto; padding: 28px 16px 40px; }
.center { text-align: center; padding-top: 60px; }
.text h2 { font-size: 1.05rem; margin-top: 1.6em; }

h1, h2, .brand { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: 2.2rem; margin: 0 0 .3em; font-weight: 500; }
.lead { font-size: 1.08rem; color: #374151; margin-top: 0; }
.facts { padding-left: 1.1em; color: #374151; }
.facts li { margin: .2em 0; }
.facts li::marker { color: var(--accent); }

.alert { background: #fff4e5; border: 1px solid #f0c27a; padding: 10px 14px; border-radius: 8px; }

.order {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 20px;
  margin-top: 24px;
}
.order h2 { margin: 0 0 12px; font-size: 1.2rem; }

.product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.pinfo { display: flex; flex-direction: column; }
.pinfo strong { font-size: 1.05rem; }
.desc { color: var(--muted); font-size: .9rem; }
.per { color: var(--accent); font-size: .85rem; font-weight: 600; }
.pbuy { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.price { font-weight: 700; }

.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.qty button {
  width: 36px; height: 36px; border: 0; background: #f3f2ef; font-size: 1.2rem; cursor: pointer; color: var(--ink);
}
.qty input {
  width: 44px; height: 36px; border: 0; text-align: center; font-size: 1rem; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.summary { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.summary div { display: flex; justify-content: space-between; padding: 3px 0; }
.summary .total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.hint { color: var(--accent); font-size: .9rem; margin: 8px 0 0; }

.pay {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: var(--accent);
  color: var(--dark);
  border: 0;
  border-radius: 0;
  letter-spacing: .03em;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.pay:disabled { background: #cfc8b8; color: #7a7466; cursor: not-allowed; }
.pay:not(:disabled):hover { background: #d4ac52; }
.pay.link { display: inline-block; width: auto; padding: 12px 22px; }
.secure { text-align: center; color: var(--muted); font-size: .85rem; margin: 10px 0 0; }

.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 20px 16px 30px; }
.foot a { color: var(--muted); }

.hero-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 22px; border: 1px solid var(--line); }
.pimg { width: 72px; height: 72px; object-fit: contain; padding: 4px; flex-shrink: 0; border: 1px solid var(--line); background: #fff; }
.pinfo { flex: 1; min-width: 0; }
@media (max-width: 420px) { .pimg { width: 56px; height: 56px; } }

.topright { display: flex; align-items: center; gap: 16px; }
.langs { display: flex; gap: 2px; font-size: .8rem; letter-spacing: .05em; }
.langs a { padding: 3px 7px; opacity: .7; border: 1px solid transparent; }
.langs a:hover { opacity: 1; }
.langs a.on { opacity: 1; border-color: var(--accent); color: var(--accent); }
@media (max-width: 420px) { .top .back { display: none; } }

/* Logga i headern */
.brand { display: block; line-height: 0; }
.brand .logo { display: block; height: 46px; width: auto; }
.top { padding: 10px 20px; }
@media (max-width: 420px) { .brand .logo { height: 38px; } }
