/*
 Theme Name:   Sheets Child Theme
 Description:  Child theme for the Gravita theme
 Author:       TradePro
 Template:     electronics-and-gadget-shop-theme-for-woocommerce
 Version:      1.0.0
 License: GPLv3 or later
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  palecom
*/



.is-nowrap {
  flex-wrap: nowrap !important;
}

.grid-two-columns-item {
  grid-column: span 2;
}

.wp-block-heading.has-link-color a:hover, .wp-block-heading.has-link-color a:focus {
  color: inherit;
  opacity: 0.8;
}

.woocommerce .wp-block-add-to-cart-form table.variations tr td select {
    padding: var(--wp--preset--spacing--2-xs) var(--wp--preset--spacing--xs);
}

/* Remove the scrolling right on first load because of mini-cart */
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-components-drawer {
    transform: translateX(-100%);
}

/* change the mobile category icon to BURGER icon */
.wp-block-gutenmate-categories-menu__icon:after {
    background-color: #fff; /* change to #fff if you want white lines */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect y='4' width='24' height='2'/%3E%3Crect y='11' width='24' height='2'/%3E%3Crect y='18' width='24' height='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect y='4' width='24' height='2'/%3E%3Crect y='11' width='24' height='2'/%3E%3Crect y='18' width='24' height='2'/%3E%3C/svg%3E");
}

ul.is-style-gtmt-bullet li::before, ul.is-style-gtmt-check li::before, ul.is-style-gtmt-plus li::before, ul.is-style-gtmt-minus li::before {
  background-color: currentcolor;
}


/*---------------------------------------------------*/

nav {
  font-size: var(--wp--preset--font-size--lg);
  transition: all 0.3s ease;
}

nav .wp-block-navigation-link a:hover {
  color: var(--wp--preset--color--accent);
  opacity: 0.8;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}


.sticky-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99;
  width: 100%;
  background-color: white;
  /* Ensure visibility */
  transition: transform 0.3s ease-in-out;
}

.top-bar {
  transition: height 0.3s ease-in-out, padding 0.3s ease-in-out;
  /* Smooth shrinking effect */
  overflow: hidden;
  /* Prevent flickering */
}

body.mega-menu-active::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  z-index: 97; /* Below the mega menu but above the content */
  pointer-events: none; /* Ensure it doesn't block interactions */
}

.mega-menu-wrapper {
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 999;
  /* Ensure it's above content */
}

.mega-menu-container {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 98;
  /* Lower than header */
  display: none;
  /* Hidden initially */
  transition: top 0.2s ease-in-out, height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  margin-top: 0 !important;
  /* Ensure no spacing */
  padding-top: 0 !important;
  /* Remove any unintended gap */
  overflow: hidden;
  /* Prevent flickering */
  height: 0px;
  /* Default height is 0 to remove unwanted space */
}

.mega-menu-content {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  position: absolute;
  /* Keep hidden menus out of the layout */
  width: 100%;
}

.mega-menu-content.active {
  visibility: visible;
  opacity: 1;
  position: relative;
  /* Only active menu should take space */
}

.mega-menu-inner {
  position: relative;
  display: block;
  margin: 0 auto;      /* Center it horizontally */
  background: rgb(255, 255, 255);   /* Optional: visual clarity */
}


.woocommerce .wp-block-woocommerce-product-image-gallery.is-style-default .flex-control-thumbs {
  overflow: auto !important;
}

.woocommerce .wp-block-woocommerce-product-image-gallery.is-style-default .flex-control-thumbs {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 10px 0;
  scrollbar-width: thin;
}

.woocommerce .wp-block-woocommerce-product-image-gallery.is-style-default .flex-control-thumbs li {
  flex: 0 0 auto;
  list-style: none;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
  max-width: 100px;
}

  span.price-unit {
    font-size: 0.5em;
  }

  .wc-block-components-product-price {
    align-items: baseline;
  }

  .wc-proceed-to-checkout {
    display : flex;
    flex-direction : row;
    gap: 1rem;
  }

.wc-proceed-to-checkout .checkout-button button {
  width: 100%;
  margin-bottom: unset;
}

.wholesalex_request_custom_quote_btn {
  display: block;
  background-color: rgba(0,0,0,.05);
  color: var(--wp--preset--color--accent);
  border: 2px solid;
  text-align: center;
  margin: 0 !important;
  font-size: 1.15em;
  padding: 0.5em;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wholesalex_request_custom_quote_btn:hover{
  background-color: var(--wp--preset--color--accent);
  color: #ffffff;
  transition: all 0.3s ease;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  margin-bottom: unset;
  font-size: 1.15em;
}

.wp-block-gutenmate-categories-menu__overlay .cat-item a:hover {
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--background);
}


.wp-block-gutenmate-categories-menu__categories li.cat-item:hover,
.wp-block-gutenmate-categories-menu__categories li.cat-item:focus {
  color: white;
  text-decoration: none;
}

.wp-block-gutenmate-categories-menu__overlay .cat-item a:focus {
  color: white;

}

.woocommerce  .woocommerce-cart-form__cart-item.cart_item .product-quantity .input-text.qty {
      width: 5.631em;
}


footer .footer-top-icons .footer-top-icons-columns .footer-top-icons-column div {

  align-items: flex-start;
}



@media (max-width: 768px) {

  .sticky-header {
    position: sticky !important;
    top: 0 !important;
    transform: translateY(0) !important; /* Ensure it stays fully visible */
    z-index: 99;
    width: 100%;
    background-color: white;
  }

  header h4 {
    font-size: 1.1em;
  }
  .wp-block-navigation__responsive-container.is-menu-open {
    padding: 0;
    max-width: 280px;
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-navigation__container {
    gap: 0;
  }

  .wp-block-gutenmate-categories-menu__overlay {
    position: fixed;
    left: 0;                                /* anchor the drawer to the left edge */
    right: auto;
    top: 0;
    width: 90%;
    align-items: baseline;
    transform: translateX(0);               /* resting (open) position */
    transition: transform .3s ease, opacity .3s ease;  /* slide + fade */
    border-radius: unset;
    overflow-y: auto;                       /* panel itself scrolls when tall categories overflow */
    -webkit-overflow-scrolling: touch;      /* momentum scroll on iOS */
    overscroll-behavior: contain;           /* stop scroll from chaining to the page behind */
    scrollbar-width: none;                  /* hide scrollbar (Firefox) while keeping scroll */
    -ms-overflow-style: none;               /* hide scrollbar (old Edge/IE) */
  }

  .wp-block-gutenmate-categories-menu__overlay::-webkit-scrollbar {
    display: none;                          /* hide scrollbar (Chrome/Safari) */
  }

  /* closed state: park the drawer off-screen to the left so it slides in/out.
     (Right drawer would cover the hamburger button, so we open from the left.) */
  .wp-block-gutenmate-categories-menu:not(.is-open) .wp-block-gutenmate-categories-menu__overlay {
    transform: translateX(-100%);
  }

  .wp-block-gutenmate-categories-menu__categories .children.is-overflow {
    left: 0;
  }

  .wp-block-gutenmate-categories-menu__categories .children {
    transform: unset;
    position: relative;
    top: unset;
    right: unset;
  }

  .wp-block-gutenmate-categories-menu__categories li {
    height: 3rem;
  }

  .wp-block-gutenmate-categories-menu__categories li.cat-item:hover,
  .wp-block-gutenmate-categories-menu__categories li.cat-item:focus {
    color: white;
    text-decoration: none;
  }


  .wp-block-gutenmate-overlay-search__icon:after {
    background-color : #FFFFFF;
  }

  .wholesalex_request_custom_quote_btn {
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
    font-size: 1em;
    max-height: 45px;
  }

  #add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
    font-size: 1em;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
  }

  .wc-proceed-to-checkout {
    display : flex;
    flex-direction : column;
  }

  .woocommerce-cart .woocommerce .coupon {
    gap: 0.5em;
  }

  .woocommerce-cart .woocommerce .coupon  #coupon_code {
    width: 46%;
  }

  .woocommerce-cart .woocommerce .coupon #apply_coupon {
    width: 46%;
  }

  .wholesalex_add_to_quote_modal .modal_content {
    width: 90%;
  }
}


