@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//groomersworld.co.uk/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.3") format("woff2");
	font-display:swap;
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//groomersworld.co.uk/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//groomersworld.co.uk/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//groomersworld.co.uk/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//groomersworld.co.uk/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//groomersworld.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//groomersworld.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//groomersworld.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//groomersworld.co.uk/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(231,25,159);
	--wd-alternative-color: aa537c;
	--btn-default-bgcolor: rgb(231,25,159);
	--btn-default-bgcolor-hover: #b5b5b5;
	--btn-accented-bgcolor: rgb(231,25,159);
	--btn-accented-bgcolor-hover: #3d3d3d;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #3d3d3d;
	--wd-link-color-hover: rgb(129,215,66);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 280px;
}
.wd-page-title .wd-page-title-bg img {
	background-repeat: repeat;
	object-fit: cover;
	object-position: center center;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 16px;
}
.product-labels .product-label.onsale {
	background-color: #aa537c;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-page-title {
background-color: rgb(225,26,158);
}

/* ==========================================================================
   0) FONTS & ROOT
   ========================================================================== */

@font-face {
  font-family: groomersworld;
  src: url(https://groomersworld.co.uk/wp-content/uploads/2025/06/gw3.ttf);
}

@font-face {
  font-family: groomersworld2;
  src: url(https://groomersworld.co.uk/wp-content/uploads/2025/06/Roboto-VariableFont_wdthwght.ttf);
}

/* New Website Amends 2025 */


/* ==========================================================================
   1) TYPOGRAPHY & TEXT COLORS
   ========================================================================== */

/* Global list + paragraph font */
li {
  font-weight: 800 !important;
  font-family: 'groomersworld2' !important;
}
p {
  font-family: 'groomersworld2' !important;
  font-weight: 800 !important;
}

/* Product & post titles */
.product_title.entry-title.wd-entities-title { color: #e7199f; }
.post-title { color: #e7199f; }
.wd-entities-title {
  font-family: 'groomersworld';
  font-weight: lighter;
}

/* Big headings */
h1 {
  -webkit-text-stroke: 14px black;
  font-size: 30px;
  text-transform: uppercase;
  paint-order: stroke;
  font-family: 'groomersworld' !important;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
  color: #ec0099;
}
h2 {
  -webkit-text-stroke: 9px black;
  font-size: 40px;
  text-transform: uppercase;
  paint-order: stroke;
  font-family: 'groomersworld' !important;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
  color: #ec0099;
}

/* Misc headings / titles */
.title {
  color: white;
  -webkit-text-stroke: 10px black;
  paint-order: stroke;
}

.entry-title h1 {
  -webkit-text-stroke: 14px black;
  text-transform: uppercase !important;
  paint-order: stroke;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'groomersworld' !important;
}

/* Hide meta on posts */
.wd-post-date.wd-style-default,
.wd-post-author.wd-meta-author { display: none; }


/* ==========================================================================
   2) NAVIGATION & MENUS
   ========================================================================== */

/* Active menu item (primary nav) */
.wd-nav[class*="wd-style-"] > li:is(.current-menu-item, .wd-active, .active) > a {
  color: #ffffff !important;
  /* background-color: white; */
  padding: 15px;
  border-radius: 50px;
}

/* Secondary active style (deep nested list) */
.wd-nav[class*="wd-style-"] > li:not(.woodmart-nav-link) > li:is(.current-menu-item, .wd-active, .active) > a {
  background: #aa537c;
  color: white !important;
  padding: 15px;
  border-radius: 66px;
  transform: translate(-2px,-2px);
  border: solid 2px;
}

/* Underline hover effect base (no line shown until animated) */
.wd-nav[class*="wd-style-underline"] .nav-link-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  background-color: transparent;
  transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Force a submenu open (specific item) */
#menu-item-4506 .wd-sub-menu { display: block !important; }

/* Woodmart nav link font */
.woodmart-nav-link {
  font-family: 'groomersworld2' !important;
  font-weight: bold !important;
}

/* Accordion / product categories (mobile on) */
.wd-nav-accordion-mb-on .wd-nav-product-cat li:hover {
  transform: scale(1.1);
  transition: .2s ease-in-out;
}
.wd-nav-accordion-mb-on .wd-nav-product-cat li {
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 0;
}
.wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion {
  margin-top: 25px;
}

/* Category link badge/button */
.category-nav-link {
  background: #0096ff;
  color: white !important;
  padding: 15px;
  border-radius: 6px;
}

/* Cat list spacing */
.cat-item { margin: 5px; }


/* ==========================================================================
   3) MEDIA / IMAGERY
   ========================================================================== */

/* Menu images: base size */
.wd-nav-img,
.mega-menu-list img {
  display: inline-block;
  margin-right: 7px;
  max-height: 40px;
  min-height: 40px;
  width: auto !important;
}

/* Product thumbnails (cards) */
.wd-product:not(.wd-hover-small) :is(.product-image-link, .hover-img) img {
  width: 100%;
  border-radius: 10px;
}

/* Blog image wrapper */
.post-img-wrapp { border-radius: 15px; }


/* ==========================================================================
   4) COMPONENTS (TABS, BUTTONS, LABELS)
   ========================================================================== */

/* Tabs layout */
.wd-tabs.tabs-design-simple .wd-tabs-header {
  flex-direction: row;
  align-items: flex-end;
  gap: 25px;
  border-bottom: 0 !important;
}
.wd-tabs.tabs-design-simple .wd-nav-tabs-wrapper {
  flex: 1 1 auto;
  max-width: 100%;
  width: 100%;
  border-top: 0 solid var(--brdcolor-gray-300);
}

/* Tabs active state */
.wd-nav-tabs .wd-active {
  border: solid black;
  border-radius: 20px;
  padding: 5px 10px;
  background: #0096ff;
  color: white !important;
}
.wd-nav-tabs li {
  border-radius: 20px;
  padding: 5px 10px;
}

/* Buttons: add-to-cart (loop + single) */
.button.product_type_simple.add-to-cart-loop,
.add_to_cart_button,
.single_add_to_cart_button {
  color: #000 !important;
  background-color: #fec840 !important;
}

/* Variable product add-to-cart in loop */
.button.product_type_variable.add-to-cart-loop {
  background-color: #fec840 !important;
  color: black !important;
}

/* Arrow size tweak */
.wd-btn-arrow::after { font-size: 40px; }

/* Sale label off */
.onsale.product-label { display: none !important; }

/* Product stock progress bar off */
.wd-progress-bar.wd-stock-progress-bar { display: none; }

/* Product list cards */
.wd-products[class*="wd-stretch-cont"] .wd-product {
  height: 100%;
  border: 2px solid lightgrey !important;
  padding: 5px;
  border-radius: 15px;
}

/* Product labels styling */
.labels-rounded .product-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px 1px;
  min-height: 50px;
  border-radius: 0;
  font-size: 14px;
  width: 100%;
  word-break: break-word;
}
.product-label.out-of-stock {
  background-color: rgba(77, 77, 77, 0.9);
  color: #fffffff5;
  font-weight: 900;
  width: 160%;
}
.labels-rounded .out-of-stock {
  max-width: 90px;
  font-size: 12px;
}

/* Star ratings off */
.star-rating { display: none !important; }


/* ==========================================================================
   5) FORMS (Contact Form 7 & Search)
   ========================================================================== */

/* CF7 email fields */
input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email {
  color: black !important;
}
.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email.wpcf7-not-valid {
  color: #e7199f !important;
}
.wpcf7-not-valid-tip {
  display: block;
  color: white;
}
.wpcf7-response-output { display: none; }

/* Search form */
.searchform.wd-style-with-bg.woodmart-ajax-search { width: 269px !important; }
[class*="wd-header-search-form"] input[type="text"] { min-width: 57px !important; }

/* Privacy/optional hints */
.woocommerce-privacy-policy-text,
.optional { display: none; }


/* ==========================================================================
   6) LAYOUT: PAGE TITLE / BANNERS / SLIDERS
   ========================================================================== */

/* Global page-title spacing */
.page-title {
  position: relative !important;
  margin-block: -25px 40px !important;
  padding: 106px 0px !important;
}

/* Alternate page-title styling (shop) */
.page-title.page-title-default.title-size-small.title-design-centered.color-scheme-light.with-back-btn.wd-nav-accordion
-mb-on.title-shop {
  background-color: #aa537c !important;
}

/* Page-title (light + back button) base color */
.wd-page-title.page-title.page-title-default.title-size-small.title-design-centered.color-scheme-light.with-back-btn.wd
-nav-accordion-mb-on {
  background-color: #d3148f !important;
}

/* Header & slider odds and ends */
.whb-header.whb-header_374016.whb-sticky-shadow.whb-scroll-slide.whb-sticky-real.whb-sticky-prepared {
  margin-bottom: 25px;
}
#slider_32142desk {
  display: block !important;
  width: 650px;
  z-index: 1;
  visibility: visible !important;
  padding-top: 21px;
  margin-top: 15px;
}



/* Slider (SCSS nested â€“ keep if compiling; expand if using plain CSS) */
#slider {
  //background-color:;
  min-height: 80px;
  margin: auto;
  overflow: hidden;
  padding: 10px;
  position: relative;
  width: 600px;

  ul {
    list-style: none;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 9000px;
    transition: left .2s linear;
    -moz-transition: left .2s linear;
    -o-transition: left .2s linear;
    -webkit-transition: left .2s linear;
    margin-left: -25px;

    li {
      float: left;
      position: relative;
      width: 600px;
      display: inline-block;
      height: 200px;
    }
  }
}

/* Rotating text container */
.slider-container {
  color: #04386A;
  font-size: 1.8em;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 auto;
  max-width: 550px;
  min-height: 180px;
  padding: 0;
  text-align: center;
}
.slider-container span {
  color: rgba(4,56,106,.70);
  display: inline-block;
  font-size: 70%;
  font-weight: 300;
  line-height: 1.2;
}

/* Slider animation */
@-webkit-keyframes slide-animation {
  0% {opacity:0;}
  2% {opacity:1;}
  20% {left:0px; opacity:1;}
  22.5% {opacity:0.6;}
  25% {left:-600px; opacity:1;}
  45% {left:-600px; opacity:1;}
  47.5% {opacity:0.6;}
  50% {left:-1200px; opacity:1;}
  70% {left:-1200px; opacity:1;}
  72.5% {opacity:0.6;}
  75% {left:-1800px; opacity:1;}
  95% {opacity:1;}
  98% {left:-1800px; opacity:0;}
  100% {left:0px; opacity:0;}
}
#slider ul { -webkit-animation: slide-animation 20s infinite; }
#slider ul:hover {
  -moz-animation-play-state: paused;
  -webkit-animation-play-state: paused;
}


