/* CORFIX navigation refresh */
#root {
  --corfix-menu-ink: #121a21;
  --corfix-menu-blue: #215f9f;
  --corfix-menu-border: #d6dfe9;
  --corfix-menu-soft: #edf5ff;
  --corfix-menu-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#root .topPane {
  box-sizing: border-box;
  height: auto;
  min-height: 46px;
  margin: 8px 22px 0;
  padding: 5px 9px;
  border: 1px solid var(--corfix-menu-border);
  border-radius: 10px;
  background: linear-gradient(110deg, #f6faff, #e5f0ff 35%, #cee2fb 78%, #edf5ff);
  color: var(--corfix-menu-ink);
  font-family: var(--corfix-menu-font);
}

#root .topPane > .contentPanel {
  font-size: 0;
}

#root .topPane a {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 0 3px 0 0;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--corfix-menu-blue);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

#root .topPane a.active,
#root .topPane a:hover {
  border-color: #bdd5ee;
  background: rgb(255 255 255 / 74%);
  color: #103b65;
}

#content .searchPane,
#content .categoryTreePane {
  box-sizing: border-box;
  width: 176px;
  margin: 8px;
  border: 1px solid var(--corfix-menu-border);
  border-radius: 10px;
  background: #fff;
  color: var(--corfix-menu-ink);
  font-family: var(--corfix-menu-font);
}

#content .searchPane {
  padding: 8px 9px;
}

#content .categoryTreePane {
  padding: 5px 6px 6px;
}

#content .searchPane .QuickSearch {
  position: relative;
  font: 12px/1.4 var(--corfix-menu-font);
}

#content .searchPane .QuickSearch input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 30px;
  margin: 0 0 4px;
  padding: 4px 7px;
  border: 1px solid var(--corfix-menu-border);
  border-radius: 6px;
  background: #fff;
  color: var(--corfix-menu-ink);
  font: inherit;
}

#content .searchPane .QuickSearch a {
  display: inline-block;
  padding: 3px 0;
  color: var(--corfix-menu-blue);
  font-weight: 650;
}

#content .categoryTreePane > table,
#content .categoryTreePane .CategoryTree {
  color: var(--corfix-menu-ink);
  font: 11px/1.4 var(--corfix-menu-font);
}

#content .categoryTreePane .Head {
  display: block;
  visibility: visible;
  padding: 7px 8px;
  border-radius: 6px;
  background: var(--corfix-menu-soft);
  color: #153a60;
  font: 700 13px/1.25 var(--corfix-menu-font);
}

#content .categoryTreePane .TreeType2-Tree ul {
  margin: 0;
  padding: 0;
}

#content .categoryTreePane .TreeType2-Tree ul ul {
  margin: 2px 0 3px 9px;
  padding-left: 5px;
  border-left: 1px solid var(--corfix-menu-border);
}

#content .categoryTreePane .TreeType2-Tree li {
  box-sizing: border-box;
  margin: 0;
  padding: 1px 0;
  background: none;
}

#content .categoryTreePane .TreeType2-Level1 > li + li {
  border-top: 1px solid #edf1f5;
}

#content .categoryTreePane .TreeType2-Tree li > a {
  display: block;
  margin: 0 0 0 22px;
  padding: 5px 3px;
  border-radius: 5px;
  color: var(--corfix-menu-blue);
  font-size: 11px;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: break-word;
}

#content .categoryTreePane .TreeType2-Level1 > li > a {
  min-height: 26px;
  box-sizing: border-box;
  color: #153a60;
  font-size: 12px;
  font-weight: 650;
}

#content .categoryTreePane .TreeType2-Tree a:hover,
#content .categoryTreePane .TreeType2-Tree .TreeType2-Selected > a,
#content .categoryTreePane .TreeType2-Tree .TreeType2-ChildSelected > a {
  background: var(--corfix-menu-soft);
  color: #103b65;
}

