/* EV charger product pages (scripts/store-ev-page.mjs). Loaded only on the two
   SUN-EVSE pages, before store-cro.css, so every rule is scoped to .ev-page. */
.ev-page .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ev-page .ev-tag{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--blue);font-weight:600;margin-bottom:10px}

/* Hero gallery */
.ev-page .ev-gallery{min-width:0}
.ev-page .ev-stage{position:relative;background:var(--surface);border-radius:18px;aspect-ratio:1/1;max-height:560px;width:100%;overflow:hidden}
/* Pinned to the stage so object-fit works whatever height the stage gets. */
.ev-page .ev-stage-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.ev-page .ev-stage-img.is-scene{mix-blend-mode:normal}
.ev-page .ev-thumbs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:10px}
.ev-page .ev-thumb{aspect-ratio:1/1;border-radius:10px;background:var(--surface);border:1px solid transparent;overflow:hidden;padding:0}
.ev-page .ev-thumb img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}
.ev-page .ev-thumb:hover{border-color:#b9c7d0}
.ev-page .ev-thumb[aria-pressed=true]{border:2px solid var(--blue)}
.ev-page .ev-gallery>p{font-size:10px;color:var(--muted);margin:10px 4px 0}

/* Model switch */
.ev-page .ev-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0 4px}
.ev-page .ev-switch-option{display:grid;gap:3px;border:1px solid #c6d0d7;border-radius:12px;padding:13px 15px;background:#fff}
.ev-page .ev-switch-option:hover{border-color:var(--blue);background:#f7fafc}
.ev-page .ev-switch-option[aria-current=page]{border:2px solid var(--blue);padding:12px 14px;background:var(--pale)}
.ev-page .ev-switch-kw{font-size:20px;font-weight:500;letter-spacing:-.4px}
.ev-page .ev-switch-note{font-size:11px;color:var(--muted)}
.ev-page .ev-switch-option .live-price{font-size:12px;font-weight:500;color:var(--blue);margin-top:4px}
.ev-page .ev-hero .product-badges{margin:16px 0 20px}
.ev-page .ev-licensed{display:flex;gap:9px;align-items:center;font-size:12px;color:#4d606c;background:#f7f5ef;border-radius:9px;padding:11px 13px;margin:-6px 0 20px}
.ev-page .ev-licensed svg{width:17px;height:17px;color:#8a6d2f;flex-shrink:0}
.ev-page .ev-licensed a{text-decoration:underline;text-underline-offset:3px;color:var(--blue)}

/* Charging speed check */
.ev-page .ev-calc{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;margin-top:30px;align-items:start}
.ev-page .ev-calc fieldset{border:0;margin:0 0 22px;padding:0;min-width:0}
.ev-page .ev-calc legend{font-size:14px;font-weight:500;margin-bottom:10px;padding:0}
.ev-page .ev-options{display:grid;gap:8px}
.ev-page .ev-options-2{grid-template-columns:1fr 1fr}
.ev-page .ev-options-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ev-page .ev-option{position:relative;display:block;cursor:pointer}
.ev-page .ev-option input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.ev-page .ev-option span{display:grid;gap:3px;height:100%;border:1px solid #c6d0d7;border-radius:10px;padding:12px 13px;background:#fff}
.ev-page .ev-option strong{font-size:15px;font-weight:500}
.ev-page .ev-option small{font-size:10.5px;line-height:1.35;color:var(--muted)}
.ev-page .ev-option:hover span{border-color:var(--blue)}
.ev-page .ev-option input:checked+span{border:2px solid var(--blue);padding:11px 12px;background:var(--pale)}
.ev-page .ev-option input:focus-visible+span{outline:3px solid #1e77b7;outline-offset:3px}
.ev-page .ev-hint{font-size:11px;color:var(--muted);margin-top:8px}
.ev-page .ev-range{display:grid;gap:8px;font-size:14px;font-weight:500}
.ev-page .ev-range-head{display:flex;justify-content:space-between;gap:12px}
.ev-page .ev-range output{color:var(--blue)}
.ev-page .ev-range input{width:100%;accent-color:var(--blue);min-height:32px}
.ev-page .ev-range small{font-weight:400;color:var(--muted)}
.ev-page .ev-calc-results{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ev-page .ev-result{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff;display:flex;flex-direction:column}
.ev-page .ev-result.is-best{border:2px solid var(--blue);padding:17px;background:linear-gradient(#f5f9fc,#fff)}
.ev-page .ev-result-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ev-page .ev-result h3{font-size:15px;font-weight:500}
.ev-page .ev-best{display:none;font-size:10px;font-weight:600;color:#fff;background:var(--blue);border-radius:20px;padding:4px 9px;white-space:nowrap}
.ev-page .ev-result.is-best .ev-best{display:inline-block}
.ev-page .ev-result-kw{font-size:14px;color:var(--muted);margin:10px 0 12px}
.ev-page .ev-result-kw strong{font-size:44px;line-height:1;font-weight:500;letter-spacing:-1.5px;color:var(--ink)}
.ev-page .ev-result dl{margin:0;display:grid;gap:10px;border-top:1px solid var(--line);padding-top:12px}
.ev-page .ev-result dt{font-size:11px;color:var(--muted)}
.ev-page .ev-result dd{margin:2px 0 0;font-size:14px;font-weight:500}
.ev-page .ev-result-link{margin-top:auto;padding-top:14px;font-size:12px;color:var(--blue);display:inline-flex;gap:6px;align-items:center}
.ev-page p.ev-result-link{color:var(--muted)}
.ev-page a.ev-result-link{text-decoration:underline;text-underline-offset:3px}
.ev-page .ev-result-link svg{width:14px;height:14px}
.ev-page .ev-verdict{grid-column:1/-1;font-size:14px;font-weight:500;background:var(--pale);border-radius:10px;padding:14px 16px;color:var(--blue)}

/* Solar charging */
.ev-page .ev-banner{margin:28px 0 0}
.ev-page .ev-banner img{width:100%;height:auto;aspect-ratio:1600/525;object-fit:cover;border-radius:16px;background:#dfe1e3}
.ev-page figcaption{font-size:10px;color:var(--muted);padding:8px 4px 0}
.ev-page .ev-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}
.ev-page .ev-path{background:var(--surface);border-radius:16px;padding:24px;display:flex;flex-direction:column}
.ev-page .ev-path h3{font-size:19px;font-weight:500;letter-spacing:-.3px;margin-bottom:8px}
.ev-page .ev-path>p:not(.ev-tag):not(.ev-need){font-size:13px;line-height:1.7;color:#4d606c}
.ev-page .ev-flow{list-style:none;margin:18px 0;padding:14px 12px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 4px;background:#fff;border-radius:12px}
.ev-page .ev-flow li{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;color:var(--ink);background:var(--pale);border-radius:20px;padding:5px 9px}
.ev-page .ev-flow li svg{width:14px;height:14px;color:var(--blue)}
.ev-page .ev-flow li:not(:last-child)::after{content:'→';margin-left:6px;color:#8aa0ae;font-weight:400}
.ev-page .ev-flow li.ev-flow-link{background:#fff;border:1px dashed #9db4c4;color:var(--blue)}
.ev-page .ev-checks{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ev-page .ev-checks li{display:flex;gap:8px;font-size:12.5px;line-height:1.5}
.ev-page .ev-checks svg{width:16px;height:16px;color:#2f7d4f;margin-top:1px}
.ev-page .ev-checks li.ev-no{color:var(--muted)}
.ev-page .ev-checks li.ev-no svg{color:#9aa7af}
.ev-page .ev-need{font-size:12px;line-height:1.65;color:#5b5140;background:#f7f5ef;border-radius:9px;padding:11px 13px;margin-top:16px}
.ev-page .ev-ask{margin-top:auto;padding-top:14px;display:inline-flex;gap:6px;align-items:center;color:var(--blue);text-align:left}
.ev-page .ev-ask svg{width:15px;height:15px}
.ev-page .ev-pair{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;background:#fff;border-radius:12px;padding:10px;margin-top:14px}
.ev-page .ev-pair-art{width:56px;height:56px;border-radius:9px;background:var(--surface);display:grid;place-items:center;overflow:hidden}
.ev-page .ev-pair-art img{width:44px;height:44px;object-fit:contain;mix-blend-mode:multiply}
.ev-page .ev-pair-copy{display:grid;gap:2px;min-width:0}
.ev-page .ev-pair-copy a{font-size:13px;font-weight:500}
.ev-page .ev-pair-copy a:hover{color:var(--blue)}
.ev-page .ev-pair-copy small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.ev-page .ev-pair-copy span{font-size:11px;color:#4d606c}
.ev-page .ev-pair .pair-add{display:inline-flex;align-items:center;gap:5px;border:1px solid #becbd3;border-radius:20px;padding:8px 12px;font-size:12px;background:#fff}
.ev-page .ev-pair .pair-add:hover{background:var(--blue);border-color:var(--blue);color:#fff}
.ev-page .ev-pair .pair-add svg{width:14px;height:14px}
.ev-page .ev-modes{display:grid;grid-template-columns:.8fr 1.2fr;gap:44px;align-items:center;margin-top:44px}
.ev-page .ev-modes-art{margin:0}
.ev-page .ev-modes-art img{width:100%;height:auto;aspect-ratio:1100/1061;object-fit:cover;border-radius:16px}
.ev-page .ev-modes-title{font-size:22px;font-weight:500;letter-spacing:-.4px;margin-bottom:18px}
.ev-page .ev-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 26px}
.ev-page .ev-mode-grid svg,.ev-page .ev-safety svg{width:24px;height:24px;color:var(--blue);stroke-width:1.5;margin-bottom:10px}
.ev-page .ev-mode-grid h4,.ev-page .ev-safety h4{font-size:15px;font-weight:500;margin:0 0 6px}
.ev-page .ev-mode-grid p,.ev-page .ev-safety p{font-size:12.5px;line-height:1.7;color:var(--muted)}

/* Features */
.ev-page .ev-rows{display:grid;gap:26px;margin-top:34px}
.ev-page .ev-row{display:grid;grid-template-columns:1.1fr 1fr;gap:46px;align-items:center}
.ev-page .ev-row:nth-child(even) figure{order:2}
.ev-page .ev-row figure{margin:0;border-radius:16px;overflow:hidden;background:var(--surface)}
.ev-page .ev-row figure img{width:100%;height:auto;display:block}
.ev-page .ev-row h3{font-size:26px;font-weight:500;letter-spacing:-.7px;margin-bottom:12px}
.ev-page .ev-row p:not(.ev-tag){font-size:14px;line-height:1.8;color:#4d606c}
.ev-page .ev-stats{list-style:none;padding:0;margin:22px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;border-top:1px solid var(--line);padding-top:18px}
.ev-page .ev-stats strong{display:block;font-size:21px;font-weight:500;letter-spacing:-.5px;color:var(--blue)}
.ev-page .ev-stats span{display:block;font-size:11px;color:var(--muted);margin-top:4px;line-height:1.4}
.ev-page .ev-subhead{font-size:22px;font-weight:500;letter-spacing:-.4px;margin:50px 0 20px}
.ev-page .ev-safety{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 32px}

/* Specifications: five tables of very different lengths flow into two columns */
.ev-page .spec-groups{display:block;columns:2;column-gap:30px}
.ev-page .spec-groups .spec-table{break-inside:avoid;margin-bottom:30px}

/* Compare */
.ev-page .ev-table-wrap{overflow-x:auto;margin-top:26px;border:1px solid var(--line);border-radius:14px}
.ev-page .ev-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;min-width:560px}
.ev-page .ev-table th,.ev-page .ev-table td{padding:13px 18px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.55}
.ev-page .ev-table tbody tr:last-child th,.ev-page .ev-table tbody tr:last-child td{border-bottom:0}
.ev-page .ev-table thead th{background:#edf2f5;font-size:15px;font-weight:500}
.ev-page .ev-table thead th a{text-decoration:underline;text-underline-offset:3px}
.ev-page .ev-table thead th small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px}
.ev-page .ev-table tbody th{font-weight:400;color:var(--muted);width:34%}
.ev-page .ev-table td{font-weight:500}
.ev-page .ev-table td small{font-weight:400;color:var(--muted)}
.ev-page .ev-table .is-current{background:#f3f8fb}
.ev-page .ev-table thead .is-current{background:#dfeaf2;color:var(--blue)}

/* Wireless system */
.ev-page .ev-system{display:grid;grid-template-columns:1.25fr 1fr;gap:46px;align-items:center}
.ev-page .ev-system figure{margin:0}
.ev-page .ev-system figure img{width:100%;height:auto;display:block;border-radius:16px;background:#9a9a9a}
.ev-page .ev-system p:not(.section-kicker){font-size:14px;line-height:1.8;color:#4d606c;margin:14px 0 10px}

/* Installation */
.ev-page .ev-install{display:grid;grid-template-columns:1.3fr .9fr;gap:50px;align-items:start}
.ev-page .ev-steps{list-style:none;counter-reset:ev;margin:26px 0 0;padding:0;display:grid;gap:4px}
.ev-page .ev-steps li{counter-increment:ev;display:grid;grid-template-columns:36px 1fr;column-gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.ev-page .ev-steps li::before{content:counter(ev);grid-row:1/3;width:30px;height:30px;border-radius:50%;background:var(--pale);color:var(--blue);display:grid;place-items:center;font-size:13px;font-weight:600}
.ev-page .ev-steps strong{font-size:15px;font-weight:500}
.ev-page .ev-steps span{font-size:13px;color:var(--muted);line-height:1.65;margin-top:3px}
.ev-page .ev-box{background:var(--surface);border-radius:16px;padding:26px}
.ev-page .ev-box h3{display:flex;gap:9px;align-items:center;font-size:18px;font-weight:500}
.ev-page .ev-box h3 svg{color:var(--blue)}
.ev-page .ev-box ul{margin:16px 0 10px;padding-left:18px;display:grid;gap:7px;font-size:13px}
.ev-page .ev-box>p{font-size:11px;color:var(--muted)}
.ev-page .ev-box-cta{border-top:1px solid #d8dfe3;margin-top:20px;padding-top:18px;display:grid;gap:12px}
.ev-page .ev-box-cta strong{font-size:14px;font-weight:500;line-height:1.5}
.ev-page .ev-box-cta .button{justify-self:start}

@media(max-width:1100px){
 .ev-page .ev-calc{grid-template-columns:1fr;gap:26px}
 .ev-page .spec-groups{columns:1}
 .ev-page .ev-paths{grid-template-columns:1fr;gap:14px}
 .ev-page .ev-modes,.ev-page .ev-system,.ev-page .ev-install{grid-template-columns:1fr;gap:26px}
 .ev-page .ev-modes-art{max-width:520px}
 .ev-page .ev-row{gap:30px}
 .ev-page .ev-row h3{font-size:23px}
}
@media(max-width:700px){
 /* Like the other product pages, keep the price near the first screen. */
 .ev-page .ev-stage{border-radius:14px;aspect-ratio:auto;height:210px;max-height:none}
 .ev-page .ev-thumbs{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:46px;gap:6px;margin-top:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
 .ev-page .ev-thumb{border-radius:8px}
 .ev-page .ev-switch{margin-top:14px}
 .ev-page .ev-switch-option{padding:10px 12px}
 .ev-page .ev-switch-option[aria-current=page]{padding:9px 11px}
 .ev-page .ev-switch-kw{font-size:18px}
 .ev-page .ev-options-4{grid-template-columns:1fr 1fr}
 .ev-page .ev-calc-results{grid-template-columns:1fr 1fr;gap:8px}
 .ev-page .ev-result{padding:14px}
 .ev-page .ev-result.is-best{padding:13px}
 .ev-page .ev-result-kw strong{font-size:34px}
 .ev-page .ev-result dd{font-size:13px}
 .ev-page .ev-path{padding:18px}
 .ev-page .ev-mode-grid,.ev-page .ev-safety{grid-template-columns:1fr 1fr;gap:20px 16px}
 .ev-page .ev-row,.ev-page .ev-row:nth-child(even){grid-template-columns:1fr;gap:18px}
 .ev-page .ev-row:nth-child(even) figure{order:0}
 .ev-page .ev-row h3{font-size:21px}
 .ev-page .ev-stats strong{font-size:17px}
 .ev-page .ev-subhead{font-size:19px;margin-top:38px}
 /* Both models stay on screen: the cells are short enough to share a phone. */
 .ev-page .ev-table{min-width:0;font-size:12px;table-layout:fixed}
 .ev-page .ev-table th,.ev-page .ev-table td{padding:10px 8px;overflow-wrap:anywhere}
 .ev-page .ev-table tbody th{width:31%}
 .ev-page .ev-table thead th{font-size:14px}
 .ev-page .ev-box{padding:20px}
}
