/* SH_CMS_2026_20261005 (revision 2 of 06.10.2026). Text pages and the contact page on a phone and a tablet (up to 990px).
   Linked from header.tpl only on body#cms and body#contact and only when Configuration SH_CMS_2026 === '1'
   (no key / 0 = no <link> tag). Edit = bump ?v= in header.tpl. Built by build_cms_css.py - do not edit the result by hand.
   Pages:  body#cms      /content/1 delivery, /content/2 public offer, /content/3 privacy policy, /content/4 about,
                         /content/11 terms of use, /content/12 returns (+ /content/6 where it is still a page: DEV2)
           body#contact  /contact-us (the text block there is the content of CMS page 6 printed inside .contact_content)
   Scope:  the new look applies only on screens up to 990px (the same breakpoint as the phone header and the 2026 menu), only to these
           two body ids, only inside #center_column - header, footer, menu and product tabs are not touched. Wider than 990px and on paper
           there is one block (12) whose only job is to keep the old computer look after the delivery page got clean tags.
           The switch and the markup of the delivery text go together: new tags without this file look worse than the old text.
   Visual language of the 2026 menu: Arial; ink #111433; muted #5b6690; blue #0b72e8 / #0866d6;
           light blue #e3f0ff; lines #e4e9f2; soft grey #eef1f6; cards = 1px line + 14px radius; 16px body text.

   Why the selectors are long: the theme styles the same elements with two ids
   ("html body #page div#center_column h2", "#cms #center_column p") and with "line-height: 1.4 !important"
   ("div#center_column .rte p", "ol, ul"). Three ids here win without depending on the order of the files.
   !important is used only where the theme or a module uses it (line-height, button background, captcha width)
   or where the content / the editor writes an inline style (text-align, table width). */

