/* Zenova Energy — shop (browse + product pages). Uses the site's design tokens from style.css. */

.shop-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.shop-hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(198,255,77,0.14), transparent 60%), linear-gradient(180deg, var(--bg-alt2), var(--bg)); border-bottom: 1px solid var(--border); }
.shop-hero .shop-wrap { padding-top: 56px; padding-bottom: 40px; }
.shop-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bg); background: var(--accent); padding: 5px 12px; border-radius: 999px; }
.shop-hero h1 { font-size: 52px; line-height: 1.08; margin: 16px 0 12px; letter-spacing: -0.02em; max-width: 780px; }
.shop-hero p.lead { font-size: 18px; line-height: 1.6; color: var(--text-muted); max-width: 640px; margin: 0 0 26px; }
.shop-search { display: flex; gap: 10px; max-width: 640px; }
.shop-search input { flex: 1; min-width: 0; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: 12px; padding: 16px 18px; font-size: 16px; font-family: inherit; }
.shop-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.shop-search button { background: var(--accent); color: var(--bg); border: none; border-radius: 12px; padding: 0 24px; font-weight: 800; font-size: 15px; }
.shop-notice { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); background: rgba(198,255,77,0.08); border: 1px solid rgba(198,255,77,0.28); border-radius: 12px; padding: 10px 16px; }
.shop-notice strong { color: var(--accent); }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 30px 0 4px; }
.cat-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 150px; text-align: left; background: radial-gradient(circle at 25% 15%, hsl(var(--h, 85) 35% 22%), hsl(var(--h, 85) 28% 10%)); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; color: var(--text); font-family: inherit; transition: transform .15s ease, border-color .15s ease; }
.cat-tile:hover { transform: translateY(-2px); border-color: var(--accent); opacity: 1; }
.cat-tile .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .35s ease; }
.cat-tile:hover .bg { transform: scale(1.05); }
.cat-tile.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,19,17,0.02) 25%, rgba(15,19,17,0.9) 100%); }
.cat-tile .ic { position: absolute; top: 14px; left: 16px; width: 38px; height: 38px; border-radius: 10px; background: rgba(198,255,77,0.12); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.cat-tile .ic svg { width: 22px; height: 22px; }
.cat-tile .nm, .cat-tile .ct { position: relative; z-index: 1; }
.cat-tile .nm { font-weight: 700; font-size: 15.5px; line-height: 1.25; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.cat-tile .ct { font-size: 12.5px; color: var(--text-muted); }
.cat-tile.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.trust-strip { border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 4px; padding-bottom: 4px; }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-item .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: rgba(198,255,77,0.12); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item b { display: block; font-size: 15px; line-height: 1.3; }
.trust-item span { display: block; font-size: 13px; color: var(--text-faint); line-height: 1.4; margin-top: 2px; }
.trust-item a { color: var(--accent); font-weight: 700; }

.guide { background: var(--bg-alt2); border: 1px solid rgba(198,255,77,0.25); border-radius: 14px; padding: 16px 20px; margin-bottom: 18px; }
.guide summary { cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; }
.guide ul { margin: 12px 0 8px; padding-left: 20px; color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }
.guide li { margin-bottom: 6px; }
.guide p { margin: 8px 0 0; font-size: 14px; color: var(--text-faint); }
.guide a, .pp-note a, .pp-why a { color: var(--accent); font-weight: 700; }

.why { padding: 24px 0 8px; }
.why h2, .faq h2 { font-size: 34px; letter-spacing: -0.01em; margin-bottom: 8px; }
.why .sub, .faq .sub { color: var(--text-muted); font-size: 17px; line-height: 1.6; max-width: 680px; margin: 0 0 26px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.why-card .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(198,255,77,0.12); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.why-card .ic svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.3; }
.why-card p { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.65; }
.why-card a { color: var(--accent); font-weight: 700; }
.faq { padding: 56px 0 24px; }
.faq details { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 18px; color: var(--text-muted); font-size: 15.5px; line-height: 1.7; }
.faq details a { color: var(--accent); font-weight: 700; }
.pp-note { margin: 0 0 22px; background: rgba(77,210,255,0.07); border: 1px solid rgba(77,210,255,0.28); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.pp-note strong { display: block; color: var(--accent2); margin-bottom: 4px; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }
.pp-why { margin-top: 28px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; }
.pp-why h3 { font-size: 18px; margin-bottom: 10px; }
.pp-why ul { list-style: none; padding: 0; margin: 0 0 12px; }
.pp-why li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.pp-why li::before { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.pp-why p { margin: 0; font-size: 14.5px; color: var(--text-faint); }

.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; padding: 32px 0 72px; align-items: start; }
.shop-filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding-right: 6px; }
.filter-head { display: none; }
.f-group { border-bottom: 1px solid var(--border); padding: 16px 0; }
.f-group:first-child { padding-top: 0; }
.f-group legend, .f-group h3 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin: 0 0 10px; padding: 0; font-weight: 700; }
.f-group fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.f-opt { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 8px; font-size: 14.5px; color: var(--text-muted); cursor: pointer; }
.f-opt:hover { background: rgba(255,255,255,0.04); }
.f-opt input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
.f-opt .n { margin-left: auto; font-size: 12.5px; color: var(--text-dim); }
.f-opt.on { color: var(--text); font-weight: 600; }
.f-opt.zero { opacity: 0.4; }
.f-sub { margin: 4px 0 6px 18px; padding-left: 10px; border-left: 1px solid var(--border-strong); }
.f-more { background: none; border: none; color: var(--accent); font-size: 13.5px; font-weight: 700; padding: 8px 4px 0; }
.f-brandsearch { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: 8px; padding: 9px 10px; font-size: 14px; margin-bottom: 8px; font-family: inherit; }
.price-row { display: flex; align-items: center; gap: 8px; }
.price-row input { width: 100%; min-width: 0; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: 8px; padding: 9px 10px; font-size: 14px; font-family: inherit; }
.price-row span { color: var(--text-dim); font-size: 13px; }
.price-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; font-family: inherit; }
.chip.on { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.f-clear { margin-top: 16px; background: none; border: 1px solid var(--border-strong); color: var(--text); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14px; width: 100%; font-family: inherit; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.shop-count { font-size: 15px; color: var(--text-muted); }
.shop-count strong { color: var(--text); font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.shop-tools { display: flex; align-items: center; gap: 10px; }
.shop-tools select { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-family: inherit; }
.filters-btn { display: none; background: var(--bg-alt); color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 16px; font-size: 14px; font-weight: 700; font-family: inherit; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-chips .chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(198,255,77,0.1); border-color: rgba(198,255,77,0.35); color: var(--text); }
.active-chips .chip b { color: var(--accent); font-size: 15px; line-height: 1; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.p-card { display: flex; flex-direction: column; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; color: var(--text); }
.p-card:hover { transform: translateY(-3px); border-color: rgba(198,255,77,0.45); box-shadow: 0 10px 28px rgba(0,0,0,0.35); opacity: 1; }
.p-thumb { position: relative; aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.p-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: hsl(var(--h, 85) 70% 72%); background: radial-gradient(circle at 30% 20%, hsl(var(--h, 85) 40% 24%), hsl(var(--h, 85) 30% 11%)); }
.ph svg { width: 54px; height: 54px; opacity: 0.95; }
.ph span { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: hsl(var(--h, 85) 40% 78%); max-width: 90%; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { position: absolute; top: 10px; left: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--accent2); color: var(--bg); }
.badge.soon { background: var(--accent); }
.badge.feat { left: auto; right: 10px; background: #fff; color: var(--bg); }
.p-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-brand { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); }
.p-name { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.p-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; color: var(--accent); }
.p-price.ask { font-size: 15px; color: var(--accent2); }
.p-sku { font-size: 11.5px; color: var(--text-dim); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }

.skel { background: linear-gradient(90deg, var(--bg-alt) 25%, #1d2620 50%, var(--bg-alt) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 16px; height: 330px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.pager { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 30px; color: var(--text-faint); font-size: 14px; }
.more-btn { background: transparent; border: 1px solid var(--border-strong); color: var(--text); border-radius: 12px; padding: 14px 34px; font-weight: 700; font-size: 15px; font-family: inherit; }
.more-btn:hover { border-color: var(--accent); }
.shop-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--border-strong); border-radius: 16px; color: var(--text-muted); }
.shop-empty h3 { font-size: 22px; color: var(--text); margin-bottom: 8px; }
.shop-empty .btn { margin-top: 18px; }
.shop-error { text-align: center; padding: 60px 20px; border: 1px solid rgba(255,138,101,0.4); border-radius: 16px; color: var(--text-muted); }
.shop-error h3 { color: #FF8A65; font-size: 20px; margin-bottom: 8px; }

.help-band { margin: 8px 0 72px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 18px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.help-band h3 { font-size: 22px; margin-bottom: 6px; }
.help-band p { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.55; max-width: 620px; }

/* ---------- product page ---------- */
.crumbs { font-size: 13.5px; color: var(--text-faint); padding: 26px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--text-muted); }
.crumbs span.sep { opacity: 0.5; }
.pp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; padding: 18px 0 40px; align-items: start; }
.pp-gallery .pp-main { aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.pp-gallery .pp-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.pp-gallery .ph svg { width: 120px; height: 120px; }
.pp-gallery .ph span { font-size: 15px; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pp-thumbs button { width: 70px; height: 70px; border-radius: 12px; overflow: hidden; border: 2px solid var(--border-strong); background: #fff; padding: 0; }
.pp-thumbs button.on { border-color: var(--accent); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp-info h1 { font-size: 34px; line-height: 1.2; margin: 6px 0 12px; letter-spacing: -0.01em; }
.pp-meta { color: var(--text-faint); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 20px; }
.pp-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 44px; color: var(--accent); line-height: 1; }
.pp-price small { font-size: 14px; font-weight: 600; color: var(--text-faint); margin-left: 8px; }
.pp-cta { margin: 24px 0; background: var(--bg-alt); border: 1px solid var(--border-strong); border-radius: 16px; padding: 20px 22px; }
.pp-cta h3 { font-size: 18px; margin-bottom: 6px; }
.pp-cta p { margin: 0 0 14px; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.pp-cta .row { display: flex; gap: 10px; flex-wrap: wrap; }
.pp-cta .btn { padding: 14px 24px; font-size: 15px; }
.pp-cta .btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.pp-desc { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin: 0 0 22px; white-space: pre-line; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec th { width: 38%; color: var(--text-faint); font-weight: 600; }
.pp-related { padding: 8px 0 72px; }
.pp-related h2 { font-size: 26px; margin-bottom: 18px; }

.filter-apply { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1000px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters-btn { display: inline-block; }
  .shop-filters { position: fixed; z-index: 80; inset: 0; max-height: none; background: var(--bg); padding: 0 20px 90px; transform: translateY(100%); transition: transform .25s ease; visibility: hidden; }
  .shop-filters.open { transform: none; visibility: visible; }
  .filter-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--bg); padding: 18px 0; border-bottom: 1px solid var(--border); margin-bottom: 14px; z-index: 2; }
  .filter-head h2 { font-size: 22px; }
  .filter-head button { background: none; border: none; color: var(--text); font-size: 30px; line-height: 1; }
  .filter-apply { position: fixed; z-index: 81; left: 20px; right: 20px; bottom: 18px; display: none; }
  .shop-filters.open + .filter-apply, .filter-apply.show { display: block; }
  .pp { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 1000px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .shop-hero h1 { font-size: 36px !important; }
  .shop-hero .shop-wrap { padding-top: 36px; }
  .shop-wrap { padding-left: 16px; padding-right: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .p-body { padding: 12px; }
  .p-price { font-size: 19px; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile { min-height: 120px; padding: 12px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--border); padding: 14px 4px; }
  .trust-item:last-child { border-bottom: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why h2, .faq h2 { font-size: 26px !important; }
  .pp-info h1 { font-size: 26px !important; }
  .pp-price { font-size: 36px; }
  .help-band { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } .p-card, .cat-tile, .shop-filters { transition: none; } }