#content .categoryTreePane .TreeType2-Tree :is(.TreeType2-Expand, .TreeType2-Collapse, .TreeType2-NoExpand) {
  position: relative;
  box-sizing: border-box;
  display: block;
  float: left;
  width: 17px;
  height: 18px;
  margin: 3px 3px 0 1px;
  border: 1px solid var(--corfix-menu-border);
  border-radius: 4px;
  background: #f8fbff;
  color: var(--corfix-menu-blue);
  font-size: 0;
}

#content .categoryTreePane .TreeType2-Tree :is(.TreeType2-Expand, .TreeType2-Collapse)::after {
  content: "";
  position: absolute;
  inset: 5px auto auto 4px;
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(-45deg);
}

#content .categoryTreePane .TreeType2-Tree .TreeType2-Collapse::after {
  transform: rotate(45deg);
}

#content .categoryTreePane .TreeType2-Tree .TreeType2-NoExpand {
  border-color: transparent;
  background: transparent;
}

#root .topPane a:focus-visible,
#content .categoryTreePane a:focus-visible,
#content .searchPane :is(input, a):focus-visible {
  outline: 2px solid #2868b0;
  outline-offset: -2px;
}

#root #toppanel {
  position: relative;
}

#root #toppanel::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #153a60;
  content: "";
  pointer-events: none;
}

#content :is(.UserInfoPane, .recommendedGoodsPane, .newGoodsPane) {
  box-sizing: border-box;
  width: 176px;
  margin: 8px 8px 9px 10px !important;
  padding: 4px;
  border: 1px solid var(--corfix-menu-border);
  border-radius: 10px;
  background: #fff;
  color: var(--corfix-menu-ink);
  font: 11px/1.4 var(--corfix-menu-font);
}

#content :is(.UserInfoPane, .recommendedGoodsPane, .newGoodsPane) .Head {
  display: block;
  visibility: visible;
  padding: 7px 8px;
  border-radius: 6px;
  background: var(--corfix-menu-soft);
  color: #153a60;
  font: 700 13px/1.25 var(--corfix-menu-font);
}

#content :is(.UserInfoPane, .recommendedGoodsPane, .newGoodsPane) > table > tbody > tr > td {
  padding: 2px 2px 5px;
}

#content :is(.UserInfoPane, .recommendedGoodsPane, .newGoodsPane) :is(.Normal, .SubHead) {
  color: inherit;
  font: inherit;
}

#content :is(.UserInfoPane, .recommendedGoodsPane, .newGoodsPane) .contentPanel a {
  color: var(--corfix-menu-blue);
  font-weight: 650;
}

#content .UserInfoPane .LoginDialog table {
  width: 100%;
}

#content .UserInfoPane .LoginDialog .SubHead {
  padding-bottom: 1px;
  font-weight: 650;
}

#content .UserInfoPane .LoginDialog input:is([type="text"], [type="password"]) {
  box-sizing: border-box;
  display: block;
  width: 100% !important;
  max-width: none;
  min-height: 27px;
  margin: 0;
  padding: 4px 7px;
  border: 1px solid var(--corfix-menu-border);
  border-radius: 6px;
  background: #fff;
  color: inherit;
  font: inherit;
}

#content .UserInfoPane .LoginDialog td:has(input[type="password"]) {
  font-size: 0;
}

#content .UserInfoPane .LoginDialog .StandardButton {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 30px;
  margin: 6px 0 0;
  padding: 4px 8px;
  border: 1px solid var(--corfix-menu-blue);
  border-radius: 6px;
  background: var(--corfix-menu-blue);
  color: #fff;
  font: 700 11px/1.25 var(--corfix-menu-font);
  cursor: pointer;
}

#content .UserInfoPane :is(.LoginInfoAnonymous, .LoginInfoUser) > br {
  display: none;
}

#content .UserInfoPane .LoginInfoAnonymous > a {
  display: inline-block;
  margin: 4px 0;
  padding-left: 3px;
  font-size: 10px;
}