/* ==========================================================================
   7) WOOCOMMERCE: CART / CHECKOUT / ACCOUNT
   ========================================================================== */

.woocommerce-account-fields { margin-top: 15px; }

.woocommerce-checkout > .customer-details .woocommerce-billing-fields {
  margin-top: 0;
  margin-bottom: 0 !important;
}

.actions { padding: 0; padding-top: 10px; }
#pwgc-apply-gift-card {
  margin-top: 0;
  background: var(--btn-accented-bgcolor);
  color: white;
  border-radius: 50px;
  float: right;
}
#pwgc-redeem-gift-card-number { width: 80%; }
.coupon { text-align: left; margin: 0; }
.coupon label { display: none; }
.woocommerce-form-coupon-toggle { display: none; }

/* Gift card row alignments */
table.shop_table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(4) > td:nth-child(1) {
  text-align: right;
  border: none !important;
}

/* Hide â€œon saleâ€ shadows on categories */
.cat-design-alt.categories-with-shadow .wd-cat-thumb { box-shadow: none !important; }

/* Category grid tidy */
.wd-nav-accordion-mb-on .wd-nav-product-cat li a { flex: 1 1 0% !important; }

/* Search placeholder */
.s.wd-search-inited::-webkit-input-placeholder::before {
  content: "Search for all your grooming productsâ€¦" !important;
}


