/* Labumen Store. Builds on style.css (a copy of the main site's). */
.top { width: 100%; max-width: 1040px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; flex-wrap: wrap; }
.logo { font: 800 1.6rem/1 var(--round); color: var(--orange); text-decoration: none; }
.logo span { color: var(--leaf); }
.logo small { font: 600 0.85rem var(--round); color: var(--muted); margin-left: 4px; }
.home-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; text-decoration: none;
  background: var(--orange-deep); color: #fff; font: 700 0.95rem/1.2 var(--round); box-shadow: 0 3px 0 #6E3500;
}
.home-link span { font-size: 1.15rem; line-height: 1; }
.home-link i { font-style: normal; font-weight: 400; opacity: .85; }
.home-link:hover { filter: brightness(1.05); }
.home-link:focus-visible { outline: 3px solid var(--blue, #2F8CF0); outline-offset: 3px; }
@media (max-width: 420px) { .home-link i { display: none; } }
.bi b { font-weight: inherit; }
.bi i { font-style: normal; color: var(--muted); font-weight: 400; }
h2 { font: 700 1.3rem var(--round); margin: 28px 0 8px; }
.wrap { max-width: 1040px; width: 100%; }

/* store */
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; width: 100%; margin-top: 18px; }
.prod { background: #fff; border-radius: 18px; padding: 12px; text-decoration: none; color: var(--ink); box-shadow: 0 4px 0 #F0DFC8; display: flex; flex-direction: column; gap: 10px; text-align: left; transition: transform .15s; }
.prod:hover { transform: translateY(-3px); }
.prod img { width: 100%; height: auto; border-radius: 8px; border: 1px solid #F0DFC8; }
.ptext { display: flex; flex-direction: column; gap: 2px; }
.ptext strong { font: 800 1.05rem/1.25 var(--round); }
.ptext > span:not(.price) { color: var(--muted); font-size: 0.9rem; }
.price { font: 800 1.35rem var(--round); color: var(--orange-deep); margin-top: 4px; }
.price s { color: var(--muted); font-size: 0.95rem; font-weight: 600; margin-left: 6px; }
.promo-tag { display: block; margin-top: 4px; font: 700 0.85rem var(--round); color: #0D7C74; }
.promo-tag .bi i, .promo-tag i { color: #0D7C74; opacity: .8; }
.buy .price { color: inherit; font: inherit; margin: 0; }
.buy .price s { color: inherit; opacity: .75; }
.sample { display: inline-block; margin-top: 18px; padding: 12px 20px; border-radius: 999px; border: 2px dashed var(--orange); color: var(--ink); text-decoration: none; font-weight: 700; }
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; width: 100%; text-align: left; }
.how li { background: #fff; border-radius: 16px; padding: 14px 16px; position: relative; }
.how li > b { position: absolute; right: 14px; top: 10px; font: 800 1.6rem var(--round); color: #F0DFC8; }
.how h3 { margin: 0 0 4px; font: 700 1.05rem var(--round); }
.how p { margin: 0; font-size: 0.92rem; }
.how p i { display: block; }

/* product */
.pwrap { align-items: stretch; text-align: left; }
.back { margin: 0; }
.back a { color: var(--ink); font-weight: 700; text-decoration: none; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery img { width: 100%; height: auto; border-radius: 10px; border: 1px solid #F0DFC8; background: #fff; box-shadow: 0 3px 0 #F0DFC8; }
.gallery img:first-child { grid-column: 1 / -1; }
.info h1 { margin: 0 0 6px; }
.tag { margin: 10px 0 14px; }
.tag i { display: block; }
.buy { display: block; width: 100%; max-width: 360px; padding: 14px 20px; border: 0; border-radius: 999px; background: var(--orange-deep); color: #fff; font: 800 1.1rem var(--round); cursor: pointer; text-align: center; box-shadow: 0 4px 0 #6E3500; }
.buy .bi i { color: #FFE9D2; }
.buy.off { background: #E8DCCF; color: var(--ink); box-shadow: none; cursor: default; margin: 0; }
.buy.off .bi i { color: var(--muted); }
.buyform { margin: 0; }
.edition { font-size: 0.92rem; margin: 12px 0 0; }
.edition i { display: block; }
.inside { padding-left: 20px; margin: 0; }
.inside li { margin-bottom: 6px; }
.inside i { display: block; font-size: 0.9rem; }
.facts { border-collapse: collapse; margin-top: 16px; width: 100%; font-size: 0.92rem; }
.facts th, .facts td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #F0DFC8; vertical-align: top; }
.facts th { width: 38%; }
.faq { margin-top: 20px; }
.faq details { background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq summary i { font-weight: 400; }
.faq p { margin: 8px 0 0; font-size: 0.92rem; }
.faq p i { display: block; }

/* samples */
.samples { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; width: 100%; max-width: 520px; }
.samples a { display: flex; flex-direction: column; gap: 2px; background: #fff; border-radius: 16px; padding: 14px 18px; text-decoration: none; color: var(--ink); box-shadow: 0 3px 0 #F0DFC8; text-align: left; }
.samples strong i { display: block; }
.samples a > span { color: var(--orange-deep); font-weight: 700; font-size: 0.88rem; }

@media (max-width: 720px) {
  .product { grid-template-columns: 1fr; gap: 20px; }
  .buy { max-width: none; }
}

/* terms */
.terms { max-width: 760px; }
.terms .eff { color: var(--muted); margin: 0; }
.terms section { background: #fff; border-radius: 16px; padding: 4px 20px 8px; }
.terms h2 { font-size: 1.1rem; margin: 14px 0 6px; }
.terms p { margin: 0 0 10px; }
.terms p i { color: var(--muted); font-style: normal; }

/* checkout, thank you, download */
.checkout { max-width: 620px; }
.order { display: flex; gap: 16px; background: #fff; border-radius: 16px; padding: 14px; align-items: flex-start; }
.order img { width: 96px; height: auto; border-radius: 6px; border: 1px solid #F0DFC8; }
.order > div { display: flex; flex-direction: column; gap: 2px; }
.order strong { font: 800 1.1rem var(--round); }
.order > div > span:not(.price) { color: var(--muted); }
.small { font-size: 0.88rem; color: var(--muted); margin: 6px 0 0; }
#pay { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
#pay label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
#pay input:not([type=checkbox]) { font: inherit; padding: 12px 14px; border: 2px solid #E8DCCF; border-radius: 12px; background: #fff; color: var(--ink); }
#pay input:focus { outline: none; border-color: var(--orange); }
#pay .agree { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
#pay .agree input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--orange); }
#pay .agree a { color: var(--ink); font-weight: 700; }
#pay .hp { position: absolute; left: -9999px; }
.err { background: #FFE3DE; border-radius: 12px; padding: 10px 14px; margin: 0; }
.err[hidden] { display: none; }
#pay .buy:disabled { opacity: .6; cursor: wait; }
.state > * { display: none; }
.state[data-state="wait"] .s-wait, .state[data-state="paid"] .s-paid, .state[data-state="mail"] .s-mail { display: block; }
.state .buy { margin: 10px auto 0; text-decoration: none; }
.state .bi i, .lede .bi i { display: block; }
.samples .used { display: flex; flex-direction: column; gap: 2px; background: #F3EEE8; border-radius: 16px; padding: 14px 18px; color: var(--muted); text-align: left; }
a.buy { text-decoration: none; }
.promo-note { margin: 4px 0 0; padding: 10px 14px; border-radius: 12px; background: #D5F3EF; color: #0D7C74; font: 700 0.95rem var(--round); }

/* Bundles that hold this product (December 2026) */
.upsell { margin: 18px 0 4px; padding: 14px 16px; border-radius: 14px; background: #FFF1DC; border: 2px solid #F7C98B; }
.upsell h2 { margin: 0 0 8px; font-size: 1.05rem; }
.upsell ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.upsell a { display: block; color: var(--ink); text-decoration: none; line-height: 1.35; }
.upsell a:hover strong { text-decoration: underline; }
.upsell .bi i { display: inline; }
.info .promo-note { margin: 8px 0 4px; }
