/* HELEOS commerce flow: cart + checkout */
.commerce-breadcrumbs { padding-top: 24px; padding-bottom: 10px; }
.commerce-hero { padding: 30px 0 34px; background: linear-gradient(180deg, #f7f9fc 0%, #f3f5f9 100%); border-bottom: 1px solid #e8ebf0; }
.commerce-hero-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 40px; }
.commerce-hero h1 { margin: 4px 0 0; color: #17191f; font-size: clamp(44px,5vw,68px); line-height: .98; letter-spacing: -.055em; font-weight: 760; }
.commerce-hero p:not(.eyebrow) { max-width: 680px; margin: 16px 0 0; color: #696e79; font-size: 16px; line-height: 1.55; }
.commerce-steps { display: flex; align-items: center; gap: 0; margin: 0 0 4px; padding: 0; list-style: none; }
.commerce-steps li { position: relative; display: flex; align-items: center; gap: 9px; min-width: 138px; color: #979ca7; font-size: 12px; font-weight: 650; }
.commerce-steps li:not(:last-child):after { content: ""; width: 44px; height: 1px; margin: 0 12px; background: #d6dae2; }
.commerce-steps span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid #d9dde5; border-radius: 50%; background: #fff; color: #8b909b; font-size: 12px; font-weight: 800; }
.commerce-steps .is-active { color: #20232b; }
.commerce-steps .is-active span { border-color: #0d2a6a; background: #0d2a6a; color: #fff; box-shadow: 0 8px 20px rgba(13,42,106,.18); }
.commerce-steps .is-done { color: #0d2a6a; }
.commerce-steps .is-done span { border-color: #dbe0ff; background: #eef2fb; color: #0d2a6a; }
.commerce-section { padding: 42px 0 82px; }
.commerce-kicker { display: block; color: #0d2a6a; font-size: 11px; line-height: 1.2; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.commerce-text-link { color: #0d2a6a; font-size: 13px; font-weight: 700; }
.commerce-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Cart */
.commerce-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 24px; align-items: start; }
.commerce-cart-card, .commerce-summary, .commerce-panel, .commerce-empty-state, .commerce-errors { border: 1px solid #e4e7ed; border-radius: 22px; background: #fff; box-shadow: 0 12px 36px rgba(22,31,62,.05); }
.commerce-cart-card { overflow: hidden; }
.commerce-cart-card-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 26px 28px 20px; border-bottom: 1px solid #eef0f4; }
.commerce-cart-card-head h2 { margin: 5px 0 0; font-size: 26px; letter-spacing: -.035em; }
.commerce-cart-items { padding: 0 28px; }
.commerce-cart-item { position: relative; display: grid; grid-template-columns: 128px minmax(0,1fr) 142px 150px 44px; align-items: center; gap: 20px; min-height: 168px; padding: 22px 0; border-bottom: 1px solid #edf0f4; transition: opacity .2s ease, transform .2s ease, max-height .26s ease, padding .26s ease, margin .26s ease; }
.commerce-cart-item:last-child { border-bottom: 0; }
.commerce-cart-item.is-removing { opacity: 0; transform: translateX(14px); }
.commerce-cart-image { display: grid; place-items: center; width: 128px; height: 128px; overflow: hidden; border-radius: 18px; background: linear-gradient(145deg,#f9fafc,#eff2f6); }
.commerce-cart-image img { width: 112px; height: 112px; object-fit: contain; transition: transform .22s ease; }
.commerce-cart-image:hover img { transform: scale(1.04); }
.commerce-product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 7px; }
.commerce-product-meta span { color: #0d2a6a; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.commerce-product-meta i { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: #eef8f1; color: #2a7a4f; font-size: 10px; font-style: normal; font-weight: 700; }
.commerce-cart-copy h3 { margin: 0; max-width: 560px; color: #1d2027; font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
.commerce-cart-copy h3 a:hover { color: #0d2a6a; }
.commerce-cart-copy p { margin: 9px 0 0; color: #818691; font-size: 12px; line-height: 1.5; }
.commerce-mobile-unit-price { display: none; }
.commerce-qty-wrap > span, .commerce-line-price > span { display: block; margin-bottom: 8px; color: #999ea8; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.commerce-qty { display: grid; grid-template-columns: 38px 54px 38px; align-items: center; height: 42px; overflow: hidden; border: 1px solid #dcdfe6; border-radius: 12px; background: #f8f9fb; }
.commerce-qty button { display: grid; place-items: center; height: 100%; border: 0; background: transparent; color: #535967; font-size: 20px; line-height: 1; transition: background .15s ease, color .15s ease; }
.commerce-qty button:hover { background: #eef1f7; color: #0d2a6a; }
.commerce-qty button:disabled { opacity: .35; cursor: wait; }
.commerce-qty input { width: 100%; height: 100%; padding: 0; border: 0; border-left: 1px solid #e2e4e9; border-right: 1px solid #e2e4e9; background: #fff; text-align: center; outline: 0; font-weight: 700; -moz-appearance: textfield; }
.commerce-qty input::-webkit-outer-spin-button, .commerce-qty input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.commerce-line-price strong { display: block; color: #191c22; font-size: 20px; letter-spacing: -.025em; white-space: nowrap; }
.commerce-line-price small { display: block; margin-top: 3px; color: #989da6; font-size: 11px; }
.commerce-remove { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #eceef2; border-radius: 12px; background: #fff; color: #959aa5; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.commerce-remove svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.commerce-remove:hover { border-color: #f0caca; background: #fff7f7; color: #c84d4d; }
.commerce-cart-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 28px 24px; border-top: 1px solid #f0f1f4; }
.commerce-cart-footer p { margin: 0; color: #8c919b; font-size: 11px; }
.commerce-live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #36a46b; }
.commerce-manual-update { min-height: 42px; }
.js .commerce-manual-update { display: none; }

/* Summary */
.commerce-summary { position: sticky; top: calc(var(--header-offset) + 18px); padding: 28px; }
.commerce-summary-head h2 { margin: 5px 0 0; color: #1b1e25; font-size: 28px; letter-spacing: -.04em; }
.commerce-summary-lines { display: grid; gap: 13px; margin-top: 25px; padding: 20px 0; border-top: 1px solid #eceef2; border-bottom: 1px solid #eceef2; }
.commerce-summary-lines > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; color: #737985; font-size: 13px; }
.commerce-summary-lines strong { color: #242730; font-size: 13px; text-align: right; }
.commerce-summary-muted { max-width: 170px; color: #8d929b !important; font-weight: 600; }
.commerce-summary-total { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 22px 0 0; }
.commerce-summary-total span { color: #555a66; font-size: 14px; font-weight: 700; }
.commerce-summary-total strong { color: #13161c; font-size: 30px; line-height: 1; letter-spacing: -.045em; }
.commerce-checkout-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 22px; border-radius: 12px; }
.commerce-checkout-button span { font-size: 18px; }
.commerce-assurances { display: grid; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #eceef2; }
.commerce-assurances > div { display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 11px; }
.commerce-assurances svg { width: 24px; height: 24px; margin: 2px 0 0 4px; fill: none; stroke: #0d2a6a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.commerce-assurances b, .commerce-assurances small { display: block; }
.commerce-assurances b { color: #30343d; font-size: 12px; }
.commerce-assurances small { margin-top: 2px; color: #9297a1; font-size: 10px; line-height: 1.4; }

/* Empty cart */
.commerce-empty-state { max-width: 720px; margin: 10px auto 0; padding: 64px 38px; text-align: center; }
.commerce-empty-icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 24px; background: #eef2fb; color: #0d2a6a; }
.commerce-empty-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.commerce-empty-state h2 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.commerce-empty-state p { max-width: 500px; margin: 12px auto 24px; color: #777c87; }

/* Checkout */
.commerce-checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: 24px; align-items: start; }
.commerce-checkout-main { display: grid; gap: 16px; }
.commerce-panel { padding: 28px; }
.commerce-panel-head { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 22px; }
.commerce-panel-head h2 { margin: 4px 0 0; color: #1d2027; font-size: 25px; letter-spacing: -.035em; }
.commerce-step-number { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; margin-top: 1px; border-radius: 11px; background: #eef2fb; color: #0d2a6a; font-size: 12px; font-weight: 800; }
.commerce-choice-grid { display: grid; gap: 12px; }
.commerce-choice-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.commerce-choice-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.commerce-choice-card { position: relative; display: grid; grid-template-columns: 46px 1fr 20px; align-items: start; gap: 13px; min-height: 118px; padding: 18px; border: 1px solid #e2e5eb; border-radius: 16px; background: #fafbfc; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.commerce-choice-card:hover { transform: translateY(-1px); border-color: #cfd5e2; background: #fff; }
.commerce-choice-card:has(input:checked) { border-color: #0d2a6a; background: #f7f8ff; box-shadow: inset 0 0 0 1px #0d2a6a; }
.commerce-choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.commerce-choice-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #eef2fb; color: #0d2a6a; }
.commerce-choice-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.commerce-choice-card b, .commerce-choice-card small { display: block; }
.commerce-choice-card b { margin-top: 1px; color: #2b2e35; font-size: 13px; }
.commerce-choice-card small { margin-top: 6px; color: #878c96; font-size: 10.5px; line-height: 1.45; }
.commerce-choice-card > i { position: relative; width: 18px; height: 18px; margin-top: 3px; border: 1px solid #cdd2dc; border-radius: 50%; background: #fff; }
.commerce-choice-card:has(input:checked) > i { border: 5px solid #0d2a6a; }
.commerce-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.commerce-field { display: grid; gap: 7px; }
.commerce-field-full { grid-column: 1 / -1; }
.commerce-field label { color: #5b606a; font-size: 11px; font-weight: 700; }
.commerce-field input, .commerce-field textarea { width: 100%; border: 1px solid #dfe2e8; border-radius: 12px; background: #f8f9fb; outline: 0; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.commerce-field input { height: 48px; padding: 0 14px; }
.commerce-field textarea { min-height: 104px; padding: 13px 14px; resize: vertical; }
.commerce-field input:focus, .commerce-field textarea:focus { border-color: #9fa8d9; background: #fff; box-shadow: 0 0 0 4px rgba(13,42,106,.08); }
.commerce-field.is-hidden { display: none; }
.commerce-payment-info { display: grid; grid-template-columns: 50px minmax(0,1fr) auto; align-items: start; gap: 15px; padding: 18px; border: 1px solid #e1e5eb; border-radius: 16px; background: #f9fafc; }
.commerce-payment-info.is-hidden { display: none; }
.commerce-payment-info b { display: block; color: #292c34; font-size: 14px; }
.commerce-payment-info p { margin: 5px 0 0; color: #858a95; font-size: 11px; line-height: 1.5; }
.commerce-payment-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: #eef2fb; color: #0d2a6a; font-size: 10px; font-weight: 800; }
.commerce-delivery-card { min-height: 146px; grid-template-columns: 42px 1fr 18px; padding: 16px; }
.commerce-delivery-card .commerce-choice-icon { width: 42px; height: 42px; }
.commerce-delivery-address { margin-top: 16px; }
.commerce-delivery-address.is-hidden { display: none; }
.commerce-pickup-note { display: grid; grid-template-columns: 38px 1fr; align-items: start; gap: 12px; margin-top: 16px; padding: 15px 16px; border-radius: 14px; background: #f5f7fb; }
.commerce-pickup-note.is-hidden { display: none; }
.commerce-pickup-note svg { width: 28px; height: 28px; fill: none; stroke: #0d2a6a; stroke-width: 1.6; }
.commerce-pickup-note b, .commerce-pickup-note small { display: block; }
.commerce-pickup-note b { color: #373b44; font-size: 12px; }
.commerce-pickup-note small { margin-top: 3px; color: #8b909a; font-size: 10px; }
.commerce-comment-panel textarea { min-height: 116px; }
.commerce-errors { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-bottom: 18px; padding: 16px 18px; border-color: #f0cccc; background: #fff7f7; color: #8b3333; }
.commerce-errors strong { font-size: 13px; }
.commerce-errors span { font-size: 12px; }
.commerce-checkout-summary { padding: 26px; }
.commerce-checkout-summary-head { position: relative; padding-right: 90px; }
.commerce-checkout-summary-head a { position: absolute; top: 7px; right: 0; color: #0d2a6a; font-size: 11px; font-weight: 700; }
.commerce-checkout-products { display: grid; gap: 14px; margin-top: 22px; padding: 18px 0; border-top: 1px solid #eceef2; border-bottom: 1px solid #eceef2; }
.commerce-checkout-product { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 11px; }
.commerce-checkout-product img { width: 58px; height: 58px; object-fit: contain; padding: 4px; border-radius: 12px; background: #f3f5f8; }
.commerce-checkout-product b, .commerce-checkout-product span, .commerce-checkout-product small { display: block; min-width: 0; }
.commerce-checkout-product b { color: #0d2a6a; font-size: 10px; }
.commerce-checkout-product span { overflow: hidden; margin-top: 2px; color: #4d525d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.commerce-checkout-product small { margin-top: 3px; color: #979ca6; font-size: 9px; }
.commerce-checkout-product > strong { color: #2b2e35; font-size: 12px; white-space: nowrap; }
.commerce-consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; margin-top: 20px; color: #858a94; font-size: 10px; line-height: 1.5; }
.commerce-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #0d2a6a; }
.commerce-consent a { color: #0d2a6a; text-decoration: underline; text-underline-offset: 2px; }
.commerce-summary-note { margin: 12px 0 0; color: #9297a1; font-size: 10px; line-height: 1.5; text-align: center; }
.commerce-checkout-help { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 17px; border-top: 1px solid #eceef2; color: #898e98; font-size: 10px; }
.commerce-checkout-help a { color: #2d3139; font-size: 12px; font-weight: 750; }

@media (max-width: 1180px) {
  .commerce-cart-layout { grid-template-columns: minmax(0,1fr) 340px; }
  .commerce-cart-item { grid-template-columns: 110px minmax(0,1fr) 126px 128px 40px; gap: 14px; }
  .commerce-cart-image { width: 110px; height: 110px; }
  .commerce-cart-image img { width: 98px; height: 98px; }
  .commerce-checkout-layout { grid-template-columns: minmax(0,1fr) 350px; }
  .commerce-choice-grid-3 { grid-template-columns: 1fr; }
  .commerce-delivery-card { min-height: 100px; }
}

@media (max-width: 960px) {
  .commerce-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .commerce-steps { justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .commerce-cart-layout, .commerce-checkout-layout { grid-template-columns: 1fr; }
  .commerce-summary { position: static; }
  .commerce-cart-item { grid-template-columns: 100px minmax(0,1fr) 126px 120px 40px; }
  .commerce-checkout-summary { order: 2; }
}

@media (max-width: 720px) {
  .commerce-breadcrumbs { padding-top: 16px; }
  .commerce-hero { padding: 24px 0 26px; }
  .commerce-hero h1 { font-size: clamp(38px,11vw,50px); }
  .commerce-hero p:not(.eyebrow) { margin-top: 12px; font-size: 14px; }
  .commerce-steps li { min-width: auto; font-size: 10px; }
  .commerce-steps li:not(:last-child):after { width: 24px; margin: 0 8px; }
  .commerce-steps span { width: 26px; height: 26px; flex-basis: 26px; }
  .commerce-steps b { display: none; }
  .commerce-section { padding: 24px 0 62px; }
  .commerce-cart-card-head { align-items: flex-start; padding: 20px; }
  .commerce-cart-card-head h2 { font-size: 22px; }
  .commerce-cart-items { padding: 0 20px; }
  .commerce-cart-item { grid-template-columns: 86px minmax(0,1fr) 38px; gap: 12px; min-height: 0; padding: 18px 0; }
  .commerce-cart-image { grid-row: 1 / span 2; width: 86px; height: 86px; border-radius: 14px; }
  .commerce-cart-image img { width: 76px; height: 76px; }
  .commerce-cart-copy { grid-column: 2; }
  .commerce-cart-copy h3 { font-size: 14px; }
  .commerce-cart-copy p { display: none; }
  .commerce-mobile-unit-price { display: block; margin-top: 7px; color: #777d88; font-size: 10px; }
  .commerce-qty-wrap { grid-column: 2; grid-row: 2; }
  .commerce-qty-wrap > span { display: none; }
  .commerce-line-price { grid-column: 2; grid-row: 3; }
  .commerce-line-price > span, .commerce-line-price small { display: none; }
  .commerce-line-price strong { font-size: 18px; }
  .commerce-remove { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
  .commerce-cart-footer { padding: 15px 20px 20px; }
  .commerce-cart-footer p { display: none; }
  .commerce-summary { padding: 22px; }
  .commerce-choice-grid-2 { grid-template-columns: 1fr; }
  .commerce-form-grid { grid-template-columns: 1fr; }
  .commerce-panel { padding: 22px 18px; }
  .commerce-panel-head h2 { font-size: 22px; }
  .commerce-payment-info { grid-template-columns: 44px 1fr; }
  .commerce-payment-badge { display: none; }
  .commerce-checkout-product { grid-template-columns: 50px minmax(0,1fr) auto; }
  .commerce-checkout-product img { width: 50px; height: 50px; }
}

@media (max-width: 440px) {
  .commerce-cart-card-head { display: grid; gap: 8px; }
  .commerce-cart-item { grid-template-columns: 76px minmax(0,1fr) 34px; }
  .commerce-cart-image { width: 76px; height: 76px; }
  .commerce-cart-image img { width: 68px; height: 68px; }
  .commerce-qty { grid-template-columns: 34px 46px 34px; }
  .commerce-summary-total strong { font-size: 26px; }
  .commerce-choice-card { grid-template-columns: 40px 1fr 18px; padding: 14px; }
  .commerce-choice-icon { width: 40px; height: 40px; }
}

/* ENGINEERING compatibility layer */
.shell{width:min(calc(100% - 40px),var(--container));margin-inline:auto}
.button{min-height:46px;padding:0 22px;border:1px solid transparent;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;transition:.2s ease}
.button.blue{background:var(--primary);border-color:var(--primary);color:#fff}
.button.blue:hover{background:var(--primary-hover);border-color:var(--primary-hover)}
.button.outline{background:#fff;border-color:#aabed0;color:var(--navy)}
.button.outline:hover{border-color:var(--blue);color:var(--blue)}
.button.small{min-height:38px;padding:0 14px;font-size:12px}
.page-hero{padding:34px 0 38px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(180deg,#f8fafc,#f3f6f9)}
.page-hero .eyebrow{margin-bottom:8px;color:var(--blue)}
.page-hero h1{margin:0;font-size:clamp(38px,4vw,58px);line-height:1;letter-spacing:-.035em;color:var(--navy)}
.page-hero p:not(.eyebrow){max-width:760px;margin:14px 0 0;color:var(--muted);font-size:15px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.compare-row{grid-template-columns:220px repeat(var(--compare-count,4),minmax(180px,1fr))}
.compare-table{border-radius:10px;border-color:var(--line)}
.compare-cell{border-color:var(--line)}
.compare-product img{background:#f8fafc;border-radius:8px;padding:8px}
.commerce-summary{top:24px}
.success-panel{max-width:760px;margin:70px auto 90px;padding:58px 36px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow);text-align:center}
.success-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 18px;border-radius:50%;background:#eaf7ef;color:var(--green);font-size:32px;font-weight:800}
.success-panel h1{margin:0;color:var(--navy);font-size:clamp(38px,5vw,58px)}
.success-panel p{max-width:580px;margin:16px auto 0;color:var(--muted);font-size:15px;line-height:1.6}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:980px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.shell{width:min(calc(100% - 24px),var(--container))}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-hero{padding:26px 0 30px}.page-hero h1{font-size:38px}}
@media(max-width:440px){.product-grid{grid-template-columns:1fr}}

.commerce-hero .eyebrow{color:var(--blue)}
.prose-card{max-width:900px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:clamp(24px,4vw,48px);line-height:1.7;box-shadow:var(--shadow)}
.prose-card h2{margin-top:0;color:var(--navy)}
.prose-card p:last-child{margin-bottom:0}

/* Mobile audit + comparison table completion — 2026-08-21 */
.compare-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#fff;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.compare-table{width:max-content;min-width:100%;overflow:hidden}
.compare-row{display:grid;grid-template-columns:220px repeat(var(--compare-count,4),minmax(180px,1fr))}
.compare-cell{min-width:0;padding:16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;font-size:13px}
.compare-row:last-child .compare-cell{border-bottom:0}
.compare-cell:last-child{border-right:0}
.compare-label{position:sticky;z-index:2;left:0;background:#f7f9fb;color:var(--navy);font-weight:800}
.compare-product{display:grid;gap:10px;align-content:start}
.compare-product img{width:120px;height:100px;object-fit:contain}

@media (max-width:720px){
    .commerce-hero h1{font-size:clamp(32px,9vw,42px);line-height:1.02}
    .commerce-hero-inner{gap:18px}
    .commerce-steps{max-width:100%;overflow-x:auto;scrollbar-width:none}
    .commerce-steps::-webkit-scrollbar{display:none}
    .commerce-cart-card,.commerce-summary,.commerce-panel,.commerce-empty-state,.commerce-errors{border-radius:14px}
    .commerce-cart-card-head{padding:18px 16px}
    .commerce-cart-items{padding:0 16px}
    .commerce-cart-footer{padding:14px 16px 18px}
    .commerce-summary{padding:19px 16px}
    .commerce-panel{padding:20px 16px}
    .commerce-empty-state{padding:42px 20px}
    .commerce-empty-state h2{font-size:25px}
    .commerce-checkout-summary{padding:20px 16px}
    .compare-row{grid-template-columns:112px repeat(var(--compare-count,4),160px)}
    .compare-cell{padding:12px 10px;font-size:11px}
    .compare-product img{width:100px;height:82px}
    .compare-product .button{width:100%}
}

@media (max-width:440px){
    .commerce-hero{padding:22px 0 24px}
    .commerce-hero h1,.page-hero h1{font-size:32px}
    .commerce-cart-item{grid-template-columns:68px minmax(0,1fr) 34px;gap:10px}
    .commerce-cart-image{width:68px;height:68px}
    .commerce-cart-image img{width:62px;height:62px}
    .commerce-qty{grid-template-columns:32px 42px 32px;width:106px}
    .commerce-summary-total{gap:12px}
    .commerce-summary-total strong{font-size:24px}
    .commerce-checkout-product{grid-template-columns:44px minmax(0,1fr) auto;gap:8px}
    .commerce-checkout-product img{width:44px;height:44px}
    .commerce-choice-card{grid-template-columns:38px minmax(0,1fr) 18px;gap:10px;padding:13px}
    .compare-row{grid-template-columns:104px repeat(var(--compare-count,4),148px)}
}

/* Project branding - 2026-08-23 */
.commerce-kicker,.commerce-text-link{color:var(--secondary)}
.commerce-steps .is-active span{border-color:var(--primary);background:var(--primary);box-shadow:0 8px 20px rgba(129,0,22,.16)}
.commerce-choice-card:has(input:checked){border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}
.commerce-choice-card:has(input:checked)>i{border-color:var(--primary)}
.commerce-consent input{accent-color:var(--primary)}
