/* Project Electrolyte store. The header, footer, colors, buttons and dark mode come from projectelectrolyte.com/site.css,
   so the store always matches the main site. This file only adds what the store needs. */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
.brand img, .site-footer img { width: 38px; height: 38px; }
.site-footer img { width: 28px; height: 28px; }
@media (max-width: 560px) { .brand img { width: 32px; height: 32px; } }
@media (prefers-color-scheme: dark) { .brand img, .site-footer img { filter: invert(1); } }
.nav a[aria-current="page"] { font-weight: 700; }

.store .wrap { padding-top: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.store h1 { font-size: clamp(32px, 3.2vw, 46px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.store .label-h { margin: 0; line-height: 1.2; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.muted { color: var(--muted); } .small { font-size: 14px; line-height: 1.5; } .mono { font-family: var(--mono); }
.big { font-size: 20px; line-height: 1.5; max-width: 640px; }
.banner { padding: 12px 14px; border: 2px solid var(--ink); font-weight: 600; font-size: 15px; }

.cols { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 900px) { .cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; } }
.panel { display: flex; flex-direction: column; gap: 16px; }

/* pack rows */
.grid { display: flex; flex-direction: column; gap: 8px; }
.product { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; color: #111111; min-height: 64px; }
@media (prefers-color-scheme: dark) { .product { filter: saturate(0.85) brightness(0.93); } }
.product .id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.product .n { font-size: 32px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.product .pf { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.product .p { font-size: 9px; font-weight: 500; letter-spacing: 0.22em; }
.product .f { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.25; }
.product .buy { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.product .pr { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.product .price { font-size: 17px; font-weight: 700; }
.product .left { font-size: 11px; font-family: var(--mono); white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #111111; background: rgba(255,255,255,0.35); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; color: #111111; }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; color: #111111; }
.soldout { font-weight: 700; font-size: 13px; letter-spacing: 0.1em; padding: 0 6px; white-space: nowrap; }
.product.out { filter: grayscale(0.85); }
@media (prefers-color-scheme: dark) { .product.out { filter: grayscale(0.85) brightness(0.93); } }

/* order form, same field style as the site's sign-up form */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; font-size: 16px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 0; }
.field textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.two > *, .three > * { min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); }
.seg button { min-height: 48px; border: 0; background: none; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--solid); color: var(--paper); }
.totals { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--ink); }
.totals .row { display: flex; justify-content: space-between; font-size: 15px; }
.totals .grand { font-size: 22px; font-weight: 700; }
.pay { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.pay:disabled { opacity: 0.45; cursor: default; }
.msg { font-size: 14px; min-height: 20px; }
.msg:empty { display: none; }
.msg.err { color: var(--danger); }
.hp { position: absolute; left: -9999px; }

/* monthly plans */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1.5px solid var(--ink); }
.plan b { font-size: 18px; }
.plan button { min-height: 44px; border: 1.5px solid var(--ink); background: none; font-weight: 700; cursor: pointer; }

.thanks-page .btn { align-self: flex-start; }
@media (max-width: 520px) { .product .f { letter-spacing: 0.06em; } .product .buy { gap: 10px; } .stepper button { width: 40px; } }
@media (max-width: 380px) { .product { padding-left: 10px; gap: 8px; } .product .n { font-size: 26px; } .product .buy { gap: 8px; } .stepper button { width: 36px; } }