/* ==========================================================================
   8) UTILITIES & MISC
   ========================================================================== */

.vc_row.wpb_row.vc_row-fluid.vc_row-o-equal-height.vc_row-flex { overflow: visible; }
.widthfull { display: none; }
.widthfull::-webkit-scrollbar { display: none; }
.scrollmenu { background-color: #333; overflow: scroll; white-space: nowrap; }
.scrollmenu a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  border-left: 1px solid grey;
}
.scrollmenu a:last-child { border-right: 1px solid grey; }
.scrollmenu a:hover { background-color: #777; }

.white .sa_owl_theme .owl-nav .owl-prev {
  background: rgba(0,0,0,0) url('../images/icon_prev.png') no-repeat center center !important;
}
.cat-link.shop-all-link { display: none !important; }
.nav-link-text:active { color: #e816a1 !important; }

/* Bring buttons above overlapping elements */
.wd-buttons.wd-pos-r-t { z-index: 999 !important; }

/* Klarna / social icon tweaks */
.klarnahead { max-height: 30px !important; width: auto; }
.wd-social-icons.icons-size-default .wd-icon { font-size: 30px; line-height: 40px; }
.wd-social-icon.social-facebook, .wd-social-icon.social-instagram {
  border: solid 2px;
  padding: 10px;
  width: 35px !important;
  margin-right: 20px !important;
}

/* Make product gallery thumbs clickable */
.single-product-page .wd-gallery-thumb .wd-carousel-item {
  pointer-events: auto !important;
  cursor: pointer;
}

/* Submenu line-height for readability */
.wd-sub-menu li > a { line-height: 1.4 !important; }


/* ==========================================================================
   9) TABLES
   ========================================================================== */

table.GeneratedTable {
  width: 100%;
  background-color: #ffffff;
  border-collapse: collapse;
  border-width: 2px;
  border-color: #aa537c;
  border-style: solid;
  color: #000000;
}
table.GeneratedTable td,
table.GeneratedTable th {
  border-width: 2px;
  border-color: #aa537c;
  border-style: solid;
  padding: 3px;
}
table.GeneratedTable thead { background-color: #aa537c; }
.GeneratedTable { margin-bottom: -30px; font-size: 16px; }
th { font-size: 18px !important; }


/* ==========================================================================
   10) FOOTER
   ========================================================================== */

.footer-sidebar.widget-area.row { padding-top: 0 !important; }
.center a { color: white !important; }
.footerdes { margin-top: -25px !important; margin-bottom: 0 !important; }

.footerbg {
  background: url(https://groomersworld.co.uk/wp-content/uploads/2024/10/Footer-1-copy.png);
  background-position: center !important;
  background-repeat: repeat !important;
  background-size: revert !important;
}

.payment-mth { padding-right: 20%; }

.wpcf7-form-control.wpcf7-submit.has-spinner {
  background: grey;
  color: white;
  margin-left: 0 !important;
}

/* Socials block positions */
.wd-rs-6728b23c49c43.wd-social-icons.vc_custom_1730720322374.icons-design-default.icons-size-default.color-scheme-light
.social-follow.social-form-circle.Socials.text-right {
  margin-top: -23px !important;
  margin-right: -176px !important;
}

/* Footer rows offsets */
.vc_row.wpb_row.vc_row-fluid.vc_custom_1729511428291.vc_row-has-fill.vc_row-o-content-middle.vc_row-flex.wd-rs-67163fff
73e58.wd-section-stretch {
  margin-top: -42px !important;
}
.vc_row.wpb_row.vc_row-fluid.footer-col1.vc_custom_1729512327885.vc_row-has-fill.vc_row-o-content-middle.vc_row-flex.wd
-rs-671643772e3d0.wd-section-stretch {
  margin-top: -100px !important;
}

.wpcf7-form.init { margin-left: -2px !important; }


/* ==========================================================================
   11) RESPONSIVE
   ========================================================================== */

/* >= 1200px ---------------------------------------------------------------- */
@media (max-width: 1200px) {
  /* Title bar color on desktop-to-tablet range */
  .wd-page-title.page-title.page-title-default.title-size-small.title-design-centered.color-scheme-light.wd-nav-accordi
on-mb-on {
    background-color: #ec0099 !important;
  }

  /* Banner padding tighten */
  .vc_section.bannerstyling.vc_custom_1750336185277.vc_section-has-fill.vc_section-o-content-middle.vc_section-flex.wd-
rs-685402a0c069d.wd-section-stretch {
    padding-left: 5%;
    padding-right: 5%;
  }
	.whb-row.whb-header-bottom.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-dark.whb-with-shadow.whb-flex-flex-middle {
    background-color: #eb28a7;
}
}

/* >= 900px (desktop rules) ------------------------------------------------- */
@media (min-width: 900px) {
  /* Category tiles centre text & image spacing */
  .wd-nav-product-cat .cat-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .wd-nav-product-cat .cat-item img { margin-bottom: 8px; }

  /* Larger menu images on desktop override base */
  .wd-nav-img, .mega-menu-list img {
    display: inline-block;
    margin-right: 7px;
    max-height: 100px !important;
    min-height: 40px;
    width: auto !important;
  }

  /* Hide a specific desktop image block */
  .wpb_single_image.wpb_content_element.vc_align_left.vc_custom_1630582840781 { display: none; }

  /* Desktop padding adjust */
  .vc_row.wpb_row.vc_row-fluid.padding.vc_custom_1631005153581.vc_row-has-fill.woodmart-disable-overflow.mobile-bg-img-
hidden.tablet-bg-img-hidden {
    padding-top: 24px !important;
  }
}

/* <= 980px (tablet & down) ------------------------------------------------- */
@media only screen and (max-width: 980px) {
  /* Page title: mobile background image */
  .wd-page-title.page-title.page-title-default.title-size-small.title-design-centered.color-scheme-light.with-back-btn.
wd-nav-accordion-mb-on {
    background-image: url(https://groomersworld.co.uk/wp-content/uploads/2025/06/Category-banner-mobile.png) 
!important;
    background-color: #d3148f !important;
  }

  /* h2 tighter on mobile */
  h2 {
    -webkit-text-stroke: 14px black;
    font-size: 30px;
    text-transform: uppercase;
    paint-order: stroke;
    font-family: 'groomersworld' !important;
    -webkit-font-smoothing: antialiased;
  }

  /* Hide specific VC row on tablet */
  .vc_row.wpb_row.vc_row-fluid.vc_custom_1630583724456.vc_row-has-fill.vc_row-o-content-top.vc_row-flex { display: 
none !important; }

  /* Header spacing */
  .whb-header.whb-header_374016.whb-sticky-shadow.whb-scroll-slide.whb-sticky-real.whb-sticky-prepared { 
margin-bottom: 0 !important; }

  /* Gift card & coupons full width */
  #pwgc-redeem-gift-card-number { width: 100%; }
  .coupon { width: 100%; }

  /* Cart rows tightening */
  :is(.woocommerce-cart-form__contents, .group_table) tr {
    margin-bottom: 0;
    padding-bottom: 0;
    padding-left: 0;
    min-height: 136px;
  }

  /* Apply gift card full width */
  #pwgc-apply-gift-card { width: 100%; margin-top: 10px; }

  /* Category grid (2 cols), remove bg */
  .wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion {
    display: grid !important;
    text-align: center;
    grid-template-columns: auto auto;
  }
  .wd-btn-show-cat.wd-action-btn.wd-style-text { display: none; }
  .wd-nav-accordion-mb-on.color-scheme-light .wd-nav-product-cat { background-color: rgba(0,0,0,0); }

  /* Title spacing on mobile */
  .page-title {
    position: relative !important;
    margin-block: -25px 40px !important;
    padding: 50px 0 !important;
  }

  /* Category cards sizing */
  .cat-item { width: 100%; max-width: 200px; margin: auto; justify-self: center; }
  .category-nav-link { margin: 2px; justify-content: center; }

  /* Slider block for mobile */
  #slider_32142 {
    display: block !important;
    width: 400px;
    visibility: visible !important;
    margin-top: 40px;
    padding-top: 40px;
    margin: auto;
  }
  .white .sa_owl_theme .owl-nav .owl-next,
  .white .sa_owl_theme .owl-nav .owl-prev { margin-top: -9px !important; }

  /* Hide a banner on mobile */
  .vc_section.bannerstyling.vc_custom_1750435063639.vc_section-has-fill.vc_section-o-content-middle.vc_section-flex.mob
ile-bg-img-hidden.wd-rs-685581bfa5d62.wd-section-stretch {
    display: none;
  }

  /* VC column paddings */
  .vc_custom_1750344674047 { padding-right: 5%; padding-left: 5%; }

  /* Slider image behaviour */
  .mad-slider[data-transition="three-slide-layout"] .mad-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
  }

  /* Footer tweaks */
  .wpcf7-form.init { margin-left: 0 !important; }
  .wd-social-icon.social-facebook,.wd-social-icon.social-instagram {
    border: solid 2px;
    padding: 5px;
    width: 34px !important;
    margin-right: 10px !important;
  }
  .wpcf7-form-control.wpcf7-submit.has-spinner { background: grey; color: white; margin-left: 0; }
  .wd-rs-6716535787708.wd-social-icons.vc_custom_1729518622657.icons-design-default.icons-size-default.color-scheme-lig
ht.social-follow.social-form-circle.payment-mth.text-right {
    margin-right: -20px !important;
  }
  .wd-social-icons.icons-size-default .wd-icon {
    font-size: 18px !important;
    line-height: 40px;
    text-align: right !important;
  }
  .payment-mth { text-align: center !important; padding-right: 0; margin: auto; }
  .footerdes { margin: 0 !important; }
  .footerbg { background: url(https://groomersworld.co.uk/wp-content/uploads/2024/10/Footer-mobile.png); }

  /* Hide deep nested menu on tablet */
  .sub-sub-menu a { padding-left: 20px !important; }

  /* Table font sizes down */
  .GeneratedTable { font-size: 10px; }
  th { font-size: 8px !important; }
}

/* <= 900px (phablet) ------------------------------------------------------- */
@media (max-width: 900px) {
  /* Sticky header background */
  .whb-row.whb-header-bottom.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-dark.whb-with-shadow.whb-flex-flex
-middle {
    background-color: #ec0099;
  }
}

/* <= 768.98px (mobile landscape) ------------------------------------------- */
@media (max-width: 768.98px) {
  /* Cart thumbnail positioning */
  :is(.woocommerce-cart-form__contents, .group_table) td.product-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
    max-height: 115px;
    border-bottom: none;
    border-radius: calc(var(--wd-brd-radius) / 1.5);
    width: 100%;
    display: block;
    position: relative;
    float: left;
    text-align: left;
  }
}

/* <= 422px (small phones) -------------------------------------------------- */
@media only screen and (max-width: 422px) {
  #slider_32142 {
    display: block !important;
    width: 330px;
    visibility: visible !important;
    margin-top: 40px;
    padding-top: 40px;
    margin: auto;
  }
  #slider_32142 p { font-size: 16px !important; }
  #slider_32142 img { display: none; }
  .white .sa_owl_theme .owl-nav .owl-next,
  .white .sa_owl_theme .owl-nav .owl-prev { margin-top: -9px !important; }
}


/* ==========================================================================
   12) DESKTOP-SPECIFIC BANNER (PADDING WIDE)
   ========================================================================== */

.vc_section.bannerstyling.vc_custom_1750336185277.vc_section-has-fill.vc_section-o-content-middle.vc_section-flex.wd-rs
-685402a0c069d.wd-section-stretch {
  padding-left: 27%;
  padding-right: 27%;
}

/* Extra negative margins block */
.vc_section.vc_custom_1636552518348.vc_section-has-fill {
  margin-top: -94px !important;
  margin-bottom: -24px !important;
  margin-left: -39px !important;
  margin-right: -39px !important;
}

/* Social icon size tweak (dup kept for specificity targets) */
.wd-social-icons.icons-size-default .wd-icon {
  font-size: 29px !important;
  line-height: 40px;
}

/* Keep header bottom spacing variant */
.whb-header.whb-header_374016.whb-sticky-shadow.whb-scroll-slide.whb-sticky-real.whb-sticky-prepared {
  /* already set above; duplicated selector retained intentionally */
}

/* ----------------------------------------------------------------------------
   OLD WEBSITE (kept for reference/compat)
   ---------------------------------------------------------------------------- */

.page-title {
  position: relative;
  margin-block: -25px 40px;
  padding: 15px 0;
}

.wd-nav-accordion-mb-on .wd-nav-product-cat li { display: inline-flex; }



/* =========================
   DESKTOP: keep layout, stop 2-line labels
   ========================= */
@media (min-width: 981px) {
  /* keep the grid you already have; just prevent label text from breaking */
  .wd-nav-product-cat .nav-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;   /* trims long names nicely */
    display: inline-block;
    max-width: 12ch;           /* tweak per taste (characters visible) */
    vertical-align: top;
  }


  .wd-nav-product-cat .nav-link-summary { overflow: hidden; }
  .wd-nav-product-cat .nav-link-summary:hover .nav-link-text {
    will-change: transform;
    animation: gw-marquee 6s linear infinite;
  }
  @keyframes gw-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
  }
  
}

/* =========================
   MOBILE: replace dropdown/accordion with horizontal scroller
   ========================= */
@media (max-width: 980px) {
  /* hide the â€œCategoriesâ€ dropdown trigger */
  .wd-btn-show-cat.wd-action-btn.wd-style-text { display: none !important; }

  /* make the list always visible (Woodmart collapses it by default) */
  .wd-nav-product-cat.wd-mobile-accordion { display: block !important; }

  /* horizontal scroll row with snap */
  .wd-nav-product-cat.wd-mobile-accordion {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    gap: 14px;                       /* spacing between items */
    padding: 6px 8px;
    scroll-snap-type: x mandatory;   /* smooth snap */
    -webkit-overflow-scrolling: touch;
  }

  /* each category becomes a fixed-width â€œchipâ€ */
  .wd-nav-product-cat.wd-mobile-accordion .cat-item {
    flex: 0 0 auto !important;       /* donâ€™t wrap */
    scroll-snap-align: start;
    text-align: center;
    max-width: 120px;                 /* keeps a neat card size */
  }

  /* tighten the card */
  .wd-nav-product-cat.wd-mobile-accordion .category-nav-link {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    line-height: 1.15;
  }

  /* image size for row height consistency */
  .wd-nav-product-cat.wd-mobile-accordion .wd-nav-img {
    width: 64px !important;
    height: 64px !important;
    max-height: 64px !important;
    min-height: 64px !important;
    object-fit: contain;
    margin: 0 auto 6px;
    display: block;
  }

  /* keep labels to one line on mobile too */
  .wd-nav-product-cat.wd-mobile-accordion .nav-link-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 10ch;                  /* tweak per taste */
    margin: 0 auto;
  }
}