#content .UserInfoPane .contentPanel > a:last-child {
  display: inline-block;
  margin: 2px 3px 1px;
}

#content .UserInfoPane .Basket {
  height: auto;
  margin: 0 0 5px;
  padding: 8px;
  border: 1px solid var(--corfix-menu-border);
  border-radius: 7px;
  background: #f6f9fd;
  color: var(--corfix-menu-ink);
  font-weight: 400;
}

#content .UserInfoPane .Basket > b:first-child {
  display: inline-block;
  margin-bottom: 3px;
  color: #153a60;
  font-size: 12px;
}

#content .UserInfoPane .PriceBasket {
  color: #153a60;
  font: 750 17px/1.35 var(--corfix-menu-font);
}

#content :is(.recommendedGoodsPane, .newGoodsPane) .contentPanel > div[style*="overflow-y"] {
  width: 100% !important;
}

#content :is(.RecommendedGoods, .NewGoods) img {
  max-width: 100%;
  height: auto;
}

#content :is(.recommendedGoodsPane, .newGoodsPane) .TemplatePrice {
  color: #153a60;
  font-weight: 750;
}

.qishop-notice {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(420px, calc(100% - 32px));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid #d6dfe9;
  border-radius: 14px;
  background: #fff;
  color: #121a21;
  box-shadow: 0 14px 50px rgb(14 34 56 / 25%);
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qishop-notice::backdrop {
  background: rgb(13 32 53 / 37%);
}

.qishop-notice__body {
  padding: 22px;
  border-top: 5px solid #215f9f;
  text-align: left;
}

.qishop-notice h2 {
  margin: 0 36px 8px 0;
  color: #153a60;
  font-family: inherit;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: normal;
}

.qishop-notice p {
  margin: 0;
  color: #35495f;
}

.qishop-notice__close {
  display: grid;
  position: absolute;
  top: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid #d6dfe9;
  border-radius: 7px;
  background: #edf5ff;
  color: #153a60;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}

.qishop-notice__close:hover {
  background: #dcecff;
}

.qishop-notice__close:focus-visible {
  outline: 2px solid #215f9f;
  outline-offset: 2px;
}

.qishop-notice {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(420px, calc(100% - 32px));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid #d6dfe9;
  border-radius: 14px;
  background: #fff;
  color: #121a21;
  box-shadow: 0 14px 50px rgb(14 34 56 / 25%);
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qishop-notice::backdrop {
  background: rgb(13 32 53 / 37%);
}

.qishop-notice__body {
  padding: 22px;
  border-top: 5px solid #215f9f;
  text-align: left;
}

.qishop-notice h2 {
  margin: 0 36px 8px 0;
  color: #153a60;
  font-family: inherit;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: normal;
}

.qishop-notice p {
  margin: 0;
  color: #35495f;
}

.qishop-notice__close {
  display: grid;
  position: absolute;
  top: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid #d6dfe9;
  border-radius: 7px;
  background: #edf5ff;
  color: #153a60;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}

.qishop-notice__close:hover {
  background: #dcecff;
}

.qishop-notice__close:focus-visible {
  outline: 2px solid #215f9f;
  outline-offset: 2px;
}
#content :is(.promo h3.featured, .promo h3.sales, .corfix-home-news h2) {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  border: 0;
  padding: 0;
  background: none;
  color: #153a60;
  font: 750 21px/1.25 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

#content :is(.promo h3.featured, .promo h3.sales, .corfix-home-news h2)::before,
#content :is(.promo h3.featured, .promo h3.sales, .corfix-home-news h2)::after {
  flex: 1;
  height: 1px;
  background: #153a60;
  content: "";
}

#content .ShopMainPage:has(+ .corfix-home-news) > div {
  padding: 8px 0 3px !important;
}

#content .ShopMainPage:has(+ .corfix-home-news) font font br {
  display: none;
}

#content .contentPane h1:has(+ .ShopMainPage) {
  border-bottom-color: #5288bf;
}