@media screen and (max-width: 990px) {

  /* ---------- 0. tokens ---------- */
  html body#cms,
  html body#contact {
    --shc-ink: #111433;
    --shc-mut: #5b6690;
    --shc-blue: #0b72e8;
    --shc-blue-t: #0866d6;
    --shc-blue-l: #e3f0ff;
    --shc-line: #e4e9f2;
    --shc-soft: #eef1f6;
    --shc-field: #d5dbe6;
    --shc-r: 14px;
  }

  /* ---------- 1. text column ---------- */
  html body#cms #page div#center_column .rte,
  html body#contact #page div#center_column .contact_content {
    max-width: 720px;                 /* tablets: a readable measure instead of a 960px line */
    margin: 0 auto;
    padding: 18px 0 4px;              /* the title no longer sticks to the header bar */
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--shc-ink);
    text-align: left;
    overflow-wrap: break-word;        /* long words and the IBAN never leave the screen */
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* ---------- 2. page title: <h1>, or the first <h2> where the page has no <h1> (delivery page) ---------- */
  html body#cms #page div#center_column .rte h1,
  html body#cms #page div#center_column .rte > h2:first-child,
  html body#contact #page div#center_column .contact_content h1 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--shc-ink);
    text-transform: none;
    text-align: left !important;      /* the delivery title carries style="text-align:center" */
  }
  /* "Edition of ..." line right under the title: <h1> + <p><strong>...</strong></p> */
  html body#cms #page div#center_column .rte h1 + p > strong:only-child {
    display: block;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--shc-mut);
  }

  /* ---------- 3. section headings ---------- */
  html body#cms #page div#center_column .rte h2 {
    margin: 26px 0 10px;
    padding: 20px 0 0;
    border: 0;
    border-top: 1px solid var(--shc-line);
    font-family: inherit;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--shc-ink);
    text-transform: none;             /* was UPPERCASE */
    text-align: left !important;      /* delivery page: style="text-align:center" */
  }
  html body#cms #page div#center_column .rte h2 strong {
    font-weight: inherit;
  }
  html body#cms #page div#center_column .rte h3,
  html body#cms #page div#center_column .rte h4 {
    margin: 20px 0 8px;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--shc-ink);
    text-transform: none;
    text-align: left !important;
  }

  /* ---------- 4. paragraphs, links ---------- */
  html body#cms #page div#center_column .rte p {
    margin: 0 0 12px;
    padding: 0;
    font-size: 16px;
    line-height: 1.5 !important;      /* theme: div#center_column .rte p { line-height: 1.4 !important } */
    color: var(--shc-ink);
  }
  html body#cms #page div#center_column .rte strong,
  html body#cms #page div#center_column .rte b {
    font-weight: 700;
    color: inherit;
  }
  html body#cms #page div#center_column .rte a,
  html body#contact #page div#center_column .contact_content > p a,
  html body#contact #page div#center_column .contact_content li a {
    color: var(--shc-blue-t);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  /* phone numbers: real tel: links only. Links that iOS creates by itself are left alone (it also links a 10-digit tax number) */
  html body#cms #page div#center_column .rte a[href^="tel:"],
  html body#contact #page div#center_column .contact_content > p a[href^="tel:"] {
    color: var(--shc-ink);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  /* ---------- 5. lists ---------- */
  html body#cms #page div#center_column .rte ul,
  html body#cms #page div#center_column .rte ol,
  html body#contact #page div#center_column .contact_content ul,
  html body#contact #page div#center_column .contact_content ol {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.5 !important;      /* theme: ol, ul { line-height: 1.4 !important } */
    color: var(--shc-ink);
  }
  html body#cms #page div#center_column .rte ul,
  html body#contact #page div#center_column .contact_content ul {
    padding: 0;
    list-style: none;
  }
  html body#cms #page div#center_column .rte ul > li,
  html body#contact #page div#center_column .contact_content ul > li {
    position: relative;
    margin: 0 0 8px;
    padding: 0 0 0 20px;
  }
  html body#cms #page div#center_column .rte ul > li::before,
  html body#contact #page div#center_column .contact_content ul > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: calc(.75em - 3px);   /* 9px at 16px text; follows enlarged text */
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--shc-blue);
  }
  html body#cms #page div#center_column .rte ol,
  html body#contact #page div#center_column .contact_content ol {
    padding: 0 0 0 24px;
    list-style: decimal outside;
  }
  html body#cms #page div#center_column .rte ol > li,
  html body#contact #page div#center_column .contact_content ol > li {
    margin: 0 0 8px;
    padding: 0 0 0 2px;
  }
  html body#cms #page div#center_column .rte ol > li::marker,
  html body#contact #page div#center_column .contact_content ol > li::marker {
    color: var(--shc-blue-t);
    font-weight: 700;
  }
  html body#cms #page div#center_column .rte li > ul,
  html body#cms #page div#center_column .rte li > ol {
    margin: 8px 0 0;
  }
  html body#cms #page div#center_column .rte li:last-child {
    margin-bottom: 0;
  }

  /* ---------- 6. working-hours block of the delivery page ----------
     In the content these are consecutive <p style="text-align:center;"> lines. They become one soft block with a blue edge.
     A centred paragraph anywhere else in a text page will look the same - see the p_cms mapper report, section 10. */
  html body#cms #page div#center_column .rte p[style*="text-align:center"],
  html body#cms #page div#center_column .rte p[style*="text-align: center"] {
    margin: 0;
    padding: 5px 14px 5px 13px;
    border-left: 3px solid var(--shc-blue);
    background: var(--shc-blue-l);
    font-size: 15px;
    line-height: 22px !important;
    text-align: left !important;
  }
  /* the element that follows the block */
  html body#cms #page div#center_column .rte p[style*="text-align:center"] + :not([style*="text-align:center"]),
  html body#cms #page div#center_column .rte p[style*="text-align: center"] + :not([style*="text-align: center"]) {
    margin-top: 16px;
  }
  /* inner top/bottom padding and rounded outer corners: only where the browser can tell the last line of the block */
  @supports selector(:has(+ *)) {
    html body#cms #page div#center_column .rte :not([style*="text-align:center"]):not([style*="text-align: center"]) + p[style*="text-align"][style*="center"] {
      padding-top: 12px;
      border-top-right-radius: 10px;
    }
    html body#cms #page div#center_column .rte p[style*="text-align"][style*="center"]:has(+ :not([style*="text-align:center"]):not([style*="text-align: center"])),
    html body#cms #page div#center_column .rte p[style*="text-align"][style*="center"]:last-child {
      padding-bottom: 12px;
      border-bottom-right-radius: 10px;
    }
  }

  /* ---------- 7. tables, pictures, quotes (none in the content today - safe defaults for the editor) ---------- */
  html body#cms #page div#center_column .rte table {
    width: 100% !important;           /* the editor writes width="..." / style="width:..." on tables */
    max-width: 100%;
    height: auto !important;
    margin: 0 0 14px;
    border: 1px solid var(--shc-line);
    border-radius: var(--shc-r);
    border-collapse: separate;        /* rounded corners need separate borders */
    border-spacing: 0;
    overflow: hidden;
    table-layout: auto;
    font-size: 15px;
    line-height: 1.4;
    color: var(--shc-ink);
  }
  html body#cms #page div#center_column .rte th,
  html body#cms #page div#center_column .rte td {
    width: auto !important;
    height: auto !important;
    padding: 10px 12px;
    border: 0;
    border-top: 1px solid var(--shc-line);
    text-align: left;
    vertical-align: top;
    -webkit-hyphens: auto;            /* a table never becomes wider than the screen: long words are hyphenated ... */
    hyphens: auto;
    overflow-wrap: anywhere;          /* ... or, where the browser has no dictionary, simply wrapped */
  }
  html body#cms #page div#center_column .rte td + td,
  html body#cms #page div#center_column .rte th + th,
  html body#cms #page div#center_column .rte th + td {
    border-left: 1px solid var(--shc-line);
  }
  html body#cms #page div#center_column .rte tr:first-child > th,
  html body#cms #page div#center_column .rte tr:first-child > td {
    border-top: 0;
  }
  html body#cms #page div#center_column .rte tbody + tbody tr:first-child > td,
  html body#cms #page div#center_column .rte thead + tbody tr:first-child > td,
  html body#cms #page div#center_column .rte thead + tbody tr:first-child > th {
    border-top: 1px solid var(--shc-line);
  }
  html body#cms #page div#center_column .rte th,
  html body#cms #page div#center_column .rte thead td {
    background: var(--shc-soft);
    font-weight: 700;
  }
  html body#cms #page div#center_column .rte td p:last-child,
  html body#cms #page div#center_column .rte th p:last-child {
    margin-bottom: 0;
  }
  html body#cms #page div#center_column .rte img,
  html body#cms #page div#center_column .rte iframe,
  html body#cms #page div#center_column .rte video {
    max-width: 100%;
    border-radius: 10px;
  }
  html body#cms #page div#center_column .rte img {
    height: auto;
  }
  html body#cms #page div#center_column .rte blockquote {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 0;
    border-left: 3px solid var(--shc-blue);
    background: var(--shc-soft);
    font-size: 16px;
    color: var(--shc-ink);
  }
  html body#cms #page div#center_column .rte hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid var(--shc-line);
  }

  /* ---------- 8. contact details: every paragraph of CMS page 6 is a card ----------
     /contact-us prints the page inside .contact_content; on DEV2 the same text is also a page of its own (body.cms-6). */
  html body#contact #page div#center_column .contact_content > p,
  html body#cms.cms-6 #page div#center_column .rte > p {
    margin: 0 0 10px;
    padding: 14px 16px;
    border: 1px solid var(--shc-line);
    border-radius: var(--shc-r);
    background: #fff;
    font-size: 16px;
    line-height: 1.6 !important;
    color: var(--shc-ink);
  }
  /* the bold first line of a card is its caption */
  html body#contact #page div#center_column .contact_content > p > strong:first-child,
  html body#cms.cms-6 #page div#center_column .rte > p > strong:first-child {
    display: block;
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--shc-mut);
  }
  html body#contact #page div#center_column .contact_content > p > strong:first-child + br,
  html body#cms.cms-6 #page div#center_column .rte > p > strong:first-child + br {
    display: none;
  }
  /* seller card under <h2>: the name stays a name */
  html body#contact #page div#center_column .contact_content > h2 + p > strong:first-child,
  html body#cms.cms-6 #page div#center_column .rte > h2 + p > strong:first-child {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--shc-ink);
  }
  html body#contact #page div#center_column .contact_content h2,
  html body#cms.cms-6 #page div#center_column .rte h2 {
    margin: 20px 0 10px;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--shc-ink);
    text-transform: none;
    text-align: left !important;
  }
  /* phone numbers inside a card, once the content has real tel: links: one number per row, a row high enough for a finger */
  html body#contact #page div#center_column .contact_content > p a[href^="tel:"],
  html body#cms.cms-6 #page div#center_column .rte > p a[href^="tel:"] {
    display: inline-block;
    padding: 8px 0;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: .01em;
  }
  /* a paragraph without a caption is a note, not a card (browsers without :has keep it as a card) */
  @supports selector(:has(> *)) {
    html body#contact #page div#center_column .contact_content > p:not(:has(> strong)),
    html body#cms.cms-6 #page div#center_column .rte > p:not(:has(> strong)) {
      margin: 4px 0 6px;
      padding: 0 2px;
      border: 0;
      border-radius: 0;
      font-size: 14px;
      line-height: 1.45 !important;
      color: var(--shc-mut);
    }
  }
  html body#contact #page div#center_column .contact_content > br {
    display: none;                    /* spacing comes from margins, not from <br> between blocks */
  }

  /* ---------- 9. contact page: messenger button, map ---------- */
  html body#contact #page div#center_column .contact_content .viber-contact,
  html body#contact #page div#center_column .contact_content .telegram-contact {
    margin: 14px 0 0;
  }
  html body#contact #page div#center_column .contact_content .viber-contact a,
  html body#contact #page div#center_column .contact_content .telegram-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-height: 48px;
    padding: 6px 14px;
    border: 1px solid var(--shc-line);
    border-radius: 12px;
    background: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--shc-ink);
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(11, 114, 232, .1);
  }
  html body#contact #page div#center_column .contact_content .viber-contact a img,
  html body#contact #page div#center_column .contact_content .telegram-contact a img {
    width: 26px;
    height: 26px;
    margin: 0;
  }
  html body#contact #page div#center_column .contact_content .viber-contact a span,
  html body#contact #page div#center_column .contact_content .telegram-contact a span {
    color: var(--shc-ink);
  }
  html body#contact #page div#center_column .google-maps {
    max-width: 720px;
    margin: 16px auto;
    border: 1px solid var(--shc-line);
    border-radius: var(--shc-r);
    overflow: hidden;
  }

  /* ---------- 10. contact page: message form ---------- */
  html body#contact #page div#center_column form.contact-form-box {
    max-width: 720px;
    margin: 0 auto 20px;
    padding: 16px;
    border: 1px solid var(--shc-line);
    border-radius: var(--shc-r);
    background: #fff;                 /* removes the striped "air mail" edge */
    -webkit-box-shadow: none;
    box-shadow: none;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  }
  html body#contact #page div#center_column form.contact-form-box fieldset {
    min-width: 0;                     /* a fieldset is as wide as its widest child: at 320px it stuck out of the screen */
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
  }
  html body#contact #page div#center_column form.contact-form-box .page-subheading {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--shc-ink);
    text-transform: none;
  }
  /* field order on a phone: e-mail, message, file, check, button. The order is in the markup itself
     (module template contact-form.tpl, SH_CMS_2026_20261005), so the columns just stack without their own gutters */
  html body#contact #page div#center_column form.contact-form-box fieldset > .clearfix > [class*="col-"] {
    float: none;
    width: auto;
    min-height: 0;
    padding: 0;
  }
  html body#contact #page div#center_column form.contact-form-box .form-group {
    margin: 0 0 14px;
    padding: 0;
  }
  html body#contact #page div#center_column form.contact-form-box label {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: var(--shc-ink);
  }
  html body#contact #page div#center_column form.contact-form-box input.form-control,
  html body#contact #page div#center_column form.contact-form-box textarea.form-control {
    display: block;
    width: 100%;
    max-width: none;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid var(--shc-field);
    border-radius: 12px;
    background: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;                  /* below 16px iOS zooms the page when the field gets focus */
    line-height: normal;
    color: var(--shc-ink);
    -webkit-appearance: none;
    appearance: none;
  }
  html body#contact #page div#center_column form.contact-form-box textarea.form-control {
    height: 140px;
    padding: 12px 14px;
    line-height: 1.4;
  }
  html body#contact #page div#center_column form.contact-form-box input.form-control:focus,
  html body#contact #page div#center_column form.contact-form-box textarea.form-control:focus {
    border-color: var(--shc-blue);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(11, 114, 232, .15);
  }
  /* file field (drawn by the theme script: div.uploader > input + span.filename + span.action) */
  html body#contact #page div#center_column form.contact-form-box div.uploader {
    display: flex;
    width: 100%;
    height: 48px;
    border: 1.5px solid var(--shc-field);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
  }
  html body#contact #page div#center_column form.contact-form-box div.uploader span.filename {
    flex: 1 1 auto;
    float: none;
    width: auto;
    min-width: 0;
    height: 45px;
    padding: 0 12px 0 14px;
    font-size: 15px;
    line-height: 45px;
    color: var(--shc-mut);
  }
  html body#contact #page div#center_column form.contact-form-box div.uploader span.action {
    flex: 0 0 auto;
    float: none;
    width: auto;
    height: 45px;
    padding: 0 14px;
    border-left: 1.5px solid var(--shc-field);
    background: var(--shc-soft);
    font-size: 14px;
    line-height: 45px;
    font-weight: 700;
    color: var(--shc-ink);
    text-shadow: none;
  }
  html body#contact #page div#center_column form.contact-form-box div.uploader input.form-control {
    height: 100%;
    max-width: none;
    padding: 0;
    border: 0;
  }
  /* Google check: a fixed 304x78 frame. The module squeezes its wrapper to 270px, the frame sticks out and at 320px is cut */
  html body#contact #page div#center_column form.contact-form-box .g-recaptcha {
    width: 304px;
    max-width: none;
    height: 78px;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  html body#contact #page div#center_column form.contact-form-box .g-recaptcha div {
    width: 304px !important;          /* module: .g-recaptcha div { width: 100% !important } */
  }
  html body#contact #page div#center_column form.contact-form-box .submit {
    margin: 2px 0 0;
  }
  html body#contact #page div#center_column form.contact-form-box button#submitMessage {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 12px;
    background: var(--shc-blue) !important;   /* theme: .button.button-medium { background: #225f95 !important } */
    font-family: inherit;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    text-shadow: none !important;
    white-space: normal;
    -webkit-appearance: none;
    appearance: none;
  }
  html body#contact #page div#center_column form.contact-form-box button#submitMessage span {
    display: block;
    padding: 14px 16px;
    border: 0;
    font-size: 16px;
    line-height: 20px;
  }
  html body#contact #page div#center_column form.contact-form-box button#submitMessage i {
    display: none;                    /* icon-font arrow of the old button */
  }
  html body#contact #page div#center_column > .alert,
  html body#contact #page div#center_column > p.alert {
    max-width: 720px;
    margin: 0 auto 14px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.4;
  }
}

