/* The few parts the old site drew with plugins whose styles are not kept: the home page's slider
   (Smart Slider), a product's small pictures (FlexSlider). */

.imex-slider { position: relative; overflow: hidden; width: 100%; background: #0b2a4a; }
.imex-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.imex-slide.is-on { opacity: 1; visibility: visible; }
/* Smart Slider drew each picture at 1200 by 768 scaled to the width, showing its top part. */
.imex-slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 1200 / 768; min-height: 100%; object-fit: cover; }
.imex-slide-words { position: relative; z-index: 1; height: 100%; padding: 0 0 0 52%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 36px; padding-bottom: 100px; }
.imex-slide-heading { color: #085ac9; font-family: "Ubuntu", sans-serif; font-weight: 400; font-size: 57px; line-height: 1; max-width: 606px; }
.imex-slide-button { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #085ac9 !important; font-family: "Ubuntu", sans-serif; font-weight: 500; font-size: 14px; line-height: 1.5; padding: 10px 30px; border-radius: 24px; text-decoration: none; }
.imex-slide-button:hover { color: #1890d7 !important; }
.imex-slider-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: #00355d; display: grid; place-items: center; cursor: pointer; padding: 0; }
.imex-slider-arrow.prev { left: 16px; }
.imex-slider-arrow.next { right: 16px; }
/* Smart Slider's sizes: the heading smaller on smaller screens, and a shorter slider on phones. */
@media (max-width: 1199px) {
  .imex-slide-heading { font-size: 50px; }
}
@media (max-width: 1023px) {
  .imex-slide-heading { font-size: 36px; }
}
@media (max-width: 767px) {
  .imex-slider { height: 300px !important; }
  .imex-slide-words { padding: 0 12px 0 48%; gap: 24px; }
  .imex-slide-heading { font-size: 18px; }
  .imex-slide-button { padding: 8px 24px; }
  .imex-slider-arrow { display: none; }
}

.woocommerce-product-gallery { opacity: 1 !important; position: relative; }
.woocommerce-product-gallery__image[hidden] { display: none !important; }
.woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 15px; list-style: none; margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs li { width: calc(25% - 12px); margin: 0 !important; }
.woocommerce-product-gallery .flex-control-thumbs img { cursor: pointer; opacity: .6; width: 100%; height: auto; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }


.custom-tabs-wrapper .tab-buttons li:focus-visible { outline: 2px solid #085ac9; outline-offset: 2px; }

#enquiry-close { background: transparent; border: 0; color: #1c2434; padding: 0; line-height: 1; }
#enquiry-close:focus-visible { outline: 2px solid #085ac9; outline-offset: 4px; }

.shop-header h1.ix-catalogue-heading { font-size: 35px; text-align: center; }
