/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.sgpc {
    --sgpc-ink: #182035;
    --sgpc-muted: #526079;
    --sgpc-navy: #11192d;
    --sgpc-line: #d9e0e9;
    --sgpc-panel: #f4f6fa;
    --sgpc-accent: #c9f36b;
    --sgpc-danger: #8e252b;
    box-sizing: border-box;
    color: var(--sgpc-ink);
    font-family: "Instrument Sans", system-ui, sans-serif;
    line-height: 1.5;
    margin: 1rem 0 2rem;
    width: 100%;
}
.sgpc *, .sgpc *::before, .sgpc *::after { box-sizing: inherit; }
.sgpc h2, .sgpc h3, .sgpc p, .sgpc ul { margin: 0; }
.sgpc h2, .sgpc h3 { color: inherit; font-family: inherit; line-height: 1.15; }
.sgpc ul { list-style: none; padding: 0; }
.sgpc button { font: inherit; letter-spacing: normal; text-transform: none; cursor: pointer; }
.sgpc button:disabled { cursor: default; opacity: .52; }
.sgpc :focus-visible { outline: 3px solid #3079d7; outline-offset: 3px; }
.sgpc-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: clamp(20px, 4vw, 44px); background: var(--sgpc-navy); color: white; border-radius: 16px 16px 0 0; }
.sgpc-header h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); letter-spacing: -.045em; }
.sgpc-header > span { color: var(--sgpc-accent); font-size: .85rem; font-weight: 700; text-align: right; }
.sgpc-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; background: #e9edf4; border: 1px solid var(--sgpc-line); border-top: 0; }
.sgpc button.sgpc-tab { min-height: 42px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; color: var(--sgpc-ink); border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: .86rem; font-weight: 650; }
.sgpc button.sgpc-tab:hover { background: #fff; }
.sgpc button.sgpc-tab[aria-current] { background: var(--sgpc-navy); color: white; }
.sgpc-tab-count { color: #245524; font-weight: 750; }
.sgpc button.sgpc-tab[aria-current] .sgpc-tab-count { color: var(--sgpc-accent); }
.sgpc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(262px, 30%); align-items: start; gap: clamp(14px, 2.3vw, 28px); padding-top: 24px; }
.sgpc-main, .sgpc-sidebar { min-width: 0; }
.sgpc-section-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sgpc-section-header h3 { font-size: clamp(1.35rem, 2.8vw, 2rem); letter-spacing: -.025em; }
.sgpc-section-header label { display: flex; gap: 7px; align-items: center; min-height: 35px; font-size: .82rem; color: var(--sgpc-muted); }
.sgpc-section-header input { accent-color: var(--sgpc-navy); }
.sgpc-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 12px; }
.sgpc-product { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--sgpc-line); border-radius: 11px; background: #fff; }
.sgpc-product.sgpc-selected { border-color: #668337; box-shadow: inset 0 0 0 1px #668337; }
.sgpc-product-media { height: 118px; display: grid; place-items: center; padding: 10px; background: #f1f3f7; }
.sgpc-product-media:empty { display: none; }
.sgpc-product-media img { width: 100%; height: 98px; object-fit: contain; mix-blend-mode: multiply; }
.sgpc-product-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 12px; }
.sgpc-product h3 { font-size: .94rem; line-height: 1.35; overflow-wrap: anywhere; }
.sgpc-product h3 a { color: inherit; text-decoration: none; }
.sgpc-product h3 a:hover { text-decoration: underline; }
.sgpc-product-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 7px; }
.sgpc-product-bottom strong { font-size: .93rem; }
.sgpc-incompatible { color: var(--sgpc-danger); font-size: .77rem; }
.sgpc-picked { font-size: .82rem; font-weight: 700; color: #325829; }
.sgpc button.sgpc-button, .sgpc button.sgpc-count { border: 1px solid var(--sgpc-navy); border-radius: 7px; color: white; background: var(--sgpc-navy); min-height: 37px; padding: 6px 12px; font-size: .85rem; font-weight: 700; text-align: center; }
.sgpc button.sgpc-button:hover:not(:disabled) { background: #2b3855; }
.sgpc button.sgpc-secondary { color: var(--sgpc-ink); border-color: var(--sgpc-line); background: #fff; }
.sgpc button.sgpc-secondary:hover:not(:disabled) { background: var(--sgpc-panel); }
.sgpc button.sgpc-primary { color: var(--sgpc-navy); border-color: #a5c94b; background: var(--sgpc-accent); width: 100%; padding: 10px 12px; min-height: 44px; }
.sgpc button.sgpc-primary:hover:not(:disabled) { background: #b3e74b; }
.sgpc-more, .sgpc-next { display: flex; justify-content: flex-end; margin-top: 14px; }
.sgpc-sidebar { position: sticky; top: 22px; background: var(--sgpc-panel); border: 1px solid var(--sgpc-line); border-radius: 13px; padding: clamp(12px, 2vw, 22px); }
.sgpc-sidebar h3 { margin-bottom: 10px; font-size: 1.12rem; }
.sgpc-line { display: flex; justify-content: space-between; align-items: start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sgpc-line); }
.sgpc-line-name { min-width: 0; }
.sgpc-line-name small, .sgpc-line-name strong { display: block; overflow-wrap: anywhere; }
.sgpc-line-name small { color: var(--sgpc-muted); font-size: .76rem; }
.sgpc-line-name strong, .sgpc-line-action { font-size: .85rem; }
.sgpc-line-action { display: flex; flex-direction: column; align-items: end; gap: 4px; white-space: nowrap; }
.sgpc-qty { display: inline-flex; column-gap: 6px; align-items: center; font-size: .82rem; font-weight: 700; }
.sgpc button.sgpc-count { background: #fff; color: var(--sgpc-ink); border-color: var(--sgpc-line); padding: 0; min-height: 30px; width: 30px; }
.sgpc button.sgpc-count:hover:not(:disabled) { background: #e6eef9; }
.sgpc button.sgpc-remove { padding: 2px 0; background: none; border: 0; color: var(--sgpc-danger); text-decoration: underline; font-size: .75rem; }
.sgpc-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 8px; margin: 14px 0; font-size: .91rem; }
.sgpc-total strong { font-size: 1.2rem; }
.sgpc-empty, .sgpc-psu, .sgpc-required, .sgpc-progress { color: var(--sgpc-muted); font-size: .85rem; }
.sgpc p.sgpc-required, .sgpc p.sgpc-progress, .sgpc p.sgpc-psu { margin: 10px 0; }
.sgpc-checkout-error, .sgpc-request-error { color: var(--sgpc-danger); padding-top: 10px; font-size: .88rem; }
.sgpc-request-error { margin-bottom: 14px; }
.sgpc-limits { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sgpc-limits > span { color: var(--sgpc-muted); background: #eaf0f7; padding: 4px 8px; border-radius: 6px; font-size: .81rem; }
.sgpc-limits strong { color: var(--sgpc-ink); }
.sgpc ul.sgpc-issues { display: grid; gap: 6px; margin-bottom: 14px; }
.sgpc-issue { display: flex; flex-wrap: wrap; gap: 3px 8px; padding: 8px 10px; border-radius: 7px; font-size: .84rem; background: #edf2f8; }
.sgpc-issue small { display: block; color: inherit; }
.sgpc-issue.sgpc-warn { background: #fff1d5; color: #6d4609; }
.sgpc-issue.sgpc-block { background: #ffe9e9; color: var(--sgpc-danger); }
@media (max-width: 780px) {
    .sgpc-layout { grid-template-columns: 1fr; padding-top: 16px; }
    .sgpc-sidebar { position: static; }
}
@media (max-width: 450px) {
    .sgpc-header { gap: 8px; align-items: start; flex-direction: column; }
    .sgpc-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .sgpc-product-body { padding: 8px; }
}
