/* ===== snippet 31 (was wp_head pri 106) — JQ Redesign — Mega-menu hover fix ===== */
.jq-nav-list>li.jq-has-drop{position:relative}
/* invisible bridge spanning the gap between the nav item and the dropdown */
.jq-drop::before{
  content:"";position:absolute;left:0;right:0;top:-20px;height:32px;background:transparent;pointer-events:auto;z-index:1
}
/* keep the panel up briefly after the cursor leaves so a small slip doesn't close it */
.jq-drop{
  transition:opacity .28s ease .18s, visibility 0s linear .48s,
             transform .3s cubic-bezier(.16,1,.3,1) .18s !important;
}
.jq-has-drop:hover>.jq-drop,
.jq-drop:hover{
  opacity:1 !important;visibility:visible !important;pointer-events:auto !important;
  transition:opacity .28s ease, visibility 0s, transform .3s cubic-bezier(.16,1,.3,1) !important;
}

/* ===== snippet 33 (was wp_head pri 107) — JQ Redesign — Mobile search field polish ===== */
@media (max-width:1024px){
  .elementor-location-header .dgwt-wcas-sf-wrapp{
    background:rgba(255,255,255,.05) !important;
    border:1px solid rgba(255,255,255,.20) !important;
    border-radius:100px !important;
    box-shadow:none !important;
    overflow:hidden;
  }
  .elementor-location-header .dgwt-wcas-search-form,
  .elementor-location-header .dgwt-wcas-search-wrapp{background:transparent !important}
  .elementor-location-header .dgwt-wcas-search-input{
    background:transparent !important;
    border:0 !important;
    color:#EDEAE3 !important;
    height:44px !important;
    line-height:44px !important;
    padding:0 18px 0 46px !important;
    font-size:13px !important;
    letter-spacing:.04em !important;
    box-shadow:none !important;
  }
  /* keep the magnifier tucked at the left, vertically centred */
  .elementor-location-header .dgwt-wcas-search-submit{
    left:6px !important;right:auto !important;width:38px !important;
    top:50% !important;transform:translateY(-50%) !important;
  }
  .elementor-location-header .dgwt-wcas-search-input::placeholder{color:rgba(237,234,227,.55) !important;opacity:1}
  /* magnifier: champagne, transparent button */
  .elementor-location-header .dgwt-wcas-search-submit,
  .elementor-location-header .dgwt-wcas-search-submit:hover,
  .elementor-location-header .dgwt-wcas-search-submit:focus{
    background:transparent !important;border:0 !important;box-shadow:none !important;
  }
  .elementor-location-header .dgwt-wcas-search-submit svg,
  .elementor-location-header .dgwt-wcas-search-submit path,
  .elementor-location-header .dgwt-wcas-ico-magnifier{
    color:#C9B79C !important;fill:#C9B79C !important;stroke:#C9B79C !important;opacity:1 !important;
  }
  /* preloader/close icons legible on dark */
  .elementor-location-header .dgwt-wcas-preloader,
  .elementor-location-header .dgwt-wcas-ico-close{filter:brightness(2)}
}

