/* Copyright (c) 2026 Sevans Technology. All rights reserved.
   store.sevans.io - storefront styles on top of /assets/site.css (Hepta brand). */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.store-tag { font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--ink); background: var(--gold); border-radius: 6px; padding: 2px 8px; letter-spacing: .02em; }
.cart-btn { gap: 8px; }
.cart-btn svg { fill: currentColor; }
.count { background: var(--ink); color: var(--text); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12.5px; padding: 0 6px; }
.count[hidden] { display: none; }
main:focus { outline: none; }

.store-hero { padding: 72px 0 64px; }
.store-hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 15ch; }
.store-hero .lead { max-width: 60ch; }
section.paper h1.ptitle, h1.ptitle { font-size: clamp(30px, 4vw, 44px); margin: 6px 0 16px; }
.lead-sm { font-size: 18px; color: var(--paper-muted); }
.store-notice { background: #fff7e0; border: 1px solid #ecd9a0; color: #5b4a12; border-radius: 12px; padding: 12px 16px; margin-bottom: 22px; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-top: 22px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--paper-ink); transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(21,24,38,.10); }
.pcard img, .pcard .ph { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.ph { display: grid; place-items: center; background: linear-gradient(145deg, #ece9ff, #f6f4ee); color: var(--accent); }
.ph svg { width: 38%; height: 38%; }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 19px; margin-bottom: 6px; }
.pc-body p { color: var(--paper-muted); font-size: 15px; margin-bottom: 12px; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-now { font-family: var(--head); font-weight: 600; font-size: 19px; }
.was { color: var(--paper-muted); font-size: 15px; }
.tag { font-size: 12.5px; background: var(--paper-2); color: var(--paper-muted); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.tag.out { background: #fde8e8; color: #9b1c1c; }

.back { display: inline-block; color: var(--paper-muted); text-decoration: none; margin-bottom: 18px; font-size: 15px; }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.gallery .main-img img, .gallery .main-img .ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; border: 1px solid var(--paper-line); background: #fff; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.buy h1 { font-size: clamp(28px, 3.4vw, 40px); }
.pprice { margin: 12px 0 8px; }
.pprice .price-now { font-size: 26px; }
.store-form label { display: block; font-weight: 600; font-size: 14.5px; margin: 0 0 14px; }
.store-form label select, .store-form label input { display: block; margin-top: 6px; width: 100%; }
form.store-form { background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; padding: 22px; margin: 18px 0; color: var(--paper-ink); }
.fine { font-size: 14px; color: var(--paper-muted); margin: 8px 0 0; }
.credit a { color: inherit; }
.desc p { color: var(--paper-ink); }

.cart { background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; color: var(--paper-ink); }
.line { display: grid; grid-template-columns: 72px 1fr 80px 100px; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--paper-line); }
.line:last-child { border-bottom: 0; }
.line img, .line .ph { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.line a { color: inherit; text-decoration: none; }
.line input { width: 72px; height: 40px; border: 1px solid var(--paper-line); border-radius: 8px; padding: 0 8px; font: inherit; }
.lp { text-align: right; font-weight: 600; }
.linkish { background: none; border: 0; padding: 0; margin-top: 4px; color: var(--paper-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 22px; align-items: start; }
.deliv label { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; cursor: pointer; }
.tot { background: #fff; border: 1px solid var(--paper-line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; color: var(--paper-ink); }
.tot > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.tot .grand { border-top: 1px solid var(--paper-line); margin-top: 6px; padding-top: 10px; font-size: 19px; }
.summary .btn, .quote-box .btn { width: 100%; }
.form-msg.err { color: #b42318; }

.empty-store, .done { text-align: center; padding: 48px 12px; }
.empty-store svg, .done svg { width: 64px; height: 64px; color: var(--accent); margin: 0 auto 12px; display: block; }
.empty-store .btn, .done .btn { margin-top: 12px; }

.custom-split { align-items: start; }
.steps-list { padding-left: 20px; color: var(--paper-ink); }
.steps-list li { margin-bottom: 8px; }
.mw-box, .mats { background: #fff; border: 1px solid var(--paper-line); border-radius: 14px; padding: 18px 20px; margin-top: 18px; color: var(--paper-ink); }
.mw-box { border-left: 4px solid var(--accent); }
.mw-box h3, .mats h3 { font-size: 18px; margin-bottom: 8px; }
.mats ul { margin: 0; padding-left: 18px; }
.quote-box { background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; padding: 22px; color: var(--paper-ink); margin-bottom: 20px; }
.qnote { background: var(--paper); border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.how .card .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; }
.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prose h3 { margin: 24px 0 8px; font-size: 20px; }

@media (max-width: 860px) {
  .pdp, .summary, .cards.three { grid-template-columns: 1fr; gap: 24px; }
  header.site nav { display: none; }
  .line { grid-template-columns: 56px 1fr 64px; }
  .line .lp { grid-column: 2 / 4; text-align: left; }
  .line img, .line .ph { width: 56px; height: 56px; }
}
