#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;
}
#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 .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+7) {
  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;
}

#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: 22px;
  background: #5288bf;
}

