/* Batteries Plus – 2026 refresh layer (Media365, Nov 2026)
   Loaded after all theme CSS. Presentation only: no markup, content or layout structure is changed.
   To revert: remove the "bp-refresh-2026" enqueue in the theme's functions.php (or delete this file). */

:root {
  --bp-orange: #ec6506;
  --bp-orange-d: #c95200;
  --bp-navy: #1f2a5a;
  --bp-ink: #1c2233;
  --bp-text: #454c5c;
  --bp-muted: #6b7385;
  --bp-line: #e2e5ec;
  --bp-bg: #f4f5f8;
  --bp-r: 12px;
  --bp-r-sm: 8px;
  --bp-ring: 0 0 0 3px rgba(236, 101, 6, .28);
}

/* ---------- Base ---------- */
body {
  color: var(--bp-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { letter-spacing: -.005em; }
a { transition: color .15s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bp-orange);
  outline-offset: 2px;
}
::selection { background: var(--bp-orange); color: #fff; }

/* ---------- Form controls ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], select, textarea {
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-r-sm);
  color: var(--bp-ink);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="password"]:focus,
input[type="number"]:focus, input[type="search"]:focus, select:focus, textarea:focus {
  border-color: var(--bp-orange);
  box-shadow: var(--bp-ring);
  outline: 0;
}
select:disabled { background-color: #eef0f4; color: var(--bp-muted); opacity: 1; }

/* ---------- Buttons ---------- */
.ymm-selector .button,
#searchbtn,
.woocommerce .single_add_to_cart_button,
.woocommerce a.checkout-button,
.woocommerce #place_order,
.woocommerce .cart .actions .button,
.woocommerce .coupon .button,
.wpzc-shop-form button {
  border-radius: var(--bp-r-sm);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.ymm-selector .button:active,
.woocommerce .single_add_to_cart_button:active,
.woocommerce a.checkout-button:active { transform: translateY(1px); }

/* ---------- Header ---------- */
/* Top bar: the builder's fixed-width columns made the email and account links wrap onto a second line */
#topbars { font-size: 13px; }
#topbars .vc_row.vc_inner { display: flex; flex-wrap: nowrap; align-items: center; }
#topbars .vc_row.vc_inner > .wpb_column { width: auto; float: none; flex: 0 0 auto; white-space: nowrap; }
#topbars .topbar-text .vc_row.vc_inner { gap: 28px; }
#topbars .vc_col-sm-4.vc_hidden-sm .vc_row.vc_inner { justify-content: flex-end; gap: 6px; }
#topbars .vc_row.vc_inner > .wpb_column:empty,
#topbars .vc_row.vc_inner > .wpb_column:not(:has(a, strong, i)) { display: none; }
#topbars a { text-decoration: none; }
#topbars a:hover { text-decoration: underline; }

/* Search: one aligned bar instead of three boxes of different heights */
.header-search .woocommerce-product-search {
  position: relative;
  border-radius: var(--bp-r-sm);
  overflow: hidden;
  height: 50px;
}
.header-search .woocommerce-product-search .search-field {
  height: 50px;
  border: 0;
  border-radius: 0;
  font-size: 15px;
}
.header-search .woocommerce-product-search .search-field:focus { box-shadow: inset 0 0 0 2px var(--bp-orange); }
.header-search .woocommerce-product-search .categories-container { top: 0; height: 50px; }
/* On category and product pages the category picker is output twice and the two labels overlap; show one */
.header-search .woocommerce-product-search .categories-container ~ .categories-container { display: none; }
.header-search .woocommerce-product-search .cate-toggler { height: 50px; line-height: 50px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.header-search #searchbtn { top: 0; height: 50px; border-radius: 0; font-weight: 700; letter-spacing: .02em; }
.header-search #searchbtn:hover { background-color: var(--bp-orange-d); }

/* Cart summary in the header */
.header-container .widget_shopping_cart_content .cart-toggler > a,
.header-container .widget_shopping_cart_content .cart-toggler { border-radius: var(--bp-r-sm); }

#topbars .topbar-text { padding-left: 20px; }

/* Hero slider */
.front-page #slider .elementor-image-carousel-wrapper { border-radius: var(--bp-r); overflow: hidden; }
.front-page #slider .swiper-pagination-bullet-active { background: var(--bp-orange); }

/* ---------- Category menu (left rail) ---------- */
.categories-menu-wrapper .categories-menu { border-radius: 0 0 var(--bp-r) var(--bp-r); }
.categories-menu-wrapper ul.categories-menu > li > a { transition: background-color .15s ease, padding-left .15s ease; }
.categories-menu-wrapper ul.categories-menu > li:hover > a { background-color: rgba(0, 0, 0, .12); }

/* ---------- Battery finder ---------- */
.ymm-selector .ymm-select {
  height: 46px;
  margin-bottom: 10px;
  padding: 0 12px;
  width: 100%;
}
.ymm-selector .level { margin-bottom: 0; padding: 5px 0 !important; }
.ymm-selector.ymm-horizontal .level select.ymm-select.disabled,
.ymm-selector.ymm-box select.ymm-select.disabled { background: #eceef3 !important; border-color: #e2e5ec !important; color: var(--bp-muted) !important; }
.ymm-selector .button { margin-top: 10px !important; }
.ymm-selector .button { height: 46px; width: 100%; padding: 0 22px; font-size: 14px; letter-spacing: .08em; }
.ymm-selector .button:hover { background-color: var(--bp-orange-d); border-color: var(--bp-orange-d); }

/* ---------- Home: white content panels ---------- */
.products-carousel-3 .wpb_column > .vc_column-inner > .wpb_wrapper {
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-r);
  overflow: hidden;
}
/* Panel headings: reserve two lines so the four product lists start level */
.products-carousel-3 .title-2 { border-bottom: 1px solid var(--bp-line); padding: 18px 18px 0; }
.products-carousel-3 .title-2 h3 {
  min-height: 2.5em;
  display: flex;
  align-items: flex-end;
  font-size: 19px;
  line-height: 1.25;
  padding-bottom: 14px;
  margin-bottom: 0;
}

/* ---------- Product list tiles (image left, details right) ---------- */
.products-carousel-3 .product-wrapper.listview {
  height: auto !important;
  min-height: 0;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.products-carousel-3 .shop-products .item-col { height: auto !important; }
.products-carousel-3 .item-col + .item-col .product-wrapper.listview { border-top: 1px solid var(--bp-line); }
.products-carousel-3 .product-wrapper.listview .list-col4 { float: none; flex: 0 0 108px; width: 108px; padding: 0 0 0 14px; }
.products-carousel-3 .product-wrapper.listview .list-col8 { float: none; flex: 1 1 auto; width: auto; min-width: 0; padding: 0 14px 0 0; }
.products-carousel-3 .product-wrapper.listview .product-image img { border-radius: var(--bp-r-sm); }
.products-carousel-3 .product-wrapper.listview a.product-name {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1.3;
  font-size: 15px;
  color: var(--bp-ink);
}
.products-carousel-3 .product-wrapper.listview a.product-name:hover { color: var(--bp-orange); }
.products-carousel-3 .product-wrapper.listview .woocommerce-loop-product__title { line-height: 1.3; margin: 0 0 6px; }
.products-carousel-3 .product-wrapper.listview .price { font-size: 18px; font-weight: 700; }
.products-carousel-3 .product-wrapper.listview .stock { margin: 2px 0 0; font-size: 13px; }

/* Postcode check inside product tiles: one compact row instead of a stacked box + button */
.wpzc-shop-form {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch;
  max-width: 176px;
  margin: 10px 0 0 !important;
}
.wpzc-shop-form input[type="text"] {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  border: 1px solid var(--bp-line) !important;
  border-right: 0 !important;
  border-radius: var(--bp-r-sm) 0 0 var(--bp-r-sm) !important;
}
.wpzc-shop-form button {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 var(--bp-r-sm) var(--bp-r-sm) 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.wpzc-shop-form button svg { width: 15px; height: 15px; }
.wpzc-shop-form .wpzc-shop-form-response { flex: 0 0 100%; order: 3; margin: 6px 0 0 !important; font-size: 12px; line-height: 1.35; }
.wpzc-shop-form .wpzc-shop-form-response:empty { display: none; }

/* ---------- Footer ---------- */
/* The location and phone icons came from an icon font that is no longer loaded; draw them with the icon font the site still uses */
#colophon i.jki::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  color: #fff;
  font-size: 17px;
  line-height: 1;
}
#colophon i.jki-placeholder2-light::before { content: "\f3c5"; }
#colophon i.jki-phone-handset-light::before { content: "\f095"; }
#colophon a { transition: color .15s ease; }
#colophon a:hover { color: var(--bp-orange); }

/* ---------- Shop: category cards ---------- */
.shop-products.grid-view:has(> .product-category) { display: flex; flex-wrap: wrap; }
.shop-products.grid-view > .product-category {
  float: none;
  height: auto !important;
  min-height: 0;
  padding: 18px 16px 20px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-r);
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.shop-products.grid-view > .product-category:hover { border-color: #cfd4df; box-shadow: 0 6px 18px rgba(31, 42, 90, .08); }
.shop-products.grid-view > .product-category img { border-radius: var(--bp-r-sm); }
.shop-products.grid-view > .product-category mark.count {
  display: block;
  margin-top: 4px;
  background: none;
  color: var(--bp-muted);
  font-size: 13px;
  font-weight: 500;
}

/* Sidebar category list */
.widget_product_categories .count { display: inline; float: none; color: var(--bp-muted); font-size: 13px; }

/* ---------- Shop: product grid cards ---------- */
/* Same image box and a two-line title on every card, so cards are equal height and rows line up */
.shop-products .product-wrapper.gridview {
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-r);
  overflow: hidden;
  padding-bottom: 18px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.shop-products .product-wrapper.gridview:hover { border-color: #cfd4df; box-shadow: 0 6px 18px rgba(31, 42, 90, .08); }
.shop-products .product-wrapper.gridview .product-image > a {
  display: block;
  aspect-ratio: 1 / 1;
  padding: 18px;
}
.shop-products .product-wrapper.gridview .product-image > a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.shop-products .product-wrapper.gridview .list-col8 { padding: 0 18px; }
.shop-products .product-wrapper.gridview .woocommerce-loop-product__title { margin: 0 0 8px; line-height: 1.35; }
.shop-products .product-wrapper.gridview a.product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  min-height: 2.7em;
  line-height: 1.35;
  font-size: 15px;
  font-weight: 600;
  color: var(--bp-ink);
}
.shop-products .product-wrapper.gridview a.product-name:hover { color: var(--bp-orange); }
.shop-products .product-wrapper.gridview .price { font-size: 20px; font-weight: 700; }
.shop-products .product-wrapper.gridview .stock { margin: 4px 0 0; font-size: 13px; min-height: 1.4em; }
.shop-products .product-wrapper.gridview .wpzc-shop-form { max-width: 210px; }

/* Shop toolbar */
.woocommerce-ordering select.orderby { height: 40px; padding: 0 10px; }

/* ---------- Product page ---------- */
/* The product name was printed twice (page banner + product title). Keep the one beside the photo. */
.single-product .entry-header { display: none !important; }
.single-product .summary h1.product_title.entry-title { font-size: 28px !important; line-height: 1.2; font-weight: 700; color: var(--bp-ink) !important; margin-bottom: 12px; }
.single-product .summary p.price, .single-product .summary p.price .amount { font-size: 28px !important; font-weight: 700; }
.single-product .woocommerce-product-gallery__wrapper img { border-radius: var(--bp-r-sm); }
.single-product .flex-control-thumbs li img { border: 1px solid var(--bp-line); border-radius: var(--bp-r-sm); transition: border-color .15s ease, opacity .15s ease; }
.single-product .flex-control-thumbs li img.flex-active, .single-product .flex-control-thumbs li img:hover { border-color: var(--bp-orange); }
.single-product .wpzc-pincode-checker { border: 1px solid var(--bp-line); border-radius: var(--bp-r); background: #fafbfc; }
.single-product form.cart .quantity input.qty {
  height: 50px;
  width: 64px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-r-sm);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.woocommerce .single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button.button.alt {
  height: 50px;
  padding: 0 34px;
  border: 2px solid var(--bp-orange);
  border-radius: var(--bp-r-sm);
  background-color: var(--bp-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}
.woocommerce .single_add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button.button.alt:hover { background-color: var(--bp-orange-d); border-color: var(--bp-orange-d); color: #fff; }
.single-product .woocommerce-tabs ul.tabs li a { font-weight: 700; }
.single-product .woocommerce-tabs .panel { line-height: 1.7; }

/* ---------- Cart ---------- */
.woocommerce-cart table.shop_table { border-collapse: separate; border-spacing: 0; }
.woocommerce-cart table.shop_table td.product-thumbnail img { border-radius: var(--bp-r-sm); }
.woocommerce-cart table.shop_table .quantity input.qty { height: 42px; width: 58px; border: 1px solid var(--bp-line); border-radius: var(--bp-r-sm); text-align: center; }
.woocommerce-cart .coupon #coupon_code { height: 44px; padding: 0 12px; }
.woocommerce-cart .coupon .button, .woocommerce-cart .actions > .button { height: 44px; padding: 0 22px; }
.woocommerce-cart .cart_totals { border: 1px solid var(--bp-line); border-radius: var(--bp-r); }
.woocommerce a.checkout-button,
.woocommerce #place_order {
  border-radius: var(--bp-r-sm);
  background-color: var(--bp-orange);
  border-color: var(--bp-orange);
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
}
.woocommerce a.checkout-button:hover,
.woocommerce #place_order:hover { background-color: var(--bp-orange-d); border-color: var(--bp-orange-d); color: #fff; }

/* ---------- Checkout ---------- */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single { height: 46px; border-radius: var(--bp-r-sm); border-color: var(--bp-line); }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
.woocommerce-checkout .form-row textarea { border-radius: var(--bp-r-sm); border-color: var(--bp-line); }
.woocommerce-checkout .form-row label { font-weight: 600; color: var(--bp-ink); }
.woocommerce-checkout #payment { border-radius: var(--bp-r); }
.woocommerce-checkout #payment ul.payment_methods li { padding: 10px 0; }

/* ---------- Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--bp-r-sm); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Primary actions: the theme styles these with long selectors, so these overrides are marked important */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order {
  height: 50px !important;
  line-height: 46px !important;
  padding: 0 34px !important;
  border: 2px solid var(--bp-orange) !important;
  border-radius: var(--bp-r-sm) !important;
  background: var(--bp-orange) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #payment #place_order:hover {
  background: var(--bp-orange-d) !important;
  border-color: var(--bp-orange-d) !important;
}
.woocommerce div.product form.cart .quantity input.qty {
  height: 50px !important;
  width: 64px !important;
  border: 1px solid var(--bp-line) !important;
  border-radius: var(--bp-r-sm) !important;
  font-size: 16px;
  font-weight: 600;
}

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
  /* The category picker sat on top of the search box text */
  .header-search .woocommerce-product-search .categories-container { display: none; }
  .shop-products .product-wrapper.gridview { margin-bottom: 16px; }
  .products-carousel-3 .wpb_column > .vc_column-inner > .wpb_wrapper { margin-bottom: 16px; }
  .single-product .summary h1.product_title.entry-title { font-size: 23px !important; }
  .woocommerce div.product form.cart .single_add_to_cart_button { padding: 0 22px !important; }
}

/* =====================================================================
   STEP 1 (approved 21 Nov): orange as accent, sentence case, new typeface,
   postcode check removed from listing tiles.
   ===================================================================== */
:root { --bp-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

/* ---------- Typeface ---------- */
body, button, input, select, textarea, optgroup,
h1, h2, h3, h4, h5, h6, p, li, label, td, th, legend, blockquote, figcaption {
  font-family: var(--bp-font) !important;
}
body :is(a, span, div, bdi, strong, b, em, small, mark, cite):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not([class^="fa-"]):not([class*=" fa-"]):not([class*="eicon"]):not([class*="ion-"]):not(.jki):not([class*="dashicons"]):not(.star-rating):not(.star-rating *):not([class^="icon-"]):not([class*=" icon-"]):not(.elementor-icon):not([class*="slick-"]):not([class*="swiper-"]):not([class*="mm_icon"]):not(#wpadminbar *) {
  font-family: var(--bp-font) !important;
}
body { font-size: 16px; line-height: 1.6; }
#topbars .topbar-text { padding-left: 34px !important; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.015em; }

/* ---------- Sentence case ---------- */
.header-container .mega_main_menu a,
.header-container .horizontal-menu a,
.header-container .primary-nav a,
.header-container nav a,
.categories-menu-wrapper a,
.categories-menu-wrapper .catemenu-toggler,
h1, h2, h3, h4,
.elementor-heading-title,
.ymm-selector .button,
#colophon a,
.woocommerce-tabs ul.tabs li a,
.shop_table th,
.cart_totals h2 { text-transform: none !important; }
.ymm-selector .button { letter-spacing: .01em; font-size: 15px; font-weight: 700; }

/* ---------- Orange as accent ---------- */
/* Top bar: quiet strip instead of a solid orange band */
#topbars { background: #fff !important; border-bottom: 1px solid var(--bp-line); }
#topbars, #topbars a, #topbars strong, #topbars p, #topbars span { color: var(--bp-text) !important; }
#topbars i { color: var(--bp-orange) !important; }
#topbars a:hover { color: var(--bp-orange) !important; }

/* Category rail: white card, dark text, orange only on hover.
   (The theme's own inline CSS marks these as important, hence the longer selectors.) */
body .categories-menu-wrapper .categories-menu .catemenu-toggler { background: var(--bp-navy) !important; color: #fff !important; }
body .categories-menu-wrapper .categories-menu .catemenu-toggler span { text-transform: capitalize; letter-spacing: 0; font-weight: 700; }
body .categories-menu-wrapper .categories-menu .catemenu-inner {
  background: #fff !important;
  border: 1px solid var(--bp-line);
  border-top: 0;
  border-radius: 0 0 var(--bp-r) var(--bp-r);
}
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li > a {
  background: transparent !important;
  color: var(--bp-ink) !important;
  border-color: var(--bp-line) !important;
  font-size: 15px;
  font-weight: 500;
}
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li > a i,
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li > a::after,
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li > a::before,
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li::after { color: var(--bp-muted) !important; }
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li:hover > a { background: #f6f7fa !important; color: var(--bp-orange) !important; }

/* Section headings: ink instead of orange, orange stays as the small underline */
.products-carousel-3 .title-2 h3,
.title-2 h3,
h3.woocommerce-products-header__title { color: var(--bp-ink) !important; font-weight: 700; }

/* ---------- Listing tiles: no postcode box (kept on the product page) ---------- */
.shop-products .wpzc-shop-form,
.products-carousel-3 .wpzc-shop-form { display: none !important; }
.shop-products .product-wrapper.gridview { padding-bottom: 20px; }

/* Step 1 fixes after first review */
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li.menu-item-has-children > a::after { color: var(--bp-muted) !important; font-size: 20px; }
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li:hover > a::after { color: var(--bp-orange) !important; }
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li > a {
  line-height: 1.35 !important;
  height: auto !important;
  min-height: 48px;
  padding: 13px 34px 13px 20px !important;
  display: flex !important;
  align-items: center;
}
/* Labels typed in capitals in the page builder: show them in sentence case */
.categories-menu-wrapper .catemenu-toggler span,
.title-2 h3 { text-transform: lowercase !important; }
.categories-menu-wrapper .catemenu-toggler span { display: inline-block; }
.categories-menu-wrapper .catemenu-toggler span::first-letter,
.title-2 h3::first-letter { text-transform: uppercase !important; }

body .ymm-selector.ymm-horizontal .level { padding: 5px 0 !important; width: 100% !important; }
body .ymm-selector.ymm-horizontal .level select.ymm-select { width: 100% !important; }
body .ymm-selector.ymm-horizontal .button.ymm-submit-any-selection {
  font-size: 15px !important;
  letter-spacing: .01em !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

.categories-menu-wrapper .catemenu-toggler span { text-transform: uppercase !important; letter-spacing: .06em !important; font-size: 14px; }
.products-carousel-3 .title-2 h3 { display: block; }
.categories-container .product-categories a,
.categories-container .product-categories li { text-transform: none !important; }
.categories-container .product-categories a { font-weight: 600; color: var(--bp-ink); }
.categories-container .product-categories a:hover { color: var(--bp-orange); }
.front-page .wpb_text_column p > a { text-transform: none !important; font-weight: 600; color: var(--bp-ink); }
.front-page .wpb_text_column p > a:hover { color: var(--bp-orange); }
/* Footer column headings stay in capitals: they are typed inconsistently ("Links", "shop", "BUSINESS HOURS") */
#colophon h2, #colophon h3, #colophon h4, #colophon .elementor-heading-title { text-transform: uppercase !important; letter-spacing: .04em; }

/* Checkout and account fields: same shape as every other field on the site (the theme draws these as pills) */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection--single {
  border: 1px solid var(--bp-line) !important;
  border-radius: var(--bp-r-sm) !important;
  padding-left: 14px !important;
  min-height: 46px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--bp-orange) !important; }
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 0; }

/* Category rail: keep the sub-menu arrow at the right edge */
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li.menu-item-has-children > a::after { margin-left: auto; padding-left: 10px; position: static !important; }
/* Top bar: keep a gutter at laptop widths */
#topbars > .row-container { padding-left: 24px !important; padding-right: 24px !important; box-sizing: border-box; }
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li.menu-item-has-children > a { position: relative; }
body .categories-menu-wrapper .categories-menu .categories-menu-container ul > li.menu-item-has-children > a::after { position: absolute !important; right: 16px; top: 50%; transform: translateY(-50%); margin: 0; padding: 0; }
#topbars { padding-left: 34px !important; padding-right: 34px !important; box-sizing: border-box; }

/* ---------- Homepage H1 (added for SEO, 21 Nov) ---------- */
.bp-home-h1 {
  margin: 26px 0 0 calc(25% + 15px);
  padding: 0 15px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--bp-ink);
  text-transform: none !important;
}
.front-page .bp-home-h1 + .slider-wrapper.layout3 { margin-top: 18px !important; }
@media (max-width: 1199px) {
  .bp-home-h1 { margin-left: 0; font-size: 22px; }
}

/* =====================================================================
   RESPONSIVE PASS (21 Nov): fixes from testing 19 pages at 360, 768, 1024 and 1280px
   ===================================================================== */
/* Full-width builder rows were 15px wider than the window (sideways scroll at laptop widths) */
html, body { overflow-x: clip; }

/* Homepage: an empty builder row left a 85px blank band under the heading */
.front-page .bp-home-h1 + .vc_row:not(.slider-wrapper) { display: none; }
.front-page .slider-wrapper.layout3 { margin-top: 18px !important; }

/* Category grids: rows were a fixed 446px tall whatever the card height */
.shop-products > .group { height: auto !important; min-height: 0 !important; margin-bottom: 26px !important; }
.shop-products > .group::after { content: ""; display: table; clear: both; }

/* Homepage product tiles: an unstyled add-to-cart link was printing its URL under the price */
.products-carousel-3 .product-wrapper.listview .actions-wrapper { display: none; }

/* Top bar: keep the contact details inside the window below desktop widths */
#topbars .vc_row.vc_inner { margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width: 1199px) {
  #topbars { padding-left: 20px !important; padding-right: 20px !important; }
  #topbars .topbar-text { padding-left: 0 !important; }
  #topbars .topbar-text .vc_row.vc_inner { gap: 18px; }
}

@media (max-width: 767px) {
  /* Homepage "top categories": two per row instead of one long column */
  .front-page .top-category .vc_row.vc_inner { display: flex; flex-wrap: wrap; }
  .front-page .top-category .vc_row.vc_inner > .wpb_column { width: 50% !important; float: none !important; flex: 0 0 50%; }
  .front-page .top-category .vc_row.vc_inner > .wpb_column img { max-height: 90px; width: auto; }
  .front-page .slider-wrapper.layout3 { margin-bottom: 10px !important; }
  .bp-home-h1 { margin-top: 20px; font-size: 21px; }

  /* Footer columns sat flush against the screen edge */
  #colophon .elementor-widget-heading,
  #colophon .elementor-widget-icon-list,
  #colophon .elementor-widget-icon-box { padding-left: 20px; padding-right: 20px; }
  #colophon .elementor-icon-list-item { padding-top: 5px !important; padding-bottom: 5px !important; }

  /* Tighter stack between the battery finder and the next block */
  .front-page .slider-wrapper.layout3 .vc_row.vc_inner { margin-bottom: 0 !important; }
  .front-page .slider-wrapper.layout3 .wpb_text_column { margin-bottom: 12px !important; }
}

/* More icons that relied on the removed icon font (contact page Facebook icon, footer recycling bullet) */
i.jki::before { font-family: "Font Awesome 5 Free"; font-weight: 900; font-style: normal; line-height: 1; }
i.jki-recycle-solid::before { content: "\f1b8"; font-size: 13px !important; color: var(--bp-orange) !important; }
i.jki-facebook-light::before { font-family: "Font Awesome 5 Brands"; font-weight: 400; content: "\f39e"; color: #fff; }

/* Top bar as one flexible row: contact details left, account links right, at every width */
#topbars > .row-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#topbars > .row-container::before, #topbars > .row-container::after { display: none; }
#topbars > .row-container > .wpb_column { width: auto !important; float: none; flex: 0 1 auto; min-width: 0; }
#topbars > .row-container > .wpb_column:nth-child(2) { display: none; }
#topbars .topbar-text { padding-left: 0 !important; }
#topbars { padding-left: 0 !important; padding-right: 0 !important; }

/* =====================================================================
   OTHER PAGES + DARK-MODE PHONES (21 Nov)
   ===================================================================== */
/* The site has one (light) design. Tell phones not to auto-darken it, which was the risk on
   Android Chrome's "dark theme for sites": inverted logos and unreadable orange-on-dark text. */
:root { color-scheme: only light; }

/* Enquiry forms (Contact, Trade): grey box with underline fields -> navy panel with proper fields */
.elementor-widget-wrap:has(> .elementor-widget-form) {
  background: var(--bp-navy) !important;
  border-radius: var(--bp-r);
  padding: 26px 26px 22px !important;
}
.elementor-form .elementor-field-textual {
  background: #fff !important;
  border: 1px solid transparent !important;
  border-radius: var(--bp-r-sm) !important;
  color: var(--bp-ink) !important;
  min-height: 46px;
  padding: 10px 14px !important;
  font-size: 15px !important;
}
.elementor-form textarea.elementor-field-textual { min-height: 120px; }
.elementor-form .elementor-field-textual::placeholder { color: #6b7385 !important; opacity: 1; }
.elementor-form .elementor-field-textual:focus { border-color: var(--bp-orange) !important; box-shadow: var(--bp-ring); }
.elementor-form .elementor-field-group { margin-bottom: 12px; }
.elementor-form .elementor-button { border-radius: var(--bp-r-sm) !important; min-height: 46px; font-weight: 700; }
.elementor-form .elementor-button:hover { background-color: var(--bp-orange-d) !important; }

/* Text pages (shipping, disclaimer, policy, trade): readable measure and rhythm */
.page .entry-content .wpb_text_column p,
.page .elementor-widget-text-editor p { line-height: 1.7; }
.page .elementor-widget-text-editor { text-align: left; }

/* ---------- About page (page 1977) ---------- */
/* Hero: the unrelated stock photo (wooden blocks with phone/@ icons) is replaced by a calm panel */
.page-id-1977 .elementor-element-663d4f81 {
  background-image: none !important;
  background: linear-gradient(180deg, #eef1f6 0%, #f7f8fa 100%) !important;
  box-shadow: none !important;
}
.page-id-1977 .elementor-element-663d4f81 > .elementor-background-overlay { display: none; }
.page-id-1977 .elementor-element-663d4f81 .elementor-heading-title { text-transform: none !important; letter-spacing: -.02em; }
.page-id-1977 .elementor-element-663d4f81 .elementor-element-b68fa48 img { max-width: 200px; background: transparent; }
.page-id-1977 .elementor-element-663d4f81 .elementor-element-6f1eae4 img { max-width: 150px; }
/* Shopfront photo: show the sign instead of cropping it to "TTERIES US" */
.page-id-1977 .elementor-element-1257b72d > .elementor-widget-wrap { background-position: 0% 50% !important; }
/* Body copy was justified, which opens rivers of white space in narrow columns */
.page-id-1977 .elementor-widget-text-editor,
.page-id-1977 .elementor-widget-text-editor p,
#colophon .elementor-widget-text-editor,
#colophon .elementor-widget-text-editor p { text-align: left !important; }
@media (max-width: 767px) {
  .page-id-1977 .elementor-element-663d4f81 .elementor-element-b68fa48 img { max-width: 150px; }
  .page-id-1977 .elementor-element-663d4f81 .elementor-element-6f1eae4 img { max-width: 110px; }
  .page-id-1977 .elementor-element-1257b72d > .elementor-widget-wrap { min-height: 240px; }
}
@media (max-width: 767px) {
  .page-id-1977 .elementor-heading-title { font-size: 28px !important; line-height: 1.2 !important; }
  .page-id-1977 .elementor-element-663d4f81 .elementor-heading-title { font-size: 34px !important; }
}

/* ---------- Homepage banner: both slides the same shape ----------
   The two banner photos had different proportions, so the banner changed height on every slide
   and the taller second slide counted as the page's largest element five seconds after load. */
.home .elementor-widget-image-carousel .swiper-slide-image {
  width: 100%; height: auto; aspect-ratio: 1280 / 730; object-fit: cover; display: block;
}

/* ---------- Keep two rules fixed regardless of stylesheet order ---------- */
/* Header search column: same padding whether or not stylesheets are combined */
.header-container .menu-wrapper.searchheader { padding-left: 0 !important; padding-right: 0 !important; }
/* Product photo on small phones was pushed 100px to the right, leaving a blank strip */
@media (max-width: 479px) {
  .main-container .product-view .single-product-image { padding-left: 0 !important; }
}

/* ---------- Contrast (WCAG AA, 4.5:1) ----------
   Brand orange #ec6506 gives 3.0-3.3:1 for small text. These four elements use a deeper orange (#b84a00, 4.8-5.2:1). */
body .header-container .cart-toggler .cart-title,
body .header-container .cart-toggler .amount,
body .header-container .cart-toggler bdi { color: #b84a00 !important; }
body .header-search #searchbtn,
body button.ymm-submit-any-selection,
body .ymm-selector .button { background-color: #b84a00 !important; border-color: #b84a00 !important; color: #fff !important; }
body .header-search #searchbtn:hover,
body button.ymm-submit-any-selection:hover,
body .ymm-selector .button:hover { background-color: #9e3f00 !important; border-color: #9e3f00 !important; }

/* ---------- Page-not-found screen ---------- */
body .main-container .search-form-wrapper h1.bp-404-title { font-size: 30px !important; font-weight: 700 !important; line-height: 1.2 !important; margin: 0 0 12px !important; color: var(--bp-ink) !important; text-transform: none !important; letter-spacing: 0 !important; }

/* ---------- Icon fonts: show the page without waiting for them ----------
   Same font files as before; only the loading rule changes (font-display: swap). */
@font-face { font-family: "Ionicons"; src: url("/wp-content/themes/bege/fonts/ionicons.ttf?v=2.0.0") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: "eicons"; src: url("/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.woff2?5.57.0") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Font Awesome 5 Free"; src: url("/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Font Awesome 5 Free"; src: url("/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Font Awesome 5 Brands"; src: url("/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* Homepage tiles: never stretch a thumbnail whose proportions differ by a pixel or two from its slot */
.home img.vc_single_image-img,
.home img.attachment-woocommerce_thumbnail { object-fit: contain; }
