/***************/
/* document layout */
/***************/

@import url("/styles/document-look.css");

/***************/
/* main layout */
/***************/

:root {
  --doc-background: white;
}

body#web, html#web {
  padding: 0;
}
body {
  max-width: 1160px;
  margin: 0 auto;
  background: #eeeeee;
  
}

body#shop-internal {
  max-width: 5000px;
}

* {
  font-family: Verdana, Arial, Helvetica;
  font-size: 11pt;
}

table.content-caption th.heading *,
table.category-caption th.heading,
table.article-caption th.heading {
  font-family: Verdana, Tahoma, Arial, Helvetica;
  font-family: Verdana, Tahoma, Arial, Helvetica;
  font-size: 16px;
}

.heading-title {
  font-family: Verdana, Tahoma, Arial, Helvetica;
  font-size: 28px;
  font-weight: 700;
  color: #125e8b;
  margin-top: 4px;
  padding-top: 4px;
  margin-bottom: 0px;
  padding-bottom: 4px;
  padding-left: 4px;
}

.content-annotation,
.content-annotation-example,
.category-annotation, .category-annotation td,
.article-annotation, .article-annotation td {
  font-family: Verdana, Tahoma, Arial, Helvetica;
  font-size: 10pt;
}
.content-annotation,
.content-annotation-example,
.content-annotation a,
.content-annotation a:visited,
.content-annotation a:hover,
.content-annotation a:link,
.content-annotation td,
.content-annotation td.content-annotation { /* this line is for shop */
  font-family: Verdana, Tahoma, Arial, Helvetica;
  font-size: 11pt;
  color: black;
}

.content-annotation a,
.content-annotation a:visited,
.content-annotation a:hover,
.content-annotation a:link {
  text-decoration: underline;
  color: black;
}

.content-annotation a.a-annotation,
.content-annotation a.a-annotation:visited,
.content-annotation a.a-annotation:hover,
.content-annotation a.a-annotation:link {
  text-decoration: none;
  color: black;
}

.content-annotation a.a-annotation:hover,
.content-annotation a:hover {
  color:#003e6b;
}

.content-annotation td.content-annotation {
  vertical-align: middle;
}
th.heading-nav {
  font-weight: normal;
  font-size: 90%;
  text-align: right;
  padding-right: 2;
}
th.heading-nav-bottom {
  font-weight: normal;
  font-size: 90%;
  text-align: center;
  padding-right: 2;
}

th {
  text-align: left;
}

tr.stat-row td,
tr.stat-row-inner td {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: black;
}

tr.stat-row-inner td {
    border-bottom-color: darkgray;
}

tr.stat-row-inner td[rowspan="2"] {
    border-bottom-color: black;
}

tr.stat-row-inner td:first-child {
    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: black;
}

tr.stat-row td:last-child,
tr.stat-row-inner td:last-child {
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: black;
}

tr.stat-row:first-child td {
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: black;
}

tr.stat-row:first-child td:first-child {
    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: black;
}

/***************/
/* main tables */
/***************/

/* top bar */

table.bar-top,
table.bar-top-mii-409,
table.bar-top-mii-405,
table.bar-top-gxccd-409,
table.bar-top-gxccd-405 {
  background-color: #eeeeee;
  background-image: url(/image?id=2);
  background-repeat: no-repeat;
  border-bottom: 1px solid darkgray;
  height: 68px;
}

table.bar-top-mii-405 {
  background-image: url(/mii_title_menuup_1.png);
}

table.bar-top-mii-409 {
  background-image: url(/mii_title_menuup_1.png);
}

table.bar-top-gxccd-405 {
  background-image: url(/image?id=2550);
}

table.bar-top-gxccd-409 {
  background-image: url(/image?id=2551);
}

table.bar-top a,
a.bar-top {
  text-decoration: none;
}

table.bar-top-ccd {
  background-color: #C6D3DE;
}

div.baner,
div.baner-mii,
div.baner-gxccd-409,
div.baner-gxccd-405 {
    position: sticky;
    z-index: 100;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #eeeeee;
    background-repeat: no-repeat;
    border-bottom: 1px solid #ccc;
}

div.baner-gxccd-409,
div.baner-gxccd-405 {
    height: 100px;
    background-image: url(/img/baner_new6.png);
    background-color: white;
}

div.baner-mii {
    height: 80px;
    background-image: url(/img/mii_title_menuup_1.png);
    background-color: rgb(237,237,239);
    background-position: left center;
}

/* Home link covers the masthead; interactive navigation stays above it. */
div.baner-mii > a.baner-home {
    position: absolute;
    inset: 0;
    z-index: 0;
}