/* ---------- wide phones in landscape and tablets: the map does not need to be 540px high ---------- */
@media screen and (min-width: 600px) and (max-width: 990px) {
  html body#contact #page div#center_column .google-maps {
    padding-bottom: 340px;            /* theme: padding-bottom 75% of the width */
  }
}

/* ---------- narrow phones ---------- */
@media screen and (max-width: 374px) {
  /* the 304px check frame: the card is 296px wide inside at 360px */
  html body#contact #page div#center_column form.contact-form-box .g-recaptcha {
    -webkit-transform: scale(.97);
    transform: scale(.97);
    height: 76px;
  }
}
@media screen and (max-width: 359px) {
  html body#cms #page div#center_column .rte h1,
  html body#cms #page div#center_column .rte > h2:first-child,
  html body#contact #page div#center_column .contact_content h1 {
    font-size: 22px;
  }
  html body#cms #page div#center_column .rte h2,
  html body#cms.cms-6 #page div#center_column .rte h2,
  html body#contact #page div#center_column .contact_content h2 {
    font-size: 17px;
  }
  html body#cms #page div#center_column .rte p[style*="text-align:center"],
  html body#cms #page div#center_column .rte p[style*="text-align: center"] {
    padding-left: 11px;
    padding-right: 10px;
    font-size: 14px;
  }
  /* contact cards: the street line stays on one line at 320px */
  html body#contact #page div#center_column .contact_content > p,
  html body#cms.cms-6 #page div#center_column .rte > p {
    padding: 12px 14px;
    font-size: 15px;
  }
  html body#contact #page div#center_column .contact_content > h2 + p > strong:first-child,
  html body#cms.cms-6 #page div#center_column .rte > h2 + p > strong:first-child {
    font-size: 15px;
  }
  html body#contact #page div#center_column form.contact-form-box {
    padding: 14px;
  }
  html body#contact #page div#center_column form.contact-form-box div.uploader span.filename {
    padding: 0 8px 0 12px;
    font-size: 14px;
  }
  html body#contact #page div#center_column form.contact-form-box div.uploader span.action {
    padding: 0 10px;
    font-size: 13px;
  }
  html body#contact #page div#center_column form.contact-form-box .g-recaptcha {
    -webkit-transform: scale(.85);    /* 260px inside the card at 320px */
    transform: scale(.85);
    height: 67px;
  }
}

