/* =====================================================================
   Geekly · POP layer (theme 1.4): the logo's pastel palette on the Kuma-style structure (canvas board "כל האתר בפסטל של הלוגו").
   Loaded after system.css, commerce.css and catalog.css; every rule starts with :root so it also wins over block styles
   that load later in the page.

   The look: a plain light-sky page (no stud baseplate), pastel section plates, and every brick gets a 2px ink outline
   with a hard ink shadow offset to the bottom-left. Buttons are the logo turquoise (--brand) with ink text (11:1);
   secondary buttons are white. Hover lifts the button off its shadow, press pushes it into the shadow.
   Colours stay owner-editable: --brand / --ink / acc-* come from the palette presets (Styles → Colours).
   ===================================================================== */
:root{
  --pop-line: 2px solid var(--ink);
  --pop-sh: -4px 4px 0 var(--ink);
  --pop-sh-up: -6px 6px 0 var(--ink);
  --pop-sh-sm: -3px 3px 0 var(--ink);
  --pop-sh-lg: -8px 8px 0 var(--ink);
  --r-plate: 10px;
  --r-tile: 6px;
}

/* ---------- page: plain light sky, no baseplate studs, no candy clusters or corner bricks ---------- */
:root body{ background-image: none; }
:root .studs-layer, :root .cbrick{ display: none; }
:root .wp-block-group[class*="is-style-acc-"]::before, :root .geekly-lab .wp-block-group[class*="is-style-acc-"]::after{ display: none; }

/* ---------- plates (sections), tiles (cards) and the header bar ---------- */
:root :is(.plate, .plate.empty, .wp-block-group[class*="is-style-acc-"], .wp-block-template-part > [class*="is-style-acc-"]){
  border: var(--pop-line); box-shadow: var(--pop-sh-lg); }