div.baner-mii > .baner-logo {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

div.baner-mii > .baner-menu {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

div.baner-mii > .baner-menu :is(a, input, button, select, textarea, [role="button"], .baner-menu-bottom-item-p, .menu-top-popup) {
    pointer-events: auto;
}

div.baner-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div.baner-menu {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

div.baner-menu-top {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

div.baner-menu-bottom {
    display: flex;
    flex-direction: row;
    row-gap: 20px;
}

div.baner-menu-top div{
    padding: 3px 10px 2px 10px;
}

div.baner-menu-top div:last-child a{
    padding: 0px 5px 0px 5px;
}

div.baner-menu-top div:last-child a:last-child{
    border-left: 2px solid black;
}

div.baner-menu-bottom div.baner-menu-bottom-item,
div.baner-menu-bottom div.baner-menu-bottom-item-p {
    padding: 2px 10px 8px 10px;
}

div.baner-menu-bottom div.baner-menu-bottom-item a {
    padding: 2px 10px 8px 10px;
}

div.baner-menu-top div a:link,
div.baner-menu-top div a:visited,
div.baner-menu-top div a:hover,

div.baner-menu-bottom div a:link,
div.baner-menu-bottom div a:visited,
div.baner-menu-bottom div a:hover {
   text-decoration: none;
   font-family: Open Sans, sans-serif;
   font-size: 16px;
   font-weight: 600;
   color: black;
 }

div.baner-menu-top div a:hover,
div.baner-menu-bottom div.baner-menu-bottom-item a:hover {
   color: darkblue;
   border-bottom: 1px solid darkblue;
 }

div .lng-change-top {
    padding: 0px 10px 2px 10px;
    gap: 5px;
}

div.lng-change-top a:link,
div.lng-change-top a:visited,
div.lng-change-top a:hover {
    text-decoration: none;
}

baner-menu-bottom-item-p {
    position: relative;
    display: inline-block;
}

div.menu-top-popup {
    /*display: none; */
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.4s ease, visibility 0.4s ease;

    position: absolute;
    background-color: white;
    padding: 10px 10px 10px 1px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.baner-menu-bottom-item-p:hover .menu-top-popup {
    /*display: block; */
    opacity: 1;
    visibility: visible;
}


div.menu-top-popup a {
    display: block;
    border-left: 5px solid white;
    padding: 7px 18px 7px 20px;
}

div.baner-menu-bottom-item-p div.menu-top-popup a:hover {
    border-left: 5px solid lightblue;
}

div.content {
}


/* menu bar */

table.bar-menu {
  background: #eeeeee;
  border-top: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
  text-align: center;
  padding: 4px;
  table-layout: fixed;
}

table.bar-menu a {
  text-decoration: none;
  font-family: Verdana, Arial, Helvetica;
  font-size: 15px;
  font-weight: bold;
}

/* middle bar */

table.bar-middle {
  background: #ffffff;
}
table.bar-middle td.bar-middle-left {
  background: #eeeeee;
  vertical-align: top;
}

table.bar-middle td.bar-middle-right {
  background: var(--doc-background);
  /* border-left: 1px solid darkgray; */
  border-bottom: 1px solid darkgray;
  vertical-align: top;
}

table.middle-menu-caption:first-child {
  border-top: none;
  padding-top: 0px;
}

table.middle-menu-caption {
    background-color: #eeeeee;
    border-top: 1px solid darkgray;
    margin: 10px;
    margin-bottom: 0;
    padding-top: 10px;
}
table.middle-menu-caption th {
  height: 20px;
}
table.middle-menu-caption th.heading {
  color: black;
  padding: 3px;
  font-size: 11pt;
}

table.middle-menu {
  background: #eeeeee;
  margin: 0px 4px 10px 0px;
}
table.middle-menu th {
  padding-left: 5;
  padding-top: 5;
}
table.middle-menu a {
  text-decoration: none;
}
table.middle-menu a:link {
  color: #1570a6;
}
table.middle-menu a:visited {
  color: #1570a6;
}
table.middle-menu a:hover {
  color: #083047;
}
table.middle-menu td.href-text {
  padding-left: 0.8em;
}
table.middle-menu td.href-image {
  text-align: left;
}
table.middle-menu a {
  font-size: 11pt;
}

table.middle-data {
  margin-bottom: 10pt;
}
table.middle-data th.content-shadow {
  vertical-align: top;
  background: #ffffff repeat-x;
}

/* bottom bar */

table.bar-bottom {
  text-align: center;
  font-family: Tahoma, Verdana, Arial, Helvetica;
}
table.bar-bottom td {
}
table.bar-bottom a:link {
  color: #1570a6;
  font-size: 80%;
}
table.bar-bottom a:visited {
  color: #1570a6;
  font-size: 80%;
}
table.bar-bottom a:hover {
  color: #083047;
  font-size: 80%;
}

/*************************/
/* common specifications */
/*************************/

a, img {
  border: 0;
}
a:link {
  color: #1570a6;
}
a:visited {
  color: #1570a6;
}
a:hover {
  color: #083047;
}

th.heading {
  color: black;
  padding: 3px;
}
th.heading a:link,
th.heading a:visited,
th.heading a:hover {
  text-decoration: none;
}
th.heading-image {
  vertical-align: top;
}

td.facebook-text {
	padding: 10px;
}

td.facebook-text a:visited,
td.facebook-text a:hover,
td.facebook-text a:link{
	color : #1570a6;
}
/***********************************/
/* special dynamic data formatting */
/***********************************/

td.content-container {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  color: black;
  background: var(--doc-background);
}

td.content-container h1 {
  padding: 3px;
  padding-bottom: 5;
  color: #125e8b;
}

/**********/
/**********/
p.content-path, 
p.content-path td 
{
  font-size: 90%;
  background: #ffffff;
  color: black;
}
p.content-path 
{
  margin: 0;
  margin-bottom: 10;
  padding: 2;
  padding-left: 5;
  height: 20;
  vertical-align: bottom;
}

p.content-path2 {
  font-size: 80%;
  font-weight: 400;  
}
p.content-path2 a {
  text-decoration-line:none;
  font-size: 10pt;
}

p.content-path a {
  font-size: 100%;
}
p.content-path a:link {
  color: #1570a6;
}
p.content-path a:visited {
  color: #1570a6;
}
p.content-path a:hover {
  color: #083047;
}

/**********/
/**********/
table.content-caption {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #cccccc;
}

table.content-caption th {
  height: 24px;
}
th.caption-image {
  text-align: center;
  vertical-align: middle;
}
th.content-date {
  font-weight: normal;
  font-size: 8pt;
  text-align: right;
  padding-right: 2px;
  color: darkgray;
}
span.content-date {
  font-weight: normal;
  font-size: 100%;
  text-align: right;
  color: darkgray;
  padding-right: 2;
}
/**********/
div.content-annotation {
  border: none;
  padding: 5px;
}
.content-annotation-example {
  padding-bottom:10px;
  padding-top:10px;
}
.content-annotation-example-title {
  padding-bottom: 15px;
  padding-top: 15px;
  font-weight: bold;
  font-size: 120%;
}

/**********/
/**********/
table.category-caption th {
  border-bottom: 1px solid #dddddd;
  color: black;
  height: 28px;
}
table.category-caption th.caption-image {
  padding-left: 4;
  text-align: center;
  vertical-align: middle;
}
/**********/
div.category-annotation {
  border: thin solid #125e8b;
  border-top: none;
  padding: 5px;
}

div.category-annotation2 {
  border: none;
  padding: 5px;
}

td.category-annotation {
  color: #1570a6;
}
/**********/
table.category-body {
  border-top: 1px solid #eeeeee;
  border-bottom: thick solid #003366;
}
table.category-body td.category-body {
  padding: 7; /* 5 + width( thin ) */
  padding-bottom: 15;
  color: black;
}

table.category-body td.category-body pre,
table.category-body td.category-body div.remark,
table.category-body td.category-body div.warning
 {
  color: Black;
 }

/**********/
/**********/
table.article-caption th {
  background: white;
  border-bottom: 1px solid #eeeeee;
  height: 24px;
}
/**********/
div.article-annotation {
  border: thin solid #1570a6;
  border-top: none;
  color: #003366;
  background: #eeeeee;
  padding: 5;
}

div.article-annotation2 {
    border: none;
    color: #003366;
    background: white;
    border-bottom: 1px solid #eeeeee;
    padding: 5;
}

/**********/
table.article-body {
  border-bottom: thin solid #ffffff;
  color: Black;
  font-family: tahoma,arial,helvetica;
}
table.article-body td.article-body {
  padding: 7; /* 5 + width( thin ) */
  padding-bottom: 15;
}

div.search-title-text {
  font-size: 22px;  
  font-family: tahoma,arial,helvetica;
  color: white;
  font-weight: 900;
  padding-top: 12px;
  padding-bottom: 7px;
}

table.web-search {
  margin: 2px;
  border-top: 1px solid darkgray;
  
}

table.web-search tr td {
  padding: 2px;
  align-content:center;
}


div.title-status-box {
    display: inline-block;
    background-color: white;
    border: 1px solid #003366;
    border-radius: 3px;
    width: 5px;
    height: 5px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-left: 4px;
    margin-right: 4px;
    color: silver;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

/*************************/
/* pricelist formatting    */
/*************************/

table.table-products th,
table.table-products td {
  padding: 5;
}
table.table-products {
  border-bottom: thin solid #FFCC66;
}

table.table-products th {
  background: #FFCC66;
}

table.table-products tr.odd td,
table.table-products tr.descr-odd td {
  background: white;
}

table.table-products tr.even td,
table.table-products tr.descr-even td {
  background: #FFCC66;
}

table.table-products tr.descr-odd td,
table.table-products tr.descr-even td {
  color: dimgray;
  padding-top: 0;
}

/*************************/
/* shoop formatting      */
/*************************/

table.table-shop th,
table.table-shop td {
  padding: 5px;
}
table.table-shop {
  border-bottom: thin solid #CDDCFB;
}

table.table-shop th {
  font-size: 10pt;
}

table.table-shop tr.first > td {
  border-top: 1px solid darkgray;
}

table.table-shop tr td option,
table.table-shop tr td select,
table.table-shop tr td form,
table.table-shop tr td span,
table.table-shop tr td {
  color: black;
  background: white;
  font-size: 10pt;
}

table.table-shop tr td a {
  text-decoration: none;
}

table.table-shop tr.internal td, 
table.table-shop tr.even td.internal,
table.table-shop tr.odd td.internal {
  color: black;
  background: #D9EAD3;
}

table.category-caption th div.shop-category-title {
  padding-top:10px;
  font-size: 10pt;
}

table.table-shop div.comment-small {
    font-size: 10pt;
}

table.table-shop tr.dph-line td {
  font-size: 9px;
}

table.table-shop tr.dph-line-price td {
  font-size: 9px;
  text-align: right;
}

table.table-shop tr.descr-odd td,
table.table-shop tr.descr-even td {
  color: dimgray;
  padding-top: 0;
}

input.cart-count {
  height: 24px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  font-family: tahoma,arial,helvetica;
  font-size: 12px;
}

input.search-text {
  color: #083047;
  border: 1px solid darkgray;
  font-family: tahoma,arial,helvetica;
  font-size: 14px;
  background: #f6f6f6;
  height: 22px;
  margin-bottom: 4px;
}

input.search-submit-button {
  border: 1px solid#083047;
  border-radius: 3px;
  color: #083047;
  font-family: tahoma,arial,helvetica;
  font-size: 12px;
  background: #ffffff;
  margin-left: 5px;
  height: 25px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  top: -1px;
}

table.middle-menu td.href-text-search {
  padding-left: 0.5em;
}


tr.even input.cart-count {
  background: white;
}

tr.odd input.cart-count {
  background: white;  
}

input.put-cart {
  background: #ffffff;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  font-family: verdana,tahoma,arial,helvetica;
  font-size: 9pt;
  height: 26px;
  cursor: pointer;
  border-radius: 3px;
  background: #CFE8FC;
}

button.put-cart {
  background: #ffffff;
  border-style: solid;
  border-width: 1px;
  font-family: tahoma,arial,helvetica;
  font-size: 10px;
  height: 18px;
  cursor: pointer;
}

td.cart-info,
td.cart-info a,
td.cart-info span{
  color: #125e8b;  
  font-size: 11px;
}

table.table-shop td.descr-odd,
table.table-shop td.descr-even {
  color: dimgray;
  padding-top: 0;
}

table.shop-list {
  padding: 5px;
}
table.shop-list td {
  color: black;
}

table.shop-register td{
  background: #eeeeee;
}

select.register,
select.register-error,
input.register,
input.register-error,
input.register-button {
    border-style: solid;
    border-width: 1px;
    font-family: tahoma,arial,helvetica;
    font-size: 12px;
    background: #ffffff;
    padding: 3px;
    width: 200px;
}

input.register-button {
    width: 140px;
    height: 40px;
    vertical-align: middle;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 3px;
    font-size: 14px;
    padding: 8px;
    background: #CFE8FC;
    cursor: pointer;
}

select.register,
input.register {
  border-color: black;
}

select.register-error,
input.register-error {
    border-color: red;
    border-width: 2px;
}

table.shop-register tr td {
  color: black;
}

table.shop-register tr.register-text td {
  color: black;
  padding: 5px;
}

table.shop-bar-menu a {
  text-decoration: none;
  font-family: Verdana, Arial, Helvetica;
  font-size: 15px;

  color: black;
}
table.shop-bar-menu {
  background: #eeeeee;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

table.shop-bar-menu2 {
  background: #125e8b; 
}

table.shop-bar-menu-mobile {
    background: #1570A6;
}

a:link.shop-bar-menu,
a:visited.shop-bar-menu,
a:hover.shop-bar-menu {
  font-family: verdana,arial,helvetica;
  font-size: 15px;
  color: #1570a6;
  text-decoration: none;
  font-weight: bold;
}

a:hover.shop-bar-menu {
  color: black;
}

.shop-register-error {
  font-family: tahoma,arial,helvetica;
  font-size: 12pt;
  color: red;
  font-weight: 900;
}

span.shop-register-error {
  padding-left:10px;
}

table.shop-login tr td {
  align: center;
}

th.price,
th.count {
  text-align: right;
}

img.title-page {
}

a:hover.shop-titlepage,
a:visited.shop-titlepage,
a:link.shop-titlepage {
  text-decoration: none;
}

table.shop-bar-menu2 tr td {
  font-family: tahoma,arial,helvetica;
  font-size: 12px;
  color: white;
}

input.upgrade-lic{
  border-style: solid;
  border-width: 1px;
  border-color: black;
  margin-top: 5px;
  font-family: tahoma,arial,helvetica;
  font-size: 12px;
}

tr.even input.upgrade-lic,
tr.odd input.upgrade-lic {
  background: #EFEFEF;  
}

textarea.order-note {
  border-style: solid;
  border-width: 1px;
  border-color: black;
  background: white;
  font-family: tahoma,arial,helvetica;
  font-size: 12px;
}

p.shop-product-title {
  font-family: tahoma,arial,helvetica;
  font-size: 20px;
  color: #125e8b;
}

table.shop_title_price-list {
  margin: 10px;
}
table.shop_title_price-list td {
  color: black;
}

table.shop_title_price-list input.put-cart {
  background: #ffffff;  
  width: 120px;
}

table.shop_title_price-list td.shop-title-price {
  font-size: 9px;
}

a.show-next-key-lic {
  font-size: 9px;
}

div.shop-title-text {
  font-size: 22px;  
  font-family: tahoma,arial,helvetica;
  color: #125e8b;
  font-weight: 900;
  padding-top: 12px;
  padding-bottom: 7px;
}

div.shop-title-text-paragraph {
  font-size: 11pt;
  font-family: verdana,arial,helvetica;
  color: black;
  padding-top: 2px;
  padding-bottom: 6px;
}

div.shop-free-on-key-line {
  padding-left: 6px;
  padding-top: 2px;
  padding-bottom: 6px;
}
div.shop-free-on-key-line span.shop-free-on-key-number {
  border-color: gray;
  border-style: solid;
  border-width: 1px;
  text-align: right;
  width: 50px;
  padding: 2px;
}

tr td.shop-order-product-descr {
  font-size: 10px;  
}

span.left-bar-back-text {
  padding-left: 10px;
}

span.left-bar-back-text a {
  color: #125e8b;
}

span.left-bar-back-text a:visited {
  color: #125e8b;
}

span.left-bar-back-text a:hover {
  color: #083047;
}

td.product-option {
  /* font-size: 10px;   */
}

table.table-shop td a:hover {
  color: #083047; 
}


a:link.shop-big-button,
a:visited.shop-big-button{
  color: black;
}

a:hover.shop-big-button {
  color: blue;
}

a:link.shop-big-button,
a:visited.shop-big-button,
a:hover.shop-big-button {
  text-decoration: none;
  /*
  border-style: solid;
  border-width: 1px;
  border-color: black;
  */
}


div.shop-big-button-en,
div.shop-big-button-en-len{
    width: 145px;
    height: 20px;
    vertical-align: middle;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 3px;
    font-size: 14px;
    padding: 8px;
    background: #CFE8FC;
    text-align:center;
}

div.shop-big-button-en-len {
    width: 200px;
}

div.float-menu {
    margin: 1px;
    border-color: black;
    border-style: solid;
    border-width: 1px;
    background-color: #eeeeee;
}

div.shop-bar-menu-title {
    font-size: 12pt;
    font-weight: bold;
    color: white;
}

div.service-address {
    border-style: solid;
    border-width: 1px;
    border-color: lightgray;
    background-color: lightblue;
    margin-left: 30px;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 5px;
    width: 160px;
}

div.shop-warning {
  font-size: 11pt;
  font-weight: bold;
}





/* Desktop refresh, 2026-11-12.
   Kept in default.css only; mobile, print and editor styles stay separate.
   This stylesheet is used exclusively by the Moravske pristroje website. */
@media screen {
  :root {
    --site-font: "Segoe UI", Arial, sans-serif;
    --site-ink: #243447;
    --site-heading: #123b56;
    --site-accent: #087394;
    --site-muted: #607184;
    --site-line: #dfe7ee;
    --site-soft: #f4f7fa;
  }

  body#web {
    max-width: 1160px;
    background: var(--site-soft);
    color: var(--site-ink);
    font-family: var(--site-font);
    font-size: 16px;
    line-height: 1.6;
  }

  /* The slogan has its own font, shared by web and shop. */
  body#web :where(:not(.baner-logo)) {
    font-family: var(--site-font);
  }

  /* The new masthead artwork includes the logo and spans the whole header. */
  div.baner-mii {
    box-sizing: border-box;
    height: 97px;
    padding: 7px 24px;
    align-items: center;
    gap: 12px;
    background: #f5f8fb url("/img/mii_title_menuup_1.png") left center / auto 97px no-repeat;
    border-bottom: 1px solid var(--site-line);
    box-shadow: 0 4px 20px rgb(18 59 86 / 5%);
  }

  div.baner-mii .baner-logo {
    flex: 0 0 520px;
    box-sizing: border-box;
    height: 80px;
    padding-left: 112px;
    padding-top: 0px;
    background: none;
    font-family: "Bahnschrift", "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.035em;
    color: var(--site-heading);
    white-space: nowrap;
    text-shadow: 0 1px 0 rgb(255 255 255 / 65%);
  }

  div.baner-mii .baner-menu a:is(:link, :visited, :hover) {
    font-family: var(--site-font);
  }

  div.baner-mii .baner-menu {
    align-self: stretch;
    justify-content: space-between;
    padding: 2px 0;
    margin-block: -3px;
  }

  div.baner-mii .baner-menu-top {
    align-items: center;
    gap: 6px;
    min-height: 24px;
  }

  div.baner-mii .baner-menu-top > div {
    padding: 0 6px;
    position: relative;
    display: flex;
    align-items: center;
  }

  div.baner-mii .baner-search-icon {
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 16px;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
  }

  div.baner-mii .baner-search-icon:hover {
    background: #eaf3f8;
  }

  div.baner-mii .baner-search-icon:focus-visible {
    background: #eaf3f8;
    outline: 2px solid var(--site-accent);
    outline-offset: 2px;
  }

  div.baner-mii .baner-menu-top-search {
    display: none;
    position: static;
    flex: 0 0 160px;
    box-sizing: border-box;
    width: 160px;
    margin-left: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  div.baner-mii .baner-menu-top-search.is-open {
    display: block;
  }

  div.baner-mii .baner-menu-top-search input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 2px 6px;
    border: 1px solid var(--site-line);
    border-radius: 0;
    background: #fff;
    color: var(--site-ink);
    font-family: var(--site-font);
    font-size: 13px;
    line-height: 18px;
    box-shadow: none;
  }

  div.baner-mii .baner-menu-top-search input:focus,
  body#web div.baner-mii .baner-menu-top-search input:focus-visible {
    border-color: var(--site-accent);
    outline: none;
    box-shadow: none;
  }

  div.baner-mii .baner-menu-top a:is(:link, :visited, :hover) {
    font-size: 15px;
    font-weight: 500;
    color: var(--site-muted);
    border-bottom: 0;
  }

  div.baner-mii .baner-menu-top > div:first-child > a {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 6px;
    background: #eaf3f8;
    color: var(--site-heading);
    font-weight: 600;
  }

  div.baner-mii .baner-menu-top > div:last-child a:last-child {
    border-left: 1px solid var(--site-line);
  }

  div.baner-mii .baner-menu-bottom {
    gap: 2px;
    align-items: flex-end;
    justify-content: flex-end;
    line-height: 1.6;
  }

  div.baner-mii .baner-menu-bottom > div {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    font-family: var(--site-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--site-heading);
  }

  div.baner-mii .baner-menu-bottom > div > a {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
    border: 0;
    color: var(--site-heading);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
  }

  /* Also style a dropdown label supplied as plain text instead of a link. */
  div.baner-mii .baner-menu-bottom > div:not(:has(> a)) {
    padding: 9px 12px;
    border-radius: 6px;
    cursor: pointer;
  }

  div.baner-mii .baner-menu-bottom > div:not(:has(> a)):hover {
    background: #eaf3f8;
    color: var(--site-accent);
  }


  /* Keep adjacent links, such as the basket icon and total, on one row. */
  div.baner-mii .baner-menu-bottom > div > a + a {
    padding-left: 0;
  }

  div.baner-mii .baner-menu-bottom > div > a > img {
    display: block;
  }

  div.baner-mii #scsid {
    font: inherit;
    color: inherit;
    white-space: nowrap;
  }

  div.baner-mii .baner-menu-bottom > div > a:hover,
  div.baner-mii .baner-menu-top a:hover {
    color: var(--site-accent);
    background: #eaf3f8;
    border-bottom: 0;
  }

  div.baner-mii .menu-top-popup {
    top: 100%;
    left: 0;
    right: auto;
    transform: translateX(var(--popup-shift, 0px));
    min-width: min(240px, var(--popup-available-width, calc(100vw - 24px)));
    width: max-content;
    max-width: min(390px, var(--popup-available-width, calc(100vw - 24px)));
    overflow-wrap: anywhere;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgb(18 59 86 / 12%);
    transition: opacity 150ms ease, visibility 150ms ease;
  }


  /* A leading div is a non-interactive account heading, not a menu link. */
  div.baner-mii .menu-top-popup > div:first-child {
    margin: -8px -8px 8px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--site-line);
    border-radius: 7px 7px 0 0;
    background: var(--site-soft);
    color: var(--site-heading);
    font-family: var(--site-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
    cursor: default;
  }

  div.baner-mii .menu-top-popup a,
  div.baner-mii .menu-top-popup a:is(:link, :visited, :hover) {
    font-family: var(--site-font);
    padding: 10px 14px 10px 9px;
    border: 0;
    border-left: 5px solid transparent;
    border-radius: 5px;
    color: var(--site-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
  }

  div.baner-mii div.menu-top-popup a:is(:hover, :focus-visible) {
    border-left-color: lightblue;
    background: var(--site-soft);
    color: var(--site-accent);
  }

  div.baner-mii .baner-menu-bottom-item-p:focus-within .menu-top-popup {
    opacity: 1;
    visibility: visible;
  }

  /* Keep restored menus closed until the next deliberate user interaction. */
  div.baner-mii .baner-menu-bottom-item-p.menu-return-closed .menu-top-popup {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
  }

  div.baner-mii a:focus-visible,
  body#web a:focus-visible,
  body#web :is(button, input, select, textarea):focus-visible {
    outline: 3px solid var(--site-accent);
    outline-offset: 3px;
    border-radius: 3px;
  }

  /* Content spacing and typography; retain the existing table markup. */
  body#web .content {
    background: #fff;
  }

  body#web td.content-container {
    padding: 32px 40px 24px;
    color: var(--site-ink);
  }

  body#web a {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }

  body#web .content a:is(:link, :visited) {
    color: var(--site-accent);
  }

  body#web .content a:hover {
    color: var(--site-heading);
  }

  body#web :is(.article-body, .category-body, .content-annotation, .category-annotation, .category-annotation2, .article-annotation, .article-annotation2),
  body#web :is(.article-body, .category-body, .content-annotation, .category-annotation, .category-annotation2, .article-annotation, .article-annotation2) :is(p, td, li, a, span) {
    font-size: 16px;
    line-height: 1.65;
    color: var(--site-ink);
  }

  body#web :is(.article-body, .category-body) :is(b, i, em) {
    font-size: inherit;
  }

  body#web .heading-title {
    padding: 12px 0 16px;
    margin: 0;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 650;
    letter-spacing: -0.025em;
    color: var(--site-heading);
  }

  /* Annotation classes are also reused on nested tables and cells.
     Apply the separator and spacing once, on the outer container only. */
  body#web div:is(.article-annotation2, .article-annotation) {
    padding: 0 0 24px;
    margin-bottom: 12px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--site-line);
    font-size: 19px;
    line-height: 1.5;
    color: var(--site-muted);
  }

  body#web :is(td.article-body, td.category-body) {
    padding: 8px 0 24px;
  }

  body#web :is(td.article-body, td.category-body) > p {
    max-width: none;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  body#web :is(.article-body, .category-body) :is(h1, h2, h3, h4, h5, h6) {
    color: var(--site-heading);
    line-height: 1.3;
    font-weight: 650;
    margin: 40px 0 16px;
    scroll-margin-top: 125px;
  }

  body#web :is(.article-body, .category-body) h2 { font-size: 28px; }
  body#web :is(.article-body, .category-body) h3 { font-size: 23px; }
  body#web :is(.article-body, .category-body) :is(h1, h2, h3, h4, h5, h6) :is(a, b, em) { font-size: inherit; }

  body#web :is(.article-body, .category-body) a[name] {
    scroll-margin-top: 125px;
  }

  body#web :is(.article-body, .category-body) :is(ul, ol) {
    margin: 16px 0 20px;
    padding-left: 24px;
  }

  /* Keep program listings and identifiers monospaced. */
  body#web :is(pre, code, tt, kbd, samp),
  body#web :is(pre, code, tt, kbd, samp) * {
    font-family: Consolas, "Courier New", monospace;
  }

  body#web pre {
    padding: 20px 24px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-soft);
    overflow-x: auto;
  }

  /* Existing product feature tables, identified by their section links. */
  body#web td.article-body > table:has(a[href="#ide"]) {
    width: 100%;
    border-collapse: separate;
    border-spacing: 16px 0;
    margin: 24px 0;
  }

  body#web td.article-body > table:has(a[href="#ide"]) > tbody > tr > td {
    width: 50%;
    vertical-align: top;
    padding: 16px 12px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: var(--site-soft);
  }

  body#web td.article-body > table:has(a[href="#ide"]) table {
    margin: 0;
  }

  body#web td.article-body > table:has(a[href="#ide"]) table td {
    padding: 10px 8px;
    vertical-align: middle;
  }

  /* The old empty spacer tables become simple, full-width separators. */
  body#web td.article-body > table:has(> tbody > tr > td:is(.frame-t, .frame-b):only-child) {
    width: 100%;
    margin: 24px 0;
  }

  body#web td.article-body > table > tbody > tr > td:is(.frame-t, .frame-b):only-child {
    height: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    border-color: var(--site-line);
  }

  /* News remain complete, in their original order. */
  body#web table.content-caption {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--site-line);
  }

  body#web table.content-caption th.heading {
    padding: 0 24px 8px 0;
    vertical-align: top;
  }

  body#web table.content-caption th.heading,
  body#web table.content-caption th.heading * {
    font-size: 23px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--site-heading);
  }

  body#web th.content-date,
  body#web span.content-date {
    font-size: 13px;
    color: var(--site-muted);
    white-space: nowrap;
    vertical-align: top;
    padding-top: 6px;
  }

  body#web div.content-annotation {
    padding: 4px 0 8px;
  }

  body#web td.content-annotation {
    padding-left: 12px;
  }

  body#web a.a-annotation:is(:link, :visited) {
    color: var(--site-ink);
    text-decoration: none;
  }

  body#web a.a-annotation:hover {
    color: var(--site-accent);
  }


  /* The first news entry follows the image without an extra divider. */
  body#web .content:has(> .featured-slideshow) td.content-container {
    padding-top: 24px;
  }

  body#web .content:has(> .featured-slideshow) td.content-container > table.content-caption:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  /* Featured images flush with the banner, with caption and navigation overlays. */
  body#web .content:has(> .featured-slideshow) { padding-top: 0; }
  body#web .featured-slideshow { position: relative; width: 100%; }
  body#web .featured-slideshow table { width: 100%; table-layout: fixed; border-spacing: 0; padding: 0; border: 0; background: transparent; }
  body#web .featured-slideshow td { padding: 0; }
  body#web div:has(> #TitleBaner0) { display: grid; width: 100% !important; height: auto !important; }
  body#web [id^="TitleBaner"] { position: relative !important; grid-area: 1 / 1; width: 100% !important; height: auto; min-width: 0; top: 0; }
  body#web [id^="TitleBaner"] .category-annotation2 { padding: 0; }
  body#web [id^="TitleBaner"] .featured-slide-content { position: relative; display: block; line-height: 1.5; }
  body#web [id^="TitleBaner"] .featured-slide-content::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; max-height: 35%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.48)); pointer-events: none; }
  body#web [id^="TitleBaner"] .featured-image { display: block; margin: 0; }
  body#web [id^="TitleBaner"] .featured-image img,
  body#web [id^="TitleBaner"] img.featured-image { display: block; margin: 0; width: 100%; max-width: 100%; height: auto; max-height: none; aspect-ratio: 7 / 4; object-fit: cover; object-position: center; }
  body#web [id^="TitleBaner"] .featured-caption { position: absolute; z-index: 1; left: 32px; bottom: 24px; width: calc(100% - 420px); text-align: left; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
  body#web [id^="TitleBaner"] .featured-caption,
  body#web [id^="TitleBaner"] .featured-caption * { color: #fff; font-size: 14px; line-height: 1.5; }
  body#web [id^="TitleBaner"] .featured-caption p { margin: 3px 0; }
  body#web [id^="TitleBaner"] .featured-caption a:is(:link, :visited) { color: #fff; text-decoration: underline; }
  body#web [id^="TitleBaner"] .featured-caption a:hover { color: #d6edff; }
  /* Camera markup is optional; presentation belongs to this stylesheet. */
  body#web [id^="TitleBaner"] .featured-caption { display: flex; align-items: center; gap: 16px; }
  body#web [id^="TitleBaner"] .featured-caption-text { min-width: 0; }
  body#web [id^="TitleBaner"] .featured-camera { display: block; flex: 0 0 88px; line-height: 0; }
  body#web [id^="TitleBaner"] .featured-camera img,
  body#web [id^="TitleBaner"] img.featured-camera { display: block; width: 88px; height: 66px; max-width: none; max-height: none; aspect-ratio: auto; object-fit: contain; border-radius: 4px; }
  body#web .featured-controls { position: absolute; z-index: 3; right: 32px; bottom: 28px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; max-width: 340px; }
  body#web .featured-controls .title-status-box { flex: 0 0 auto; width: 8px; height: 8px; margin: 0; border-color: #fff; border-radius: 50%; background-color: transparent; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }
  body#web .featured-controls .title-status-box:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
  @media (max-width: 900px) {
    body#web [id^="TitleBaner"] .featured-caption { left: 24px; bottom: 52px; width: calc(100% - 48px); }
    body#web .featured-controls { right: 24px; bottom: 20px; }
  }

  /* Footer and breadcrumb navigation. */
  body#web p:is(.content-path, .content-path2),
  body#web p:is(.content-path, .content-path2) a {
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.6;
  }

  body#web td.content-container > table.bar-bottom {
    margin-top: 40px;
    padding: 24px 8px;
    border-top: 1px solid var(--site-line);
    background: var(--site-soft);
    border-radius: 0 0 8px 8px;
  }

  body#web table.bar-bottom :is(td, a) {
    font-size: 13px;
    line-height: 1.7;
    color: var(--site-muted);
  }
}