/* ---------- 13. additions after the independent review of 05-06.10.2026 (each one measured there in Chromium and WebKit) ---------- */
@media screen and (max-width: 990px) {
  /* e-mail field: the theme script marks the group .form-error / .form-ok when the shopper leaves the field; the three-id rule for
     input.form-control above was overriding the theme's red / green look. The child combinator keeps the file input out. */
  html body#contact #page div#center_column form.contact-form-box .form-group.form-error > input.form-control {
    padding-right: 40px;
    border-color: #f13340;
    background: #fff1f2 url(../img/icon/form-error.png) right 12px center no-repeat;
    color: #f13340;
  }
  html body#contact #page div#center_column form.contact-form-box .form-group.form-ok > input.form-control {
    padding-right: 40px;
    border-color: #46a74e;
    background: #fff url(../img/icon/form-ok.png) right 12px center no-repeat;
  }
  /* file field: leftovers of the old theme inside the rounded field (own border, grey background, 2px margin, fixed 45px parts) */
  html body#contact #page div#center_column form.contact-form-box div.uploader span.filename {
    height: 100%;
    margin: 0;
    border: 0;
    background: none;
  }
  html body#contact #page div#center_column form.contact-form-box div.uploader span.action {
    height: 100%;
  }
  /* the "Home" row under the sent / already-sent message follows the 720px column; a long word stays inside the message box */
  html body#contact #page div#center_column > ul.footer_links {
    max-width: 720px;
    height: auto;
    margin: 0 auto 20px;
    padding: 0;
    border: 0;
  }
  html body#contact #page div#center_column > .alert,
  html body#contact #page div#center_column > p.alert {
    overflow-wrap: anywhere;
  }
  /* phone numbers inside running text (delivery page, public offer): a finger-sized box and the link colour, so that they read as tappable.
     Not for the contact cards (.cms-6): there every number is a row of its own. */
  html body#cms:not(.cms-6) #page div#center_column .rte a[href^="tel:"] {
    padding: 7px 0;
    color: var(--shc-blue-t);
  }
  /* delivery page: the first section heading is typed in capitals in the text; the other three are in sentence case */
  html body#cms.cms-1 #page div#center_column .rte h1 + h2 {
    text-transform: lowercase;
  }
  html body#cms.cms-1 #page div#center_column .rte h1 + h2::first-letter {
    text-transform: uppercase;
  }
}
/* iPad in portrait and narrow computer windows: the server prints a left column (social links, blog teaser) above the text;
   it starts where the centred 720px column starts */