/* =========================
   OPTIONAL: desktop single-row scroller (if you ever want it)
   Uncomment to use instead of wrapping to two rows.
========================= */
/* Hide horizontal scrollbar on the categories scroller (mobile) */

@media (max-width: 980px) {
  .wd-nav-product-cat.wd-mobile-accordion {
    -ms-overflow-style: none;   /* IE/Edge */
    scrollbar-width: none;      /* Firefox */
  }
  .wd-nav-product-cat.wd-mobile-accordion::-webkit-scrollbar {
    width: 0;
    height: 0;                  /* Chrome/Safari */
  }
}



/* MOBILE: force flex scroller + hide scrollbar (override theme/grid) */
@media (max-width: 980px) {
  .wd-nav-accordion-mb-on
  .wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 14px;
    -webkit-overflow-scrolling: touch;
    /* hide scrollbar (all browsers) */
    -ms-overflow-style: none;      /* IE/Edge */
    scrollbar-width: none;         /* Firefox */
    scrollbar-color: transparent transparent;
  }

  /* Hide scrollbar in WebKit */
  .wd-nav-accordion-mb-on
  .wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion::-webkit-scr
ollbar {
    display: none;
    width: 0;
    height: 0;
  }

  /* items behave like chips in the row */
  .wd-nav-accordion-mb-on .wd-nav-product-cat.wd-mobile-accordion > .cat-item {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
  }

  /* kill the â€œCategoriesâ€ dropdown trigger on mobile */
  .wd-btn-show-cat.wd-action-btn.wd-style-text { display: none !important; }
}



