/* AKVARISTA.cz – oddíl spotřeby v produktové kartě, v1.4. */
.akp .akp-energy {container-type:inline-size}
.akp .akp-energy .akp-energy-panel {display:grid;grid-template-columns:repeat(2,minmax(7.5em,1fr)) auto;gap:8px 16px;align-items:end;margin:12px 0 0;padding:16px 18px;background:#edf5ee;border:1px solid #b5cfc2;border-left:4px solid #297863;border-radius:8px 8px 0 0;color:#153e33}
.akp .akp-energy-legend {grid-column:1/-1;font-size:17px;font-weight:700;line-height:1.35}
.akp .akp-energy-field {display:grid;gap:3px;min-width:0;font-family:inherit}
.akp .akp-energy-caption {font-size:13px;font-weight:600;line-height:1.5}
.akp .akp-energy-box {display:flex;align-items:center;gap:6px;min-height:42px;padding:0 10px;border:1px solid #829e91;border-radius:5px;background:white;color:#16382e}
.akp .akp-energy-rate,.akp .akp-energy-hours {flex:1;min-width:0;font-weight:650}
.akp .akp-energy-box input {display:block;box-sizing:border-box;width:100%;height:40px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-family:inherit;font-size:16px;font-weight:600}
.akp .akp-energy-box input:focus {outline:0}
.akp .akp-energy-box:focus-within,.akp .akp-energy-reset:focus-visible {outline:3px solid #267861;outline-offset:2px}
.akp .akp-energy-box:has([aria-invalid=true]) {border-color:#a03e1e}
.akp .akp-energy-unit {font-size:13px;color:#425f52;white-space:nowrap}
.akp .akp-energy-reset {justify-self:start;min-height:42px;background:#fff;border:1px solid #91aa9c;border-radius:5px;padding:5px 12px;color:#244d3b;font:inherit;font-size:14px;cursor:pointer}
.akp .akp-energy-reset:disabled {background:transparent;color:#4c6959;cursor:default}
.akp .akp-energy-table {width:100%;border-collapse:collapse;table-layout:auto;font-variant-numeric:tabular-nums;font-size:15px;line-height:1.4;margin:0}
.akp .akp-energy-table th,.akp .akp-energy-table td {padding:10px 12px;text-align:right;border:0;border-bottom:1px solid #d5e0dc;white-space:nowrap}
.akp .akp-energy-table th:first-child {text-align:left;white-space:normal}
.akp .akp-energy-table thead th {font-size:13px;color:#3e5b4d;font-weight:600}
.akp .akp-energy-table tbody tr:last-child {background:#f0f5f1;font-weight:700}
.akp .akp-energy .akp-energy-note {font-size:12px;color:#466252;margin:8px 0 0}
.akp .akp-energy .akp-energy-error {color:#963f24;margin:6px 0;font-size:14px}
.akp .akp-energy-error:empty {display:none}
.akp .akp-energy-sr {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@container(max-width:480px){.akp .akp-energy .akp-energy-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;padding:12px}.akp .akp-energy-reset{grid-column:1/-1;min-height:32px}.akp .akp-energy-table th,.akp .akp-energy-table td{padding:9px 5px}}
@container(max-width:270px){.akp .akp-energy .akp-energy-panel{grid-template-columns:minmax(0,1fr)}.akp .akp-energy-table{font-size:13px}}
.akp .akp-energy-box:has(.akp-energy-stepper) {padding-right:0}
.akp .akp-energy-stepper {display:grid;align-self:stretch;flex:none;width:34px;border-left:1px solid #a7bdb1}
.akp .akp-energy-stepper button {display:grid;place-items:center;box-sizing:border-box;width:100%;min-height:25px;margin:0;padding:0;border:0;border-radius:0;background:#e6f0e9;color:#215b44;cursor:pointer;touch-action:manipulation}
.akp .akp-energy-stepper .akp-energy-up {border-radius:0 4px 0 0}
.akp .akp-energy-stepper .akp-energy-down {border-top:1px solid #b5cabe;border-radius:0 0 4px 0}
.akp .akp-energy-stepper button::before {content:"";width:7px;height:7px;box-sizing:border-box;border:solid currentColor;border-width:2px 2px 0 0;transform:translateY(2px) rotate(-45deg)}
.akp .akp-energy-stepper .akp-energy-down::before {transform:translateY(-2px) rotate(135deg)}
.akp .akp-energy-stepper button:hover:enabled {background:#d2e5d9}
.akp .akp-energy-stepper button:focus-visible {outline:2px solid #267861;outline-offset:-3px}
.akp .akp-energy-stepper button:disabled {background:#f4f7f4;color:#84978a;cursor:default}
@container(max-width:360px){.akp .akp-energy .akp-energy-panel{grid-template-columns:minmax(0,1fr)}}
@media(pointer:coarse){.akp .akp-energy-stepper{width:44px}.akp .akp-energy-stepper button{min-height:32px}}