@media screen and (min-width: 770px) and (max-width: 990px) {
  html body#contact #left_column {
    margin-left: calc((100% - 720px) / 2);
  }
}
/* file field on narrow phones: the Russian empty-state text of the file field was cut at 320-337 and 360-372px */
@media screen and (max-width: 374px) {
  html body#contact #page div#center_column form.contact-form-box div.uploader span.filename {
    padding: 0 8px 0 12px;
    font-size: 14px;
  }
  html body#contact #page div#center_column form.contact-form-box div.uploader span.action {
    padding: 0 10px;
    font-size: 13px;
  }
}
@media screen and (max-width: 339px) {
  html body#contact #page div#center_column form.contact-form-box div.uploader span.filename {
    padding: 0 4px 0 10px;
    font-size: 13px;
  }
  html body#contact #page div#center_column form.contact-form-box div.uploader span.action {
    padding: 0 8px;
  }
}
/* after sending the form the page opens at the message (anchor #sh-cf in the module template), below the fixed header: phones 50px, computers 55px */
html body#contact #sh-cf {
  scroll-margin-top: 70px;
}

/* ---------- 12. computer (wider than 990px) and paper: the look stays as it was ----------
   The delivery page got clean tags on 05.10.2026 (h1, h2, h3, a list, tel: links) for the phone look above.
   On a computer the theme would draw these tags differently from the old bold paragraphs, so here they keep the old look:
   title = the old centred 22px heading, "how to order" and the numbered sub-headings = the old bold 14px lines, section headings centred,
   the check-list = plain lines without markers. What does differ from the old page: the empty lines of the old text are gone
   (the page is 30-48px shorter) and each sub-heading stands 9px above its text.
   The condition is the exact opposite of the phone part ("not all and (max-width: 990px)"), so that a window of 990.5px (browser zoom,
   Windows display scaling) does not fall between the two. Paper is narrower than 990px: "print" keeps print-outs in the old look too. */
@media print, not all and (max-width: 990px) {
  html body#cms.cms-1 #page div#center_column .rte h1 {
    margin: 0 0 35px;
    padding: 0;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 600;
    color: #343434;
    text-transform: uppercase;
    text-align: center;
  }
  html body#cms.cms-1 #page div#center_column .rte h2 {
    text-align: center;
  }
  html body#cms.cms-1 #page div#center_column .rte h1 + h2,
  html body#cms.cms-1 #page div#center_column .rte h3 {
    margin: 0 0 9px;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: #3f3f3f;
    text-transform: none;
    text-align: left;
  }
  html body#cms.cms-1 #page div#center_column .rte h2:last-of-type ~ ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  html body#cms.cms-1 #page div#center_column .rte h2:last-of-type ~ ul > li {
    margin: 0 0 9px;
    padding: 0;
  }
  /* phone numbers are links now: on a computer they stay looking like the text around them */
  html body#cms #page div#center_column .rte a[href^="tel:"],
  html body#contact #page div#center_column .contact_content a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
  }
}