#content .corfix-home-news {
  margin: 12px 0 16px;
}

#content .corfix-home-news .newGoodsPane {
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: none;
}

#content .corfix-home-news .newGoodsPane > table > tbody > tr:first-child {
  display: none;
}

#content .corfix-home-news .newGoodsPane .corfix-home-news__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

#content .corfix-home-news .NewGoods {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid #d6dfe9;
  border-radius: 8px;
  background: white;
  color: #121a21;
  font: 12px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#content .corfix-home-news--archive .NewGoods:nth-child(n+10) {
  display: none;
}

#content .corfix-home-news .ImageDetailLink {
  display: grid;
  place-items: center;
  min-height: 105px;
}

#content .corfix-home-news .ImageDetailLink img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

#content .corfix-home-news .ImageDetailLink + br {
  display: none;
}

#content .corfix-home-news .corfix-home-news__archive {
  display: table;
  margin: 8px 5px 0 auto;
  color: #215f9f;
  font: 700 12px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qishop-notice #qishop-notice-text {
  white-space: pre-line;
}

.qishop-notice {
  width: min(510px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
}

#root #toppanel {
  position: relative;
  overflow: hidden;
  margin-inline: 22px;
  border-radius: 10px;
  background-image: var(--corfix-banner-image, url("Images/corfix-banner-rotace-1.jpg"));
  background-size: 100% 100%;
}

#root #toppanel::before,
#root #toppanel::after {
  position: absolute;
  bottom: 0;
  height: 2px;
  content: "";
  pointer-events: none;
}

#root #toppanel::before {
  inset-inline: 0;
  height: 6px;
  background: #fff;
}

#root #toppanel::after {
  inset-inline: 0;
  background: #5288bf;
}


#content :is(.promo-stripe, .promo-detail-stripe) {
  padding: 3px 9px;
  border: 1px solid #c3d9f0;
  border-radius: 999px;
  background: #eef5ff;
  color: #153a60;
  box-shadow: none;
  text-shadow: none;
  font: 700 12px/1.3 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#content :is(.promo-stripe, .promo-detail-stripe).sale {
  border-color: #bbdcc9;
  background: #eaf6f0;
  color: #235a42;
}

#content :is(.promo-stripe, .promo-detail-stripe).recommended {
  border-color: #d2dce8;
  background: #f1f4f9;
  color: #344a64;
}

#content .ListItemBox > .promo-stripe {
  position: static;
  display: table;
  float: none;
  margin: 2px 0 4px 3px;
}

#content .promo-stripe::before {
  content: none;
}

#content .ListItemBox:has(> .promo-stripe) .ListItemFirstLine + br {
  display: none;
}

#content {
  background: #fff;
}

#root #content {
  margin-inline: 22px;
  padding-inline: 0;
}

#root #content > table,
#root #content > table > tbody > tr > td > table {
  width: 100%;
  table-layout: fixed;
}

#content > table > tbody > tr > td > table > tbody > tr > td:has(> :is(.searchPane, .UserInfoPane)) {
  width: 188px;
}

#content :is(.searchPane, .categoryTreePane) {
  margin-inline: 0;
}

#root #content :is(.UserInfoPane, .recommendedGoodsPane) {
  margin-inline: auto 0 !important;
}

#root #content #footer {
  width: auto;
  margin-inline: 0;
}

#content .contentPane table:has(> tbody > tr > .DetailItemFirstLine) {
  table-layout: fixed;
}

#content .contentPane table:has(> tbody > tr > .DetailItemFirstLine) td[width="330"] {
  width: 57%;
}

#content .contentPane table:has(> tbody > tr > .DetailItemFirstLine) td[width="260"] {
  width: 43%;
}

#content .contentPane table:has(> tbody > tr > .DetailItemFirstLine) :is(img, textarea, iframe) {
  max-width: 100%;
}