/* USA Menu */
/* Top-level horizontal */
/* ========== BASIC NAV SETUP ========== */

header .wp-block-navigation .wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation__submenu-container {
    padding: 0;
    border-radius: unset;
    border: none
}

header .wp-block-navigation .wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation__submenu-container:not(.block-editor-block-list__layout) {
    box-shadow: 0 4px 6px -5px;
}

header .wp-block-navigation .has-child {
    /* position: static; */
    position: relative;
}

.wp-block-navigation .wp-block-navigation-item
 {
    background-color: unset;
 }

 .wp-block-navigation .wp-block-navigation-item__label {
    white-space: nowrap;
}

header .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
  transform: translateX(-5%);
  flex-direction: unset;
  max-height: 0;
  display: none;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  justify-content: center;
  background-color: var(--wp--preset--color--base);
}

header .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container,.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
  padding-top: 10px;
  max-height: 300px;
  height: unset;
  display: flex;
}

header .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    border: none;
}

header .wp-block-navigation:not(.has-text-color) .wp-block-navigation__submenu-container {
    color: inherit;
}

header .wp-block-navigation__container {
    align-items: center;
    flex-direction: row;
}

@media (prefers-reduced-motion) {
   header .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
        transition: none;
    }
}

.wp-block-navigation__container > li > .wp-block-navigation-item__content:hover,
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  text-decoration: underline !important;
  text-decoration-color: var(--wp--preset--color--accent) !important;
  text-decoration-thickness: 2px !important;
}

iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.woocommerce-tabs.wc-tabs-wrapper #tab-pdfs_tab ul {
  list-style: none;
}

.woocommerce-tabs.wc-tabs-wrapper #tab-pdfs_tab ul li {
  font-size: 1.2em
}

.wp-site-blocks .wc-block-components-product-image__inner-container .wp-block-woocommerce-product-image.wc-block-components-product-sale-badge {
  text-indent: 0;

}

.wp-site-blocks .wc-block-components-product-image__inner-container .wp-block-woocommerce-product-image.wc-block-components-product-sale-badge::after {
  content: none;
}

.single-product .wp-site-blocks span.onsale {
  display: none;
}

/* Menu drawer */

/* ===== visual tokens ===== */
:root{
  --accent: #275bad;              /* tweak to your brand blue */
  --row-bg: #fff;
  --row-bg-open: #f6f8fc;         /* subtle highlight for open parent */
  --text: #1f2a37;
  --text-muted: #46566b;
  --line: rgba(16,24,40,.08);     /* divider lines */
  --fs: 16.5px;                   /* base font size (bigger/cleaner) */
  --lh: 1.5;
}

/* ===== top-level rows ===== */
.wp-block-gutenmate-categories-menu__categories{
  margin:0; padding:0; list-style:none;
  font-size: var(--fs);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wp-block-gutenmate-categories-menu__overlay {
  height: 100vh;
  font-size: var(--fs);
  display: flex;
  flex-direction: column;
  /* ← this line was added */
  /* full viewport height */
}

.wp-block-gutenmate-categories-menu__categories > li{
  border-bottom: 1px solid var(--line);   /* grid line */
  background: var(--row-bg);

}

/* parent & normal links look like rows */
.wp-block-gutenmate-categories-menu__categories > li > a{
  position: relative;
  z-index: 2;                               /* keep it above submenu */
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
}

/* plus/minus toggle to indicate submenu (always visible) */
.wp-block-gutenmate-categories-menu__categories > li.has-child > a::after{
  /* parent theme draws an SVG arrow via -webkit-mask-image; kill it so our text glyph shows */
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background: none !important;
  content: "+";                             /* closed = plus */
  position: static;                         /* override parent's absolute positioning */
  transform: none;
  display: inline-block;                    /* stable box so the sign stays put */
  width: 1em;
  height: auto;
  text-align: center;
  font-size: 20px;
  line-height: 1;
  color: var(--wp--preset--color--accent);
  transition: color .2s linear;
}
/* chevron turns white whenever the row gets the accent background
   (hover, focus, or open) — open or closed, the highlighted row wins */
.wp-block-gutenmate-categories-menu__categories > li.has-child.is-open > a::after,
.wp-block-gutenmate-categories-menu__categories > li.has-child > a:hover::after,
.wp-block-gutenmate-categories-menu__categories > li.has-child > a:focus::after {
  color: var(--wp--preset--color--base);
}


/* open state: keep parent highlighted with white text, regardless of focus */
.wp-block-gutenmate-categories-menu__categories > li.has-child.is-open > a{
  background: var(--row-bg-open);
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--base);                   /* stays white after focus-out (theme has no 'background' preset) */
}
.wp-block-gutenmate-categories-menu__categories > li.has-child.is-open > a::after{
  content: "\2212";                         /* open = minus (−) */
}

/* make sure theme hover rules don't override the open look */
.wp-block-gutenmate-categories-menu__overlay .cat-item.has-child.is-open > a:hover,
.wp-block-gutenmate-categories-menu__overlay .cat-item.has-child.is-open > a:focus{
  /*background: var(--row-bg-open) !important;*/
  background-color: var(--wp--preset--color--accent) !important;
}

/* ===== submenu (accordion) ===== */
.wp-block-gutenmate-categories-menu__categories ul.children{
  margin: 0;
  padding: 0 0 8px 0;                        /* a little breathing room */
  list-style: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid var(--line);         /* divider between parent & children */
  transition: max-height .28s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  background: #fff;
}

/* expanded */
.wp-block-gutenmate-categories-menu__categories li.has-child.is-open > ul.children{
  max-height: 2000px;                         /* large enough for your longest list; panel scrolls if it overflows the screen */
  opacity: 1;
}

