/* Store pages: retail product-page layout on white. */
:root {
  --s-bg: #ffffff;
  --s-ink: #1a1d1f;
  --s-muted: #5b6164;
  --s-line: #e4e7e7;
  --s-header: #16302e;
  --s-header-2: #22433f;
  --s-brand: #1f6f5c;
  --s-link: #0b6e8a;
  --s-link-hover: #b1471b;
  --s-buy: #ffc93c;
  --s-buy-edge: #e8b023;
  --s-ok: #147c3f;
  --s-soft: #f6f8f8;
}
.store { background: var(--s-bg); color: var(--s-ink); font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.45; }
.store a { color: var(--s-link); text-decoration: none; }
.store a:hover { color: var(--s-link-hover); text-decoration: underline; }
.store :focus-visible { outline: 3px solid #4fb3d9; outline-offset: 2px; border-radius: 4px; }

/* Header */
.s-top { background: var(--s-header); color: #fff; }
.s-top-inner { max-width: 1500px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 8px 18px; }
.s-logo { display: flex; align-items: center; gap: 10px; color: #fff !important; font-weight: 700; font-size: 20px; letter-spacing: -.01em; padding: 6px 8px; border: 1px solid transparent; border-radius: 3px; }
.s-logo:hover { border-color: #fff; text-decoration: none !important; }
.s-logo img { display: block; flex: none; height: 30px; width: auto; }
.s-logo span, .s-account b, .s-account small { white-space: nowrap; }
.s-top-inner .s-account { margin-left: auto; }
.s-nav { display: flex; gap: 4px; flex: 1; }
.s-nav a, .s-account { color: #fff !important; padding: 8px 10px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; }
.s-nav a:hover, .s-account:hover { border-color: #fff; text-decoration: none !important; }
.s-account { line-height: 1.15; }
.s-account small { display: block; font-size: 12px; color: #cfdcd9; }
.s-account b { font-size: 14px; }
.s-sub { background: var(--s-header-2); }
.s-sub-inner { max-width: 1500px; margin: 0 auto; display: flex; gap: 2px; padding: 4px 14px; overflow-x: auto; scrollbar-width: none; }
.s-sub-inner::-webkit-scrollbar { display: none; }
.s-sub a { color: #fff !important; font-size: 14px; padding: 6px 10px; border: 1px solid transparent; border-radius: 3px; white-space: nowrap; }
.s-sub a:hover { border-color: #fff; text-decoration: none !important; }

.s-wrap { max-width: 1500px; margin: 0 auto; padding: 0 18px; }
.s-crumbs { font-size: 13px; color: var(--s-muted); padding: 12px 0 6px; }
.s-crumbs a { color: var(--s-muted); }

/* Product area: gallery | details | buy box */
.s-product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 300px; gap: 28px; padding: 10px 0 30px; align-items: start; }
.s-gallery { display: grid; grid-template-columns: 54px 1fr; gap: 14px; position: sticky; top: 14px; }
.s-thumbs { display: flex; flex-direction: column; gap: 10px; }
.s-thumb { width: 54px; height: 54px; padding: 3px; background: #fff; border: 1px solid #c8cccc; border-radius: 6px; cursor: pointer; }
.s-thumb img { width: 100%; height: 100%; object-fit: contain; }
.s-thumb[aria-pressed="true"] { border-color: #e77600; box-shadow: 0 0 3px 2px rgba(228,121,17,.4); }
.s-main-img { width: 100%; height: auto; display: block; }
.s-caption { text-align: center; font-size: 13px; color: var(--s-muted); margin-top: 6px; }

.s-title { font-size: 24px; line-height: 1.3; font-weight: 500; margin: 0 0 6px; }
.s-byline { font-size: 14px; margin-bottom: 8px; }
.s-hr { border: 0; border-top: 1px solid var(--s-line); margin: 12px 0; }
.s-price { display: flex; align-items: flex-start; gap: 2px; font-weight: 500; }
.s-price .cur { font-size: 14px; margin-top: 5px; }
.s-price .whole { font-size: 30px; line-height: 1; }
.s-price .cents { font-size: 14px; margin-top: 5px; }
.s-plan { font-size: 14px; color: var(--s-ink); margin: 6px 0 0; }
.s-note { font-size: 13px; color: var(--s-muted); }
.s-specs { border-collapse: collapse; margin: 6px 0; font-size: 14px; }
.s-specs th { text-align: left; font-weight: 700; padding: 4px 22px 4px 0; vertical-align: top; white-space: nowrap; }
.s-specs td { padding: 4px 0; }
.s-about h2 { font-size: 16px; margin: 0 0 6px; }
.s-about ul { margin: 0; padding-left: 18px; }
.s-about li { margin-bottom: 6px; }

/* Buy box: the one loud element */
.s-buybox { border: 1px solid #d5d9d9; border-radius: 8px; padding: 18px; position: sticky; top: 14px; }
.s-buybox .s-price .whole { font-size: 28px; }
.s-ship { font-size: 14px; margin: 10px 0; }
.s-ship b { font-weight: 700; }
.s-avail { color: var(--s-ok); font-size: 17px; margin: 8px 0 12px; }
.s-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0; font-size: 14px; }
.s-field select { font: inherit; font-size: 13px; background: #f0f2f2; border: 1px solid #d5d9d9; border-radius: 8px; padding: 5px 8px; box-shadow: 0 2px 5px rgba(15,17,17,.12); cursor: pointer; }
.s-lines { font-size: 13px; margin: 12px 0 4px; }
.s-lines div { display: flex; justify-content: space-between; padding: 2px 0; }
.s-lines [hidden] { display: none; }
.s-lines .s-note { display: block; }
.s-field label { white-space: nowrap; }
.s-field select { width: 84px; }
.s-lines .total { font-weight: 700; font-size: 15px; border-top: 1px solid var(--s-line); margin-top: 4px; padding-top: 6px; }
.s-buy { display: block; width: 100%; margin-top: 12px; background: var(--s-buy); border: 1px solid var(--s-buy-edge); border-radius: 100px; padding: 10px 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--s-ink); cursor: pointer; box-shadow: 0 2px 5px rgba(213,217,217,.5); text-align: center; }
.s-buy:hover { background: #f7bd20; text-decoration: none !important; color: var(--s-ink) !important; }
.s-buy:active { transform: translateY(1px); }
.s-secure { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--s-muted); margin: 10px 0; }
.s-meta { font-size: 13px; border-collapse: collapse; width: 100%; }
.s-meta th { color: var(--s-muted); font-weight: 400; text-align: left; padding: 3px 10px 3px 0; white-space: nowrap; vertical-align: top; }
.s-meta td { padding: 3px 0; }

/* Lower sections */
.s-section { border-top: 1px solid var(--s-line); padding: 26px 0; }
.s-section h2 { font-size: 21px; font-weight: 700; margin: 0 0 14px; }
.s-compare { border-collapse: collapse; width: 100%; max-width: 980px; font-size: 14px; }
.s-compare th, .s-compare td { border-bottom: 1px solid var(--s-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.s-compare thead th { font-size: 15px; }
.s-compare tbody th { color: var(--s-muted); font-weight: 600; width: 220px; }
.s-compare .ours { background: var(--s-soft); }
.s-yes { color: var(--s-ok); font-weight: 700; }
.s-no { color: var(--s-muted); }
.s-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1100px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.s-steps li { counter-increment: step; }
.s-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--s-brand); color: #fff; font-weight: 700; margin-bottom: 8px; }
.s-steps b { display: block; margin-bottom: 4px; }
.s-qa { max-width: 900px; }
.s-qa div { display: grid; grid-template-columns: 90px 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--s-line); }
.s-qa dt { font-weight: 700; }
.s-qa dd { margin: 0; }
.s-qa .q { font-weight: 700; }
.s-form { max-width: 560px; }
.s-form label { display: block; font-weight: 700; font-size: 13px; margin: 10px 0 3px; }
.s-form input, .s-form textarea { font: inherit; width: 100%; padding: 8px 10px; border: 1px solid #888c8c; border-radius: 4px; background: #fff; color: var(--s-ink); box-shadow: 0 1px 2px rgba(15,17,17,.15) inset; }
.s-form input:focus, .s-form textarea:focus { border-color: #e77600; box-shadow: 0 0 3px 2px rgba(228,121,17,.4); outline: none; }
.s-form .row2 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.s-btn2 { background: #fff; border: 1px solid #d5d9d9; border-radius: 8px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 2px 5px rgba(213,217,217,.5); color: var(--s-ink); }
.s-btn2:hover { background: #f7fafa; }
.s-flash { border: 1px solid #c40000; border-radius: 8px; padding: 12px 16px; margin: 12px 0; color: #c40000; }
.s-flash.success { border-color: var(--s-ok); color: var(--s-ok); }

/* Footer */
.s-backtop { display: block; background: #37524f; color: #fff !important; text-align: center; padding: 14px; font-size: 13px; margin-top: 30px; }
.s-backtop:hover { background: #42605c; text-decoration: none !important; }
.s-foot { background: var(--s-header); color: #dde7e5; padding: 34px 18px; }
.s-foot-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.s-foot h3 { color: #fff; font-size: 16px; margin: 0 0 10px; }
.s-foot a { color: #dde7e5 !important; display: block; font-size: 14px; padding: 3px 0; }
.s-copy { text-align: center; font-size: 12px; color: #a9bcb8; margin-top: 26px; }

/* Simple centered store pages (success, thanks) */
.s-narrow { max-width: 720px; margin: 30px auto; padding: 0 18px; }
.s-box { border: 1px solid #d5d9d9; border-radius: 8px; padding: 22px; }
.s-box h1 { font-size: 22px; margin: 0 0 8px; }
.s-okline { color: var(--s-ok); font-weight: 700; font-size: 18px; }

/* E-ink vs tablet */
.e-lead { font-size: 18px; line-height: 1.5; max-width: 62ch; margin: 0 0 22px; color: #2c3a38; }
.e-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.e-points div { background: #eef0e9; border-radius: 6px; padding: 18px 18px 6px; }
.e-points b { display: block; font-size: 17px; margin-bottom: 6px; color: var(--s-header); }
.e-points p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.e-table { min-width: 680px; }
.e-table tbody th { width: 240px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1100px) { .e-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .e-points { grid-template-columns: 1fr; } }

/* Home / welcome page */
.h-hero { background: linear-gradient(180deg, #cfe6df 0%, #e6f2ee 55%, #ffffff 100%); }
.h-hero-inner { max-width: 1500px; margin: 0 auto; padding: 44px 36px 150px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.h-hero-text h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; margin: 0 0 16px; color: var(--s-header); max-width: 13ch; }
.h-hero-text p { font-size: 19px; line-height: 1.5; max-width: 52ch; margin: 0 0 24px; color: #2c3a38; }
.h-eink { font-size: 16px !important; font-weight: 600; color: var(--s-header) !important; margin-top: -10px !important; }
.h-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.h-cta { display: inline-block; width: auto; padding: 12px 34px; margin: 0; }
.h-from { font-size: 14px; color: var(--s-muted); }
.h-hero-img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.h-card img, .h-tile img { mix-blend-mode: multiply; }

.h-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: -120px; position: relative; }
.h-card { background: #fff; padding: 20px 20px 16px; display: flex; flex-direction: column; color: var(--s-ink) !important; border-radius: 4px; box-shadow: 0 1px 3px rgba(15, 17, 17, .12); }
.h-card:hover { text-decoration: none !important; }
.h-card h2 { font-size: 21px; font-weight: 700; margin: 0 0 12px; line-height: 1.2; }
.h-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f7f8f8; margin-bottom: 12px; }
.h-link { color: var(--s-link); font-size: 14px; margin-top: auto; }
.h-card:hover .h-link { color: var(--s-link-hover); text-decoration: underline; }

.h-shelf, .h-why, .h-final { padding: 34px 0 6px; }
.h-shelf h2, .h-why h2, .h-final h2 { font-size: 21px; font-weight: 700; margin: 0 0 16px; }
.h-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-tile { display: flex; flex-direction: column; gap: 6px; color: var(--s-ink) !important; padding: 14px; border: 1px solid var(--s-line); border-radius: 8px; }
.h-tile:hover { text-decoration: none !important; border-color: #c8cccc; }
.h-tile img, .h-plan-art { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #f7f8f8; border-radius: 4px; }
.h-plan-art { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--s-header); color: #fff; }
.h-plan-art span { font-size: 44px; font-weight: 700; letter-spacing: -.02em; }
.h-plan-art small { font-size: 15px; color: #cfdcd9; }
.h-name { font-size: 16px; line-height: 1.35; }
.h-tile:hover .h-name { color: var(--s-link-hover); }
.h-tile .s-price .whole { font-size: 26px; }
.h-per { font-size: 13px; margin: 9px 0 0 3px; color: var(--s-muted); }
.h-meta { font-size: 13px; color: var(--s-muted); }

.h-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1200px; font-size: 15px; line-height: 1.5; }
.h-why-grid b { display: block; font-size: 17px; margin-bottom: 4px; }
.h-final { text-align: center; padding: 40px 0 20px; border-top: 1px solid var(--s-line); margin-top: 30px; }
.h-final p { color: var(--s-muted); margin: 0 0 18px; }

@media (max-width: 1100px) {
  .h-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .h-hero-inner { grid-template-columns: 1fr; padding: 28px 18px 110px; }
  .h-cards { grid-template-columns: 1fr; margin-top: -90px; }
  .h-tiles, .h-why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .s-product { grid-template-columns: minmax(0, 1fr) 300px; }
  .s-gallery { grid-column: 1 / -1; position: static; max-width: 720px; }
}
@media (max-width: 420px) {
  .s-top-inner { gap: 8px; padding: 8px 10px; }
  .s-logo { font-size: 17px; padding: 6px 4px; }
  .s-logo img { height: 25px; }
  .s-account small { display: none; }
}
@media (max-width: 760px) {
  .s-nav { display: none; }
  .s-product { grid-template-columns: 1fr; }
  .s-gallery { grid-template-columns: 1fr; }
  .s-thumbs { flex-direction: row; order: 2; }
  .s-buybox { position: static; }
  .s-steps { grid-template-columns: 1fr; }
  .s-foot-inner { grid-template-columns: 1fr; }
  .s-form .row2 { grid-template-columns: 1fr; }
  .s-qa div { grid-template-columns: 1fr; }
  .s-compare tbody th { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .s-buy:active { transform: none; } }

/* ---------- Checkout ---------- */
.co { padding-bottom: 30px; }
.co-title { font-size: 28px; font-weight: 400; margin: 18px 0 14px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.co-step { border-bottom: 1px solid var(--s-line); padding: 6px 0 22px; margin-bottom: 18px; }
.co-step h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; margin: 0 0 14px; }
.co-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--s-header); color: #fff; font-size: 14px; }
.co-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 14px; max-width: 620px; }
.co-main, .co-side { min-width: 0; }
.co-f.full { grid-column: 1 / -1; }
.co-f label { display: block; font-weight: 700; font-size: 13px; margin: 8px 0 3px; }
.co-f input, .co-f select, .co-f textarea { font: inherit; width: 100%; padding: 8px 10px; border: 1px solid #888c8c; border-radius: 4px; background: #fff; color: var(--s-ink); box-shadow: 0 1px 2px rgba(15,17,17,.15) inset; }
.co-f select { padding: 7px 8px; }
.co-f input:focus, .co-f select:focus, .co-f textarea:focus, .co-qty select:focus { border-color: #e77600; box-shadow: 0 0 3px 2px rgba(228,121,17,.4); outline: none; }
.co-f [aria-invalid="true"] { border-color: #c40000; box-shadow: 0 0 0 1px #c40000 inset; }
.co-line2 { margin-top: 8px; }
.co-opt { font-weight: 400; color: var(--s-muted); }
.co-hint { font-size: 12px; color: var(--s-muted); margin: 4px 0 0; }
.co-err { color: #c40000; font-size: 12px; margin: 4px 0 0; }
.co-err::before { content: "! "; font-weight: 700; }
.co-alert { border: 1px solid #c40000; border-left-width: 4px; border-radius: 8px; padding: 12px 16px; margin: 0 0 18px; color: #c40000; max-width: 920px; }
.co-alert ul { margin: 6px 0 0; padding-left: 20px; color: var(--s-ink); }
.co-pay { display: flex; gap: 12px; align-items: flex-start; max-width: 620px; margin-top: 14px; padding: 12px 14px; border: 1px solid #fbd8b4; background: #fcf5ee; border-radius: 8px; font-size: 14px; cursor: pointer; }
.co-pay input { flex: none; width: auto; margin: 4px 0 0; accent-color: #e77600; }
.co-pay span { font-weight: 400; }
.co-arrive { color: var(--s-ok); font-weight: 700; margin: 0 0 10px; }
.co-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--s-line); max-width: 720px; }
.co-item img { width: 96px; height: auto; object-fit: contain; border-radius: 4px; }
.co-item-text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.co-price { color: #b12704; font-weight: 700; }
.co-price small { font-weight: 400; color: var(--s-muted); }
.co-qty { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--s-muted); }
.co-qty select { font: inherit; font-size: 13px; background: #f0f2f2; border: 1px solid #d5d9d9; border-radius: 8px; padding: 5px 8px; box-shadow: 0 2px 5px rgba(15,17,17,.12); cursor: pointer; color: var(--s-ink); }
.co-notes { max-width: 720px; margin-top: 6px; }
.co-side { position: sticky; top: 14px; }
.co-box { border: 1px solid #d5d9d9; border-radius: 8px; padding: 16px; }
.co-box h2 { font-size: 17px; margin: 0 0 8px; }
.co-box hr { border: 0; border-top: 1px solid var(--s-line); margin: 14px 0; }
.co-place { margin-top: 0; }
.co-legal { font-size: 11px; color: var(--s-muted); text-align: center; margin: 8px 0 0; }
.co-sum { font-size: 13px; }
.co-sum div { display: flex; justify-content: space-between; padding: 2px 0; }
.co-total { color: #b12704; font-weight: 700; font-size: 17px; border-top: 1px solid var(--s-line); margin-top: 6px; padding-top: 8px !important; }
.co-plan { font-size: 12px; color: var(--s-muted); margin: 10px 0 0; padding: 8px 10px; background: var(--s-soft); border-radius: 6px; }
.co-plan[hidden] { display: none; }
@media (max-width: 860px) {
  .co-grid { grid-template-columns: minmax(0, 1fr); }
  .co-side { position: static; }
}
@media (max-width: 520px) {
  .co-fields { grid-template-columns: minmax(0, 1fr); }
  .co-qty select { width: auto; }
  .co-item { grid-template-columns: 64px minmax(0, 1fr); }
  .co-item img { width: 64px; }
  .co-qty { grid-column: 2; flex-direction: row; align-items: center; gap: 8px; }
}