.corfix-sk-description,
.corfix-sk-short-note {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.corfix-sk-short-note {
  margin: 16px 0 0;
}

.corfix-sk-short-note strong {
  display: block;
}

.corfix-sk-original {
  margin-top: 10px;
}

#root .topPane:has(> .corfix-theme-toggle) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#root .topPane > .error:empty {
  display: none;
}

#root .corfix-theme-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--corfix-menu-border);
  border-radius: 7px;
  color: var(--corfix-menu-blue);
  background: var(--corfix-menu-soft);
  font: 700 12px/1.25 var(--corfix-menu-font);
  cursor: pointer;
  white-space: nowrap;
}

#root .corfix-theme-toggle::before {
  content: "☾";
  font-size: 18px;
  line-height: 1;
}

#root .corfix-theme-toggle[aria-pressed="true"]::before {
  content: "☀︎";
}

#root .corfix-theme-toggle:focus-visible {
  outline: 2px solid #5288bf;
  outline-offset: 2px;
}

html[data-corfix-theme="dark"] {
  color-scheme: dark;
  --qi-dark-page: #101822;
  --qi-dark-surface: #182535;
  --qi-dark-raised: #213448;
  --qi-dark-border: #3a536e;
  --qi-dark-text: #e7eff8;
  --qi-dark-link: #a9d2fa;
  background: var(--qi-dark-page);
}

html[data-corfix-theme="dark"] body {
  background: var(--qi-dark-page);
  color: var(--qi-dark-text);
}

html[data-corfix-theme="dark"] #root {
  --corfix-menu-ink: var(--qi-dark-text);
  --corfix-menu-blue: var(--qi-dark-link);
  --corfix-menu-border: var(--qi-dark-border);
  --corfix-menu-soft: var(--qi-dark-raised);
  color: var(--qi-dark-text);
}

html[data-corfix-theme="dark"] #root .topPane {
  background: var(--qi-dark-surface);
}

html[data-corfix-theme="dark"] #root .topPane a:is(.active, :hover) {
  background: var(--qi-dark-raised);
  border-color: var(--qi-dark-border);
  color: var(--qi-dark-link);
}

html[data-corfix-theme="dark"] #root #content {
  background: var(--qi-dark-page);
  border-color: var(--qi-dark-border);
}

html[data-corfix-theme="dark"] #root #content :is(.contentPane, .controlPanel, td[bgcolor="#ffffff" i], td[bgcolor="white" i]) {
  background: var(--qi-dark-page);
}

html[data-corfix-theme="dark"] #root #content :is(.searchPane, .categoryTreePane, .UserInfoPane, .recommendedGoodsPane, .newGoodsPane, .Basket, .ListItemBox, .RecommendedGoods, .NewGoods, .shopitem, .SubHeadBg, .HeadBg) {
  background: var(--qi-dark-surface);
  border-color: var(--qi-dark-border);
  color: var(--qi-dark-text);
}

html[data-corfix-theme="dark"] #root #content .corfix-home-news .newGoodsPane {
  background: transparent;
}

html[data-corfix-theme="dark"] #root #content :is(.Head, .SubHead, .Normal, .NormalBold, .ListItemFirstLine, .PriceList, .PriceDetail, .PriceBasket, .TemplatePrice, .Basket > b, h1, h2, h3, h4) {
  color: var(--qi-dark-text);
}

html[data-corfix-theme="dark"] #root #content a {
  color: var(--qi-dark-link);
}

html[data-corfix-theme="dark"] #root #content :is(.promo h3, .corfix-home-news h2)::before,
html[data-corfix-theme="dark"] #root #content :is(.promo h3, .corfix-home-news h2)::after {
  background: var(--qi-dark-border);
}

