/*
 * 2026 design system (rs-orch design canvas "Demo site nou clinica-sante.rs", screens 01-16).
 * Loaded after main.css (SanteDesign::assets, priority 100). Classes are prefixed sd- so Bootstrap and the old theme
 * CSS keep working on pages not yet redesigned. Tokens from design/Main.dc.html.
 */

/* Every Raleway face main.css declares (TTF only; it loads first) is declared again here with the same family, weight
   and style: browsers use the later rule, so a page fetches the WOFF2 and falls back to the TTF. main.css's 400 italic
   (Raleway-RegularItalic.ttf) and 700 (../../../fonts/) name files that do not exist; the rules below answer for them. */
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Light.woff2') format('woff2'), url('../fonts/Raleway-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-LightItalic.woff2') format('woff2'), url('../fonts/Raleway-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Regular.woff2') format('woff2'), url('../fonts/Raleway-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Italic.woff2') format('woff2'), url('../fonts/Raleway-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Medium.woff2') format('woff2'), url('../fonts/Raleway-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-MediumItalic.woff2') format('woff2'), url('../fonts/Raleway-MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-SemiBold.woff2') format('woff2'), url('../fonts/Raleway-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-SemiBoldItalic.woff2') format('woff2'), url('../fonts/Raleway-SemiBoldItalic.ttf') format('truetype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Bold.woff2') format('woff2'), url('../fonts/Raleway-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-BoldItalic.woff2') format('woff2'), url('../fonts/Raleway-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-ExtraBold.woff2') format('woff2'), url('../fonts/Raleway-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-ExtraBoldItalic.woff2') format('woff2'), url('../fonts/Raleway-ExtraBoldItalic.ttf') format('truetype'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Black.woff2') format('woff2'), url('../fonts/Raleway-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-BlackItalic.woff2') format('woff2'), url('../fonts/Raleway-BlackItalic.ttf') format('truetype'); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  --sd-orange: #ef7d00;
  --sd-orange-dark: #d66f00;
  --sd-orange-text: #b85f00;      /* design value: links and prices */
  --sd-on-orange: #fff;           /* design value: white text and icons on brand orange (Roland, 2026-11-16) */
  --sd-orange-soft: #fff3e6;
  --sd-orange-line: #f3c08a;
  --sd-ink: #262626;
  --sd-muted: #5f5f5f;
  --sd-line: #e6e6e6;
  --sd-soft: #f7f7f7;
  --sd-blue: #12a6c8;            /* design value */
  --sd-teal: #008588;            /* design value */
  --sd-navy: #24708d;
  --sd-green: #00a651;
  --sd-radius: 6px;
  --sd-radius-lg: 14px;
  --sd-wrap: 1200px;
  --sd-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

body.sd { font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--sd-ink); -webkit-font-smoothing: antialiased; }