/* DESKTOP: force horizontal scroller for category icons */
@media (min-width: 981px) {
  /* the list becomes a single-row scroller */
  body
  ul.wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important; /* beat theme centering */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 22px !important;
    padding: 6px 8px 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    /* hide scrollbar */
    -ms-overflow-style: none;          /* IE/Edge */
    scrollbar-width: none;             /* Firefox */
    scrollbar-color: transparent transparent;
  }
  body
  ul.wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  /* each item is a fixed-size â€œchipâ€ so it won't wrap */
  ul.wd-nav-product-cat.wd-active > li.cat-item {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
    text-align: center;
    max-width: 140px; /* tweak to taste */
  }

  /* keep titles to one line on desktop too */
  .wd-nav-product-cat .nav-link-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-block !important;
    max-width: 12ch; /* increase if you want more letters */
    vertical-align: top;
  }
}


/* ===== Scroll arrows for the category scroller (desktop + mobile) ===== */
.gw-cat-arrows-wrap { position: relative; }

/* buttons */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
}

.gw-left  { left: 0;  }
.gw-right { right: 0; }

/* nudge inward a little on small screens */
@media (max-width: 980px) {
  .gw-left  { left: 6px; }
  .gw-right { right: 6px; }
}

/* ensure the UL has room under the arrows */
ul.wd-nav-product-cat { scroll-padding-left: 56px; scroll-padding-right: 56px; }