html[data-corfix-theme="dark"] #root #content .categoryTreePane .TreeType2-Level1 > li + li,
html[data-corfix-theme="dark"] #root #content .categoryTreePane .TreeType2-Tree :is(.TreeType2-Expand, .TreeType2-Collapse, .TreeType2-NoExpand) {
  border-color: var(--qi-dark-border);
}

html[data-corfix-theme="dark"] #root #content .categoryTreePane .TreeType2-Tree :is(.TreeType2-Expand, .TreeType2-Collapse, .TreeType2-NoExpand),
html[data-corfix-theme="dark"] #root #content .categoryTreePane .TreeType2-Tree a:hover,
html[data-corfix-theme="dark"] #root #content .categoryTreePane .TreeType2-Tree :is(.TreeType2-Selected, .TreeType2-ChildSelected) > a {
  color: var(--qi-dark-link);
  background: var(--qi-dark-raised);
}

html[data-corfix-theme="dark"] #root #content :is(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], select, textarea) {
  color: var(--qi-dark-text);
  background: var(--qi-dark-page);
  border-color: var(--qi-dark-border);
}

html[data-corfix-theme="dark"] #root #content .StandardButton {
  color: #f6f9fc;
  background: #295784;
  border-color: #5288bf;
}

html[data-corfix-theme="dark"] #root #content .ImageDetailLink img {
  border-radius: 5px;
}

html[data-corfix-theme="dark"] #footer {
  color: var(--qi-dark-text);
  background: var(--qi-dark-surface);
  border-color: var(--qi-dark-border);
}

html[data-corfix-theme="dark"] .qishop-notice {
  color: var(--qi-dark-text);
  background: var(--qi-dark-surface);
  border-color: var(--qi-dark-border);
}

html[data-corfix-theme="dark"] .qishop-notice :is(h2, #qishop-notice-text) {
  color: var(--qi-dark-text);
}

html[data-corfix-theme="dark"] .qishop-notice__close {
  color: var(--qi-dark-link);
  background: var(--qi-dark-raised);
  border-color: var(--qi-dark-border);
}

#content .contentPane .corfix-sale-table {
  width: 100%;
  table-layout: fixed;
}

#content #HomePageGoodsSale.corfix-sale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  box-sizing: border-box;
  padding-inline: 8px;
}

#content #HomePageGoodsSale > .corfix-sale-compact {
  box-sizing: border-box;
  width: min(100%, 162px);
  height: auto;
  display: flex;
  min-height: 240px;
  flex-direction: column;
  float: none;
  margin: 0;
  padding: 8px;
  border: 1px solid #d6dfe9;
  border-radius: 8px;
  background: white;
  font: 12px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#content #HomePageGoodsSale .corfix-sale-compact > .promo-stripe {
  align-self: flex-start;
  margin: 0 0 3px;
}

#content .corfix-sale-compact > center {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

#content .corfix-sale-picture {
  display: grid;
  place-items: center;
  height: 76px;
}

#content .corfix-sale-picture img {
  max-width: 100%;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
}

#content .corfix-sale-compact .ListItemFirstLine {
  min-height: 0;
  height: auto;
  margin-top: 0;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#content .corfix-sale-compact .ListItemBoxDetails {
  position: static;
  height: auto;
  margin-top: auto;
}

#content .corfix-sale-compact .ListItemBoxDetails table {
  width: 100%;
  font-size: 11px;
  line-height: 1.3;
}

#content .corfix-sale-compact .ListItemBoxDetails .PriceList {
  font-size: 12px;
}

#content .corfix-sale-compact .ListItemBoxDetails td[align="right"] {
  white-space: nowrap;
}

#content .corfix-sale-compact .ListItemBoxDetails td[width="25px"] {
  display: none;
}

#content .corfix-sale-compact .Quantity {
  margin-top: 4px;
  padding: 0;
}

#content .corfix-sale-compact .Quantity input.QuantityEdit {
  box-sizing: content-box;
  padding: 2px 3px;
}

#root .corfix-light-banner-revell {
  display: none;
}

