/* IM-3 «Ярлык» - img-market (12.11.2026). From the prototype design-img-market/im3/style.css (system measured on
   gumroad.com/discover 11.11.2026: logo and a long framed search in one row, category pills 40-44 px, every block in a
   1 px black frame with radius 4, card picture - text - price with lines between, price as a notched tag, category page
   opens with a colour band, product page - one frame with the picture and two columns under it).
   Own: Funnel Display + Funnel Sans, cobalt #2443E0, cold grey page, no stars or reviews.
   Logical properties throughout: the Arabic version (dir=rtl) mirrors without extra rules. */
:root {
  --ink: #000; --mute: #4f5560; --page: #f0f2f5; --line: #000; --soft: #e6e9ee;
  --brand: #2443e0; --brand-ink: #fff;
  --font: 'Funnel Sans', 'Helvetica Neue', Arial, sans-serif;
  --disp: 'Funnel Display', 'Funnel Sans', 'Helvetica Neue', Arial, sans-serif;
  --pad: 16px;
}
@media (min-width: 700px) { :root { --pad: 24px; } }
@media (min-width: 1100px) { :root { --pad: 64px; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.im3 { margin: 0; font: 400 16px/1.45 var(--font); color: var(--ink); background: var(--page); overflow-wrap: break-word; }
:where(.im3) img { max-width: 100%; height: auto; display: block; }
:where(.im3) a { color: inherit; }
:where(.im3) :is(h1, h2, h3, h4) { margin: 0; font-family: var(--disp); font-weight: 600; letter-spacing: -0.015em; color: inherit; }
:where(.im3) p { margin: 0; }
:where(.im3) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.im3) :is(button, input, select, textarea) { font: inherit; color: inherit; }
.skip { position: absolute; inset-inline-start: 8px; top: -80px; z-index: 100; background: var(--ink); color: #fff !important; padding: 12px 16px; border-radius: 4px; }
.skip:focus { top: 8px; }
.vh, .im3 .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.im3 :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.main { display: block; min-height: 40vh; }
.main:focus { outline: none; }

/* ---------- buttons and the price tag ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; background: #fff; color: var(--ink); text-align: center; }
.btn-main { background: var(--ink); color: #fff; }
.btn-line { background: #fff; color: var(--ink); }
.btn-wide { width: 100%; }
.btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding-block: 2px; padding-inline: 10px 22px; background: var(--brand); color: var(--brand-ink); font-size: 16px; font-weight: 600; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%); }
html[dir=rtl] .tag { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%); }
.tag-big { min-height: 40px; font-size: 19px; padding-inline: 12px 26px; }
.tag del { opacity: 1; font-weight: 400; margin-inline-end: 6px; color: #dfe4ff; }
.tag ins { text-decoration: none; }
.tag .woocommerce-Price-amount, .tag bdi { color: inherit; }

/* ---------- header ---------- */
.hdr { background: #fff; border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; gap: 16px; padding-block: 18px 14px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--disp); font-weight: 800; font-size: 34px; letter-spacing: -0.045em; line-height: 1; text-decoration: none; color: var(--ink); white-space: nowrap; }
form.search { flex: 1; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; min-width: 0; }
form.search:focus-within { outline: 2px solid var(--brand); outline-offset: 1px; }
form.search input[type=search] { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font-size: 16px; outline: none; padding: 0; margin: 0; -webkit-appearance: none; appearance: none; border-radius: 0; }
form.search input::placeholder { color: var(--mute); opacity: 1; }
.s-ico { display: inline-flex; flex: none; }
.hdr-tools { display: flex; align-items: center; gap: 8px; }
.hdr-row .group-language-currency { display: flex; align-items: center; height: 48px; border: 1px solid var(--line); border-radius: 4px; padding-inline: 2px 6px; background: #fff; }
.hdr-row .group-language-currency:empty { display: none; }
/* Base rules of the language menu (0-imgm-i18n prints the same ones late, in the page body): here they apply from the first
   frame, otherwise the disclosure marker of <summary> shows for one frame and moves the header by 6 px (CLS, 13.11.2026). */
.imgm-lang-dd { display: inline-block; position: relative; vertical-align: middle; }
.imgm-lang-dd summary { list-style: none; cursor: pointer; line-height: 1; display: flex; align-items: center; gap: 4px; }
.imgm-lang-dd summary::-webkit-details-marker { display: none; }
.imgm-lang-dd summary::after { content: ""; width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
[dir="rtl"] .imgm-lang-dd summary::after { transform: translateY(-2px) rotate(-45deg); } /* the caret points down in Arabic too */
.imgm-lang-dd ul { position: absolute; top: 100%; inset-inline-start: 0; z-index: 9999; margin: 6px 0 0; padding: 6px 0; list-style: none; background: #fff; min-width: 140px; }
.imgm-lang-dd ul li { list-style: none; margin: 0; padding: 0; }
.imgm-lang-dd li a { display: block; white-space: nowrap; text-decoration: none; }
.hdr-row .imgm-lang-dd { margin-inline-end: 0; }
.hdr-row .imgm-lang-dd summary { min-height: 46px; min-width: 44px; padding: 0 10px; font-size: 16px; font-weight: 600; justify-content: center; border-inline-end: 1px solid var(--line); }
.hdr-row .imgm-lang-dd ul { border: 1px solid var(--line); border-radius: 4px; box-shadow: 4px 4px 0 var(--ink); margin-top: 8px; }
.hdr-row .imgm-lang-dd li a { padding: 11px 14px; font-size: 16px; color: var(--ink); }
.hdr-row .imgm-lang-dd li a:hover, .hdr-row .imgm-lang-dd li a[aria-current] { background: var(--soft); }
.hdr-row .fleet-cur-switcher, .drawer .fleet-cur-switcher { font-size: 16px; letter-spacing: 0; }
.hdr-row .fleet-cur-switcher .fleet-cur-item, .drawer .fleet-cur-switcher .fleet-cur-item { opacity: 1; padding: 13px 5px; color: var(--ink); }
.hdr-row .fleet-cur-switcher a.fleet-cur-item, .drawer .fleet-cur-switcher a.fleet-cur-item { text-decoration: underline; text-underline-offset: 3px; }
.hdr-row .fleet-cur-switcher .fleet-cur-sep, .drawer .fleet-cur-switcher .fleet-cur-sep { opacity: 1; margin: 0; color: var(--mute); }
.btn-cart { white-space: nowrap; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 0; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.burger .ico-close, .burger[aria-expanded=true] .ico-menu { display: none; }
.burger[aria-expanded=true] .ico-close { display: block; }
.hdr-row2 { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; }
.pills { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; text-decoration: none; white-space: nowrap; }
.pill[aria-current] { border-color: var(--line); background: #fff; }
.pill:hover { text-decoration: underline; text-underline-offset: 4px; }
.hdr-links { display: flex; gap: 4px; flex: none; }
.hdr-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px; text-decoration: none; font-size: 16px; white-space: nowrap; }
.hdr-links a[aria-current], .hdr-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.drawer { background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 22px; }
.drawer nav a { display: flex; align-items: center; min-height: 52px; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer nav a[aria-current] { font-weight: 600; }
.drawer .group-mobile-bottom { padding-top: 18px; }
.drawer .imgm-lang-inline a { border-color: var(--line); border-radius: 999px; font-size: 15px; color: var(--ink); }
.drawer .imgm-lang-inline a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 999px) {
  .hdr-row { flex-wrap: wrap; row-gap: 12px; padding-block: 14px 12px; }
  .logo { font-size: 30px; margin-inline-end: auto; }
  form.search { order: 5; flex-basis: 100%; }
  .hdr-row .group-language-currency, .hdr-links { display: none; }
  .burger { display: inline-flex; }
  .hdr-row2 { padding-bottom: 12px; }
}
@media (min-width: 1000px) { .drawer, .hdr-m { display: none !important; } }
/* phones and tablets: language and currency in a thin row above the logo (printed by the server, so the
   currency mu-plugin finds a visible switcher and adds no bar of its own after the page has drawn) */
.hdr-m { border-bottom: 1px solid var(--line); }
.hdr-m .wrap { display: flex; justify-content: flex-end; }
.hdr-m .group-language-currency { display: flex; align-items: center; gap: 4px; min-height: 44px; }
.hdr-m .imgm-lang-dd { margin-inline-end: 4px; }
.hdr-m .imgm-lang-dd summary { min-height: 44px; min-width: 44px; padding: 0 8px; font-size: 16px; font-weight: 600; justify-content: center; }
.hdr-m .imgm-lang-dd ul { inset-inline-start: auto; inset-inline-end: 0; border: 1px solid var(--line); border-radius: 4px; box-shadow: 4px 4px 0 var(--ink); }
.hdr-m .imgm-lang-dd li a { padding: 11px 14px; font-size: 16px; color: var(--ink); }
.hdr-m .imgm-lang-dd li a[aria-current] { background: var(--soft); }
.hdr-m .fleet-cur-switcher { font-size: 16px; letter-spacing: 0; }
.hdr-m .fleet-cur-switcher .fleet-cur-item { opacity: 1; padding: 12px 5px; color: var(--ink); }
.hdr-m .fleet-cur-switcher a.fleet-cur-item { text-decoration: underline; text-underline-offset: 3px; }
.hdr-m .fleet-cur-switcher .fleet-cur-sep { opacity: 1; margin: 0; color: var(--mute); }

/* ---------- breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 16px; color: var(--mute); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; }
.crumbs a, .crumbs span { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a { justify-content: center; min-width: 44px; }
.crumbs li[aria-current] span { color: var(--ink); }
.band .crumbs ol, .band .crumbs a, .band .crumbs li[aria-current] span { color: var(--brand-ink); }

/* ---------- colour band ---------- */
.band { background: var(--brand); color: var(--brand-ink); border-bottom: 1px solid var(--line); padding-block: 32px 36px; }
.band-in { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.band h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.03em; max-width: 15ch; }
.band-t p { font-size: 18px; margin-top: 14px; max-width: 40ch; }
.feats { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feat { display: grid; grid-template-columns: 40% minmax(0, 1fr); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.feat-img { border-inline-end: 1px solid var(--line); background: var(--soft); display: block; min-height: 100%; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.feat-b { display: flex; flex-direction: column; gap: 10px; padding: 16px; min-width: 0; }
.feat-t { font-family: var(--font) !important; font-size: 19px; font-weight: 500 !important; line-height: 1.3; letter-spacing: 0 !important; }
.feat-t a { text-decoration: none; display: inline-block; padding-block: 10px; margin-block: -10px; }
.feat-t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.feat-b p { font-size: 15px; color: var(--mute); }
.feat-f { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
@media (min-width: 700px) { .feats { grid-template-columns: 1fr 1fr; } .band { padding-block: 44px 48px; } }
@media (min-width: 1100px) { .band-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); gap: 40px; } }

/* ---------- sections, grid, card ---------- */
.sec { padding-block: 36px 8px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { font-size: 26px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; }
.seg a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; }
.seg a:hover { border-color: var(--line); background: #fff; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { gap: 16px; } .grid-cat { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-10, .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .grid-cat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1300px) { .grid-cat { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-search { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 999px) { .grid-5 > :nth-child(5) { display: none; } }
@media (min-width: 700px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; min-width: 0; }
.card-a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-img { display: block; aspect-ratio: 1; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-b { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.card-t { font-size: 17px; line-height: 1.3; }
.card-a:hover .card-t { text-decoration: underline; text-underline-offset: 3px; }
.card-s { font-size: 14px; color: var(--mute); }
.card-f { border-top: 1px solid var(--line); padding: 12px 14px; }
@media (min-width: 700px) { .card-b { padding: 14px 16px 16px; } .card-f { padding: 14px 16px; } .card-t { font-size: 18px; } }

/* category lists */
.two { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 24px; } }
.two h2 { font-size: 26px; margin-bottom: 14px; }
.rows { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.rows li + li { border-top: 1px solid var(--line); }
.rows a { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; text-decoration: none; font-size: 17px; }
.rows a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.rows .cnt { margin-inline-start: auto; color: var(--mute); font-size: 16px; }
.rows .ico { flex: none; }
.rows a > span:first-child + .ico { margin-inline-start: auto; }
html[dir=rtl] .rows .ico-arrow { transform: scaleX(-1); }
.rows-404 { margin-top: 24px; }

/* ---------- catalogue ---------- */
.band-cat { padding-block: 8px 28px; }
.band-cat h1 { font-size: clamp(36px, 4.4vw, 56px); max-width: none; }
.band-d { font-size: 18px; max-width: 56ch; margin-top: 12px; }
.cat { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
@media (min-width: 1000px) { .cat { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding-top: 24px; align-items: start; } }
.fbox { background: #fff; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 12px; }
.fbox summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 0 16px; font-weight: 600; cursor: pointer; list-style: none; }
.fbox summary::-webkit-details-marker { display: none; }
.fbox summary::after { content: "+"; font-size: 22px; font-weight: 400; }
.fbox[open] summary::after { content: "\2212"; }
.flist { padding: 6px 8px 8px; border-top: 1px solid var(--line); }
.flist a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; border-radius: 4px; text-decoration: none; }
.flist a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.flist a[aria-current] { background: var(--soft); font-weight: 600; }
.flist .cnt { margin-inline-start: auto; color: var(--mute); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.toolbar .woocommerce-result-count { color: var(--mute); margin: 0; }
.sort { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.sort select { min-height: 44px; max-width: 100%; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: 16px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 32px 0 12px; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; text-decoration: none; }
.pager .page-numbers.current { background: var(--ink); color: #fff; }
.pager .page-numbers.dots { border-color: transparent; background: transparent; padding: 0 4px; min-width: 24px; }
.pager a.page-numbers:hover { text-decoration: underline; text-underline-offset: 3px; }
.empty { padding: 24px 0; font-size: 18px; }

/* ---------- product ---------- */
.pdp { padding-top: 12px; }
.pdp-box { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.pdp-img { display: grid; place-items: center; padding: 20px; border-bottom: 1px solid var(--line); background: var(--soft); }
/* width 100% + the ratio of the width/height attributes: the box has its size before the file arrives (CLS 0, 13.11.2026);
   contain keeps the picture whole when 640 px cuts the height; max-width inline = the file's own width */
.pdp-img img { width: 100%; height: auto; max-height: 640px; object-fit: contain; }
.pdp-cols { display: grid; grid-template-columns: 1fr; }
.pdp-l { padding: 20px; min-width: 0; }
.pdp-l h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.pdp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 16px -20px; padding: 12px 20px; border-block: 1px solid var(--line); }
.seller { font-size: 16px; }
.pdp-d p { font-size: 17px; line-height: 1.55; }
.pdp-d p + p { margin-top: 12px; }
.pdp-r { padding: 20px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); min-width: 0; }
.pdp-r form.cart { margin: 0; }
.na { color: var(--mute); }
.tbl { border: 1px solid var(--line); border-radius: 4px; margin: 6px 0 0; }
.tbl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: 16px; }
.tbl div + div { border-top: 1px solid var(--line); }
.tbl dt { color: var(--mute); }
.tbl dd { margin: 0; text-align: end; overflow-wrap: anywhere; min-width: 0; }
.tbl a { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; min-width: 44px; margin-block: -11px; }
.small { font-size: 15px; color: var(--mute); }
.small a { color: var(--ink); }
@media (min-width: 900px) {
  .pdp-img { padding: 32px; }
  .pdp-cols { grid-template-columns: minmax(0, 1fr) 400px; }
  .pdp-l { padding: 28px; border-inline-end: 1px solid var(--line); }
  .pdp-meta { margin-inline: -28px; padding-inline: 28px; }
  .pdp-r { padding: 28px; border-top: 0; }
}
/* YITH wishlist on the product page: its link drawn as the skin's outline button with a heart */
.wl .yith-wcwl-add-to-wishlist { margin: 0 !important; }
.wl .yith-wcwl-add-button, .wl .yith-wcwl-wishlistexistsbrowse, .wl .yith-wcwl-wishlistaddedbrowse { display: block; }
.wl a, .wl .yith-wcwl-add-button > a { display: flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 48px; width: 100%; padding: 0 16px !important; border: 1px solid var(--line) !important; border-radius: 4px !important; background: #fff !important; color: var(--ink) !important; font-size: 16px !important; text-decoration: none !important; margin: 0 !important; box-shadow: none !important; }
.wl a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.wl a i, .wl .yith-wcwl-icon, .wl svg.yith-wcwl-icon-svg { width: 20px; height: 20px; font-size: 18px; margin: 0 !important; color: var(--ink); }
.wl .feedback, .wl .yith-wcwl-wishlistaddedbrowse > span, .wl .yith-wcwl-wishlistexistsbrowse > span { display: block; padding: 6px 0; color: var(--ink); font-size: 15px; }
.wl .yith-wcwl-add-to-wishlist .separator { display: none; }

/* WooCommerce notices outside its own pages (product page after an add without JavaScript) */
.notes { padding-top: 16px; }
.notes .woocommerce-message, .notes .woocommerce-info, .notes .woocommerce-error, .notes .wc-block-components-notice-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 8px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 4px; list-style: none; }
.notes .woocommerce-error { border-color: #b3261e; }
.notes a.button, .notes .button { order: 2; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--ink); color: #fff; text-decoration: none; }
.notes .wc-block-components-notice-banner > svg { display: none; }

/* ---------- footer ---------- */
.ftr { background: #fff; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 32px; }
.ftr-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.ftr-grid > * { background: #fff; padding: 20px; min-width: 0; }
@media (min-width: 640px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ftr-grid { grid-template-columns: 2fr 1fr 1.2fr 1fr; } }
.fbrand .logo { font-size: 30px; margin-bottom: 6px; }
.legal-co { font-size: 15px; color: var(--mute); line-height: 1.6; max-width: 46ch; }
.legal-co strong { color: var(--ink); font-weight: 600; }
.legal-ct { display: flex; flex-direction: column; margin-top: 8px; }
.legal-ct a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; }
.fh { font-family: var(--font) !important; font-size: 16px; font-weight: 600 !important; letter-spacing: 0 !important; margin-bottom: 4px !important; }
.fcol a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.fcol a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr-note { padding: 20px 0 0; font-size: 15px; line-height: 1.6; color: var(--mute); max-width: 110ch; }
.ftr-note p + p { margin-top: 10px; }
.ftr-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px 32px; font-size: 15px; color: var(--mute); }
html body .ftr .qa-trust-3ds-marks { display: flex !important; flex-wrap: wrap !important; justify-content: flex-start !important; gap: 8px !important; padding: 0 !important; margin: 0 !important; max-width: none !important; width: auto !important; border: 0 !important; }
html body .ftr .qa-trust-3ds-marks img { border-color: var(--line) !important; border-radius: 4px !important; }

/* ---------- pages from the database ---------- */
.page { padding-block: 12px 8px; }
.page-head { padding: 12px 0 24px; max-width: 900px; }
.page-head h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }
.lead { font-size: 19px; color: var(--mute); margin-top: 12px; max-width: 62ch; }
/* Elementor content in IM-3 markup (inc/pages.php) */
.x { display: grid; gap: 16px; }
.x-sec { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 20px; display: grid; gap: 14px; min-width: 0; }
.x-sec.x-pic { padding: 0; overflow: hidden; background: var(--soft); }
.x-cols { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 800px) { .x-cols.x-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .x-cols.x-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .x-cols.x-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 799px) { .x-cols.x-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.x-col { display: grid; gap: 12px; align-content: start; min-width: 0; }
.x-col.x-pic { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--soft); }
.x-img { margin: 0; }
.x-img img { width: 100%; height: auto; }
.x-sec > .x-img, .x-col > .x-img { border-radius: 4px; overflow: hidden; }
.x-pic > .x-img { border-radius: 0; }
.x-h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; }
.x-h3 { font-size: 21px; line-height: 1.25; }
.x-lead { font-size: 18px; color: var(--mute); }
.x-text p, .x-text li { font-size: 17px; line-height: 1.65; }
.x-text p + p, .x-text ul, .x-text ol { margin-top: 10px; }
.x-text ul { list-style: disc; padding-inline-start: 22px; }
.x-text ol { list-style: decimal; padding-inline-start: 22px; }
.x-text a, .prose a { color: var(--ink); text-underline-offset: 3px; }
.x-list { display: grid; gap: 8px; }
.x-list li { position: relative; padding-inline-start: 20px; font-size: 17px; }
.x-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.55em; width: 8px; height: 8px; background: var(--brand); }
.x-box { border: 1px solid var(--line); border-radius: 4px; padding: 18px; background: #fff; display: grid; gap: 6px; height: 100%; }
.x-box p { color: var(--mute); }
.x-num { border: 1px solid var(--line); border-radius: 4px; padding: 18px; background: #fff; }
.x-num .n { font-family: var(--disp); font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--brand); }
.x-num p + p { margin-top: 8px; }
.x-form { min-width: 0; }
/* legal pages: one column of text in a frame, section heads all of one size (stored h3 and h4 alike) */
.prose { max-width: 860px; }
.x.prose .x-sec, article.prose { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 8px 20px 20px; }
article.prose:empty { display: none; }
.prose h2, .prose h3, .prose h4, .prose .x-ph { font-family: var(--disp); font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin: 24px 0 10px; }
.prose .x-text > :first-child { margin-top: 12px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 0 0 16px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; margin: 0 0 16px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: start; vertical-align: top; }
@media (min-width: 700px) { .x.prose .x-sec, article.prose { padding: 12px 32px 28px; } }
/* FAQ */
.faq-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; }
.faq-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: #fff; }
.faq-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq-page .x { display: block; }
.faq-page .x > .x-sec { background: transparent; border: 0; padding: 0; display: block; }
.faq-body { max-width: 900px; }
.faq-g { background: #fff; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 16px; overflow: hidden; scroll-margin-top: 16px; }
.faq-h { font-size: 20px !important; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--soft); }
.qa + .qa { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding: 10px 18px; cursor: pointer; list-style: none; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 24px; flex: none; }
.qa[open] summary::after { content: "\2212"; }
.qa-a { padding: 0 18px 18px; color: var(--mute); max-width: 70ch; }
.qa-a p + p { margin-top: 10px; }
.qa-a a { color: var(--ink); }
.ask { background: var(--brand); color: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px; display: grid; gap: 12px; justify-items: start; margin-top: 8px; }
.ask h2 { font-size: 28px; }
.ask .btn-main { background: #fff; color: var(--ink); }
/* search page, 404 */
.search-big { height: auto; min-height: 56px; padding-inline-end: 4px; margin-bottom: 20px; max-width: 760px; }
.search-big .btn { min-height: 46px; flex: none; }
.pg-search .page { padding-top: 20px; }