/* ===== Make icons bigger on mobile and keep labels readable ===== */
@media (max-width: 980px) {
  .wd-nav-product-cat.wd-mobile-accordion { gap: 18px !important; }

  .wd-nav-product-cat.wd-mobile-accordion .wd-nav-img {
    width: 88px !important;
    height: 88px !important;
    max-height: 88px !important;
    min-height: 88px !important;
    margin: 0 auto 8px !important;
    object-fit: contain;
  }

  .wd-nav-product-cat.wd-mobile-accordion .cat-item {
    max-width: 150px !important;
  }

  .wd-nav-product-cat.wd-mobile-accordion .nav-link-text {
    max-width: 12ch;           /* show a few more letters */
    font-size: 12px;
  }
}

/* ==========================================================================
   GW CATEGORY SCROLLER (DESKTOP + MOBILE)
   ========================================================================== */

/* wrapper for arrows */
  position: relative;
}

/* DESKTOP: smooth scroller */
@media (min-width:981px){
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    gap:22px !important;
    padding:6px 8px 8px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    -ms-overflow-style:none;
    scrollbar-width:none;
  }
    display:none;
  }

    flex:0 0 auto !important;
    scroll-snap-align:start;
    text-align:center;
    max-width:160px !important;
  }

  /* full label on desktop */
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:20ch;  /* wider names allowed */
    display:inline-block;
  }
}

/* MOBILE: horizontal scroller with snap + bigger icons */
@media (max-width:980px){
  /* remove dropdown trigger */
  .wd-btn-show-cat.wd-action-btn.wd-style-text { display:none !important; }

    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    gap:18px !important;
    padding:6px 8px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    -ms-overflow-style:none;
    scrollbar-width:none;
  }

    flex:0 0 auto !important;
    scroll-snap-align:center;
    text-align:center;
    max-width:160px !important;
  }

    width:90px !important;
    height:90px !important;
    max-height:90px !important;
    min-height:90px !important;
    margin:0 auto 8px !important;
    object-fit:contain;
    display:block;
  }

    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:14ch;
    margin:0 auto;
    font-size:13px;
  }
}

/* arrows (desktop + mobile) */
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:10;
  width:44px;
  height:44px;
  border:0;
  border-radius:999px;
  background:rgba(0,0,0,.4);
  color:#fff;
  font-size:28px;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter:blur(3px);
  transition:opacity .2s ease, background .2s ease;
}

.gw-left { left:0; }
.gw-right { right:0; }

@media (max-width:980px){
  .gw-left { left:6px; }
  .gw-right { right:6px; }
}

/* spacing so arrows don't overlap categories */
  scroll-padding-left:56px;
  scroll-padding-right:56px;
}