html:not([data-corfix-theme="dark"]) #root #toppanel:is([data-frame="2"], [data-frame="3"]) .corfix-light-banner-revell {
  position: absolute;
  inset: 13% auto auto 44.7%;
  display: block;
  width: 17.5%;
  height: 69.5%;
  background: #fff var(--corfix-banner-revell) center / contain no-repeat;
  pointer-events: none;
}

html[data-corfix-theme="dark"] #root #toppanel:is([data-frame="2"], [data-frame="3"]) .corfix-dark-banner-products > span:first-of-type i {
  background: var(--corfix-banner-revell) center / contain no-repeat;
}

html:not([data-corfix-theme="dark"]) #root #toppanel[data-frame="3"] .corfix-light-banner-revell,
html[data-corfix-theme="dark"] #root #toppanel[data-frame="3"] .corfix-dark-banner-products > span:first-of-type i {
  background-size: 98% auto;
}

#root .corfix-dark-banner-title {
  display: none;
}

html:not([data-corfix-theme="dark"]) #root .corfix-dark-banner-title {
  position: absolute;
  inset: 50% auto auto 20.4%;
  display: block;
  width: 24%;
  min-height: 70px;
  margin: 0;
  transform: translateY(-50%);
  background: #fff;
  color: #0b3156;
  font: 750 27px/1.17 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  align-content: center;
  pointer-events: none;
}

html[data-corfix-theme="dark"] #root #toppanel {
  background: linear-gradient(107deg, #0e2136, #1a3550);
}

html[data-corfix-theme="dark"] #root #toppanel::before {
  background: transparent;
}

html[data-corfix-theme="dark"] #root #toppanel::after {
  background: #47698c;
}

html[data-corfix-theme="dark"] #root #homelink {
  background: url("Images/corfix-logotyp-dark-white-r20.png") center / contain no-repeat;
}

html[data-corfix-theme="dark"] #root #lng_menu {
  position: relative;
  z-index: 1;
}

html[data-corfix-theme="dark"] #root .corfix-dark-banner-title {
  position: absolute;
  inset: 50% auto auto 194px;
  display: block;
  margin: 0;
  transform: translateY(-50%);
  color: #f1f7ff;
  font: 750 27px/1.17 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#root .corfix-dark-banner-products {
  display: none;
}

html[data-corfix-theme="dark"] #root .corfix-dark-banner-products {
  position: absolute;
  inset: 0 auto auto 414px;
  display: block;
  width: 508px;
  height: 114px;
  pointer-events: none;
}

#root .corfix-dark-banner-products > span {
  position: absolute;
  bottom: 0;
  display: grid;
  justify-items: center;
  color: #e7eff8;
  font: 650 11px/1.15 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#root .corfix-dark-banner-products i {
  display: block;
  width: var(--crop-width);
  height: var(--crop-height);
  margin-bottom: 1px;
  border-radius: 6px;
  background: var(--corfix-banner-image, url("Images/toppanel.jpg")) var(--crop-x) var(--crop-y) no-repeat;
}

#root .corfix-dark-banner-products > span:nth-of-type(1) {
  left: 0;
  --crop-width: 168px;
  --crop-height: 79px;
  --crop-x: -447px;
  --crop-y: -20px;
}

#root .corfix-dark-banner-products > span:nth-of-type(2) {
  left: 175px;
  --crop-width: 147px;
  --crop-height: 85px;
  --crop-x: -622px;
  --crop-y: -14px;
}

#root .corfix-dark-banner-products > span:nth-of-type(3) {
  left: 328px;
  --crop-width: 180px;
  --crop-height: 67px;
  --crop-x: -775px;
  --crop-y: -32px;
}

html[data-corfix-theme="dark"] #root #lng_menu a {
  background: url("Images/toppanel.jpg") -917px -10px no-repeat;
}

html[data-corfix-theme="dark"] #root #lng_menu #lng_sk {
  background-position-x: -946px;
}