:root[data-dose="mid"] :is(.plate[data-acc], [data-acc] > .plate, .wp-block-group[class*="is-style-acc-"]){ box-shadow: var(--pop-sh-lg); }
/* WooCommerce panels (cart, checkout, account, thank-you) and the catalogue / collectors plates */
:root :is(.wc-block-cart__main, .wc-block-cart__sidebar, .wc-block-checkout__sidebar, .wc-block-checkout__form > .wc-block-components-checkout-step, .wc-block-checkout__form > .wp-block-woocommerce-checkout-order-note-block, .thanks-detail, .account-body > .woocommerce,
  form.checkout #customer_details > .col-1, form.checkout #customer_details > .col-2 > :is(.woocommerce-shipping-fields, .woocommerce-additional-fields):has(*), form.checkout > #order_review,
  .commerce-body form#order_review, .commerce-body > .woocommerce:has(> ul.order_details), .commerce-body > .woocommerce > form.woocommerce-verify-email),
:root :is(.cat-all, .wing-in, .wp-block-woocommerce-empty-cart-block){ border: var(--pop-line); box-shadow: var(--pop-sh-lg); }
:root .tile{ background: var(--white); border: var(--pop-line); box-shadow: -6px 6px 0 var(--ink); }
:root .spc:hover, :root .tile:is(a, [data-href]):hover{ transform: translate(2px, -3px); box-shadow: var(--pop-sh-lg); }
:root .wp-block-geekly-product-strip .ps-card{ border: var(--pop-line); box-shadow: -6px 6px 0 var(--ink); }
:root .wp-block-geekly-product-strip .ps-card:hover{ transform: translate(2px, -3px); box-shadow: var(--pop-sh-lg); }
/* product stages: a flat wash of the product colour instead of the stud plate */
:root .spc-stage{ background: color-mix(in oklab, var(--sc, #ccc) 14%, var(--paper)); border-block-end: var(--pop-line); }
:root .wp-block-geekly-product-strip .ps-stage{ background: color-mix(in oklab, var(--sc) 14%, var(--paper)); box-shadow: inset 0 0 0 2px var(--ink); border-radius: 4px; }
:root .mdl-img{ border-radius: 4px; box-shadow: inset 0 0 0 2px var(--ink); }
:root :is([data-acc], [class*="is-style-acc-"]) .acc-tile, :root[data-dose="mid"] :is([data-acc], [class*="is-style-acc-"]) .acc-tile{ box-shadow: -6px 6px 0 var(--ink); }
:root .hdr-in::before{ border: var(--pop-line); border-radius: var(--r-tile); box-shadow: var(--pop-sh); background: oklch(100% 0 0 / .9); }
:root :is(.search-pop, .wc-block-mini-cart__drawer .components-modal__content){ border: var(--pop-line); border-radius: var(--r-tile); box-shadow: var(--pop-sh-lg); }

/* the rotating banner (geekly/banner): one outlined frame, square-ish corners, outlined arrows and dots */
:root .wp-block-geekly-banner{ --bn-r: var(--r-plate); }
:root .wp-block-geekly-banner .bn-frame{ box-shadow: var(--pop-sh-lg); }
:root .wp-block-geekly-banner .bn-slide{ background: var(--acc-fill, var(--plate)); border: var(--pop-line); box-shadow: none; }
:root .wp-block-geekly-banner .bn-stage{ border-radius: var(--r-tile); }
:root .wp-block-geekly-banner .bn-base{ box-shadow: inset 0 0 0 2px var(--ink); }
:root .wp-block-geekly-banner :is(.bn-arrow, .bn-dots){ border: var(--pop-line); box-shadow: var(--pop-sh-sm); }
:root .wp-block-geekly-banner .bn-arrow::before{ display: none; }
:root .wp-block-geekly-banner .bn-arrow:hover{ transform: translate(2px, -2px); box-shadow: var(--pop-sh); }
:root .wp-block-geekly-banner .bn-arrow:active{ transform: translate(-3px, 3px); box-shadow: 0 0 0 var(--ink); }
:root .wp-block-geekly-banner .bn-dots{ border-radius: 4px; }

/* product stages: flat colour washes instead of stud plates */
:root :is(.pdp-stage, .pnl-view, .ms-stage){ background: var(--fil-soft); }
:root .wc-block-cart-item__image{ background: var(--fil-soft, var(--paper)); }
:root .home-guides .gd-art{ background: color-mix(in oklab, var(--acc-base, var(--brand)) 30%, white); }
:root .wp-block-geekly-banner .bn-base{ background: color-mix(in oklab, var(--acc-base, var(--brand)) 26%, white); }

/* ---------- buttons: theme bricks, core buttons and WooCommerce (classic + blocks) ---------- */
:root :is(.btn, .wp-block-button__link, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button:not(.is-link)){
  background: var(--b, var(--brand)); color: var(--ink); border: var(--pop-line); border-radius: 4px; box-shadow: var(--pop-sh); text-shadow: none;
  transition: transform .15s var(--snap), box-shadow .15s var(--ease); }
:root :is(.btn, .wp-block-button__link, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button:not(.is-link)):hover{
  color: var(--ink); transform: translate(2px, -2px); box-shadow: var(--pop-sh-up); }
:root :is(.btn, .wp-block-button__link, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button:not(.is-link)):active{
  transform: translate(-4px, 4px); box-shadow: 0 0 0 var(--ink); }
:root body:is(.woocommerce-checkout, .woocommerce-order-pay) #payment #place_order{ background: var(--brand); color: var(--ink); border: var(--pop-line); border-radius: 4px; box-shadow: var(--pop-sh); }
:root body:is(.woocommerce-checkout, .woocommerce-order-pay) #payment #place_order:hover{ transform: translate(2px, -2px); box-shadow: var(--pop-sh-up); }
/* secondary = white */
:root :is(.btn.ghost, .wp-block-button.is-style-outline > .wp-block-button__link, .order-no .btn){ --b: var(--white); background: var(--white); color: var(--ink); box-shadow: var(--pop-sh); }
:root .btn.sm{ border-radius: 4px; box-shadow: var(--pop-sh-sm); }
/* disabled: grey, dashed, flat */
:root :is(.btn[disabled], .btn.is-off, .woocommerce :is(a.button, button.button).disabled, .woocommerce :is(a.button, button.button, input.button):disabled, .wc-block-components-button:disabled){
  background: oklch(93% .008 240); color: var(--ink-2); border-style: dashed; box-shadow: none; transform: none; }
/* the little lego stud pairs inside buttons are gone in this look */
:root :is(.btn .pair, .wp-block-button__link::before, #place_order::before){ display: none; }

/* ---------- form fields ---------- */
:root :is(
  .field :is(select, input:not([type="checkbox"], [type="radio"]), textarea),
  .woocommerce form .form-row :is(input.input-text, textarea, select),
  :is(form.checkout, form.checkout_coupon) .form-row :is(input.input-text, select, textarea),
  .wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input, .wc-blocks-components-select select,
  .wp-site-blocks :is(input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="password"], [type="search"], [type="url"], [type="date"]), select, textarea),
  .hdr-in .wp-block-search__input, form.checkout .select2-container .select2-selection--single, .sort select){
  border: var(--pop-line) !important; border-radius: 4px !important; box-shadow: none !important; background-color: var(--white); }
:root :is(input, select, textarea):is([aria-invalid="true"], .woocommerce-invalid *), :root .wc-block-components-text-input.has-error input,
:root form.checkout .form-row.woocommerce-invalid :is(input.input-text, select, textarea){
  border-color: var(--out) !important; background-color: oklch(97% .025 350) !important; }
:root .check input{ border: var(--pop-line); border-radius: 4px; box-shadow: none; }
:root .check input::after{ border-color: var(--ink); }
:root .check input:checked{ background: var(--brand); box-shadow: none; }
:root .qty{ border: var(--pop-line); border-radius: 4px; box-shadow: var(--pop-sh-sm); }
:root .wc-block-components-quantity-selector{ border: var(--pop-line) !important; border-radius: 4px !important; box-shadow: var(--pop-sh-sm) !important; }
/* cart rows and checkout lines: outlined white cards */
:root :is(.wc-block-cart-items__row, .wc-block-components-order-summary-item, #shipping_method.woocommerce-shipping-methods li, .wc-block-components-radio-control__option:not(.wc-block-components-radio-control-accordion-option *), .wc-block-components-radio-control-accordion-option, .wc-block-components-address-card){
  border: var(--pop-line) !important; border-radius: var(--r-tile) !important; box-shadow: var(--pop-sh-sm) !important; }

:root :is(.wc-block-components-radio-control__option-checked, .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control__option--checked-option-highlighted):not(.wc-block-components-radio-control-accordion-option *){
  background: var(--brand-soft) !important; box-shadow: inset 0 0 0 1px var(--ink), var(--pop-sh) !important; }

/* ---------- chips, filters, pagination ---------- */
:root :is(.fchip, .rchip, .tgl){ border: var(--pop-line); border-radius: 4px; box-shadow: none; }
:root .fchip:hover{ background: var(--brand-soft); }
:root .fchip[aria-pressed="true"]{ background: var(--brand); color: var(--ink); box-shadow: var(--pop-sh-sm); }
:root .fchip[aria-pressed="true"] .n{ color: var(--ink); }
:root :is(.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers, .cat-pager .page-numbers){ border: var(--pop-line); border-radius: 4px; box-shadow: var(--pop-sh-sm); background: var(--white); color: var(--ink); }
:root :is(.wp-block-query-pagination .page-numbers.current, .cat-pager .page-numbers.current){ background: var(--brand); color: var(--ink); }

/* ---------- navigation: current page = a turquoise pill ---------- */
:root .hdr-in .wp-block-navigation .wp-block-navigation-item__content{ border-radius: 4px; }
:root .hdr-in .wp-block-navigation .wp-block-navigation-item__content:hover{ background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
:root .hdr-in .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"]{ background: var(--brand); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), var(--pop-sh-sm); }
:root :is(.ibtn, .wc-block-mini-cart__button, .hdr-in .wp-block-woocommerce-customer-account a){ border-radius: 4px; }
:root :is(.ibtn, .wc-block-mini-cart__button, .hdr-in .wp-block-woocommerce-customer-account a):hover{ background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- stickers and notices ---------- */
:root .sticker{ background: oklch(91.4% .111 90); border-radius: 0; }   /* the logo yellow #ffe08a */
:root :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner, .wp-block-woocommerce-store-notices .woocommerce-message){
  background: color-mix(in oklab, var(--nc) 28%, white) !important; border: var(--pop-line) !important; border-radius: 6px !important; box-shadow: var(--pop-sh) !important; }
:root .wc-block-components-notice-banner > svg{ background: var(--white) !important; fill: var(--ink) !important; border: 2px solid var(--ink); border-radius: 50% !important; }
:root .woocommerce-message::before, :root .woocommerce-info::before, :root .woocommerce-error::before{ color: var(--ink); }

@media (prefers-reduced-motion: reduce){
  :root :is(.btn, .wp-block-button__link, .wp-element-button, .woocommerce .button, .wc-block-components-button){ transition: none; }
  :root :is(.btn, .wp-block-button__link, .wp-element-button, .woocommerce .button, .wc-block-components-button):is(:hover, :active){ transform: none; }
}
html.paused :is(.btn, .wp-block-button__link, .wp-element-button, .woocommerce .button, .wc-block-components-button):is(:hover, :active){ transform: none; }

/* ---------- גיקלי floats (the Kuma "flying" figures): standing guides drift up and down with a slight sway;
   a peeking גיקלי keeps his small bob so his hands stay on the edge. Stops with "עצירת תנועה" and reduced motion. ---------- */
@keyframes gkFloat{ 0%, 100%{ transform: translateY(0) rotate(0deg); } 50%{ transform: translateY(-10px) rotate(-2.5deg); } }
:root .bit-guide.is-anim .bit, :root .bit-peek[data-anim="on"]:not(.is-peek-pose):not(.mirror) .bit{ animation: gkFloat 4.6s var(--ease) infinite; }
:root .bit-guide .bit, :root .bit-peek .bit{ filter: drop-shadow(-4px 6px 0 oklch(17% .02 260 / .14)); }
html.paused :is(.bit-peek, .bit-guide) .bit{ animation: none !important; }
@media (prefers-reduced-motion: reduce){ :root :is(.bit-peek, .bit-guide) .bit{ animation: none !important; } }
:root .bubble{ border-radius: var(--r-tile); box-shadow: var(--pop-sh-sm); }

/* ---------- cookie notice (inc/legal.php): once per visitor; the page makes room so it never covers what has focus ---------- */
.gk-cookie{ position: fixed; z-index: 9990; inset-block-end: 16px; inset-inline: 16px; margin-inline: auto; max-inline-size: 760px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 18px; background: var(--white, #fff); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--r-tile, 6px); box-shadow: var(--pop-sh, -4px 4px 0 var(--ink)); }
.gk-cookie[hidden]{ display: none; }
.gk-cookie p{ flex: 1 1 280px; margin: 0; font-size: var(--wp--preset--font-size--s, .95rem); line-height: 1.5; }
.gk-cookie a{ color: var(--brand-ink, #0e5f6b); text-decoration: underline; text-underline-offset: .18em; }
.gk-cookie .btn{ flex: none; min-block-size: 44px; }
html.has-cookie body{ padding-block-end: calc(var(--gk-cookie-h, 80px) + 32px); }
html.has-cookie{ scroll-padding-block-end: calc(var(--gk-cookie-h, 80px) + 32px); }

/* ---------- accessibility fixes (1.4.3, IS 5568 / WCAG 2.2 AA) ---------- */
/* switches (pause motion, catalogue toggles): the off state must be visible too (3:1): ink frame, ink knob on white;
   on = ink (or the filament colour) track with a white knob */
:root :is(.motion, .tgl) .sw{ inline-size: 40px; block-size: 24px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); box-shadow: none; }
:root :is(.motion, .tgl) .sw::after{ inset-block-start: 3px; inset-inline-start: 3px; inline-size: 16px; block-size: 14px; border-radius: 3px; background: var(--ink); box-shadow: none; }
:root :is(.motion[aria-pressed="true"], .tgl:has(input:checked)) .sw, html.paused .motion .sw{ background: var(--ink); }
:root .tgl:has(input:checked) .sw{ background: var(--lab-deep, var(--ink)); }
:root :is(.motion[aria-pressed="true"], .tgl:has(input:checked)) .sw::after, html.paused .motion .sw::after{ background: var(--white); transform: translateX(-14px); }
:root .motion{ box-shadow: none; border: var(--pop-line); }
:root .jump a{ box-shadow: none; border: var(--pop-line); border-radius: 4px; }
/* the turning spool in quick view stops with the pause switch and for reduced motion */
html.paused .pnl-view .spool .wind{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){ .pnl-view .spool .wind{ animation: none; } }
/* error messages stay until closed */
.toast .t-x{ flex: none; display: inline-grid; place-items: center; inline-size: 36px; block-size: 36px; margin-inline-start: 4px; padding: 0; border: 2px solid #fff; border-radius: 4px; background: transparent; color: #fff; font: 700 22px/1 var(--wp--preset--font-family--body); cursor: pointer; }
.toast .t-x[hidden]{ display: none; }
.toast .t-x:focus-visible{ outline: 3px solid var(--brand); outline-offset: 2px; }

/* ---------- accessibility menu (inc/a11y.php, assets/js/a11y.js) ---------- */
.gk-a11y-btn{ position: fixed; z-index: 9995; inset-block-end: 16px; inset-inline-end: 16px; display: inline-flex; align-items: center; gap: 8px;
  min-block-size: 48px; padding: 6px 14px 6px 10px; border: 2px solid var(--ink); border-radius: 6px; background: var(--brand); color: var(--ink);
  box-shadow: var(--pop-sh-sm, -3px 3px 0 var(--ink)); font: 700 var(--wp--preset--font-size--s)/1 var(--wp--preset--font-family--display); cursor: pointer; }
.gk-a11y-btn svg{ inline-size: 26px; block-size: 26px; fill: var(--ink); stroke: var(--ink); }
.gk-a11y-btn:hover{ transform: translate(2px, -2px); }
html.has-cookie .gk-a11y-btn{ inset-block-end: calc(var(--gk-cookie-h, 80px) + 28px); }
.gk-a11y-panel{ position: fixed; z-index: 9996; inset-block-end: 76px; inset-inline-end: 16px; inline-size: min(360px, calc(100vw - 32px));
  max-block-size: calc(100vh - 100px); overflow: auto; padding: 16px 16px 14px; background: var(--white, #fff); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 6px; box-shadow: var(--pop-sh, -4px 4px 0 var(--ink)); }
.gk-a11y-panel[hidden]{ display: none; }
html.has-cookie .gk-a11y-panel{ inset-block-end: calc(var(--gk-cookie-h, 80px) + 88px); max-block-size: calc(100vh - var(--gk-cookie-h, 80px) - 110px); }
.gk-a11y-h{ margin: 0 0 4px; font: 800 var(--wp--preset--font-size--l)/1.2 var(--wp--preset--font-family--display); }
.gk-a11y-size{ margin: 0 0 10px; font-size: var(--wp--preset--font-size--s); }
.gk-a11y-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gk-a11y-o{ min-block-size: 44px; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 4px; background: var(--white, #fff); color: var(--ink);
  font: 600 var(--wp--preset--font-size--s)/1.2 var(--wp--preset--font-family--display); text-align: center; cursor: pointer; }
.gk-a11y-o[aria-pressed="true"]{ background: var(--ink); color: #fff; }
.gk-a11y-o[aria-pressed="true"]::before{ content: "✓ "; }
.gk-a11y-o:disabled{ border-style: dashed; color: var(--ink-2, #444); cursor: not-allowed; }
.gk-a11y-o.is-reset{ grid-column: 1 / -1; }
.gk-a11y-link{ margin: 12px 0 0; }
.gk-a11y-link a{ color: var(--brand-ink, #0e5f6b); text-decoration: underline; text-underline-offset: .18em; font-weight: 600; }
.gk-a11y-close{ display: block; inline-size: 100%; margin-block-start: 10px; min-block-size: 44px; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); color: var(--ink); font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); cursor: pointer; }
@media print{ .gk-a11y, .gk-cookie{ display: none !important; } }
/* 1.4.4: nothing floats over an open menu (the menu overlay lives in the sticky header's stacking context, under
   these fixed layers), and the page ends below the corner button so it never covers the footer's last row
   (the "עצירת תנועה" switch sits there now). */
html.has-modal-open :is(.gk-a11y, .gk-cookie){ display: none; }
body:has(.gk-a11y-btn) :is(.ftr, .wp-site-blocks > footer.wp-block-template-part){ margin-block-end: 84px; }

/* the choices (data-a11y-* on <html>, set before first paint by boot.js) */
:root[data-a11y-text="1"]{ --a11y-k: 1.15; }
:root[data-a11y-text="2"]{ --a11y-k: 1.3; }
:root[data-a11y-text="3"]{ --a11y-k: 1.45; }
:root[data-a11y-text]{
  --wp--preset--font-size--xs: calc(13px * var(--a11y-k)); --wp--preset--font-size--s: calc(14.5px * var(--a11y-k));
  --wp--preset--font-size--m: calc(17px * var(--a11y-k)); --wp--preset--font-size--l: calc(20px * var(--a11y-k));
  --wp--preset--font-size--xl: calc(26px * var(--a11y-k)); --wp--preset--font-size--2-xl: calc(36px * var(--a11y-k));
  --wp--preset--font-size--3-xl: calc(54px * var(--a11y-k)); --wp--preset--font-size--display: calc(88px * var(--a11y-k)); }
:root[data-a11y-contrast]{ --paper: #fff; --plate: #fff; --white: #fff; --ink: #000; --ink-2: #000; --line: #000; --edge: #000; --brand-ink: #00363f; }
:root[data-a11y-contrast] body{ background: #fff !important; }
:root[data-a11y-contrast] [class*="is-style-acc-"]{ --acc-fill: #fff !important; }
:root[data-a11y-contrast] :is(p, li, td, th, label, small, figcaption, dd, dt, h1, h2, h3, h4){ text-shadow: none !important; }
:root[data-a11y-links] a:not(.btn, .wp-element-button, .wp-block-button__link, .gk-a11y-btn){ text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .2em !important; }
:root[data-a11y-links] main a:not(.btn, .wp-element-button, .wp-block-button__link){ background: #ffe08a; color: #000 !important; }
:root[data-a11y-font] body, :root[data-a11y-font] body :not(svg, svg *){ font-family: Arial, "Noto Sans Hebrew", "Segoe UI", sans-serif !important; letter-spacing: .01em !important; }
:root[data-a11y-focus] :focus-visible{ outline: 4px solid #000 !important; outline-offset: 3px !important; box-shadow: 0 0 0 8px #ffe08a !important; }
/* phones: when the product page's buy bar slides in, the accessibility button moves above it */
@media (max-width: 760px){
  body:has(.buybar:not([hidden])) .gk-a11y-btn{ inset-block-end: calc(var(--buybar-h, 76px) + 22px); }
  body:has(.buybar:not([hidden])) .gk-a11y-panel{ inset-block-end: calc(var(--buybar-h, 76px) + 82px); }
}
/* Pre-launch review (phones): the corner button covered the product title and checkout fields. It becomes a round icon
   (its name stays for screen readers), steps aside while a form field has focus, and focused elements scroll clear of
   it. In the cart, WooCommerce's sticky "proceed" bar sits above the cookie notice (it covered the notice's button) and
   the corner button above both. */
@media (max-width: 760px){
  .gk-a11y-btn{ inline-size: 48px; block-size: 48px; min-block-size: 48px; padding: 0; justify-content: center; border-radius: 50%; inset-block-end: 12px; inset-inline-end: 12px; }
  .gk-a11y-btn .gk-a11y-t{ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .gk-a11y-panel{ inset-block-end: 70px; }
  html{ scroll-padding-block-end: 72px; }
  html.has-cookie{ scroll-padding-block-end: calc(var(--gk-cookie-h, 80px) + 92px); }
  body:has(:is(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea):focus) .gk-a11y-btn[aria-expanded="false"]{ visibility: hidden; }
  html.has-cookie .wc-block-cart__submit-container--sticky{ inset-block-end: calc(var(--gk-cookie-h, 80px) + 24px) !important; }
  body:has(.wc-block-cart__submit-container--sticky) .gk-a11y-btn{ inset-block-end: 76px; }
  body:has(.wc-block-cart__submit-container--sticky) .gk-a11y-panel{ inset-block-end: 134px; }
  html.has-cookie body:has(.wc-block-cart__submit-container--sticky) .gk-a11y-btn{ inset-block-end: calc(var(--gk-cookie-h, 80px) + 100px); }
  html.has-cookie body:has(.wc-block-cart__submit-container--sticky) .gk-a11y-panel{ inset-block-end: calc(var(--gk-cookie-h, 80px) + 158px); }
  html.has-cookie body:has(.wc-block-cart__submit-container--sticky){ padding-block-end: calc(var(--gk-cookie-h, 80px) + 110px); }
  html.has-cookie:has(.wc-block-cart__submit-container--sticky){ scroll-padding-block-end: calc(var(--gk-cookie-h, 80px) + 160px); }
}

/* 1.7.16: on phones the pause switch goes to the start of the footer's base row (away from the floating accessibility
   button at the bottom-left), and the footer keeps clear of the button when the buy bar raises it. */
@media (max-width: 760px){
  .ftr-plate .ftr-base .motion{ order: -1; }
  body:has(.buybar:not([hidden])) :is(.ftr, .wp-site-blocks > footer.wp-block-template-part){ margin-block-end: calc(var(--buybar-h, 76px) + 84px); }
}