/* ===== snippet 35 (was wp_head pri 108) — JQ Redesign — Mobile header polish v3 ===== */
@media (max-width:1024px){

  /* ---- 1. Search field: dark pill + magnifier that clears the text ---- */
  .elementor-location-header .dgwt-wcas-sf-wrapp{
    background:rgba(255,255,255,.05) !important;
    border:1px solid rgba(255,255,255,.20) !important;
    border-radius:100px !important;
    box-shadow:none !important;
    overflow:hidden;
  }
  .elementor-location-header .dgwt-wcas-search-form,
  .elementor-location-header .dgwt-wcas-search-wrapp{background:transparent !important}

  /* WINNING selector (0,4,1) beats the inline [type=search] rule (0,3,0) */
  .elementor-location-header .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input[type="search"],
  .elementor-location-header .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input{
    background:transparent !important;
    border:0 !important;
    color:#EDEAE3 !important;
    height:42px !important;
    line-height:42px !important;
    padding:0 18px 0 44px !important;   /* <-- left padding clears the magnifier */
    font-size:13px !important;
    letter-spacing:.04em !important;
    box-shadow:none !important;
  }
  .elementor-location-header .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input::placeholder{
    color:rgba(237,234,227,.55) !important;opacity:1
  }
  /* magnifier tucked left, vertically centred, champagne, transparent */
  .elementor-location-header .dgwt-wcas-search-submit{
    left:8px !important;right:auto !important;width:32px !important;
    top:50% !important;transform:translateY(-50%) !important;
    background:transparent !important;border:0 !important;box-shadow:none !important;
  }
  .elementor-location-header .dgwt-wcas-search-submit svg,
  .elementor-location-header .dgwt-wcas-search-submit path,
  .elementor-location-header .dgwt-wcas-ico-magnifier{
    color:#E8C766 !important;fill:#E8C766 !important;stroke:#E8C766 !important;opacity:1 !important;
  }
  .elementor-location-header .dgwt-wcas-preloader,
  .elementor-location-header .dgwt-wcas-ico-close{filter:brightness(2)}

  /* ---- 2. Logo: a touch smaller + trim the logo row ---- */
  .elementor-location-header .elementor-element-13d7e88 img{
    max-height:66px !important;width:auto !important;
  }
  .elementor-location-header .elementor-element-1729ca8{
    padding-top:8px !important;padding-bottom:8px !important;
  }
}

/* ===== snippet 41 (was wp_head pri 112) — JQ Redesign — Stable archive grid (no isotope jump) ===== */
.wpr-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:28px !important;
  height:auto !important;
  position:relative !important;
}
.wpr-grid > .wpr-grid-item{
  position:relative !important;
  width:auto !important;
  left:auto !important; top:auto !important; right:auto !important; bottom:auto !important;
  transform:none !important;   /* reset leftover isotope translate() that shifted cols 2-4 off-screen */
  margin:0 !important;
  float:none !important;
}
/* keep the card hover-lift working despite the base transform reset */
.wpr-grid > .wpr-grid-item:hover{ transform:translateY(-4px) !important; }
@media (max-width:1024px){ .wpr-grid{ grid-template-columns:repeat(3,1fr) !important; gap:20px !important; } }
@media (max-width:640px){  .wpr-grid{ grid-template-columns:repeat(2,1fr) !important; gap:14px !important; } }

/* ===== snippet 37 (was wp_head pri 116) — JQ Redesign — Homepage strip + mini-cart polish ===== */
/* ---- 1. Kill the homepage cream strip above the footer ---- */
/* (a) 110px bottom padding inside the editorial container */
.elementor-element-f799b9a > .e-con-inner{ padding-bottom:0 !important; }
/* (b) trailing empty 20px section that let the cream body show as a seam */
.elementor-element-e0b5aa6{ display:none !important; }

/* ---- 2. Mini-cart panel ---- */
/* IMPORTANT: paint the card chrome on __main (the element Elementor fades with
   opacity), NOT on the container. On mobile __main is position:relative (in-flow),
   so a painted container would render as a permanent empty white card even while
   __main is opacity:0 (closed). Keeping the container transparent means nothing
   paints until __main fades in. */