#content :is(.ImageDetailLink, a[rel^="lightbox"], .corfix-recommendation-link) img {
  border-radius: 6px;
}

html[data-corfix-theme="dark"] #root #content :is(.ImageDetailLink, a[rel^="lightbox"], .corfix-recommendation-link) img {
  filter: drop-shadow(0 0 4px rgb(255 255 255 / 18%));
}

#content .recommendedGoodsPane .corfix-recommendation-items {
  display: grid;
  gap: 7px;
  width: auto;
  height: auto;
  overflow: visible;
}

#content .recommendedGoodsPane .corfix-recommendation-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 89px auto;
  gap: 7px;
  align-items: center;
  box-sizing: border-box;
  min-height: 146px;
  padding: 8px;
  border: 1px solid var(--qi-dark-border, #d6dfe9);
  border-radius: 8px;
  text-align: center;
  font: 650 12px/1.3 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}

#content .recommendedGoodsPane .corfix-recommendation-link img {
  box-sizing: border-box;
  object-fit: contain;
  width: 100%;
  height: 89px;
  margin: 0;
}

#content .recommendedGoodsPane .corfix-recommendation-link:hover {
  text-decoration: underline;
}


#content .corfix-sale-trigger {
  padding: 2px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

#content .corfix-sale-trigger:hover,
#content .corfix-sale-trigger:focus-visible {
  background: var(--qi-dark-raised, #edf5ff);
}

.corfix-sale-dialog {
  box-sizing: border-box;
  width: min(1000px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--qi-dark-border, #d6dfe9);
  border-radius: 14px;
  background: var(--qi-dark-surface, white);
  color: var(--qi-dark-text, #182a3e);
  font: 14px/1.35 system-ui, sans-serif;
}

.corfix-sale-dialog::backdrop {
  background: rgb(13 32 53 / 55%);
}

.corfix-sale-dialog header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--qi-dark-border, #d6dfe9);
  background: var(--qi-dark-surface, white);
}

.corfix-sale-dialog h2 {
  margin: 0;
  color: inherit;
  font: 700 22px/1.2 system-ui, sans-serif;
  letter-spacing: normal;
}

.corfix-sale-dialog button {
  padding: 6px 10px;
  border: 1px solid var(--qi-dark-border, #c3d9f0);
  border-radius: 6px;
  background: var(--qi-dark-raised, #edf5ff);
  color: var(--qi-dark-link, #153a60);
  font: inherit;
  cursor: pointer;
}

.corfix-sale-dialog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(165px, 100%), 1fr));
  gap: 10px;
  margin: 0;
  padding: 14px 18px 18px;
  list-style: none;
}

.corfix-sale-dialog-grid li {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.corfix-sale-dialog-grid li::before {
  content: none;
}

.corfix-sale-dialog-status {
  margin: 12px 18px 0;
  color: inherit;
}

.corfix-sale-dialog-grid a {
  display: grid;
  justify-items: center;
  gap: 6px;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--qi-dark-border, #d6dfe9);
  border-radius: 8px;
  color: var(--qi-dark-link, #153a60);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.corfix-sale-dialog-grid a:hover,
.corfix-sale-dialog-grid a:focus-visible {
  background: var(--qi-dark-raised, #edf5ff);
  text-decoration: underline;
}

.corfix-sale-dialog-grid img {
  width: 100%;
  height: 112px;
  border-radius: 6px;
  object-fit: contain;
}

.corfix-sale-dialog-grid span {
  color: var(--qi-dark-text, #182a3e);
}

/* Legacy Facebook Like embed uses a fixed light theme. */
html[data-corfix-theme="dark"] #content .contentPane table:has(> tbody > tr > .DetailItemFirstLine)
  > tbody > tr:has(> td > iframe[src^="//www.facebook.com/plugins/like.php?"], > td > iframe[src^="https://www.facebook.com/plugins/like.php?"]) {
  display: none !important;
}