/* brand-colored arrows (optional) */
  background:rgba(236,0,153,.85);
}
  background:rgba(236,0,153,1);
}




/* ==== GW CATEGORY SCROLLER (desktop + mobile) ==== */

/* Wrapper used by the JS so arrows can be positioned */

/* Base UL behaviour (both) */
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  gap:18px !important;
  padding:6px 8px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;           /* Firefox hide */
  -ms-overflow-style:none;        /* IE/Edge hide */
}

/* Each category behaves like a fixed chip */
  flex:0 0 auto !important;
  text-align:center;
  max-width:160px !important;
}

/* -------- Desktop -------- */
@media (min-width:981px){
    width:auto !important; max-height:100px !important; min-height:40px !important;
  }
  /* full(er) names on desktop */
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:20ch; display:inline-block;
  }
}

/* -------- Mobile & Tablet -------- */
@media (max-width:980px){
  /* remove themeâ€™s dropdown button on mobile */
  .wd-btn-show-cat.wd-action-btn.wd-style-text{display:none !important}


  /* snap items to center on mobile */

  /* larger icons */
    width:90px !important; height:90px !important; max-height:90px !important; min-height:90px !important;
    object-fit:contain; margin:0 auto 8px !important; display:block;
  }

  /* show full titles (wrap up to 2 lines, no ellipsis) */
    white-space:normal; overflow:visible; text-overflow:clip; display:block;
    max-width:14ch; line-height:1.1; font-size:13px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  }
}

/* Invisible spacers the JS inserts (so first/last can snap to center) */

/* Arrows */
  position:absolute; top:50%; transform:translateY(-50%); z-index:10;
  width:44px; height:44px; border:0; border-radius:999px;
  background:rgba(236,0,153,.9); color:#fff; font-size:28px; line-height:1;
  display:grid; place-items:center; cursor:pointer; backdrop-filter:blur(3px);
  box-shadow:0 2px 8px rgba(0,0,0,.2);
  transition:opacity .2s ease, background .2s ease;
}
.gw-left{left:6px} .gw-right{right:6px}

/* Keep content clear of arrows so they never overlap icons */


/* ==== GW CATEGORY SCROLLER (desktop + mobile) ==== */

/* base UL behaviour */
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  gap:18px !important;
  padding:6px 8px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;            /* Firefox */
  -ms-overflow-style:none;         /* IE/Edge */
  touch-action: pan-y;             /* allow horizontal drag without hijacking */
  overscroll-behavior-inline: contain;
}

/* each category chip */
  flex:0 0 auto !important;
  text-align:center;
  max-width:160px !important;
}

/* ---- Desktop ---- */
@media (min-width:981px){
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:20ch; display:inline-block;
  }
}

/* ---- Mobile / Tablet ---- */
@media (max-width:980px){
  .wd-btn-show-cat.wd-action-btn.wd-style-text{display:none !important}

    scroll-snap-type:x mandatory;
    scroll-padding-inline:56px; /* keep arrows clear */
  }
    scroll-snap-align:center;
    scroll-snap-stop:always;      /* no half-stops */
  }
    width:90px !important; height:90px !important; object-fit:contain;
    margin:0 auto 8px !important; display:block;
  }
  /* show full titles (2 lines) */
    white-space:normal; overflow:visible; text-overflow:clip;
    max-width:16ch; line-height:1.1; font-size:13px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  }
}

/* Invisible pads injected by JS so first/last can snap to centre */

/* Arrows */
  position:absolute; top:50%; transform:translateY(-50%); z-index:10;
  width:44px; height:44px; border:0; border-radius:999px;
  background:rgba(236,0,153,.9); color:#fff; font-size:28px; line-height:1;
  display:grid; place-items:center; cursor:pointer; backdrop-filter:blur(3px);
  box-shadow:0 2px 8px rgba(0,0,0,.2); transition:opacity .2s, background .2s;
}
.gw-left{left:6px} .gw-right{right:6px}

/* No-arrows mode (<=2 items): centre them, no scrolling, no pads */
  justify-content:center !important; overflow:visible !important; scroll-snap-type:none !important;
}


/* === GW SCROLLER FIX (place at very end) === */

   force flex on mobile even if theme sets grid/block elsewhere */
@media (max-width:980px){
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 18px !important;
    padding: 6px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-padding-inline: 56px;           /* room for arrows */
    touch-action: pan-y;                    /* iOS friendly */
  }

  /* items snap to centre and never half-stop */
    flex: 0 0 auto !important;
    text-align: center;
    max-width: 160px !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* 2-line titles on mobile (no ellipsis) */
    white-space: normal; overflow: visible; text-overflow: clip;
    max-width: 16ch; line-height: 1.1; font-size: 13px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    margin: 0 auto;
  }

  /* make sure any old rule that sets grid is neutralised */
  ul.wd-nav-product-cat.wd-mobile-accordion { display: flex !important; }
}

/* invisible side pads so first/last can snap to centre */

/* arrows stay above and only show when needed */
  position:absolute; top:50%; transform:translateY(-50%); z-index: 50;
  width:44px; height:44px; border:0; border-radius:999px;
  background:rgba(236,0,153,.9); color:#fff; font-size:28px; line-height:1;
  display:grid; place-items:center; cursor:pointer; backdrop-filter:blur(3px);
  box-shadow:0 2px 8px rgba(0,0,0,.2); transition:opacity .2s, background .2s;
}
.gw-left{ left:6px; } .gw-right{ right:6px; }

