/* SHAG tariff configurator — scoped to section, graphite showroom palette. */
.shag-rate{display:grid;grid-template-columns:minmax(0,1.26fr) minmax(0,1fr);gap:0;border:1px solid var(--line-2);border-radius:26px;overflow:hidden;background:var(--card);box-shadow:0 28px 90px -48px #000;isolation:isolate}
.shag-rate__controls{padding:clamp(20px,3.2vw,42px);min-width:0;background:linear-gradient(145deg,#202025 0%,#151518 48%,#111114 100%)}
.shag-rate__eyebrow,.shag-rate__result-head{display:flex;align-items:center;gap:8px;justify-content:flex-start;color:#aeadb4;font-size:10px;font-weight:800;letter-spacing:.14em;line-height:1.5;text-transform:uppercase}
.shag-rate__dot{width:7px;height:7px;border-radius:100%;background:var(--accent);box-shadow:0 0 14px rgba(255,106,43,.8);flex:none}
.shag-rate__form{display:grid;gap:24px;margin-top:26px}
.shag-rate__group{margin:0;padding:0;border:0;min-width:0}
.shag-rate__group legend{display:flex;align-items:center;gap:9px;margin:0 0 10px;padding:0;font-size:15px;font-weight:800;color:var(--fg);letter-spacing:-.01em}
.shag-rate__group legend>span{font:italic 800 13px/1 var(--display);color:var(--accent);border-right:1px solid var(--line-2);padding-right:10px}
.shag-rate__choices{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.shag-rate__models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shag-rate__model{position:relative;min-width:0;min-height:84px;padding:13px 12px;border-radius:13px;border:1px solid var(--line-2);background:rgba(255,255,255,.025);color:#b9b8bd;display:flex;flex-direction:column;gap:3px;align-items:flex-start;justify-content:center;text-align:left;font-family:var(--text);font-size:12px}
.shag-rate__model strong{font-size:16px;font-weight:800;line-height:1.3;color:var(--fg)}
.shag-rate__model small{font-size:11px;line-height:1.4}
.shag-rate__model--available{background:rgba(255,106,43,.09);border-color:rgba(255,106,43,.65)}
.shag-rate__model--available>span{font-size:9px;letter-spacing:.06em;font-weight:800;color:var(--accent-2);margin-top:4px}
.shag-rate__model:disabled{cursor:not-allowed;opacity:.6}
.shag-rate__model:disabled svg{position:absolute;top:10px;right:10px;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.shag-rate__choices>input{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0;pointer-events:none;clip-path:inset(50%);overflow:hidden}
.shag-rate__option{min-width:0;position:relative;padding:15px 16px;border-radius:13px;border:1px solid var(--line-2);background:rgba(255,255,255,.022);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;cursor:pointer;transition:background-color .2s,border-color .2s,box-shadow .2s;user-select:none;-webkit-tap-highlight-color:transparent;min-height:86px}
.shag-rate__option>strong{font-size:17px;line-height:1.22;color:var(--fg);letter-spacing:-.02em;padding-right:18px}
.shag-rate__option>small{font-size:12px;line-height:1.35;color:#b1b0b6}
.shag-rate__option>i{position:absolute;right:13px;top:14px;width:16px;height:16px;border:1px solid #77767c;border-radius:50%;display:grid;place-items:center}
.shag-rate__option>i:after{content:'';display:block;width:8px;height:8px;border-radius:50%;background:transparent}
.shag-rate__choices>input:checked+.shag-rate__option{border-color:var(--accent);background:linear-gradient(135deg,rgba(255,106,43,.15),rgba(255,106,43,.045));box-shadow:inset 0 0 0 1px rgba(255,106,43,.14)}
.shag-rate__choices>input:checked+.shag-rate__option>i{border-color:var(--accent)}
.shag-rate__choices>input:checked+.shag-rate__option>i:after{background:var(--accent)}
.shag-rate__choices>input:focus-visible+.shag-rate__option{outline:2px solid #ffc6ab;outline-offset:3px}
@media(hover:hover){.shag-rate__option:hover{border-color:#ce692f;background-color:rgba(255,106,43,.06)}}
.shag-rate__battery{height:38px;display:flex;gap:2px;align-items:center;justify-content:flex-start;margin-bottom:4px;color:#c5c4c8}
.shag-rate__battery svg{width:57px;height:34px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.shag-rate__battery .shag-rate__charge{fill:currentColor;stroke:none;opacity:.88}
.shag-rate__battery--double svg{width:42px;height:29px}
.shag-rate__choices>input:checked+.shag-rate__option .shag-rate__battery{color:var(--accent-2)}
.shag-rate__note{display:flex;gap:7px;align-items:center;margin-top:9px;color:#b7b6bb;font-size:11px;line-height:1.45}
.shag-rate__note svg{width:16px;height:16px;flex:none;fill:none;stroke:var(--accent-2);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.shag-rate__choices--period{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.shag-rate__choices--period .shag-rate__option{text-align:center;align-items:center;min-height:70px;padding:9px 3px;gap:2px}
.shag-rate__choices--period .shag-rate__option>strong{padding:0;font:italic 800 24px/1 var(--display)}
.shag-rate__choices--period .shag-rate__option>small{font-size:11px}
.shag-rate__choices--period .shag-rate__option>em{font:700 9px/1.2 var(--text);color:var(--accent-2);font-style:normal;text-transform:uppercase;letter-spacing:.01em;white-space:nowrap}
.shag-rate__fixed{min-height:93px;border-radius:13px;padding:14px 16px;background:rgba(255,106,43,.06);border:1px solid rgba(255,106,43,.3);display:grid;gap:7px}
.shag-rate__fixed>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.shag-rate__fixed>div>span{font-size:12px;font-weight:800;color:var(--accent-2)}
.shag-rate__fixed strong{font:italic 800 25px/1.1 var(--display);color:var(--fg)}
.shag-rate__fixed small{font-size:12px;color:#b7b6bb}
.shag-rate__form [hidden],.shag-rate__result [hidden]{display:none!important}
.shag-rate__result{min-width:0;position:relative;display:flex;flex-direction:column;padding:clamp(22px,3.5vw,46px);background:radial-gradient(ellipse at top right,rgba(255,106,43,.17),transparent 58%),linear-gradient(125deg,#1d1714,#111114 55%);border-left:1px solid rgba(255,106,43,.28);color:var(--fg)}
.shag-rate__result-head{justify-content:space-between;gap:12px;color:#c3c1bf}
.shag-rate__stamp{border:1px solid rgba(255,106,43,.55);color:#ffc4a4;padding:5px 8px;border-radius:5px;font-size:9px;white-space:nowrap;letter-spacing:.1em;transform:skewX(-8deg)}
.shag-rate__summary{margin:clamp(25px,3.5vw,44px) 0 24px;min-width:0;flex:1}
.shag-rate__selected{font-size:13px;font-weight:800;color:#c1b9b4;margin-bottom:9px}
.shag-rate__headline{display:flex;min-width:0;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:5px}
.shag-rate__amount{font:italic 900 clamp(40px,5vw,69px)/1.04 var(--display);color:#fff4ec;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 40px rgba(255,106,43,.2)}
.shag-rate__headline>span{font-size:13px;color:#b7b1ad;font-weight:700}
.shag-rate__saving{display:inline-flex;align-items:center;min-height:26px;margin-top:12px;padding:4px 8px;border:1px solid rgba(111,214,158,.32);background:rgba(111,214,158,.08);border-radius:7px;color:#a1e9bf;font-size:12px;font-weight:800}
.shag-rate__bill{margin:26px 0 0;border-top:1px solid rgba(242,240,236,.14);border-bottom:1px solid rgba(242,240,236,.14);padding:4px 0}
.shag-rate__bill>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:11px 0}
.shag-rate__bill>div+div{border-top:1px solid rgba(242,240,236,.08)}
.shag-rate__bill dt{color:#bcb8b5;font-size:13px;line-height:1.4}
.shag-rate__bill dd{margin:0;font-size:16px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--fg)}
.shag-rate__bill-first dt{font-weight:800;color:#f7ded0}
.shag-rate__bill-first dd{font:italic 800 24px/1.15 var(--display);color:var(--accent-2)}
.shag-rate__terms{margin-top:15px;font-size:12px;color:#bcb8b5;line-height:1.5}
.shag-rate__go{min-height:58px;white-space:normal;text-align:center;width:100%;box-shadow:0 18px 36px -18px rgba(255,106,43,.95)}
.shag-rate__actions{display:grid;grid-template-columns:1fr;gap:8px}
.shag-rate__go>span:not(.arr){display:flex;flex-direction:column;line-height:1.25;gap:2px;flex:1;text-align:left}
.shag-rate__go>span>strong{font-size:14px;font-weight:800}
.shag-rate__go>span>small{font-size:11px;font-weight:700;opacity:.8}
.shag-rate__go.btn-line{border-color:rgba(255,255,255,.17);box-shadow:none;background:rgba(255,255,255,.03)}
.shag-rate__go.btn-line img{flex:none}
.shag-rate__go .arr{margin-left:auto}
.shag-rate__foot{margin-top:12px;font-size:11px;line-height:1.45;color:#a6a29f;text-align:center}
.shag-rate__benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:14px;background:var(--line);border:1px solid var(--line);border-radius:17px;overflow:hidden}
.shag-rate__benefits>div{min-width:0;background:var(--bg-2);padding:17px 20px;display:flex;flex-direction:column;gap:5px}
.shag-rate__benefits strong{font:italic 800 clamp(19px,2.5vw,27px)/1.15 var(--display);color:var(--fg)}
.shag-rate__benefits span{font-size:12px;color:var(--mute);line-height:1.45}
.shag-rate__full{margin-top:14px;border:1px solid var(--line-2);background:rgba(255,255,255,.02);border-radius:16px;padding:0 18px;overflow:hidden}
.shag-rate__full summary{cursor:pointer;list-style:none;padding:17px 0;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:10px}
.shag-rate__full summary::-webkit-details-marker{display:none}
.shag-rate__full summary>span{color:var(--accent-2);font-size:17px;transition:transform .2s}
.shag-rate__full[open] summary>span{transform:rotate(90deg)}
.shag-rate__full table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.4;min-width:0}
.shag-rate__full caption{text-align:left;color:var(--mute);font-size:12px;margin:0 0 8px}
.shag-rate__full th,.shag-rate__full td{padding:10px 4px;text-align:left;border-top:1px solid var(--line);vertical-align:middle}
.shag-rate__full :is(td,th):not(:first-child){text-align:right;white-space:nowrap}
.shag-rate__full th{font-weight:700;color:#c2c0c6}
.shag-rate__full td{font-weight:800;color:var(--fg)}
.shag-rate__full p{font-size:12px;color:#b7b6bc;line-height:1.5;margin:12px 0 18px}
.shag-rate__noscript{font-size:13px;margin:15px 0;color:var(--mute)}
@media(max-width:850px){.shag-rate{grid-template-columns:1fr}.shag-rate__result{border-left:0;border-top:1px solid rgba(255,106,43,.28)}.shag-rate__summary{margin-top:24px}.shag-rate__result{padding:clamp(20px,5vw,34px)}.shag-rate__amount{font-size:clamp(39px,8vw,64px)}}
@media(max-width:480px){.shag-rate{border-radius:20px}.shag-rate__controls{padding:18px 14px}.shag-rate__form{gap:21px;margin-top:20px}.shag-rate__choices{gap:7px}.shag-rate__option{padding:13px 10px;min-height:82px}.shag-rate__option>strong{font-size:15px;padding-right:10px}.shag-rate__option>small{font-size:11px}.shag-rate__option>i{top:9px;right:9px;width:13px;height:13px}.shag-rate__option>i:after{width:6px;height:6px}.shag-rate__battery svg{width:47px}.shag-rate__battery--double svg{width:34px}.shag-rate__choices--period{gap:5px}.shag-rate__choices--period .shag-rate__option>em{font-size:8px}.shag-rate__result{padding:20px 14px}.shag-rate__headline{gap:4px 6px}.shag-rate__bill{margin-top:20px}.shag-rate__bill dt{font-size:12px}.shag-rate__bill-first dd{font-size:21px}.shag-rate__benefits{grid-template-columns:1fr}.shag-rate__benefits>div{padding:14px 16px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.shag-rate__benefits strong{flex:0 0 auto}.shag-rate__benefits span{text-align:right}.shag-rate__full{padding:0 12px}.shag-rate__full table{font-size:11px}}
html.shag-rates-in-view #mbar,html.shag-rates-in-view #shag-contact-widget{visibility:hidden!important;pointer-events:none!important}
@media(prefers-reduced-motion:reduce){.shag-rate *{transition:none!important;animation:none!important}}