.sd .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sd-wrap { max-width: var(--sd-wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.sd-icon { flex: none; }

/* ---------- Components shared by the redesigned screens ---------- */
.sd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: 700 15px/1 'Raleway', sans-serif; border: 0; cursor: pointer; text-decoration: none; box-sizing: border-box; white-space: nowrap; transition: background-color .15s; }
.sd-btn:focus-visible, .sd-hb:focus-visible, .sd-nav__link:focus-visible, .sd-hdr a:focus-visible, .sd-ftr a:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 2px; }
.sd-btn--primary { background: var(--sd-orange); color: var(--sd-on-orange); }
.sd-btn--primary:hover { background: var(--sd-orange-dark); color: var(--sd-on-orange); }
.sd-btn--outline { background: #fff; color: var(--sd-orange-text); border: 1.5px solid var(--sd-orange); }
.sd-btn--outline:hover { background: var(--sd-orange-soft); color: var(--sd-orange-text); }
.sd-btn--blue { background: var(--sd-blue); color: #fff; }
.sd-btn--teal, .sd-btn--incart { background: var(--sd-teal); color: #fff; }
.sd-btn--navy { background: var(--sd-navy); color: #fff; }
.sd-btn--blue:hover, .sd-btn--teal:hover, .sd-btn--navy:hover { filter: brightness(.94); color: #fff; }
.sd-btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
@media (pointer: coarse) { .sd-btn--sm { height: 40px; } } /* touch screens: 40 px for a finger (the add button of rows and cards) */
.sd-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f4f4f4; color: #555; }
.sd-tag--teal { background: #e6f3f3; color: #0a6665; }
.sd-tag--green { background: #e6f7ee; color: #00703a; }
.sd-tag--orange { background: var(--sd-orange-soft); color: var(--sd-orange-text); }
.sd-card { background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-radius-lg); padding: 20px; box-sizing: border-box; }
.sd-price { color: var(--sd-orange-text); font-weight: 800; font-size: 16px; }
.sd-old { color: #8a8a8a; text-decoration: line-through; font-weight: 500; font-size: 13px; margin-right: 6px; }
.sd-muted { color: var(--sd-muted); }
.sd-h1 { margin: 0; font-size: 36px; font-weight: 800; line-height: 1.15; padding-left: 14px; border-left: 6px solid var(--sd-orange); }
.sd-h2 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.15; }
/* Page body of a redesigned screen. :where() keeps the link colour below every component class. */
.sd-page { padding-top: 20px; padding-bottom: 48px; font-family: 'Raleway', sans-serif; color: var(--sd-ink); }
:where(.sd-page) a { color: var(--sd-orange-text); text-decoration: none; }
:where(.sd-page) a:hover { color: #8f4a00; }
/* Centred on every screen, as the design shows it (a wrapper that fills the width would otherwise leave it at the left). */
.sd-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 16px 0 0; font-size: 13px; color: var(--sd-muted); }
.sd-crumbs a { color: var(--sd-orange-text); text-decoration: none; }
.sd-crumbs a:hover { color: #8f4a00; text-decoration: underline; }
.sd-kv { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 14px; }
.sd-kv dt { margin: 0; color: var(--sd-muted); font-weight: 400; }
.sd-kv dd { margin: 0; font-weight: 600; }
.sd-g2, .sd-g3, .sd-g4 { display: grid; gap: 16px; }
.sd-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sd-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sd-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sd-faq { border-top: 1px solid var(--sd-line); padding: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.sd-faq strong { font-size: 15px; }
/* Product card (template-parts/sd/product-card.php) */
.sd-pcard { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.sd-pcard__name { color: var(--sd-ink); font-weight: 700; text-decoration: none; }
.sd-pcard__name:hover { color: var(--sd-orange-dark); }
.sd-pcard .sd-btn { align-self: flex-start; margin-top: auto; }

/* ---------- Header ---------- */
.sd-hdr { background: #fff; font-family: 'Raleway', sans-serif; } /* no z-index: its offcanvas panels must stack at page level */
#masthead.sd-hdr { padding-bottom: 0; }
.sd-hdr #meniuTotal { position: static; top: auto; box-shadow: none; z-index: auto; }
.sd-hdr #meniuTotal.hide-header { top: auto; }
.sd-hrow { display: flex; align-items: center; gap: 12px; min-height: 96px; padding-top: 12px; padding-bottom: 12px; }
.sd-logo { flex: none; margin-right: auto; display: flex; align-items: center; }
.sd-logo img { height: 44px; width: auto; max-width: 200px; display: block; }
.sd-srch { display: flex; height: 50px; border: 1px solid #c9c9c9; border-radius: var(--sd-radius); overflow: hidden; flex: 1 1 220px; min-width: 150px; max-width: 360px; background: #fff; box-sizing: border-box; }
.sd-srch:focus-within { border-color: var(--sd-orange); box-shadow: 0 0 0 3px rgba(239, 125, 0, .2); }
.sd-srch input[type="search"] { border: 0; outline: 0; flex: 1; font: inherit; font-size: 15px; padding: 0 14px; min-width: 0; color: var(--sd-ink); background: transparent; height: 100%; box-shadow: none; margin: 0; }
.sd-srch button { width: 52px; flex: none; border: 0; border-radius: 0; background: var(--sd-orange); color: var(--sd-on-orange); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.sd-srch button:hover { background: var(--sd-green); }
.sd-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.sd-hb { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; border-radius: var(--sd-radius); font: 700 14px/1 'Raleway', sans-serif; color: #fff; white-space: nowrap; border: 0; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.sd-hb:hover { filter: brightness(.94); color: #fff; }
.sd-hb--blue { background: var(--sd-blue); }
.sd-hb--teal { background: var(--sd-teal); }
.sd-hb--navy { background: var(--sd-navy); }
.sd-hb--white { background: #fff; color: var(--sd-orange-text); border: 1.5px solid var(--sd-orange); }
.sd-hb--white:hover { color: var(--sd-orange-text); background: var(--sd-orange-soft); filter: none; }
.sd-hb--ghost { background: transparent; color: var(--sd-ink); width: 44px; height: 44px; padding: 0; justify-content: center; }
.sd-hb--ghost:hover { color: var(--sd-ink); background: var(--sd-soft); filter: none; }
.sd-hdr .sd-badge { position: absolute; top: -9px; right: -9px; left: auto; bottom: auto; min-width: 22px; height: 22px; margin: 0; border-radius: 11px; background: var(--sd-orange); color: var(--sd-on-orange); font: 700 12px/1 'Raleway', sans-serif; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; border: 2px solid #fff; box-sizing: border-box; }
.sd-hdr .sd-badge span { color: var(--sd-on-orange); font: inherit; }
.sd-show-sm { display: none; }
/* The site's approved language selector (classes/language.php prints it, assets/css_sante/language-selector.css styles
   it and loads after this file): only the 'desktop' form's place in this header is set here, at the end of the logo
   row. The 'compact' form of small screens stands before the menu button; its rules are in that stylesheet. */
.sd-hdr .sd-actions .sante-lang-desktop .sante-lang-trigger { height: 44px; color: var(--sd-ink); }
.sd-hdr .sd-actions .sante-lang-desktop .sante-lang-trigger:hover { background: var(--sd-soft); }

.sd-nav { background: var(--sd-orange); position: relative; z-index: 1035; } /* above fixed page bars (1030), below offcanvas (1045) */
.sd-nav__list { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.sd-nav__item { position: relative; margin: 0; }
.sd-nav__item--mega { position: static; }
.sd-nav__link { display: inline-flex; align-items: center; gap: 8px; height: 58px; padding: 0 20px; margin: 0; color: #fff; background: none; border: 0; border-radius: 0; cursor: pointer; font: 700 15px/1 'Raleway', sans-serif; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; text-decoration: none; }
.sd-nav__link:hover, .sd-nav__link.is-current, .sd-nav__link[aria-expanded="true"] { background: var(--sd-orange-dark); color: #fff; } /* navbar text kept white, as on the current site */
.sd-nav__link .sd-icon { transition: transform .15s; }
.sd-nav__link[aria-expanded="true"] .sd-icon { transform: rotate(180deg); }
.sd-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--sd-orange); box-shadow: var(--sd-shadow); z-index: 20; text-transform: none; }
.sd-mega__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.sd-mega__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sd-orange-text); margin: 0 0 10px; }
.sd-mega ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.3; }
.sd-mega a { color: var(--sd-ink); text-decoration: none; }
.sd-mega a:hover { color: var(--sd-orange-dark); text-decoration: underline; }
.sd-mega .sd-mega__more { color: var(--sd-orange-text); font-weight: 700; }
.sd-mega__col--hi { background: var(--sd-orange-soft); border: 1px solid var(--sd-orange-line); border-radius: var(--sd-radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sd-mega__col--hi .sd-mega__title { margin: 0; }
.sd-mega__col--hi .sd-btn { align-self: flex-start; border-radius: var(--sd-radius); }
.sd-mega .sd-btn--primary, .sd-mega .sd-btn--primary:hover { color: var(--sd-on-orange); text-decoration: none; }
.sd-mega__all { grid-column: 1 / -1; display: flex; gap: 12px 28px; flex-wrap: wrap; border-top: 1px solid #eee; padding-top: 14px; }
.sd-mega__all a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--sd-orange-text); }
.sd-drop { position: absolute; left: 0; top: 100%; min-width: 280px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border-top: 3px solid var(--sd-orange); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); z-index: 20; }
.sd-drop a { display: block; padding: 11px 18px; color: var(--sd-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.sd-drop a:hover { background: var(--sd-orange-soft); color: var(--sd-orange-text); }

/* Live search results (old CSS placed them for the former fixed header) */
body.sd .absoluteSearchContainer { margin-top: 0; }
body.sd .absoluteSearchContainer.visible { display: block; position: fixed; top: var(--sd-search-top, 154px); left: 0; right: 0; width: 100%; height: auto; max-height: calc(100vh - var(--sd-search-top, 154px)); overflow-y: auto; overscroll-behavior: contain; margin-top: 0; padding: 20px 0 28px; z-index: 1040; background: #fff; border-top: 3px solid var(--sd-orange); box-shadow: 0 16px 32px rgba(0, 0, 0, .14); }
/* What they show (template-parts/sd/shop/live-search.php), also in the phone's search window: compact rows of screen 03
   (name, category, price, the add button), the link to every result, the articles beside them on a wide screen. */
.sd-search { display: grid; gap: 20px 40px; align-items: start; font-family: 'Raleway', sans-serif; color: var(--sd-ink); }
.sd-search__group { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sd-search__h { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--sd-orange-text); }
.sd-search__rows, .sd-search__posts { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sd-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px 16px; min-height: 60px; padding: 10px 14px; border: 1px solid var(--sd-line); border-radius: 10px; background: #fff; box-sizing: border-box; }
.sd-search-row:hover, .sd-search-row:focus-within { border-color: var(--sd-orange); }
/* The name's link covers its whole cell, the category included: a target of the row's height. */
.sd-search-row__name { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; min-width: 0; font-size: 12px; line-height: 1.35; }
.sd-search-row__name > a { max-width: 100%; font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--sd-ink); text-decoration: none; overflow-wrap: break-word; }
.sd-search-row__name > a::after { content: ""; position: absolute; inset: 0; }
.sd-search-row__name > a:hover { color: var(--sd-orange-dark); }
.sd-search-row__name .sd-bw-tags { margin-top: 4px; }
.sd-search-row .sd-shop-price { text-align: right; }
.sd-search-row .sd-price { white-space: nowrap; }
.sd-search-row .sd-btn { justify-self: end; }
.sd-search a:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 2px; }
.sd-search__all { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 14px; font-weight: 700; color: var(--sd-orange-text); text-decoration: none; }
.sd-search__all:hover { color: #8f4a00; text-decoration: underline; }
.sd-search__posts { gap: 0; }
.sd-search__posts a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--sd-line); font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--sd-ink); text-decoration: none; }
.sd-search__posts a:hover { color: var(--sd-orange-text); }
.sd-search__none { margin: 0; font-size: 16px; line-height: 1.45; color: var(--sd-ink); }
/* While the answer is on its way (assets/js/ajax-service.js): four empty rows. */
.sd-search--wait .sd-search-row { border-color: transparent; background: linear-gradient(90deg, #f2f2f2 35%, #e6e6e6 50%, #f2f2f2 65%) 0 0 / 300% 100%; animation: sd-search-wait 1.2s linear infinite; }
@keyframes sd-search-wait { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .sd-search--wait .sd-search-row { animation: none; } }
@media (pointer: coarse) { .sd-search .sd-btn { height: 40px; } }
@media (min-width: 900px) { .sd-search { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
/* A phone: the price above the button, beside the name (screen 03's rows below 820 px); the list price above the
   online price, so the name keeps the width. */
@media (max-width: 600px) {
  .sd-search-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 10px 12px; }
  .sd-search-row__name { grid-row: span 2; }
  .sd-search-row .sd-shop-price { display: flex; flex-direction: column; align-items: flex-end; }
  .sd-search-row .sd-old { margin-right: 0; }
}

/* Mobile search (opened by searchModal() in custom.js) */
#modalSearch.sd-msearch { display: none; position: fixed; inset: 0; width: auto; max-width: none; height: auto; margin: 0; padding: 12px 16px; background: #fff; z-index: 1100; overflow-y: auto; }
.sd-msearch__bar { display: flex; align-items: center; gap: 8px; }
.sd-msearch .sd-srch { max-width: none; min-width: 0; }
.sd-msearch .contentSearch { margin-top: 16px; } /* main.css keeps it 80 px below the former bar */

/* Mobile menu (Bootstrap offcanvas) */
.sd-mnav.offcanvas { width: 380px; max-width: 100%; background: #fff; font-family: 'Raleway', sans-serif; }
.sd-mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--sd-orange); }
.sd-mnav__head .sd-hb--ghost { color: var(--sd-on-orange); }
.sd-mnav__head .sd-hb--ghost:hover { background: var(--sd-orange-dark); color: var(--sd-on-orange); }
.sd-mnav__title { margin: 0; color: var(--sd-on-orange); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.sd-mnav__body { overflow-y: auto; padding: 8px 0 24px; }
.sd-mnav__list, .sd-mnav__list ul { list-style: none; margin: 0; padding: 0; }
.sd-mnav__list > li { border-bottom: 1px solid var(--sd-line); }
.sd-mnav__list > li > a, .sd-mnav__list summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; color: var(--sd-ink); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; cursor: pointer; list-style: none; }
.sd-mnav__list summary::-webkit-details-marker { display: none; }
.sd-mnav__list details[open] > summary { color: var(--sd-orange-text); }
.sd-mnav__list details[open] > summary .sd-icon { transform: rotate(180deg); }
.sd-mnav__list details ul a { display: flex; align-items: center; min-height: 44px; padding: 0 16px 0 28px; color: var(--sd-ink); font-size: 15px; text-decoration: none; }
.sd-mnav__group { margin: 12px 0 4px; padding: 0 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sd-orange-text); }
.sd-mnav__all a { font-weight: 700; color: var(--sd-orange-text) !important; }
.sd-mnav__quick { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px 0; }
.sd-mnav__quick .sd-btn { border-radius: var(--sd-radius); height: 48px; justify-content: flex-start; }
.sd-mnav__quick .sd-btn--outline { color: var(--sd-ink); border-color: var(--sd-line); }

/* ---------- Footer ---------- */
.sd-ftr { border-top: 4px solid var(--sd-orange); background: #262626; color: #d0d0d0; font-size: 14px; line-height: 1.5; font-family: 'Raleway', sans-serif; }
.sd-ftr a { color: #d0d0d0; text-decoration: none; font-size: inherit; font-weight: inherit; }
.sd-ftr a:hover { color: #fff; text-decoration: underline; }
.sd-ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.sd-ftr__h { color: #fff; margin: 0 0 12px; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: left; text-transform: uppercase; letter-spacing: .06em; }
.sd-ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sd-ftr p { margin: 0 0 10px; }
.sd-ftr__news summary { cursor: pointer; color: #d0d0d0; text-decoration: underline; }
.sd-ftr__news[open] summary { margin-bottom: 10px; }
.sd-ftr__news input[type="email"], .sd-ftr__news input[type="text"] { width: 100%; max-width: 280px; height: 40px; padding: 0 10px; border: 1px solid #555; border-radius: var(--sd-radius); background: #fff; color: var(--sd-ink); }
.sd-ftr__news input[type="submit"] { margin-top: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: var(--sd-radius); background: var(--sd-orange); color: var(--sd-on-orange); font-weight: 700; cursor: pointer; }
.sd-ftr__news .wpcf7-list-item-label, .sd-ftr__news label { color: #d0d0d0; font-size: 13px; }
.sd-ftr__bar { border-top: 1px solid #3a3a3a; font-size: 13px; }
.sd-ftr__barin { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.sd-ftr__pay { display: inline-flex; align-items: center; gap: 12px; padding: 4px 10px; background: #fff; border-radius: var(--sd-radius); }
.sd-ftr__pay img { height: 28px; width: auto; display: block; }
body.sd .top-button { background: var(--sd-orange); border: 0; color: var(--sd-on-orange); border-radius: var(--sd-radius); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  /* Icon only: the text is hidden the way .screen-reader-text is, so it stays the button's accessible name. */
  .sd-hb .sd-t { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .sd-hb { padding: 0 13px; }
}
@media (max-width: 900px) {
  .sd-nav__link { font-size: 13px; padding: 0 10px; height: 46px; }
  .sd-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-g3, .sd-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .sd-wrap { padding-left: 16px; padding-right: 16px; }
  .sd-hrow { min-height: 64px; gap: 2px; padding-top: 8px; padding-bottom: 8px; }
  /* The four 44 px buttons keep their size; on a screen narrower than 360 px the logo gives way instead of the row
     pushing the menu button off the screen. */
  .sd-logo { flex: 0 1 auto; min-width: 0; }
  .sd-logo img { height: 36px; max-width: 100%; min-width: 0; object-fit: contain; object-position: left center; }
  .sd-hrow > .sd-srch, .sd-hide-sm, .sd-nav { display: none; }
  .sd-show-sm { display: inline-flex; }
  .sd-actions { gap: 2px; }
  .sd-hb { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .sd-hb--navy, .sd-hb--white { background: transparent; color: var(--sd-ink); border: 0; }
  .sd-hb--navy:hover, .sd-hb--white:hover { background: var(--sd-soft); color: var(--sd-ink); filter: none; }
  .sd-hdr .sd-badge { top: 0; right: 0; }
  /* The "to top" button stood on the column of the lists' "Dodaj" buttons. As a narrow tab on the screen edge it
     covers the page margin only. */
  body.sd .top-button { right: 0; bottom: 24px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; padding: 0; border-radius: var(--sd-radius) 0 0 var(--sd-radius); }
  body.sd .absoluteSearchContainer.visible { display: none; }
  /* iOS zooms the whole page when a field with a font size below 16 px gets the focus, and stays zoomed: the search,
     the list's filters, the contact form, the coupon and every checkout field were 13 to 15 px. !important because each
     screen sets its own field size. */
  body.sd :is(input, select, textarea):not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="image"], [type="range"], [type="file"]) { font-size: 16px !important; }
  body.sd #favoritePage .no-products { height: auto; object-fit: contain; } /* the empty favourites picture (former template) was stretched below 360 px */
}
@media (max-width: 359px) {
  .sd-hb { width: 40px; }
}
/* Touch screens: a link that stands alone as one short line (breadcrumb, tag, "more") is 16 to 24 px high. Its touch
   area grows to about 40 px through an invisible box around it; nothing moves and nothing looks different. */
@media (pointer: coarse) {
  .sd-crumbs a, a.sd-tag, .sd-home__more, .sd-product__more, .sd-product__checks a, .sd-kv dd a, .sd-patients-help__phone,
  .sd-patients-help__more, .sd-body__back { position: relative; }
  .sd-crumbs a::after, a.sd-tag::after, .sd-home__more::after, .sd-product__more::after, .sd-product__checks a::after,
  .sd-kv dd a::after, .sd-patients-help__phone::after, .sd-patients-help__more::after,
  .sd-body__back::after { content: ""; position: absolute; inset: -9px -4px; }
}
@media (max-width: 600px) {
  .sd-ftr__cols { grid-template-columns: 1fr; gap: 24px; }
  .sd-h1 { font-size: 28px; }
  .sd-g2, .sd-g3, .sd-g4, .sd-kv { grid-template-columns: 1fr; }
}
/* The fine print under a promotion (the 15 % online discount's limits, Black Week's): smaller, in the block's own colour. */
.sd-promo-note { display: block; margin: 4px 0 0; font-size: 13px; font-weight: 400; line-height: 1.4; opacity: .85; }
/* WooCommerce's "show password" eye (account page, account panel, checkout), centred in its field again: main.css's former
   `top: .5em` together with WooCommerce's own translateY(-50%) put it on the field's top edge. */
.woocommerce form .show-password-input, .woocommerce-page form .show-password-input { top: 50%; }
/* Russian test names hold long single words ("аланинаминотрансфераза"): on Russian pages the browser hyphenates a word
   that does not fit its line instead of breaking it anywhere. */
html[lang^="ru"] :is(.sd-shop-row__name, .sd-search-row__name, .sd-pcard__name, .sd-shop-pkg__name, .sd-product__title) { -webkit-hyphens: auto; hyphens: auto; }