/* submenu rows */
.wp-block-gutenmate-categories-menu__categories ul.children > li:not(:last-child){
  border-bottom: 1px solid var(--line);
}
.wp-block-gutenmate-categories-menu__categories ul.children > li > a{
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 12px 28px;              /* slight indent */
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

/* plus/minus on grandchildren too */
.wp-block-gutenmate-categories-menu__categories ul.children > li.has-child > a::after{
  -webkit-mask-image: none !important;      /* kill parent theme's SVG arrow */
  mask-image: none !important;
  background: none !important;
  content: "+";
  position: static;
  transform: none;
  display: inline-block;
  width: 1em;
  height: auto;
  text-align: center;
  font-size: 20px;
  color: var(--row-bg-open);
  line-height: 1;
}
.wp-block-gutenmate-categories-menu__categories ul.children > li.has-child.is-open > a::after{
  content: "\2212";                         /* minus (−) */
}

/* remove any fixed heights from earlier CSS that caused disappearing rows */
.wp-block-gutenmate-categories-menu__categories li{ height: auto !important; }

/* === In-drawer Close row (inserted by JS below) =================== */
.gm-catmenu__header{
  position: sticky;            /* stays at top while scrolling */
  top: 0;
  z-index: 3;
  background: #fff;
  border-bottom: 1px solid rgba(16,24,40,.08);
}

.gm-catmenu__close{
  width: 100%;
  display: flex; align-items: center; justify-content: end;
  gap: 12px;
  padding: 12px 16px;
  border: 0; background: transparent;
  cursor: pointer;
  font: 700 16.5px/1.5 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

.gm-catmenu__close:hover,
.gm-catmenu__close:focus{
  background: #f6f8fc;
  outline: none;
}

/* left label + right "X" icon */
.gm-catmenu__title{ pointer-events: none; }
.gm-catmenu__close-icon{
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  border-radius: 6px;
  background: #e9eefb;
  color: #275bad;
  font-size: 16px;
  line-height: 1;
}

/* keep the first real category nicely separated from the header */
.gm-catmenu__header + li{ border-top: 0; }


/*-----------------------------------------------------------------------------*/

/* ==========================
   Contact Form 7 Compact Form
   ========================== */
.wp-block-contact-form-7-contact-form-selector label {
  margin-block-start: unset;
}

.cf7-compact {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--wp--preset--color--base);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  font-family: inherit;
}

/* Section headings */
.cf7-compact h3 {
  margin: 1.5rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--wp--preset--color--contrast);
  border-bottom: 2px solid var(--wp--preset--color--base-3);
  padding-bottom: 0.25rem;
}

/* Labels */
.cf7-compact label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 14px;
  color: var(--wp--preset--color--contrast-2);
}

/* Group labels (like for radios/checkboxes) */
.cf7-compact .cf7-label {
  font-weight: 500;
  margin: 0.25rem 0 0.5rem;
  font-size: 14px;
  color: var(--wp--preset--color--contrast);
}

/* Inputs, selects, textareas */
.cf7-compact input,
.cf7-compact textarea,
.cf7-compact select {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 1rem;
  border: 1px solid var(--wp--preset--color--line-base);
  border-radius: 8px;
  background: var(--wp--preset--color--base-3);
  font-size: 15px;
  transition: all 0.2s;
  box-sizing: border-box;
}

.cf7-compact input:focus,
.cf7-compact textarea:focus,
.cf7-compact select:focus {
  border-color: var(--wp--preset--color--accent);
  background: var(--wp--preset--color--base);
  box-shadow: 0 0 0 3px var(--wp--preset--color--accent-3);
  outline: none;
}

/* Two column layout */
.cf7-compact .two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cf7-compact .two-col > label {
  flex: 1;
}

/* ==========================
   Toggle Buttons (radios/checkboxes with .cf7-toggle)
   ========================== */

.cf7-compact .cf7-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cf7-compact .cf7-toggle .wpcf7-list-item {
  margin: 0 5px;
}

.cf7-compact .cf7-toggle .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  background-color: var(--wp--preset--color--base-3);
  color: var(--wp--preset--color--contrast);
  border: 1px solid var(--wp--preset--color--line-base);
}

/* Hide native input */
.cf7-compact .cf7-toggle .wpcf7-list-item input {
  display: none;
}

/* Checked state → color whole label */
.cf7-compact .cf7-toggle .wpcf7-list-item label:has(input:checked) {
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--accent);
}

/* Hover */
.cf7-compact .cf7-toggle .wpcf7-list-item label:hover {
  background-color: var(--wp--preset--color--accent-2);
  border-color: var(--wp--preset--color--accent);
}

/* ==========================
   Normal Checkboxes (like consent)
   ========================== */
.cf7-compact .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 400;
  color: var(--wp--preset--color--contrast);
}

/* Keep native checkbox visible */
.cf7-compact .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 3px;
  width: auto;
}

/* ==========================
   Submit Button
   ========================== */
/* Submit button container to center it */
.cf7-compact p:has(input[type="submit"]) {
  display: flex;
  justify-content: center;
}

/* Submit button */
.cf7-compact input[type="submit"] {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--white);
  border: 2px solid transparent; /* keep border always */
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto; /* button stays compact */
  display: inline-block;
  text-align: center;
}

/* Hover = outline without layout shift */
.cf7-compact input[type="submit"]:hover {
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--accent);
  border-color: var(--wp--preset--color--accent);
}

/* ==========================
   Responsive
   ========================== */
@media (max-width: 600px) {
  .cf7-compact .two-col {
    flex-direction: column;
  }
}

/* Adust the menu for desktop */

@media screen and (min-width: 768px) {

    .wp-block-gutenmate-categories-menu__overlay {
        height: auto;
        width: 320px;

    }

    .wp-block-gutenmate-categories-menu__overlay .children {
        overflow: visible !important;
    }

    .wp-block-gutenmate-categories-menu__overlay .children .children.is-overflow {
        left: unset;
        top: 0;
        right: 0;
    }

}

/* Product page select variations */

.woocommerce .wp-block-add-to-cart-form table.variations tr td select {
  height: unset;
}


header {
    z-index: 999 !important;
}

  .grecaptcha-badge {
    visibility: hidden !important;
  }



.woocommerce-tabs.wc-tabs-wrapper li a img {
display: block;
justify-self: center;
padding: 1rem 0;
height: 4rem;
width: 4rem;
}



@media (max-width: 768px) {

    header.wp-block-template-part figure.wp-block-image.alignleft {
        max-width: 100%;
    }
}

@media (max-width: 400px) {
  .has-global-padding {
    padding: 0 0.5rem;
  }
}


/*FEAURE TAB CSS*/
.features-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.features-column h4 {
    margin-bottom: 10px;
}

.features-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-column li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.features-column li::before {
    content: "•";
    position: absolute;
    left: 0;
}


/*TAGS ABOVE PRODUCTY IMAGE */
.taxonomy-product_tag.product-image a {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 6px 6px 0;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
}

