/* GenX produktová kalkulačka, v1.0 — styly výhradně uvnitř .gxcalc */
.gxcalc{--gx-orange:#ff7900;--gx-dark:#17212d;--gx-sub:#667085;--gx-line:#e6eaf0;--gx-surface:#fff;--gx-bg:#f7f8fb;--gx-green:#167348;--gx-red:#bd3440;font-family:inherit;color:var(--gx-dark);width:100%;max-width:1120px;margin:20px auto 50px;font-size:15px;line-height:1.48;box-sizing:border-box}
.gxcalc *{box-sizing:border-box}.gxcalc button,.gxcalc input,.gxcalc textarea,.gxcalc select{font:inherit}.gxcalc button{cursor:pointer}.gxcalc a{color:#bb5900;text-decoration:underline;text-underline-offset:2px}.gxcalc a:hover{color:#913d00}
.gxcalc .gx-hero{background:linear-gradient(115deg,#fff4e9 0%,#fff 65%);border:1px solid #ffe1c8;border-radius:24px;padding:clamp(24px,4vw,42px);margin-bottom:22px;position:relative;overflow:hidden}.gxcalc .gx-hero:after{content:"";position:absolute;right:-60px;top:-65px;border:28px solid #ffe2c7;border-radius:50%;width:190px;height:190px;pointer-events:none;opacity:.45}
.gxcalc .gx-eyebrow{font-weight:800;text-transform:uppercase;letter-spacing:.14em;font-size:12px;color:#be5b00;margin:0 0 10px}.gxcalc h2{font-size:clamp(26px,3.5vw,36px);font-weight:800;line-height:1.12;letter-spacing:-.035em;margin:0 0 12px}.gxcalc .gx-intro{font-size:16px;max-width:690px;color:#485363;margin:0}.gxcalc .gx-pill{display:inline-flex;align-items:center;gap:8px;border-radius:99px;background:#fff;border:1px solid #f0d3ba;padding:7px 12px;margin-top:18px;font-size:13px;font-weight:650;color:#7b4a24}.gxcalc .gx-dot{width:8px;height:8px;border-radius:50%;background:var(--gx-orange)}
.gxcalc .gx-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.gxcalc .gx-panel{background:#fff;border:1px solid var(--gx-line);border-radius:18px;padding:24px;min-width:0;box-shadow:0 8px 30px rgba(27,40,59,.035)}.gxcalc h3{margin:0 0 6px;font-size:19px;font-weight:800;letter-spacing:-.02em}.gxcalc .gx-help{margin:0 0 18px;color:var(--gx-sub);font-size:13px}.gxcalc label.gx-label{display:block;font-weight:700;font-size:13px;margin-bottom:8px}.gxcalc .gx-input,.gxcalc .gx-textarea,.gxcalc .gx-select{background:#fff;border:1px solid #d0d5dd;border-radius:11px;width:100%;padding:12px 14px;color:var(--gx-dark);outline:0;box-shadow:none}.gxcalc .gx-input:focus,.gxcalc .gx-textarea:focus,.gxcalc .gx-select:focus{border-color:#ff8e31;box-shadow:0 0 0 4px #ff79001c}.gxcalc .gx-textarea{resize:vertical;min-height:170px;line-height:1.7}.gxcalc .gx-input-row{display:flex;gap:8px}.gxcalc .gx-input-row .gx-input{flex:1;min-width:0}.gxcalc .gx-btn{background:var(--gx-orange);color:#fff;border:1px solid var(--gx-orange);font-weight:750;padding:11px 17px;border-radius:11px;display:inline-flex;justify-content:center;align-items:center;gap:6px;line-height:1.3;text-decoration:none;transition:background .15s}.gxcalc .gx-btn:hover{background:#e96800;color:#fff}.gxcalc .gx-btn:disabled{opacity:.55;cursor:not-allowed}.gxcalc .gx-btn-ghost{background:#fff;color:var(--gx-dark);border:1px solid #d8dce3}.gxcalc .gx-btn-ghost:hover{background:#f5f6f8;color:var(--gx-dark)}.gxcalc .gx-btn-small{padding:8px 11px;border-radius:9px;font-size:13px}.gxcalc .gx-input-wrap{position:relative}.gxcalc .gx-suggestions{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;background:#fff;border:1px solid #e0e4ea;box-shadow:0 16px 38px #111a2a22;border-radius:13px;max-height:330px;overflow:auto}.gxcalc .gx-sug{border:0;border-bottom:1px solid #f1f2f4;width:100%;padding:12px 14px;display:flex;gap:10px;align-items:center;justify-content:space-between;text-align:left;background:#fff;color:var(--gx-dark)}.gxcalc .gx-sug:hover,.gxcalc .gx-sug:focus{background:#fff5ec;outline:0}.gxcalc .gx-sug:last-child{border-bottom:0}.gxcalc .gx-sug-title{font-weight:750;font-size:13px}.gxcalc .gx-sug-sub{font-size:11px;color:var(--gx-sub);margin-top:2px}.gxcalc .gx-sug-price{white-space:nowrap;font-size:13px;font-weight:750}.gxcalc .gx-file{margin:12px 0;font-size:13px;width:100%;color:var(--gx-sub);max-width:100%}.gxcalc .gx-file::file-selector-button{border:1px solid #d8dce3;border-radius:8px;padding:7px 10px;background:#f7f8fa;color:var(--gx-dark);margin-right:10px;cursor:pointer}.gxcalc .gx-soft{font-size:12px;color:var(--gx-sub);margin:10px 0 0}.gxcalc .gx-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.gxcalc .gx-status{font-size:13px;color:var(--gx-sub);margin-top:10px;min-height:20px}.gxcalc .gx-status[data-kind="error"]{color:var(--gx-red)}.gxcalc .gx-status[data-kind="good"]{color:var(--gx-green)}
.gxcalc .gx-results{margin-top:22px;border:1px solid var(--gx-line);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 30px #1b283b0a}.gxcalc .gx-results-head{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--gx-line);flex-wrap:wrap}.gxcalc .gx-results-head h3{margin:0}.gxcalc .gx-counter{font-size:13px;color:var(--gx-sub)}.gxcalc .gx-table-wrap{overflow-x:auto}.gxcalc table{border-collapse:collapse;width:100%;min-width:710px;background:#fff;font-size:13px;table-layout:auto}.gxcalc th{background:#f8f9fb;text-align:left;padding:13px 15px;color:#627084;font-weight:750;white-space:nowrap;font-size:12px}.gxcalc td{padding:15px;border-top:1px solid #eef0f3;vertical-align:top}.gxcalc td.gx-num{width:35px;color:#98a2b3}.gxcalc .gx-product-title{font-weight:750;display:block}.gxcalc .gx-code{font-size:11px;color:#7d8997;display:block;margin-top:3px}.gxcalc .gx-cost{white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums}.gxcalc .gx-chip{background:#edf8f1;color:#167348;border-radius:7px;padding:4px 7px;display:inline-block;font-size:11px;font-weight:750;margin-top:6px}.gxcalc .gx-chip.gx-warn{background:#fff1de;color:#a55507}.gxcalc .gx-rowactions{display:flex;gap:6px;flex-wrap:wrap}.gxcalc .gx-iconbtn{background:#fff;border:1px solid #e0e5ec;color:#5c6673;border-radius:8px;padding:5px 9px;font-size:12px;white-space:nowrap}.gxcalc .gx-iconbtn:hover{background:#f6f7f9}.gxcalc .gx-candidates{margin-top:8px;font-size:12px;max-width:340px}.gxcalc .gx-select{font-size:12px;padding:9px 11px}.gxcalc .gx-empty{padding:45px 25px;text-align:center;color:#8a93a2;font-size:14px}.gxcalc .gx-empty strong{display:block;color:var(--gx-dark);font-size:16px;margin-bottom:8px}.gxcalc .gx-bottom{border-top:1px solid var(--gx-line);padding:22px 24px;background:#fffaf5;display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}.gxcalc .gx-total-label{font-size:13px;color:#795b42;margin-bottom:4px}.gxcalc .gx-total{font-size:34px;font-weight:850;letter-spacing:-.04em;line-height:1;color:var(--gx-dark);font-variant-numeric:tabular-nums}.gxcalc .gx-total-note{color:#897b6a;font-size:12px;margin-top:7px;max-width:550px}.gxcalc .gx-footer-notice{font-size:12px;color:#697487;line-height:1.65;padding:17px 4px}.gxcalc [hidden]{display:none!important}.gxcalc .gx-unmatched{color:#a75e11;font-weight:800}.gxcalc .gx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.gxcalc .gx-grid{grid-template-columns:1fr}.gxcalc .gx-hero{padding:24px}.gxcalc .gx-panel{padding:20px}.gxcalc .gx-results-head{padding:18px}.gxcalc .gx-bottom{padding:20px}.gxcalc .gx-input-row{flex-direction:column}.gxcalc .gx-total{font-size:30px}}

/* Verze 6.0: viditelné potvrzení po přidání a snadný přechod do kalkulace. */
.gxcalc .gx-status[data-kind="good"]:has(.gx-jump){background:#edf9f1;border:1px solid #b7e4c7;border-radius:11px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;line-height:1.45}
.gxcalc .gx-jump{border:0;background:none;color:#0c6c45;text-decoration:underline;text-underline-offset:3px;font-weight:800;font-size:13px;padding:5px 0;white-space:nowrap}
.gxcalc .gx-jump:hover{color:#075435}
.gxcalc #gx-results-heading:focus{outline:none}
/* Na telefonu přehled jako samostatné karty – bez vodorovného posouvání tabulky. */
@media(max-width:760px){
 .gxcalc .gx-table-wrap{overflow-x:visible;background:#f7f8fa;padding:11px}
 .gxcalc #gx-table,.gxcalc #gx-table tbody{display:block;width:100%;min-width:0;table-layout:auto}
 .gxcalc #gx-table thead{display:none}
 .gxcalc #gx-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"num price" "request request" "product product" "link actions";gap:8px 10px;min-width:0;background:#fff;border:1px solid #e2e7ef;border-radius:13px;box-shadow:0 3px 12px #14253a0a;padding:14px;margin:0 0 11px}
 .gxcalc #gx-table tbody tr:last-child{margin-bottom:0}
 .gxcalc #gx-table tbody td{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere}
 .gxcalc #gx-table td.gx-num{grid-area:num;width:auto;color:#667085;font-weight:750}
 .gxcalc #gx-table td.gx-num:before{content:"Položka ";font-weight:600}
 .gxcalc #gx-table td.gx-request{grid-area:request;font-size:13px;color:#445267}
 .gxcalc #gx-table td.gx-product{grid-area:product;padding-top:10px;border-top:1px solid #eef1f5}
 .gxcalc #gx-table td.gx-request:before,.gxcalc #gx-table td.gx-product:before{content:attr(data-label);display:block;font-size:11px;letter-spacing:.015em;color:#738096;font-weight:750;margin-bottom:3px}
 .gxcalc #gx-table td.gx-cost{grid-area:price;font-size:15px;text-align:right;color:#263649;white-space:normal}
 .gxcalc #gx-table td.gx-cost:before{content:attr(data-label);display:block;font-size:11px;color:#738096;font-weight:700}
 .gxcalc #gx-table td.gx-link{grid-area:link;align-self:center;font-weight:700;font-size:13px}
 .gxcalc #gx-table td.gx-rowactions{grid-area:actions;align-self:center;justify-content:flex-end;display:flex}
 .gxcalc #gx-table .gx-candidates{max-width:100%}
 .gxcalc #gx-table .gx-select{width:100%;white-space:normal}
 .gxcalc .gx-status[data-kind="good"]:has(.gx-jump){align-items:flex-start}
}
@media(max-width:400px){.gxcalc #gx-table tbody tr{grid-template-areas:"num price" "request request" "product product" "link link" "actions actions"}.gxcalc #gx-table td.gx-rowactions{justify-content:flex-start}}

/* Verze 7.0: přímé kotvy mezi vyhledáváním a výsledným přehledem. */
.gxcalc #gx-vyhledat-vysetreni,.gxcalc #gx-prehled-vysetreni,.gxcalc #gx-results-heading{scroll-margin-top:105px}
.gxcalc #gx-vyhledat-vysetreni:focus,.gxcalc #gx-prehled-vysetreni:focus{outline:none}
.gxcalc .gx-status[data-kind="good"]:has(.gx-jump){display:block;background:#edf9f1;border:1px solid #b7e4c7;border-radius:11px;padding:12px 14px;line-height:1.6}
.gxcalc .gx-jump{color:#0c6c45;font-weight:800;text-decoration:underline;text-underline-offset:3px;display:inline;padding:0;white-space:normal;border:0;background:transparent}
.gxcalc .gx-jump:hover{color:#075435}
.gxcalc .gx-return-search{white-space:normal;text-align:center;text-decoration:none;background:#fff7ed;border-color:#ffdec2;color:#9f4800}
.gxcalc .gx-return-search:hover{background:#ffebd6;color:#873900}
@media(max-width:760px){.gxcalc .gx-results-actions{width:100%;justify-content:flex-start}.gxcalc .gx-return-search{flex-grow:1}}

/* V9 – pouze na stránce kalkulačky: skrytí automatického titulku článku Shoptetu.
   Globální menu, <header> webu a ostatní obsahové stránky zůstávají nezměněné. */
article.pageArticleData:has(#genx-kalkulacka) > header[itemprop="headline"] {display:none!important}
.gxcalc .gx-hero h1{font-size:clamp(26px,3.5vw,36px);font-weight:800;line-height:1.12;letter-spacing:-.035em;margin:0 0 12px;color:var(--gx-dark)}
.gxcalc .gx-variant-picker{margin-top:12px;padding:12px;background:#fff8f1;border:1px solid #ffdfc4;border-radius:11px;max-width:390px}
.gxcalc .gx-variant-label{display:block;font-size:12px;font-weight:750;color:#804007;margin:0 0 7px}
.gxcalc .gx-variant-select{background:#fff;max-width:100%;font-size:13px;cursor:pointer}
.gxcalc .gx-variant-unavailable{display:block;color:#91511e;font-size:12px;margin-top:7px}
.gxcalc #gx-table .gx-variant-picker .gx-select{width:100%}
@media(max-width:760px){.gxcalc .gx-variant-picker{max-width:100%}}

/* V9.1 – nenápadná kontaktní poznámka a nápověda u nenalezených testů. */
.gxcalc .gx-contact-note{margin:14px 4px 0;font-size:13px;color:#627084;line-height:1.55}
.gxcalc .gx-contact-note a,.gxcalc .gx-not-found-note a{font-weight:750;color:#ae5100;text-decoration:underline;text-underline-offset:2px}
.gxcalc .gx-not-found-note{font-size:12px;color:#697487;line-height:1.55;margin:8px 0 0;max-width:360px}
@media(max-width:760px){.gxcalc .gx-contact-note{margin:14px 3px 0}}
