:root {
  --ink: #162e3d;
  --muted: #52616a;
  --line: #d4dedc;
  --soft: #f0f4f2;
  --accent: #b84324;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 82px; }
body, h1, h2, h3, figure, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(3.5rem, 6.2vw, 6rem); margin: 7px 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3.15rem); font-weight: 650; }
h3 { font-size: 1.22rem; }
p { color: var(--muted); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #bd593a; outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.header { position: sticky; z-index: 4; top: 0; background: white; border-bottom: 1px solid var(--line); }
.header-inner, .header nav, .wordmark, .basket-link, .headline, .buy-actions, .inverter-top, .product-links, .total, .cart-controls { display: flex; align-items: center; }
.header-inner { min-height: 72px; gap: 24px; }
.wordmark { text-decoration: none; color: var(--ink); font-size: 1.17rem; font-weight: 820; letter-spacing: -.055em; }
.wordmark > span:last-child { color: var(--accent); }
.mark { padding: 4px 8px; margin-right: 8px; border-radius: 4px; background: var(--ink); color: white; }
.mark span { color: #ffac89; font-size: .72em; vertical-align: top; }
.header nav { gap: 25px; margin-inline: auto; }
.header nav a { font-size: .95rem; text-decoration: none; }
.basket-link { gap: 6px; margin-left: auto; padding: 9px 16px; border-radius: 5px; background: var(--ink); color: white; font-weight: 650; text-decoration: none; }
.basket-link:hover { background: #295165; color: white; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 6vw, 85px); padding: 42px 0 54px; }
.product-figure { overflow: hidden; background: #f0f1f0; border-radius: 14px; }
.product-image { padding: clamp(20px, 3.5vw, 50px); }
.product-image img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
.product-figure figcaption { display: flex; justify-content: space-between; padding: 12px 22px; border-top: 1px solid var(--line); font-size: .8rem; }
.eyebrow { font-size: .85rem; font-weight: 700; color: var(--accent); }
.subtitle { color: var(--ink); font-size: 1.15rem; font-weight: 570; }
.intro { max-width: 46ch; margin: 18px 0 23px; }
.buy-box { border-block: 1px solid var(--line); padding: 18px 0; }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.price strong { font-size: 1.95rem; color: var(--ink); line-height: 1.1; letter-spacing: -.045em; }
.price span, .fine, .optional { font-size: .85rem; color: var(--muted); }
.quantity-label, .order-form label, .cart-controls label, legend { font-size: .93rem; font-weight: 620; }
.buy-actions { gap: 10px; margin: 6px 0 9px; }
.button { border: 0; border-radius: 5px; background: var(--accent); color: white; padding: 13px 22px; font-weight: 690; line-height: 1.45; }
.button:hover:not(:disabled) { background: #9c331b; }
.buy-actions .button { flex: 1; }
input:not([type=radio]), textarea { min-width: 0; background: white; color: var(--ink); border: 1px solid #99a9aa; border-radius: 4px; padding: 11px 12px; line-height: 1.45; }
input[type=number] { width: 6rem; }
.product-links { gap: 12px 24px; flex-wrap: wrap; margin-top: 17px; font-size: .91rem; }
.inverters { padding-bottom: 54px; }
.headline { justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.inverters h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
.inverter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.inverter { padding: 22px; background: #203b4a; color: white; border-radius: 9px; }
.inverter:nth-child(2) { background: #284b41; }
.inverter:nth-child(3) { background: #593f35; }
.inverter-top { justify-content: space-between; gap: 8px; }
.inverter-top span:first-child { font-weight: 700; }
.inverter-top [lang] { border: 1px solid #ffffff65; border-radius: 20px; padding: 3px 9px; font-size: .8rem; }
.inverter h3 { margin-top: 24px; font-size: clamp(2.5rem, 4.4vw, 4rem); font-weight: 600; }
.inverter small { font-size: .45em; }
.configuration { padding-block: 52px; background: var(--soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 7vw, 94px); }
.split h2 { margin: 8px 0 18px; }
.config-panel, .order-form { padding: clamp(20px, 3vw, 36px); background: white; border: 1px solid var(--line); border-radius: 9px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { margin-bottom: 9px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; }
.choices span { display: block; border: 1px solid var(--line); border-radius: 4px; padding: 10px; text-align: center; font-weight: 650; }
.choices input:checked + span { background: var(--ink); color: white; border-color: var(--ink); }
.choices input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.energy { display: grid; gap: 4px; margin: 22px 0; color: var(--muted); font-size: .91rem; }
.energy strong { color: var(--ink); font-size: 2.75rem; letter-spacing: -.05em; line-height: 1.2; }
.energy small { font-size: .43em; letter-spacing: 0; }
.config-panel .button { width: 100%; }
.checkout, .info-section { padding-block: 53px; border-bottom: 1px solid var(--line); }
.checkout-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 24px; }
.summary { border-radius: 8px; background: var(--soft); padding: 24px; }
.line-item { display: flex; align-items: center; gap: 14px; margin: 12px 0 17px; }
.line-item img { border-radius: 4px; mix-blend-mode: multiply; }
.line-item p { font-size: .9rem; }
.cart-controls { justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cart-controls input { display: block; margin-top: 4px; }
#remove-product { background: transparent; border: 0; text-decoration: underline; color: var(--muted); }
.total { color: var(--ink); border-top: 1px solid var(--line); padding-top: 17px; justify-content: space-between; }
.total strong { font-size: 1.3rem; }
.order-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 24px; }
.order-form h3, .wide { grid-column: 1/-1; }
.order-form input, .order-form textarea { display: block; width: 100%; font-weight: 400; margin-top: 5px; }
.order-form textarea { resize: vertical; }
.optional { font-weight: 400; }
#order-status:empty { display: none; }
.packed { width: 100%; max-height: 260px; object-fit: cover; border-radius: 8px; }
.detail-link { display: inline-block; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .94rem; }
th { color: var(--muted); font-weight: 450; }
td, summary { font-weight: 630; }
details { border-bottom: 1px solid var(--line); padding: 15px 0; }
details p { margin-top: 10px; }
footer { background: var(--ink); color: white; padding-block: 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; }
.footer-inner > div { display: grid; align-content: start; gap: 5px; }
footer p { color: #d7e0e4; }
footer a:hover { color: #ffb6a4; }
.credit { grid-column: 1/-1; font-size: .78rem; }
.document { max-width: 780px; margin: auto; padding: 26px; }
.document header { padding: 12px 0 22px; border-bottom: 3px solid var(--accent); }
.document h1 { font-size: clamp(2.3rem, 7vw, 3.7rem); margin: 35px 0 23px; }
.document h2 { font-size: 1.55rem; margin: 27px 0 10px; }
.document p { margin-bottom: 12px; }
.document footer { display: flex; flex-wrap: wrap; gap: 12px 24px; background: white; color: var(--ink); border-top: 1px solid var(--line); margin-top: 30px; font-size: .85rem; }
.skip, .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 6px; left: 8px; z-index: 6; width: auto; height: auto; clip-path: none; padding: 10px; background: white; }
@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 36px), 600px); }
  .header-inner { min-height: 58px; }
  .header nav { display: none; }
  .hero, .split, .checkout-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 18px 0 32px; }
  .product-image { padding: 16px; }
  .product-image img { max-height: 250px; }
  .product-figure figcaption { padding: 8px 16px; }
  .product-info h1 { font-size: 3.4rem; margin: 3px 0; }
  .intro { margin: 12px 0 16px; }
  .inverters { padding-bottom: 32px; }
  .inverter-grid { grid-template-columns: 1fr; gap: 8px; }
  .inverter { display: flex; align-items: center; padding: 13px 17px; }
  .inverter-top { display: contents; }
  .inverter-top [lang] { margin-left: auto; order: 2; }
  .inverter h3 { margin: 0 14px; font-size: 1.6rem; }
  .inverter small { font-size: .7em; }
  .configuration, .checkout, .info-section { padding-block: 34px; }
  .checkout-layout { gap: 14px; }
  .order-form { padding: 18px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .order-form { grid-template-columns: 1fr; }
  .buy-actions .button { padding-inline: 12px; }
}

.inverter h3{font-size:clamp(1.4rem,2.4vw,2rem);margin:.8rem 0 .5rem}
.product-code{font-size:.85rem;font-weight:700;overflow-wrap:anywhere}
.catalog-specs{margin:1rem 0 0;font-size:.9rem}
.catalog-specs div{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;padding:.5rem 0;border-top:1px solid #a1a1a155}
.catalog-specs dd{margin:0;font-weight:700;text-align:right;white-space:nowrap}
.storage-card{grid-column:span 2}
@media(max-width:680px){.storage-card{grid-column:1/-1}}

.catalog-photo{margin:.8rem 0 0}
.catalog-photo img{display:block;width:100%;height:clamp(9rem,18vw,13rem);object-fit:contain;background:#fff;border-radius:.5rem}
.catalog-photo figcaption{margin-top:.3rem;font-size:.8rem;color:var(--muted)}

/* Product cards have dark backgrounds; use a light secondary text color. */
.inverter p,
.inverter .catalog-photo figcaption,
.inverter .detail-link {
  color: #e2edf2;
}