.elementor-menu-cart__container{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.elementor-menu-cart__container .elementor-menu-cart__main{
  background:#17130E !important;
  border:1px solid rgba(240,236,227,.10) !important;
  box-shadow:0 24px 60px rgba(20,17,14,.22) !important;
  border-radius:14px !important;
}
.elementor-menu-cart__container .elementor-menu-cart__product{
  border-bottom:1px solid rgba(240,236,227,.08) !important;
}
.elementor-menu-cart__container .woocommerce-mini-cart__total,
.elementor-menu-cart__container .elementor-menu-cart__subtotal{
  color:#F1ECE3 !important; font-weight:600 !important;
}
.elementor-menu-cart__container .woocommerce-Price-amount{ color:#F1ECE3 !important; }

/* footer buttons — real markup:
   .elementor-menu-cart__container .woocommerce-mini-cart__buttons a.button
   (View basket = a.button ; Checkout = a.button.checkout). Win with high spec + !important. */
.elementor-menu-cart__container .woocommerce-mini-cart__buttons{
  display:flex !important; flex-direction:column !important; gap:10px !important; margin-top:14px !important;
}
.elementor-menu-cart__container .woocommerce-mini-cart__buttons a.button{
  border-radius:100px !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;
  font-size:12px !important;
  font-weight:600 !important;
  padding:14px 18px !important;
  text-align:center !important;
  margin:0 !important;
  transition:all .25s ease !important;
}
/* View basket = outline secondary */
.elementor-menu-cart__container .woocommerce-mini-cart__buttons a.button:not(.checkout){
  background:transparent !important;
  color:#F1ECE3 !important;
  border:1px solid rgba(240,236,227,.35) !important;
}
.elementor-menu-cart__container .woocommerce-mini-cart__buttons a.button:not(.checkout):hover{
  background:#D4AF37 !important; color:#FFFFFF !important; border-color:#D4AF37 !important;
}
/* Checkout = dark -> champagne primary CTA */
.elementor-menu-cart__container .woocommerce-mini-cart__buttons a.button.checkout{
  background:#14110E !important;
  color:#EDE3CC !important;
  border:1px solid #14110E !important;
}
.elementor-menu-cart__container .woocommerce-mini-cart__buttons a.button.checkout:hover{
  background:#D4AF37 !important; color:#14110E !important; border-color:#D4AF37 !important;
}
/* keep the panel body light (default __main + product list are black) + legible text */
.elementor-menu-cart__container .elementor-menu-cart__main,
.elementor-menu-cart__container .widget_shopping_cart_content,
.elementor-menu-cart__container ul.woocommerce-mini-cart,
.elementor-menu-cart__container ul.wpr-woo-mini-cart,
.elementor-menu-cart__container .woocommerce-mini-cart-item{ background:#17130E !important; }
.elementor-menu-cart__container .widget_shopping_cart_content,
.elementor-menu-cart__container .woocommerce-mini-cart__total,
.elementor-menu-cart__container .woocommerce-mini-cart-item,
.elementor-menu-cart__container .woocommerce-mini-cart__empty-message{ color:#F1ECE3 !important; }
.elementor-menu-cart__container .woocommerce-mini-cart-item a:not(.remove){ color:#F1ECE3 !important; }
/* remove-item + close icons legible */
.elementor-menu-cart__container .remove_from_cart_button,
.elementor-menu-cart__container .elementor-menu-cart__close-button{ color:#B6ADA0 !important; }

/* ---- desktop: right-align the panel to the cart icon so it can't run off-screen ----
   default is left:0 relative to the toggle wrapper (near the right edge) → the 330px
   panel overflowed the right edge by ~240px. Anchor to the right instead. */
@media (min-width:1025px){
  .elementor-menu-cart__container{
    left:auto !important;
    right:0 !important;
  }
}

/* ---- mobile: only pin/size the panel when it is actually OPEN ----
   This Elementor build signals "open" via aria-expanded="true" on the toggle
   button (no --shown class). The container is an earlier sibling of the toggle,
   so we key off the shared parent with :has(). When CLOSED we collapse the
   container to 0x0 (mirroring desktop, where __main is position:absolute) so it
   can't paint a box or intercept taps; when OPEN we pin it centred + scrollable. */
@media (max-width:1024px){
  .elementor-menu-cart__toggle_wrapper:has(.elementor-menu-cart__toggle_button[aria-expanded="true"]) .elementor-menu-cart__container{
    position:fixed !important;
    top:auto !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    width:min(380px,92vw) !important;
    max-width:92vw !important;
    max-height:76vh !important;
    overflow-y:auto !important;
    z-index:9999 !important;
  }
  .elementor-menu-cart__toggle_wrapper:not(:has(.elementor-menu-cart__toggle_button[aria-expanded="true"])) .elementor-menu-cart__container{
    position:absolute !important;
    width:0 !important;
    height:0 !important;
    min-height:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    pointer-events:none !important;
  }
}

/* ===== snippet 47 (was wp_head pri 130) — JQ Redesign — Unified buttons ===== */
:root{ --jq-btn:#D4AF37; --jq-btn-hi:#E8C766; --jq-btn-ink:#14110E; }

/* ---------- PRIMARY (filled gold) ---------- */
.elementor-widget-button a.elementor-button,
body.single-product .single_add_to_cart_button,
.wpr-grid .button, .wpr-grid a.button, .wpr-grid .add_to_cart_button, .wpr-grid-item-add-to-cart a,
.jet-woo-products .add_to_cart_button, .jet-woo-products .product_type_variable,
.jq-home-edu-btn, .jq-edu-cta, .jq-sticky-btn,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-proceed-to-checkout .checkout-button, .woocommerce #place_order,
.elementor-element-b65d71d .elementor-button{
  background:var(--jq-btn) !important; color:var(--jq-btn-ink) !important;
  background-image:none !important; border:1px solid var(--jq-btn) !important; border-radius:2px !important;
  box-shadow:0 2px 10px rgba(0,0,0,.18) !important;
  transition:background-color .25s ease, color .2s ease, transform .18s ease, box-shadow .25s ease !important;
  text-shadow:none !important;
}
.elementor-widget-button a.elementor-button:hover,
body.single-product .single_add_to_cart_button:hover,
.wpr-grid .button:hover, .wpr-grid a.button:hover, .wpr-grid .add_to_cart_button:hover, .wpr-grid-item-add-to-cart a:hover,
.jet-woo-products .add_to_cart_button:hover, .jet-woo-products .product_type_variable:hover,
.jq-home-edu-btn:hover, .jq-edu-cta:hover, .jq-sticky-btn:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-proceed-to-checkout .checkout-button:hover, .woocommerce #place_order:hover,
.elementor-element-b65d71d .elementor-button:hover{
  background:var(--jq-btn-hi) !important; color:var(--jq-btn-ink) !important; border-color:var(--jq-btn-hi) !important;
  transform:translateY(-2px) !important; box-shadow:0 10px 26px rgba(0,0,0,.34) !important;
}
.elementor-widget-button a.elementor-button:active,
body.single-product .single_add_to_cart_button:active,
.wpr-grid .button:active, .wpr-grid a.button:active, .wpr-grid .add_to_cart_button:active, .wpr-grid-item-add-to-cart a:active,
.jet-woo-products .add_to_cart_button:active, .jet-woo-products .product_type_variable:active,
.jq-home-edu-btn:active, .jq-edu-cta:active, .jq-sticky-btn:active,
.woocommerce a.button.alt:active, .woocommerce button.button.alt:active,
.wc-proceed-to-checkout .checkout-button:active, .woocommerce #place_order:active,
.elementor-element-b65d71d .elementor-button:active{
  transform:translateY(0) scale(.975) !important; box-shadow:0 2px 8px rgba(0,0,0,.30) !important;
}
.elementor-widget-button a.elementor-button:focus-visible,
body.single-product .single_add_to_cart_button:focus-visible,
.wpr-grid .add_to_cart_button:focus-visible, .wpr-grid-item-add-to-cart a:focus-visible,
.jq-home-edu-btn:focus-visible, .jq-edu-cta:focus-visible,
.wc-proceed-to-checkout .checkout-button:focus-visible, .woocommerce #place_order:focus-visible{
  outline:2px solid var(--jq-btn-hi) !important; outline-offset:3px !important;
}

/* ---------- SECONDARY (outline -> gold on hover) ---------- */
.jqc-cta-link, .jqna-cta-link{
  background:transparent !important; color:#F1ECE3 !important;
  border:1px solid rgba(241,236,227,.55) !important; border-radius:2px !important; box-shadow:none !important;
  transition:background-color .25s ease, color .2s ease, border-color .25s ease, transform .18s ease !important;
}
.jqc-cta-link:hover, .jqna-cta-link:hover{
  background:var(--jq-btn) !important; color:var(--jq-btn-ink) !important; border-color:var(--jq-btn) !important;
  transform:translateY(-2px) !important; box-shadow:0 10px 26px rgba(0,0,0,.30) !important;
}
.jqc-cta-link:active, .jqna-cta-link:active{ transform:translateY(0) scale(.975) !important; }
.jqc-cta-link:focus-visible, .jqna-cta-link:focus-visible{ outline:2px solid var(--jq-btn-hi) !important; outline-offset:3px !important; }

/* ---------- neutralise the inconsistent shine-sweep so hover is uniform ---------- */
.elementor-widget-button a.elementor-button::after,
.jqc-cta-link::after, .jqna-cta-link::after, .jq-home-edu-btn::after,
.wpr-grid-item-add-to-cart a::after{ content:none !important; animation:none !important; display:none !important; }

@media (prefers-reduced-motion:reduce){
  .elementor-widget-button a.elementor-button,.jqc-cta-link,.jqna-cta-link,
  .wpr-grid .add_to_cart_button,.single_add_to_cart_button,.jq-home-edu-btn,.jq-edu-cta{ transition:background-color .2s ease, color .2s ease !important; }
  .elementor-widget-button a.elementor-button:hover,.jqc-cta-link:hover,.jqna-cta-link:hover{ transform:none !important; }
}

/* ===== snippet 76 (was wp_head pri 200) — JQ Redesign — Contrast fixes (WCAG AA) ===== */
/* A. Archive / shop filter pills (snippet 41) — authored for a light bar; near-black
      text + border were invisible on the dark theme (1.11 → ~9). Active pills untouched. */
.jq-filterrow a.jq-f-pill:not(.is-active){
  color:#E7E1D5 !important;
  border-color:rgba(212,175,55,.35) !important;
}
.jq-filterrow a.jq-f-pill:not(.is-active):hover{
  color:#F4ECD8 !important;
  border-color:#D4AF37 !important;
  background:rgba(212,175,55,.08) !important;
}
.jq-filterrow .jq-f-label,
span.jq-f-label{ color:#C9C0B2 !important; } /* 3.21 → ~8 */

/* B. PLP card "Save £X" badge (snippet 47) — dark gold on dark (3.66 → ~7). */
.jq-card-save{ color:#E8C766 !important; }

/* C. Footer legal line (snippet 40) — sat just under AA sitewide (4.34 → ~5.3). */
.jq-footer-bottom,
.jq-footer-bottom *,
#jq-year{ color:#9A9184 !important; }

/* D. WooCommerce "Sale!" badge (JetWoo) — pale gold on white (2.29). Make it a solid
      gold chip with near-black text: on-brand, loud, high-contrast (~8). */
.jet-woo-product-badge.jet-woo-product-badge__sale,
.jet-woo-product-badge__sale{
  background:#D4AF37 !important;
  color:#14110E !important;
  border-color:#D4AF37 !important;
  text-shadow:none !important;
}

/* E. Size-guide modal (snippet 76) — a global button{} rule forced the inactive tabs and
      the × close to default black (1.13). Re-assert the intended dark-theme colours. */
#jq-sg .jq-sg-tab{ color:#C9C0B2 !important; }
#jq-sg .jq-sg-tab.is-on{ color:#E8C766 !important; }
#jq-sg .jq-sg-tab:hover{ color:#F1ECE3 !important; }
#jq-sg .jq-sg-x{ color:#B6ADA0 !important; }
#jq-sg .jq-sg-x:hover{ color:#E8C766 !important; }

/* F. WooCommerce account / password copy — default black on the dark account theme (1.12). */
.woocommerce-account .woocommerce > p,
.woocommerce-account form p,
.woocommerce-ResetPassword p,
.woocommerce-LostPassword p,
.woocommerce-account .woocommerce-form-login__rememberme span{ color:#D8D2C6 !important; }

/* G. Checkout — the WooPayments "+3 more methods" count and the lost-password link rendered
      near-black/black on the dark checkout (1.11 / 1.14). */
.payment-methods--logos-count{ color:#C9C0B2 !important; }
a.elementor-lost-password,
.woocommerce-form-login .lost_password a,
form.woocommerce-form-login p a{ color:#D8D2C6 !important; }

/* H. CookieYes consent banner (site-wide on first visit) has a WHITE background, but our dark-theme
      text colour bled in and made it unreadable (light on white, 1.18). Force its text dark so the
      cookie notice is legible on the banner. */
.cky-consent-container .cky-title.cky-title,
.cky-modal .cky-title.cky-title,
.cky-title.cky-title.cky-title,
.cky-notice-des,
.cky-notice-des p,
.cky-notice-des *,
.cky-notice-group .cky-notice-des{ color:#2A2A2A !important; }
.cky-notice-des a{ color:#8a6d1a !important; text-decoration:underline !important; }