/* When there are 0â€“2 items, centre them and remove arrows */




/* GW â€” kill the mobile grid that blocks scrolling */
@media (max-width:980px){
  /* This is the exact theme rule to neutralise */
  .wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion{
    display:flex !important;              /* was: grid */
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    gap:18px !important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:56px;
  }
  /* ensure the scroller identity also wins */
    display:flex !important;
  }

  /* each item behaves like a chip and snaps to center */
    flex:0 0 auto !important;
    scroll-snap-align:center;
    scroll-snap-stop:always;
    max-width:160px !important;
  }

  /* 2-line titles (no â€¦ on mobile) */
    white-space:normal; overflow:visible; text-overflow:clip;
    max-width:16ch; line-height:1.1; font-size:13px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  }
}

/* pads injected by JS so first/last can center-snap */

/* arrows (keep above everything) */
  position:absolute; top:50%; transform:translateY(-50%); z-index:1000;
  width:44px; height:44px; border:0; border-radius:999px;
  background:rgba(236,0,153,.9); color:#fff; font-size:28px; line-height:1;
  display:grid; place-items:center; cursor:pointer; backdrop-filter:blur(3px);
  box-shadow:0 2px 8px rgba(0,0,0,.2);
}
.gw-left{left:6px} .gw-right{right:6px}



/* ==========================================================================
   GW CATEGORY SCROLLER - CONSOLIDATED CSS (Desktop + Mobile)
   Place this at the END of your CSS to override theme defaults
   ========================================================================== */

/* Wrapper for positioning arrows */
.gw-cat-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Base scroller styles (both desktop and mobile) */
.gw-cat-wrap > ul.wd-nav-product-cat,
.wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 18px !important;
  padding: 6px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center !important;
  width: 100%;
  max-width: 100%;
}

/* Hide scrollbar (all browsers) */
.gw-cat-wrap > ul.wd-nav-product-cat::-webkit-scrollbar,
.wd-nav-product-cat.wd-mobile-accordion::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Category items - fixed width chips */
.gw-cat-wrap ul.wd-nav-product-cat > li.cat-item {
  flex: 0 0 auto !important;
  text-align: center;
  max-width: 160px !important;
}

/* Arrow buttons */
.gw-scroll {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(236, 0, 153, 0.9);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s, background 0.2s;
}

.gw-scroll:hover {
  background: #ec0099;
}

.gw-scroll[hidden] {
  opacity: 0;
  pointer-events: none;
}

.gw-left {
  left: 6px;
}

.gw-right {
  right: 6px;
}

/* Invisible padding elements (added by JS) */
.gw-pad {
  flex: 0 0 var(--gw-pad, 0px) !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Center align when 2 or fewer items */
.gw-no-arrows > ul.wd-nav-product-cat {
  justify-content: center !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

.gw-no-arrows .gw-scroll {
  display: none !important;
}

.gw-no-arrows ul.wd-nav-product-cat > li.cat-item {
  scroll-snap-align: center !important;
}

/* ========== DESKTOP (> 980px) ========== */
@media (min-width: 981px) {
  .gw-cat-wrap > ul.wd-nav-product-cat {
    scroll-snap-type: x proximity;
    gap: 16px !important;
    padding: 10px 10px !important;
    justify-content: center !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .gw-cat-wrap ul.wd-nav-product-cat > li.cat-item {
    scroll-snap-align: center;
    flex: 0 0 auto !important;
    min-width: 110px;
    max-width: 110px;
  }

  .gw-cat-wrap .wd-nav-img {
    max-height: 100px !important;
    min-height: 40px !important;
    width: auto !important;
    margin: 0 auto 6px !important;
  }

  .gw-cat-wrap .nav-link-text {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: 100% !important;
    display: block !important;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    word-wrap: break-word;
  }
}

/* ========== MOBILE (≤ 980px) ========== */
@media (max-width: 980px) {
  /* Hide the dropdown button */
  .wd-btn-show-cat.wd-action-btn.wd-style-text {
    display: none !important;
  }

  /* Wrapper constrained to screen width */
  .gw-cat-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
  }

  /* Force flex layout (override grid) */
  .gw-cat-wrap > ul.wd-nav-product-cat,
  .wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion,
  .wd-nav-accordion-mb-on .wd-nav-product-cat.wd-mobile-accordion {
    display: flex !important;
    flex-wrap: nowrap !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 10px;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    grid-template-columns: unset !important;
    gap: 12px !important;
    padding: 10px 5px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  /* Category items snap to start (left align) */
  .gw-cat-wrap ul.wd-nav-product-cat > li.cat-item {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-width: 110px;
    max-width: 110px !important;
  }

  /* Larger icons on mobile */
  .gw-cat-wrap .wd-nav-img,
  .wd-nav-product-cat .wd-nav-img {
    width: 100px !important;
    height: 100px !important;
    max-height: 100px !important;
    min-height: 100px !important;
    object-fit: contain;
    margin: 0 auto 6px !important;
    display: block;
  }

  /* 2-line text on mobile - NO ellipsis */
  .gw-cat-wrap .nav-link-text,
  .wd-nav-product-cat .nav-link-text {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: 100% !important;
    line-height: 1.2 !important;
    font-size: 11px !important;
    display: block !important;
    margin: 0 auto;
    word-wrap: break-word;
    text-align: center;
    height: auto;
    min-height: 26px;
  }

  /* Force arrows visible on mobile */
  .gw-scroll {
    display: grid !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .gw-scroll[hidden] {
    display: none !important;
  }
}