/* Shop refresh, 2026-11-16.
   Desktop shop pages have an anonymous body. The main web has id="web";
   internal shop pages have their own id. Keep this block out of both. */
@media screen and (min-width: 768px) {
  body:not([id]) {
    --shop-button-bg: #d6e8f0;
    --shop-button-border: #b6d1df;
    --shop-button-hover: #c4dfe9;
    --shop-button-hover-border: #a0c3d3;
    max-width: 1400px;
    background: var(--site-soft);
    color: var(--site-ink);
    font-family: var(--site-font);
    font-size: 16px;
    line-height: 1.6;
  }

body:not([id]) .bar-middle * {
    font-family: var(--site-font);
    font-size: inherit;
    line-height: inherit;
  }

  body:not([id]) table.bar-middle {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
  }

  body:not([id]) td.bar-middle-left {
    box-sizing: border-box;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    padding: 16px 8px 24px;
    vertical-align: top;
    border-right: 1px solid var(--site-line);
    background: var(--site-soft);
  }

  body:not([id]) td.bar-middle-right {
    vertical-align: top;
    border: 0;
    background: #fff;
  }

  body:not([id]) td.content-container {
    padding: 26px 28px 32px;
    color: var(--site-ink);
    background: #fff;
  }

  body:not([id]) .bar-middle a:is(:link, :visited) {
    color: var(--site-accent);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }

  body:not([id]) .bar-middle a:hover {
    color: var(--site-heading);
  }

  /* Category navigation retains the existing expansion script. */
  body:not([id]) .bar-middle-left :is(table.middle-menu-caption, table.middle-menu) {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    border: 0;
    border-spacing: 0;
    background: transparent;
  }

  body:not([id]) .bar-middle-left table.middle-menu {
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--site-line);
  }

  body:not([id]) .bar-middle-left .middle-menu-caption th.heading {
    padding: 10px 8px 6px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
    color: var(--site-heading);
  }

  body:not([id]) .bar-middle-left .middle-menu-caption th.heading-image {
    display: none;
  }

  body:not([id]) .bar-middle-left .middle-menu-caption a {
    text-decoration: none;
    color: var(--site-heading);
  }

  body:not([id]) .bar-middle-left .middle-menu-caption a:has(> span.menu-arrow) {
    display: inline-flex;
    width: 16px;
    height: 22px;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
  }

  body:not([id]) .bar-middle-left .middle-menu-caption span.menu-arrow {
    transform: translateY(-2px);
    display: inline-block;
    width: 16px;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
  }

  body:not([id]) .bar-middle-left .middle-menu td.href-text {
    padding: 0 2px;
  }

  body:not([id]) .bar-middle-left .middle-menu td.href-text a {
    display: block;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    color: var(--site-muted);
  }

  body:not([id]) .bar-middle-left .middle-menu td.href-text a:is(:hover, :focus-visible) {
    background: #e5eef5;
    color: var(--site-heading);
  }

  /* Titles, summaries and news on the shop landing page. */
  body:not([id]) table.category-caption th.heading {
    padding: 8px 0 20px;
    border-bottom: 1px solid var(--site-line);
    font-size: 29px;
    font-weight: 650;
    line-height: 1.25;
    color: var(--site-heading);
    text-align: left;
  }

  body:not([id]) .category-caption .shop-category-title {
    padding-top: 14px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--site-muted);
  }

  body:not([id]) table.content-caption {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--site-line);
  }

  body:not([id]) table.content-caption th.heading {
    padding: 0 16px 12px 0;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
  }

  body:not([id]) table.content-caption th.heading a {
    color: var(--site-heading);
    text-decoration: none;
  }

  body:not([id]) table.content-caption th.heading * {
    font-family: var(--site-font);
    font-size: inherit;
    line-height: inherit;
  }

  body:not([id]) .content-container > center:first-child {
    padding: 20px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: var(--site-soft);
    text-align: left;
  }

  body:not([id]) .content-container > center:first-child h1 {
    margin: 0;
    padding: 0;
    color: var(--site-heading);
    font-family: var(--site-font);
    font-size: 24px;
    font-weight: 650;
    line-height: 1.3;
  }

  body:not([id]) .content-container > center:first-child p {
    margin-top: 10px;
    font-size: 15px;
    color: var(--site-muted);
  }

  body:not([id]) th.content-date {
    padding-top: 4px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    vertical-align: top;
    color: var(--site-muted);
  }

  body:not([id]) div.content-annotation {
    padding: 0 0 8px;
  }

  body:not([id]) .content-annotation td {
    color: var(--site-ink);
    vertical-align: top;
  }

  body:not([id]) .content-annotation td.content-annotation {
    padding-left: 12px;
  }

  body:not([id]) .content-annotation a.a-annotation {
    color: var(--site-ink);
    text-decoration: none;
  }

  body:not([id]) table.shop_title_price-list {
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 8px;
    padding: 12px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-soft);
  }

  body:not([id]) .shop_title_price-list td {
    padding: 4px 8px;
  }

  body:not([id]) .shop_title_price-list .shop-title-price {
    font-size: 13px;
    color: var(--site-muted);
  }

  /* Let catalog columns adapt to labels; limit the closed option controls instead. */
  body:not([id]) table.shop-list {
    width: 100%;
    padding: 0;
    border-spacing: 0;
  }

  body:not([id]) table.shop-list > tbody > tr > td {
    padding: 0;
  }

  body:not([id]) table.table-shop {
    width: 100%;
    margin-top: 20px;
    table-layout: auto;
    border-collapse: collapse;
    border-bottom: 1px solid var(--site-line);
  }

  /* Both catalog and basket tables size themselves by content. */
  body:not([id]) table.table-shop:has(> colgroup) {
    table-layout: auto;
  }

  body:not([id]) table.table-shop:has(input.cart-count) > tbody > tr:first-child > th {
    width: 1%;
    white-space: nowrap;
  }

  body:not([id]) table.table-shop:has(input.cart-count) > tbody > tr:first-child > th:nth-child(2) {
    width: 100%;
    white-space: normal;
  }

  body:not([id]) table.table-shop:has(input.cart-count) > tbody > tr:first-child > th:first-child {
    width: 100px;
    min-width: 80px;
  }

  body:not([id]) table.table-shop:has(input.cart-count) > tbody > tr:has(input.cart-count) > td:nth-child(2) {
    white-space: normal;
    overflow-wrap: normal;
    font-size: 16px;
    line-height: 1.5;
  }

  /* Order history shares table-shop with the basket, but needs natural columns. */
  body:not([id]) table.table-shop:has(> tbody > tr > td > a[href*="action=sh_order&"]) > tbody > tr > td {
    overflow-wrap: normal;
  }

  body:not([id]) table.table-shop:has(> tbody > tr > td > a[href*="action=sh_order&"]) > tbody > tr > td:is(:first-child, :nth-child(3), :last-child) {
    white-space: nowrap;
  }

  body:not([id]) table.table-shop col:first-child { width: 160px; }
  body:not([id]) table.table-shop col:nth-child(2) { width: auto; }
  body:not([id]) table.table-shop col:nth-last-child(-n+2) { width: 112px; }

  body:not([id]) table.table-shop th {
    padding: 12px 10px 6px;
    background: var(--site-soft);
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    vertical-align: bottom;
  }

  body:not([id]) table.table-shop > tbody > tr > td {
    padding: 10px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--site-ink);
    overflow-wrap: anywhere;
  }

  body:not([id]) table.table-shop tr:is(.dph-line, .dph-line-price) td {
    padding: 2px 10px 12px;
    background: var(--site-soft);
    color: var(--site-muted);
    font-size: 12px;
    font-style: italic;
    line-height: 1.4;
  }

  body:not([id]) table.table-shop tr.first > td {
    padding-top: 22px;
    padding-bottom: 10px;
    border-top: 1px solid var(--site-line);
    vertical-align: top;
  }

  body:not([id]) table.table-shop tr.first > td:first-child {
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.6;
    color: var(--site-muted);
  }

  body:not([id]) table.table-shop tr.first > td > a {
    color: var(--site-heading);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
  }

  body:not([id]) table.table-shop tr.first > td[align="right"] {
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
  }

  body:not([id]) table.table-shop :is(td.descr-odd, td.descr-even) {
    padding-top: 0;
    color: var(--site-muted);
    font-size: 14px;
  }

  body:not([id]) table.table-shop td[rowspan] {
    vertical-align: top;
    padding-top: 12px;
  }

  body:not([id]) table.table-shop td[rowspan] img {
    display: block;
    width: 140px;
    max-width: 100%;
    max-height: 160px;
    height: auto;
    object-fit: contain;
  }

  body:not([id]) table.table-shop td:has(> select.product-option) {
    min-width: 0;
  }

  body:not([id]) table.table-shop select.product-option {
    box-sizing: border-box;
    width: 300px;
    min-width: 0;
    max-width: 300px;
    height: 36px;
    padding: 5px 8px;
    border: 1px solid #c7d5df;
    border-radius: 6px;
    background: #fff;
    color: var(--site-ink);
    font-family: var(--site-font);
    font-size: 14px;
    line-height: normal;
  }

  /* Keep option labels readable rather than breaking words inside narrow cells. */
  body:not([id]) table.table-shop td:has(+ td > select.product-option) {
    overflow-wrap: normal;
    vertical-align: middle;
  }

  /* A subtle border replaces the large focus ring on native option controls. */
  body:not([id]) .bar-middle select.product-option:focus {
    outline: none;
    box-shadow: none;
    border-color: #88a9bc;
  }

  body:not([id]) .bar-middle :is(input.cart-count, input.put-cart, button.put-cart) {
    box-sizing: border-box;
    height: 36px;
    margin: 0;
    border-radius: 6px;
    font-family: var(--site-font);
    font-size: 14px;
    line-height: normal;
    vertical-align: middle;
  }

  body:not([id]) .bar-middle input.cart-count {
    width: 54px;
    padding: 6px;
    border: 1px solid #c7d5df;
    background: #fff;
    color: var(--site-ink);
    text-align: center;
  }

  body:not([id]) .bar-middle :is(input.put-cart, button.put-cart) {
    width: auto;
    min-width: 134px;
    padding: 7px 16px;
    border: 1px solid var(--shop-button-border);
    background: var(--shop-button-bg);
    color: var(--site-heading);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
  }

  body:not([id]) .bar-middle :is(input.put-cart, button.put-cart):hover {
    background: var(--shop-button-hover);
    border-color: var(--shop-button-hover-border);
    color: var(--site-heading);
  }

  body:not([id]) .bar-middle :is(input.put-cart, button.put-cart):disabled {
    background: var(--site-line);
    border-color: var(--site-line);
    color: var(--site-muted);
    cursor: default;
  }

  body:not([id]) .bar-middle :is(a, button):focus-visible {
    outline: 2px solid var(--site-accent);
    outline-offset: 3px;
  }

  /* Quiet focus treatment for editable shop fields. */
  body:not([id]) .bar-middle :is(input, select, textarea):focus {
    outline: 1px solid #88a9bc;
    outline-offset: 1px;
    box-shadow: none;
  }

  /* Product details: retain all data and the original form structure. */
  body:not([id]) .shop-list img.title-page {
    display: block;
    width: 140px;
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
  }

  /* Linked category thumbnails need a reserved cell, as in the original shop. */
  body:not([id]) .shop-list td:has(> a > img.title-page) {
    width: 150px;
    min-width: 150px;
    padding: 12px 16px 12px 0;
    vertical-align: top;
  }

  body:not([id]) .shop-list td > a > img.title-page {
    width: 150px;
    min-width: 150px;
    max-width: none;
  }

  body:not([id]) .shop-list td:has(> img.title-page) {
    width: 160px;
    padding: 24px 24px 24px 0;
  }

  body:not([id]) .shop-list td:has(> img.title-page) + td {
    padding-top: 24px;
    vertical-align: top;
  }

  body:not([id]) .shop-list table:has(> tbody > tr > td > #AddCode) {
    margin: 20px 0;
    padding: 12px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-soft);
  }

  body:not([id]) .shop-list table:has(> tbody > tr > td > #AddCode) td {
    padding: 5px 10px;
    vertical-align: top;
  }

  body:not([id]) .shop-list table:has(> tbody > tr > td > #AddCode) td:first-child {
    font-size: 13px;
    color: var(--site-muted);
  }

  body:not([id]) .shop-list table:has(> tbody > tr > td > #AddCode) tr:is(:nth-child(2), :nth-child(3)) td:last-child {
    font-size: 18px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--site-heading);
    white-space: nowrap;
  }

  body:not([id]) .bar-middle :is(pre, code, tt),
  body:not([id]) .bar-middle :is(pre, code, tt) * {
    font-family: Consolas, "Courier New", monospace;
  }

  /* Large navigation links share the same dimensions as purchase buttons. */
  body:not([id]) .bar-middle a.shop-big-button {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-width: 134px;
    height: 36px;
    padding: 7px 16px;
    border: 1px solid var(--shop-button-border);
    border-radius: 6px;
    background: var(--shop-button-bg);
    color: var(--site-heading);
    font-family: var(--site-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
  }

  body:not([id]) .bar-middle a.shop-big-button:hover {
    background: var(--shop-button-hover);
    border-color: var(--shop-button-hover-border);
    color: var(--site-heading);
  }



  body:not([id]) .bar-middle a.shop-big-button > div:is(.shop-big-button-en, .shop-big-button-en-len) {
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
  }

  /* The same quiet palette also covers login, search and other form buttons. */
  body:not([id]) .bar-middle :is(button, input[type="submit"], input[type="button"], input[type="reset"]):not(:disabled) {
    background: var(--shop-button-bg);
    border-color: var(--shop-button-border);
    color: var(--site-heading);
  }

  body:not([id]) .bar-middle :is(button, input[type="submit"], input[type="button"], input[type="reset"]):not(:disabled):hover {
    background: var(--shop-button-hover);
    border-color: var(--shop-button-hover-border);
    color: var(--site-heading);
  }

  body:not([id]) table.bar-bottom {
    padding: 20px 12px;
    border-top: 1px solid var(--site-line);
    background: var(--site-soft);
  }

  body:not([id]) table.bar-bottom :is(td, a) {
    font-family: var(--site-font);
    font-size: 13px;
    line-height: 1.7;
    color: var(--site-muted);
  }
}
