.glfq-box,.glfq-result-main{--glfq-ink:#19252d;--glfq-line:#d6cec0;--glfq-accent:#f0ba79;box-sizing:border-box;color:var(--glfq-ink)}.glfq-box{background:#faf8f4;border:1px solid var(--glfq-line);padding:clamp(16px,4vw,28px);margin:20px 0}.glfq-box [hidden]{display:none!important}.glfq-box label{display:block;font-weight:650;margin-top:9px}.glfq-box input:not([type=checkbox]),.glfq-box select,.glfq-box textarea{display:block;box-sizing:border-box;width:100%;min-height:42px;margin-top:5px;padding:8px 10px;border:1px solid #aaa199;background:white;color:#19252d;font:inherit;border-radius:3px}.glfq-box input[type=number]{max-width:8rem}.glfq-box a,.glfq-result-main a{text-underline-offset:4px}.glfq-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin-top:16px}.glfq-actions .glfq-button{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:9px 15px;border:1px solid #19252d;border-radius:3px;background:#19252d;color:white;line-height:1.2;font-size:15px;font-weight:700;text-decoration:none;cursor:pointer}.glfq-actions .glfq-button:hover,.glfq-actions .glfq-button:focus-visible{background:#314550;color:white}.glfq-actions .glfq-secondary{background:white;color:#19252d}.glfq-actions button[disabled]{opacity:.6;cursor:wait}.glfq-archive-link{display:block;margin:5px 0;font-weight:700}.glfq-status{margin:9px 0 0}.glfq-status:empty{display:none}.glfq-list .glfq-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}.glfq-box .glfq-rows{margin:0 0 18px;padding:0;list-style:none}.glfq-rows li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px 20px;align-items:center;border-bottom:1px solid var(--glfq-line);padding:10px 0}.glfq-rows small,.glfq-rows a{display:block}.glfq-rows .glfq-remove{color:#782f2c;background:none;border:0;text-decoration:underline;padding:6px 0;cursor:pointer}.glfq-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.glfq-fields .glfq-note{grid-column:1/-1}.glfq-box .glfq-consent{display:flex;gap:7px;align-items:baseline;margin-top:16px}.glfq-result{margin:0;background:#faf8f4;font:16px/1.5 Inter,system-ui,sans-serif}.glfq-result-main{max-width:990px;margin:clamp(15px,5vw,55px) auto;background:white;border:1px solid var(--glfq-line);padding:clamp(18px,5vw,48px)}.glfq-result-main h1{font-size:clamp(28px,5vw,46px);letter-spacing:-.035em;margin:4px 0 10px}.glfq-result-brand{font-weight:750;color:#5b656a;margin:0}.glfq-table-scroll{overflow:auto}.glfq-result-main .glfq-quote-table{border-collapse:collapse;width:100%;min-width:510px;margin:12px 0 0}.glfq-result-main .glfq-quote-table th,.glfq-result-main .glfq-quote-table td{padding:12px 10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--glfq-line)}.glfq-result-main .glfq-quote-table thead,.glfq-result-main .glfq-quote-table tfoot{background:#efe7db}.glfq-quote-table small{display:block;font-weight:400}.glfq-result-main a{color:#19252d}
@media(max-width:560px){.glfq-fields{grid-template-columns:1fr}.glfq-rows li{grid-template-columns:1fr auto}.glfq-rows li>div{grid-column:1/-1}.glfq-result-main{margin:10px}.glfq-result-main .glfq-quote-table{min-width:0;table-layout:fixed;font-size:13px}.glfq-result-main .glfq-quote-table th,.glfq-result-main .glfq-quote-table td{box-sizing:border-box;padding:7px 5px;overflow-wrap:anywhere}.glfq-quote-table thead th:first-child{width:43%}.glfq-quote-table thead th:nth-child(2){width:15%}}
@media print{.glfq-result,.glfq-result-main{background:white}.glfq-result-main{margin:0;border:0;max-width:none;padding:0}.glfq-no-print{display:none!important}.glfq-table-scroll{overflow:visible}.glfq-result-main .glfq-quote-table{min-width:0}.glfq-quote-table tr{break-inside:avoid}}

.glfq-page {
    background: #fff;
    color: #162129;
    font: 16px/1.6 Inter, system-ui, sans-serif;
}

.glfq-page-head {
    padding-block: clamp(30px, 5vw, 58px);
    border-bottom: 1px solid #dfd9cd;
    background: #f5f3ee;
}

.glfq-page-wrap {
    width: min(1020px, calc(100% - 40px));
    margin-inline: auto;
}

.glfq-page .glfq-page-head h1 {
    margin: 0 0 10px;
    font-size: clamp(38px, 6vw, 60px);
    font-weight: 760;
    line-height: 1.07;
    letter-spacing: -.04em;
}

.glfq-page-head p { max-width: 62ch; margin: 0; color: #475255; }
.glfq-page-content { padding-block: clamp(24px, 4vw, 48px); }
.glfq-page-content .glfq-list { margin: 0; border-radius: 10px; }
.glfq-page-content .glfq-list > p { margin: 0; }

.glfn-summary:has(#glfq-product) h1 {
    font-size: clamp(33px, 3.7vw, 54px);
    overflow-wrap: anywhere;
}

#glfq-product { border-radius: 8px; }
#glfq-product > strong { font-size: 17px; }
.glfq-spec-note { margin: 5px 0 9px; color: #475255; }
#glfq-product .glfq-actions a, .glfq-list a { text-decoration: underline; }
#glfq-product .glfq-actions .glfq-button {
    border-color: #f0ba79;
    background: #f0ba79;
    color: #162129;
}
#glfq-product .glfq-actions .glfq-button:hover,
#glfq-product .glfq-actions .glfq-button:focus-visible { background: #ffcf96; color: #162129; }
.glfq-box :is(a, button, input, select, textarea):focus-visible { outline: 2px solid #96602c; outline-offset: 3px; }

.glfq-product-cell {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 14px;
}

.glfq-product-description { min-width: 0; overflow-wrap: anywhere; }
.glfq-rows .glfq-thumbnail {
    display: block;
    flex: none;
    width: 72px;
    height: 72px;
    border: 1px solid var(--glfq-line);
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
}

@media (max-width: 560px) {
    .glfq-product-cell { gap: 10px; }
    .glfq-rows .glfq-thumbnail { width: 58px; height: 58px; }
}

.glfq-result {
    background: #f1eee8;
    color: #22312e;
}

.glfq-result-main {
    --quote-ink: #22312e;
    --quote-muted: #53625c;
    --quote-paper: #f6f3ed;
    --quote-line: #dfd9ce;
    --quote-gold: #ac8958;
    max-width: 1060px;
    border-color: var(--quote-line);
    border-radius: 14px;
}

.glfq-quote-head {
    padding-bottom: 20px;
    border-bottom: 2px solid var(--quote-gold);
}

.glfq-result-main .glfq-result-brand { color: var(--quote-muted); }
.glfq-result-main h1 { color: var(--quote-ink); margin: 5px 0 0; }

.glfq-quote-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 22px;
    margin: 20px 0 26px;
    padding: 18px 20px;
    background: var(--quote-paper);
    border-radius: 8px;
}

.glfq-quote-meta dt {
    margin-bottom: 4px;
    color: var(--quote-muted);
    font-size: 12px;
    font-weight: 650;
}

.glfq-quote-meta dd { margin: 0; font-weight: 720; overflow-wrap: anywhere; }
.glfq-reference { font-variant-numeric: tabular-nums; font-size: .86em; }

.glfq-result-main .glfq-quote-table {
    min-width: 0;
    table-layout: fixed;
    margin: 0;
    font-size: 14px;
    color: var(--quote-ink);
}

.glfq-item-col { width: 57%; }
.glfq-count-col { width: 7.5%; }
.glfq-money-col { width: 14%; }

.glfq-result-main .glfq-quote-table thead {
    background: var(--quote-ink);
    color: #fff;
}

.glfq-result-main .glfq-quote-table th,
.glfq-result-main .glfq-quote-table td {
    padding: 14px 12px;
    border-color: var(--quote-line);
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.glfq-result-main .glfq-quote-table tr > :not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.glfq-result-main .glfq-quote-table tbody tr:nth-child(even) { background: #fbfaf7; }

.glfq-quote-product { display: flex; gap: 13px; align-items: flex-start; }
.glfq-quote-photo {
    display: block;
    box-sizing: border-box;
    flex: 0 0 68px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--quote-line);
    background: #fff;
}

.glfq-quote-copy { min-width: 0; }
.glfq-quote-copy .glfq-quote-name {
    display: inline-block;
    font-weight: 750;
    color: var(--quote-ink);
    text-underline-offset: 3px;
    text-decoration-color: var(--quote-gold);
}

.glfq-quote-copy small { font-size: 12px; line-height: 1.4; color: var(--quote-muted); }
.glfq-quote-copy .glfq-selected-option { color: var(--quote-ink); font-weight: 700; }
.glfq-line-specs {
    display: flex;
    flex-wrap: wrap;
    column-gap: 13px;
    row-gap: 4px;
    margin: 6px 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.glfq-line-specs dt, .glfq-line-specs dd { display: inline; margin: 0; }
.glfq-line-specs dt { color: var(--quote-muted); font-weight: 700; }
.glfq-line-specs dd { margin-inline-start: 4px; }
.glfq-quote-copy .glfq-line-status { color: #775421; margin-top: 4px; }

.glfq-quote-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 13px 15px;
    background: var(--quote-paper);
    font-size: 15px;
    font-weight: 700;
}

.glfq-quote-total strong { color: var(--quote-ink); text-align: right; font-variant-numeric: tabular-nums; }
.glfq-quote-terms { margin: 9px 0 0; color: var(--quote-muted); font-size: 12px; }

@media screen and (max-width: 630px) {
    .glfq-result-main { margin: 10px; border-radius: 9px; }
    .glfq-quote-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; padding: 14px; }
    .glfq-quote-meta div:nth-child(3) { grid-column: 1 / -1; }
    .glfq-result-main .glfq-quote-table colgroup { display: none; }
    .glfq-result-main .glfq-quote-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
    .glfq-result-main .glfq-quote-table tbody { display: block; }
    .glfq-result-main .glfq-quote-table tbody tr { display: grid; grid-template-columns: .65fr .65fr 1.2fr 1.35fr; border-top: 1px solid var(--quote-line); }
    .glfq-result-main .glfq-quote-table tbody th { grid-column: 1 / -1; padding: 12px 6px 5px; border: 0; }
    .glfq-result-main .glfq-quote-table tbody td { border: 0; padding: 8px 6px 11px; text-align: left; font-size: 13px; }
    .glfq-result-main .glfq-quote-table tbody td::before { content: attr(data-label); display: block; color: var(--quote-muted); font-size: 10px; font-weight: 700; }
    .glfq-quote-photo { width: 52px; height: 52px; flex-basis: 52px; }
}

@page { size: A4; margin: 13mm; }

@media print {
    body.glfq-result { background: #fff; }
    .glfq-result-main { max-width: none; padding: 0; border-radius: 0; }
    .glfq-quote-head { padding-bottom: 13px; }
    .glfq-quote-meta { margin: 13px 0 16px; padding: 11px 12px; }
    .glfq-result-main h1 { font-size: 28px; }
    .glfq-result-main .glfq-quote-table { font-size: 11px; }
    .glfq-result-main .glfq-quote-table th, .glfq-result-main .glfq-quote-table td { padding: 8px 6px; }
    .glfq-quote-photo { width: 48px; height: 48px; flex-basis: 48px; }
    .glfq-line-specs, .glfq-quote-copy small { font-size: 10px; }
    .glfq-quote-total { break-inside: avoid; }
    .glfq-result-main .glfq-quote-table thead, .glfq-quote-meta, .glfq-quote-total { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