.taxonomy-product_tag.product-image a:nth-of-type(1) { background: var(--wp--preset--color--vivid-cyan-blue); } /* blue */
.taxonomy-product_tag.product-image a:nth-of-type(2) { background: #5ab993; } /* green */
.taxonomy-product_tag.product-image a:nth-of-type(3) { background: #ee7593; } /* orange */
.taxonomy-product_tag.product-image a:nth-of-type(4) { background: #b47fe5; } /* purple */

.taxonomy-product_tag.product-image a:nth-of-type(n+5),
.taxonomy-product_tag.product-image .wp-block-post-terms__separator:nth-of-type(n+5) {
  display: none;
}

/* PRODUCT PAGE ADD TO CART FORM */

.variations_form.cart .single_variation_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart
{
    display: block;
}

.wp-block-add-to-cart-form .woocommerce-variation-add-to-cart, .woocommerce.pewc-has-extra-fields div.product.elementor form.cart.variations_form .woocommerce-variation-add-to-cart, .woocommerce.pewc-has-extra-fields div.product.elementor form.cart:not(.grouped_form):not(.variations_form), .elementor-widget-wc-add-to-cart form.cart.variations_form .woocommerce-variation-add-to-cart, .elementor-widget-wc-add-to-cart form.cart:not(.grouped_form):not(.variations_form), .woocommerce.pewc-has-extra-fields .single_variation_wrap .variations_button, .woocommerce.pewc-has-extra-fields .summary .cart {
  display: flex
}

.wp-block-woocommerce-product-meta {
  margin-block-start: 10px;
}

.wp-block-add-to-cart-form:not(#\0 ) .woocommerce-variation.single_variation
{
    margin-block-end: 0;
}

.woocommerce div.product form.cart, .wp-block-woocommerce-add-to-cart-form .variations_form.cart,
.wp-block-woocommerce-add-to-cart-form .variations_form.cart .woocommerce-variation.single_variation {
  margin-bottom: 0;
}


/* .wp-block-add-to-cart-form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex-grow: 1;
} */

.wp-block-add-to-cart-form:not(#\0 ) .woocommerce-variation-price .price,
.pewc-total-only .pewc-total-field {
  align-items: center;

}
.wp-block-add-to-cart-form:not(#\0 ) .woocommerce-variation-price .price small,
.pewc-total-only .pewc-total-field small.woocommerce-price-suffix {
  margin-left: 4px;
  font-size: 1em;
}

.pewc-total-only .pewc-total-field .woocommerce-Price-amount.amount {
  font-size: var(--wp--preset--font-size--xl);
  font-weight: 500;
} 

.woocommerce div.product form.cart .variations {
  margin-bottom: 0;
}


/* GENERAL CSS */

figure
{
    max-width: 100%;
    min-width: 25px;
}

.wc-block-components-notice-banner.is-success {
    background-color: var(--wp--preset--color--accent);
}

.wc-block-cart__submit-container {
  display: flex;
  gap: 1rem;
}

/* button.wp-element-button {
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--white);
    transition: background-color 0.3s ease;
}
button.wp-element-button:hover {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--accent);
    outline: 2px solid var(--wp--preset--color--accent);
} */

/* Product Extras For WooCommerce */

.pewc-form-field pewc-number-field {
    width: 100%;
}
.pewc-form-field.pewc-number-field {
    width: 100%;
}
span.pewc-field-label-text {
    font-weight: bold;
  
}

ul.pewc-product-extra-groups {
  padding-left: 0;
}

ul.pewc-product-extra-groups.cols-2 {
  row-gap: 0;
}

ul.pewc-product-extra-groups.cols-2 li+li {
    margin-block-start: 0;
}

/* Hide total ONLY if the sibling with pewc-group-wrap-367 is NOT present */
.pewc-product-extra-groups-wrap:not(:has(.pewc-group-wrap-367))
  .pewc-group-wrap.pewc-hide-totals ~ .pewc-total-only {
    display: none !important;
}


/* flat SWATCH dynamic options to one line: title: options */
li.pewc-text-swatch .pewc-item-field-wrapper {
  display: flex;
  /* gap: 1rem; */
  align-items: baseline;
}

li.pewc-text-swatch .pewc-item-field-wrapper label {
  margin-right: 1rem;
}
.pewc-product-extra-groups .pewc-text-swatch ul.pewc-checkbox-group-wrapper li {
  margin-right: unset;
}
/*****************************************************/

/****************************/
/* WholsaleX Request a quote*/

.wsx-link .wsx-btn.wsx-bg-primary {
 background-color: var(--wp--preset--color--accent);
}

.wsx-message-container .wsx-message-wrapper {
	width: 100%;
}

.wsx-reply-lists.wsx-reply-right .wsx-message-container .wsx-message-wrapper .wsx-message {
	width: 100%;
	max-width: 100%;
	background-color: unset;
}

.wsx-reply-lists.wsx-reply-right .wsx-message-container .wsx-message-wrapper .wsx-message .wsx-quote {
	background-color: unset;
	color: black;
}

.wsx-reply-lists.wsx-reply-right .wsx-message-container .wsx-message-wrapper .wsx-message .wsx-quote .wsx-quote-table-text, .wsx-reply-lists.wsx-reply-right .wsx-message-container .wsx-message-wrapper .wsx-message .wsx-quote .woocommerce-Price-amount, .wsx-quote a.wsx-quote-item-link {
    color: black;
}

.wsx-quote .wsx-quote-table-head {
	background-color: var(--wp--preset--color--accent);
  color: #ffffff;
  font-weight: bold;
}

.wsx-quote-table-row {
    grid-template-columns: 5fr repeat(2, 1fr);
    align-items: start;
}
a.wsx-quote-item-link {
    max-width: 95%;
}

.wsx-w-fit {
    width: 100%;
}

.wholesalex_request_custom_quote_btn {
  font-size: unset;
}
.price-from-label {
    font-size: 0.75em;
}

/* ==========================
   WooCommerce Cart & Checkout Variation Alignment
   ========================== */
dl.variation,
.woocommerce-cart dl.variation,
.woocommerce-checkout dl.variation {
  margin: 0;
  padding: 0;
  overflow: hidden; /* Clear floats */
}

dl.variation dt,
.woocommerce-cart dl.variation dt,
.woocommerce-checkout dl.variation dt {
  float: left;
  clear: left;
  margin: 0;
  padding: 0;
  font-weight: 600;
  margin-right: 0.5em;
}

dl.variation dt:not(:first-child),
.woocommerce-cart dl.variation dt:not(:first-child),
.woocommerce-checkout dl.variation dt:not(:first-child) {
  margin-top: 0.25em;
}

dl.variation dd,
.woocommerce-cart dl.variation dd,
.woocommerce-checkout dl.variation dd {
  float: left;
  margin: 0;
  padding: 0;
}

dl.variation dt:not(:first-child) + dd,
.woocommerce-cart dl.variation dt:not(:first-child) + dd,
.woocommerce-checkout dl.variation dt:not(:first-child) + dd {
  margin-top: 0.25em;
}

dl.variation dd p,
.woocommerce-cart dl.variation dd p,
.woocommerce-checkout dl.variation dd p {
  margin: 0;
  padding: 0;
  display: inline;
}

dl.variation dd p:first-child,
.woocommerce-cart dl.variation dd p:first-child,
.woocommerce-checkout dl.variation dd p:first-child {
  margin-top: 0;
}

dl.variation dd p:last-child,
.woocommerce-cart dl.variation dd p:last-child,
.woocommerce-checkout dl.variation dd p:last-child {
  margin-bottom: 0;
}

.wc-block-mini-cart .wc-block-mini-cart__badge {
  background: #FFFFFF; /* pick a colour that contrasts with the badge background */
  color: var(--wp--preset--color--accent);
}

.woocommerce div.product div.images img {
  width: auto;
  height: 100%;
  justify-self: center;
}

.wp-block-gutenmate-categories-menu__button {
  background-color: var(--wp--preset--color--base);

}

.wp-block-gutenmate-categories-menu__icon::after {
  background-color: var(--wp--preset--color--accent);
}

/* The "View all items" template is just the clone source — always hidden */
.wp-block-gutenmate-categories-menu__view-cat-template {
  display: none !important;
}

/* view.js sometimes clones "View all items" twice into the same submenu.
   When two (or more) sit together, hide all but the last so exactly one shows
   per category. :has() targets the earlier duplicate(s), keeping the final one. */
li.wp-block-gutenmate-categories-menu__view-cat:has(~ li.wp-block-gutenmate-categories-menu__view-cat) {
  display: none !important;
}
/* ==========================================================
   FR Shipping Calculator Button - AT products Tab
   ----------------------------------------------------------
   Used in:
   WooCommerce Product Tabs (Shipping / Livraison)

   HTML:
   <a class="mig-shipping-button" href="...">
       🚚 Calculer mes frais de livraison
   </a>

   Purpose:
   - Professional CTA button
   - Fully responsive
   - Smooth hover animation
   - Matches MIG purple branding
   ========================================================== */

.mig-shipping-button{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;

    background:#ffffff !important;
    color:#6F4FA0 !important;

    padding:16px 34px !important;

    font-family:Poppins,Arial,sans-serif !important;
    font-size:17px !important;
    font-weight:600 !important;
    line-height:1.2 !important;

    text-decoration:none !important;

    border:2px solid #ffffff !important;
    border-radius:999px !important;

    box-shadow:0 8px 22px rgba(0,0,0,.15) !important;

    transition:
        background-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.mig-shipping-button:hover,
.mig-shipping-button:focus{

    background:#6F4FA0 !important;
    color:#ffffff !important;
    border-color:#ffffff !important;

    transform:translateY(-3px);

    box-shadow:0 14px 28px rgba(0,0,0,.22) !important;

    text-decoration:none !important;
}

.mig-shipping-button:active{

    transform:translateY(-1px);

    box-shadow:0 6px 14px rgba(0,0,0,.18) !important;
}

/* Mobile */

@media (max-width:768px){

    .mig-shipping-button{

        width:100% !important;
        max-width:360px;

        padding:15px 20px !important;

        font-size:16px !important;

    }

}
/* ==========================================================
   MIG Homepage Hero Slider
   ----------------------------------------------------------
   Site:
   https://mig.plaque-polycarbonate.fr

   Purpose:
   - Position Swiper pagination inside the hero banner
   - Improve first impression of homepage
   - Premium Shopify / Apple inspired layout
   - Compatible with WooCommerce Block Theme (Sheets Child)

   Component:
   WooCommerce Product Collection Slider (Swiper.js)

   Notes:
   - Uses .swiper-pagination
   - Requires the Swiper container to be positioned relative
   - Keeps pagination inside the hero image

   Last Updated:
   2026-06-25

   Author:
   MIG Custom Development
   ========================================================== */
   /* Hero slider pagination */
/* Move homepage hero slider pagination onto the image */
/* Hero slider pagination - visible white bullets */
.home .swiper-pagination-bullet{
    background:#ffffff !important;
    opacity:.65 !important;
    width:26px !important;
    height:4px !important;
    border-radius:20px !important;
    margin:0 5px !important;
}

.home .swiper-pagination-bullet-active{
    background:#ffffff !important;
    opacity:1 !important;
    width:42px !important;
}
.home .swiper-pagination{
    bottom:24px !important;
    left:40px !important;
    z-index:999 !important;
}

/* ==========================================================
   MIG Homepage Hero Slider Typography + Spacing
   ========================================================== */

/* Purple overlay box - same height on all slides */
.home .wp-block-cover .wp-block-group.has-background{
    padding:24px 32px !important;
    min-height:150px !important;
    box-sizing:border-box !important;
}

/* Keep internal spacing consistent */
.home .wp-block-cover .wp-block-group{
    gap:0 !important;
}

/* Brand name: EZ Glaze / BEEHIVE / SUNLITE */
.home .wp-block-cover h2.wp-block-heading{
    font-family:Poppins,Arial,sans-serif !important;
    font-size:24px !important;
    font-weight:300 !important;
    line-height:1.15 !important;
    letter-spacing:.35px !important;
    margin:0 0 10px !important;
}

/* Product title */
.home .wp-block-cover h4.wp-block-heading,
.home .wp-block-cover h4.wp-block-heading.has-base-color{
    font-family:Poppins,Arial,sans-serif !important;
    font-size:18px !important;
    font-weight:400 !important;
    line-height:1.35 !important;
    letter-spacing:.15px !important;
    color:#ffffff !important;
    margin:0 0 12px !important;
    text-shadow:none !important;
}

/* Feature row */
.home .wp-block-cover p{
    font-size:13px !important;
    font-weight:400 !important;
    line-height:1.35 !important;
    letter-spacing:.35px !important;
    color:#ffffff !important;
    opacity:.95 !important;
    margin:0 !important;
    word-spacing:8px !important;
}

/* Make inline feature words breathe again */
.home .wp-block-cover p strong,
.home .wp-block-cover p span{
    margin-right:14px !important;
}

/* Button alignment */
.home .wp-block-cover .wp-block-buttons{
    margin-top:0 !important;
}

/* ==========================================================
   Hero Slider - Discover Button
   ========================================================== */

/*.home .wp-block-cover .wp-block-button__link{

    background:rgba(255,255,255,.12) !important;

    color:#ffffff !important;

    border:1px solid rgba(255,255,255,.18) !important;

    border-radius:999px !important;

    padding:14px 28px !important;

    font-family:Poppins,Arial,sans-serif !important;
    font-size:15px !important;
    font-weight:600 !important;
    letter-spacing:.3px !important;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease !important;

    backdrop-filter:blur(6px);

    box-shadow:0 4px 12px rgba(0,0,0,.12);
}*/

/* Hover */

/*.home .wp-block-cover .wp-block-button__link:hover{

    background:#ffffff !important;

    color:#6F2DA8 !important;

    border-color:#ffffff !important;

    transform:translateY(-2px);

    box-shadow:0 12px 24px rgba(0,0,0,.18);

}*/

/* Click */

/*.home .wp-block-cover .wp-block-button__link:active{

    transform:translateY(0);

    box-shadow:0 4px 10px rgba(0,0,0,.15);

}*/

/* ==========================================================
   Shared Glass Button — Hero Slider + Footer CTA
   ========================================================== */

.home .wp-block-cover .wp-block-button__link,
.pp-footer .pp-footer-cta-button {

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    width:auto;
    min-height:0;

    background:rgba(255,255,255,.12) !important;
    color:#ffffff !important;

    border:1px solid rgba(255,255,255,.18) !important;
    border-radius:999px !important;

    padding:14px 28px !important;

    font-family:Poppins,Arial,sans-serif !important;
    font-size:15px !important;
    line-height:1.5;
    font-weight:600 !important;
    letter-spacing:.3px !important;

    text-decoration:none !important;
    text-align:center;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease !important;

    -webkit-backdrop-filter:blur(6px);
    backdrop-filter:blur(6px);

    box-shadow:0 4px 12px rgba(0,0,0,.12);
}


/* Hover */

.home .wp-block-cover .wp-block-button__link:hover,
.pp-footer .pp-footer-cta-button:hover {

    background:#ffffff !important;
    color:#6F2DA8 !important;

    border-color:#ffffff !important;

    transform:translateY(-2px);

    box-shadow:0 12px 24px rgba(0,0,0,.18);
}


/* Click */

.home .wp-block-cover .wp-block-button__link:active,
.pp-footer .pp-footer-cta-button:active {

    transform:translateY(0);

    box-shadow:0 4px 10px rgba(0,0,0,.15);
}


/* Keyboard focus */

.home .wp-block-cover .wp-block-button__link:focus-visible,
.pp-footer .pp-footer-cta-button:focus-visible {

    outline:2px solid #ffffff;
    outline-offset:3px;
}


/* ==========================================================
   PAGE CTA BUTTONS
   Used on internal pages like Réalisations
   ========================================================== */

/*.wp-block-post-content .wp-block-button__link{

    background:#6f00c9 !important;
    color:#ffffff !important;

    border:1px solid #6f00c9 !important;
    border-radius:999px !important;

    padding:11px 24px !important;
    min-height:42px !important;

    font-family:Poppins,Arial,sans-serif !important;
    font-size:13px !important;
    font-weight:600 !important;
    letter-spacing:.25px !important;
    line-height:1.2 !important;

    box-shadow:0 6px 14px rgba(111,0,201,.18) !important;
    transition:all .25s ease !important;
}

.wp-block-post-content .wp-block-button__link:hover{

    background:#ffffff !important;
    color:#6f00c9 !important;

    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(111,0,201,.22) !important;
}*/

/* ==========================================================
   PRODUCT BUTTONS
   Square button, single-line text, no "+" icon
   ========================================================== */

.wp-block-post-content .wp-block-button,
.wp-block-post-content .wp-block-button__link{
    width:auto !important;
}

.wp-block-post-content .wp-block-button__link{

    display:inline-flex !important;
    align-items:center;
    justify-content:center;

    background:#6f00c9 !important;
    color:#ffffff !important;

    border:1px solid #6f00c9 !important;
    border-radius:0 !important; /* Square corners */

    padding:11px 28px !important;
    min-height:42px !important;

    font-family:Poppins, Arial, sans-serif !important;
    font-size:13px !important;
    font-weight:600 !important;
    letter-spacing:.25px !important;
    line-height:1.2 !important;

    white-space:nowrap !important;
    text-decoration:none !important;

    box-shadow:0 6px 14px rgba(111,0,201,.18) !important;
    transition:all .25s ease !important;
}

/* Remove the "+" icon */
.wp-block-post-content .wp-block-button__link::before,
.wp-block-post-content .wp-block-button__link i,
.wp-block-post-content .wp-block-button__link svg{
    content:none !important;
    display:none !important;
}

/* Hover effect */
.wp-block-post-content .wp-block-button__link:hover{

    background:#ffffff !important;
    color:#6f00c9 !important;

    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(111,0,201,.22) !important;
}


/* ==========================================================
   MIG Product Archive Buttons
   ----------------------------------------------------------
   Site:
   https://mig.plaque-polycarbonate.fr

   Purpose:
   - Professional styling for Product Archive buttons
   - Separate styles for:
       • Sidebar Filter Buttons
       • Product Card Buttons
   - Premium rounded design
   - Consistent with MIG branding

   Components:
   • WooCommerce Product Filters
   • WooCommerce Product Collection

   Last Updated:
   2026-06-28

   Author:
   MIG Custom Development
   ========================================================== */


/* ==========================================================
   SIDEBAR FILTER BUTTONS
   ========================================================== */

.wp-block-woocommerce-product-filter-clear-button .wp-block-button__link{

    background:#6f00c9 !important;
    color:#ffffff !important;

    border:1px solid #6f00c9 !important;
    border-radius:999px !important;

    padding:8px 18px !important;

    min-height:36px !important;

    font-family:Poppins,Arial,sans-serif !important;
    font-size:13px !important;
    font-weight:600 !important;
    letter-spacing:.2px !important;

    box-shadow:0 4px 10px rgba(111,0,201,.15) !important;

    transition:all .25s ease !important;
}

.wp-block-woocommerce-product-filter-clear-button .wp-block-button__link:hover{

    background:#ffffff !important;
    color:#6f00c9 !important;

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(111,0,201,.20) !important;
}



/* ==========================================================
   PRODUCT CARD BUTTONS
   ========================================================== */

.wp-block-product-template .wp-block-button__link,
.wc-block-components-product-button__button{

    background:#6f00c9 !important;
    color:#ffffff !important;

    border:1px solid #6f00c9 !important;
    border-radius:999px !important;

    padding:10px 22px !important;

    min-height:40px !important;

    width:82% !important;
    margin:0 auto !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;

    font-family:Poppins,Arial,sans-serif !important;
    font-size:13px !important;
    font-weight:600 !important;
    letter-spacing:.2px !important;
    line-height:1.2 !important;

    box-shadow:0 5px 12px rgba(111,0,201,.18) !important;

    transition:all .25s ease !important;
}

.wp-block-product-template .wp-block-button__link:hover,
.wc-block-components-product-button__button:hover{

    background:#ffffff !important;
    color:#6f00c9 !important;

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(111,0,201,.22) !important;
}

/* ==========================================================
   FINAL OVERRIDE - PRODUCT CARD BUTTONS
   Square, one-line, no "+" icon, no hover flicker
   ========================================================== */

.wp-block-product-template .wp-block-button__link,
.wp-block-product-template .wc-block-components-product-button__button,
.wc-block-components-product-button__button,
.wc-block-components-product-button .wp-block-button__link,
a.add_to_cart_button,
a.product_type_variable,
a.product_type_simple{

    background:#6f00c9 !important;
    color:#ffffff !important;

    border:1px solid #6f00c9 !important;
    border-radius:0 !important;

    padding:10px 18px !important;
    min-height:40px !important;

    width:auto !important;
    max-width:100% !important;
    margin:0 auto !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;

    font-family:Poppins,Arial,sans-serif !important;
    font-size:13px !important;
    font-weight:600 !important;
    letter-spacing:.2px !important;
    line-height:1.2 !important;

    white-space:nowrap !important;
    text-decoration:none !important;

    transform:none !important;

    box-shadow:0 5px 12px rgba(111,0,201,.18) !important;

    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease !important;
}

/* Remove the "+" icon */
.wp-block-product-template .wp-block-button__link::before,
.wp-block-product-template .wp-block-button__link::after,
.wc-block-components-product-button__button::before,
.wc-block-components-product-button__button::after,
.wc-block-components-product-button__button span::before,
.wc-block-components-product-button__button span::after,
a.add_to_cart_button::before,
a.add_to_cart_button::after,
a.product_type_variable::before,
a.product_type_variable::after{
    content:none !important;
    display:none !important;
}

/* Hover effect without movement */
.wp-block-product-template .wp-block-button__link:hover,
.wp-block-product-template .wc-block-components-product-button__button:hover,
.wc-block-components-product-button__button:hover,
.wc-block-components-product-button .wp-block-button__link:hover,
a.add_to_cart_button:hover,
a.product_type_variable:hover,
a.product_type_simple:hover{

    background:#ffffff !important;
    color:#6f00c9 !important;
    border-color:#6f00c9 !important;

    transform:none !important;

    box-shadow:0 8px 18px rgba(111,0,201,.22) !important;
}

/* Keep product image and title stable */
.wp-block-product-template img,
.wp-block-product-template .wp-block-post-title,
.wp-block-product-template .wp-block-post-title a,
.wp-block-product-template .wc-block-components-product-name{
    transform:none !important;
}



/* ==========================================
   The Polycarbonate Store - Blog Styles
   ========================================== */

.material-blog {
    max-width: 1050px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #231942;
    line-height: 1.75;
}

/* Typography */

.material-blog h1 {
    font-size: 2.2rem;
    color: #3f2378;
    margin-bottom: 20px;
    font-weight: 700;
}

.material-blog h2 {
    font-size: 1.7rem;
    color: #3f2378;
    margin: 45px 0 20px;
    padding-left: 16px;
    border-left: 5px solid #8e72b3;
    font-weight: 700;
}

.material-blog h3 {
    font-size: 1.3rem;
    color: #4b2e83;
    margin: 30px 0 15px;
}

.material-blog p {
    margin-bottom: 18px;
}

/* Intro */

.material-intro {
    background: #f5effb;
    border-left: 5px solid #8e72b3;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 35px;
}

/* Content Boxes */

.material-box {
    background: #fff;
    border: 1px solid #e5ddf0;
    border-radius: 14px;
    padding: 30px;
    margin: 35px 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

/* Lists */

.material-blog ul,
.material-blog ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.material-blog li {
    margin-bottom: 10px;
}

/* Tables */

.material-table-wrap {
    overflow-x: auto;
    margin: 30px 0;
}

.material-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.material-table thead {
    background: #3f2378;
    color: #fff;
}

.material-table th,
.material-table td {
    padding: 14px;
    border: 1px solid #e5ddf0;
    text-align: left;
}

.material-table tbody tr:nth-child(even) {
    background: #faf7ff;
}

/* Note */

.material-note {
    background: #fff7ed;
    border-left: 5px solid #f59e0b;
    padding: 22px;
    border-radius: 10px;
    margin: 35px 0;
}

/* CTA */

.material-cta {
    background: linear-gradient(135deg,#3f2378,#5a3d9c);
    color: #fff;
    border-radius: 18px;
    padding: 40px;
    margin-top: 50px;
}

.material-cta h2 {
    color: #fff;
    border-left-color: #d5c4ef;
}

.material-cta p {
    color: #fff;
}

.material-cta a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

/* Links */

.material-blog a {
    color: #3f2378;
    transition: .25s;
}

.material-blog a:hover {
    color: #6c52b3;
}

/* Images */

.material-blog img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
}

/* Blockquotes */

.material-blog blockquote {
    background: #faf7ff;
    border-left: 5px solid #8e72b3;
    padding: 20px;
    font-style: italic;
    margin: 30px 0;
}

/* Responsive */

@media (max-width:768px){

.material-blog{
    padding:25px 15px;
}

.material-blog h1{
    font-size:1.9rem;
}

.material-blog h2{
    font-size:1.45rem;
}

.material-box{
    padding:22px;
}

.material-intro{
    padding:22px;
}

.material-cta{
    padding:28px;
}

.material-table{
    min-width:600px;
}

}

.material-blog .material-cta a,
.material-blog .material-cta a:visited,
.material-blog .material-cta a:hover,
.material-blog .material-cta a:focus {
    color: #ffffff !important;
    opacity: 1;
}

/**
 * Professional WooCommerce category/archive discount badge
 *
 * This styles the WooCommerce Blocks sale badge on category, promo,
 * shop, and product archive pages.
 *
 * Result:
 * A cleaner premium pill badge, for example "-20%".
 */

.wc-block-components-product-image,
.wp-block-woocommerce-product-image {
    position: relative !important;
    overflow: visible !important;
}

/* Main badge */
.wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge,
.wc-block-components-product-image .wc-block-components-product-sale-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 5 !important;

    width: auto !important;
    min-width: 48px !important;
    height: auto !important;
    min-height: 30px !important;

    padding: 7px 11px !important;
    border-radius: 999px !important;

    background: linear-gradient(135deg, #e80000 0%, #c90000 100%) !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18) !important;

    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.2px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;

    box-sizing: border-box !important;
    transform: none !important;
}

/* Badge text */
.wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge__text,
.wc-block-components-product-image .wc-block-components-product-sale-badge__text {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.2px !important;

    display: inline-block !important;
    position: static !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
}

/* Remove old generated "%" icon if theme/block adds one */
.wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge::before,
.wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge::after,
.wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge__text::before,
.wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge__text::after,
.wc-block-components-product-image .wc-block-components-product-sale-badge::before,
.wc-block-components-product-image .wc-block-components-product-sale-badge::after,
.wc-block-components-product-image .wc-block-components-product-sale-badge__text::before,
.wc-block-components-product-image .wc-block-components-product-sale-badge__text::after {
    content: none !important;
    display: none !important;
}

/* Slightly cleaner hover effect on product cards */
.wc-block-components-product-image:hover .wc-block-components-product-sale-badge {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22) !important;
}

/* Mobile adjustment */
@media (max-width: 767px) {
    .wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge,
    .wc-block-components-product-image .wc-block-components-product-sale-badge {
        top: 8px !important;
        right: 8px !important;
        min-width: 44px !important;
        min-height: 28px !important;
        padding: 6px 9px !important;
        font-size: 11px !important;
    }

    .wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge__text,
    .wc-block-components-product-image .wc-block-components-product-sale-badge__text {
        font-size: 11px !important;
    }
}
/* ==========================================================
   FR Button Colour Override
   Brand purple: #42277d
   Excludes homepage hero and footer glass CTA buttons
   ========================================================== */

/* Standard Gutenberg page CTA buttons */
.wp-block-post-content .wp-block-button__link {
    background-color: #42277d !important;
    border-color: #42277d !important;
    color: #ffffff !important;
}

.wp-block-post-content .wp-block-button__link:hover,
.wp-block-post-content .wp-block-button__link:focus {
    background-color: #ffffff !important;
    border-color: #42277d !important;
    color: #42277d !important;
}

/* WooCommerce product-card buttons and Add to Cart */
.wp-block-product-template .wp-block-button__link,
.wp-block-product-template .wc-block-components-product-button__button,
.wc-block-components-product-button__button,
.wc-block-components-product-button .wp-block-button__link,
a.add_to_cart_button,
a.product_type_variable,
a.product_type_simple {
    background-color: #42277d !important;
    border-color: #42277d !important;
    color: #ffffff !important;
}

.wp-block-product-template .wp-block-button__link:hover,
.wp-block-product-template .wc-block-components-product-button__button:hover,
.wc-block-components-product-button__button:hover,
.wc-block-components-product-button .wp-block-button__link:hover,
a.add_to_cart_button:hover,
a.product_type_variable:hover,
a.product_type_simple:hover {
    background-color: #ffffff !important;
    border-color: #42277d !important;
    color: #42277d !important;
}

/* WooCommerce product filters */
.wp-block-woocommerce-product-filter-clear-button .wp-block-button__link {
    background-color: #42277d !important;
    border-color: #42277d !important;
    color: #ffffff !important;
}

.wp-block-woocommerce-product-filter-clear-button .wp-block-button__link:hover {
    background-color: #ffffff !important;
    border-color: #42277d !important;
    color: #42277d !important;
}

/* Contact Form 7 submit button */
.cf7-compact input[type="submit"] {
    background-color: #42277d !important;
    border-color: #42277d !important;
    color: #ffffff !important;
}

.cf7-compact input[type="submit"]:hover {
    background-color: #ffffff !important;
    border-color: #42277d !important;
    color: #42277d !important;
}

/* WholesaleX quote-related buttons */
.wholesalex_request_custom_quote_btn:hover,
.wsx-link .wsx-btn.wsx-bg-primary,
.wsx-quote .wsx-quote-table-head {
    background-color: #42277d !important;
}
/* Category pages: display the TTC label directly beside the product price */
.tax-product_cat .wc-block-components-product-price {
    display: inline-flex !important;
    align-items: baseline !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.tax-product_cat .wc-block-components-product-price .woocommerce-Price-amount,
.tax-product_cat .wc-block-components-product-price .woocommerce-price-suffix {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tax-product_cat .wc-block-components-product-price br {
    display: none !important;
}
/* Product measurement fields: show Min and Max beside each other */
.pewc-item .pewc-description {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.pewc-item .pewc-description small {
    display: inline;
}
/*Move TTC in product page besides the pric - not below it*/
.wc-block-components-product-price,
.wc-block-grid__product-price {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
}

.wc-block-components-product-price .woocommerce-price-suffix,
.wc-block-grid__product-price .woocommerce-price-suffix {
    display: inline !important;
    margin: 0 !important;
    white-space: nowrap !important;
}
/**
 * PEWC number fields:
 * Highlight Min/Max text when the entered value is outside the allowed range.
 */
.pewc-item-field-wrapper
> input.pewc-number-field:out-of-range
+ .pewc-description
> small {
	color: #d63638 !important;
	font-weight: 700 !important;
}
.pewc-item-field-wrapper > input.pewc-number-field:out-of-range {
	border-color: #d63638 !important;
	box-shadow: 0 0 0 1px #d63638 !important;
}

/**
 * Mobile layout for the product Add to Cart and Quote buttons.
 * Places the Quote button on a full-width row below Add to Cart.
 */
@media screen and (max-width: 600px) {

	.single-product .woocommerce-variation-add-to-cart.variations_button {
		display: grid !important;
		grid-template-columns: 76px minmax(0, 1fr) !important;
		gap: 10px !important;
		align-items: stretch !important;
		width: 100% !important;
	}

	.single-product .woocommerce-variation-add-to-cart .quantity {
		grid-column: 1;
		width: 100% !important;
		margin: 0 !important;
	}

	.single-product .woocommerce-variation-add-to-cart .quantity input {
		width: 100% !important;
		height: 52px !important;
		box-sizing: border-box;
	}

	.single-product .woocommerce-variation-add-to-cart
	.single_add_to_cart_button {
		grid-column: 2;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 52px !important;
		margin: 0 !important;
		white-space: normal !important;
	}

	.single-product .pc-product-quote-wrap {
		grid-column: 1 / -1;
		width: 100% !important;
		margin: 0 !important;
	}

	.single-product .pc-product-quote-button {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100% !important;
		min-height: 50px !important;
		padding: 12px 16px !important;
		box-sizing: border-box;
		text-align: center;
		text-decoration: none !important;
		font-weight: 700;
		line-height: 1.2;
		white-space: normal;
		border: 1px solid #4b0d73;
		border-radius: 6px;
	}
}
/* Smaller TTC label on variable product prices */
.single-product .woocommerce-variation-price .woocommerce-price-suffix {
    font-size: 13px !important;
    font-weight: 400;
    color: #777;
    margin-left: 4px;
    vertical-align: baseline;
}
/* Hide product short descriptions in Mini-Cart */
.wc-block-mini-cart__drawer
.wc-block-components-product-metadata__description {
    display: none !important;
}

/* Hide product short descriptions on the Cart page */
.wp-block-woocommerce-cart
.wc-block-components-product-metadata__description {
    display: none !important;
}
/* Align variable-product price and TTC */
/* Visually centre the price and TTC */
.single-product .woocommerce-variation-price span.price,
.single-product #pewc-grand-total {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    column-gap: 5px;
}

/* Keep TTC centred beside the price */
.single-product .woocommerce-variation-price small.woocommerce-price-suffix,
.single-product #pewc-grand-total > small.woocommerce-price-suffix {
    align-self: center !important;
    position: relative !important;
    top: -1px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Make TTC smaller */
.single-product .woocommerce-variation-price .woocommerce-price-suffix,
.single-product #pewc-grand-total > .woocommerce-price-suffix {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #777 !important;
    margin: 0 !important;
    white-space: nowrap;
}

/* Add space between price and buttons */
.single-product .woocommerce-variation-price,
.single-product .pewc-total-only {
    margin-bottom: 16px !important;
}