.guaven_woos_suggestion {
  z-index: 99990;
  position: absolute;
  display: none;
  background: white;
  padding: 5px;
  border: 3px solid white;
}

.guaven_woos_selected {
  background: yellow
}

.guaven_woos_suggestion>ul {
  margin: 0;
  list-style-type: none !important;
}

.guaven_woos_div {
  padding: 5px;
}


.rtl .guaven_woos_titlediv {
  padding-right: 5px;
  margin-left: 0px;
  margin-right: 55px;
}

.guaven_woos_thereissale {
  text-decoration: line-through;
}

.guaven_woos_pinnedtitle {
  margin: 3px 0;
  font-weight: bold;
}

.guaven_woos_suggestion_catul .guaven_woos_suggestion_list {
  min-height: inherit;
}

.guaven_woos_pinnedtitle {
  padding-top: 10px
}

.woos_sku {
  display: none
}

.guaven_woos_hidden,
.guaven_woos_hidden_description,
.gwstrn,
.gws_cat_img {
  display: none;
}

.guaven_woos_titlediv_cat {
  font-size: 14px;
  line-height: 15px
}

.guaven_woos_suggestion_listproduct_cat {
  margin-left: 5px;
  line-height: 20px
}

.gwshd,
.live-search-results,
.ajax_search_response {
  display: none !important
}

.guaven_woos_suggestion>ul {
  padding: 0
}

.guaven_woos_div {
  float: left
}

.rtl .guaven_woos_div {
  float: right;
}

.guaven_woos_showallli {
  text-align: center;
  border-top: 1px solid #efefef
}

.guaven_woos_suggestion {
  border: none;
  padding: 0px
}

.guaven_woos_suggestion ul,
.guaven_woos_suggestion p {
  padding: 5px !important
}

.guaven_woos_mobilesearch {
  display: none;
  position: fixed;
  width: 96%;
  margin: 2%;
  background: white;
  top: 0;
  left: 0;
  z-index: 99989;
  border: solid 1px #dcdcdc
}

.guaven_woos_mobilesearch p {
  text-align: right;
  padding: 5px
}

.guaven_woos_mobilesearch p a {
  font-weight: bold;
  font-size: 20px;
  float: right;
}

#guaven_woos_s {
  width: 96%;
  margin-left: 2%;
  padding: 5px;
  padding: 10px;
  border: solid 1px #dcdcdc
}

.guaven_woos_suggestion_standalone {
  display: block !important;
  margin: 0px !important;
  position: inherit !important;
  width: 100% !important
}

.guaven_woos_suggestion_standalone .guaven_woos_div {
  padding-left: 2px;
  padding-right: 2px
}

.guaven_woos_suggestion_standalone .guaven_woos_final_results li,
.guaven_woos_suggestion_standalone .guaven_woos_suggestion_unlisted li {
  width: 25%;
  float: left;
  vertical-align: top
}

.guaven_woos_suggestion_standalone .guaven_woos_suggestion_unlisted li:nth-child(4n+1),
.guaven_woos_suggestion_standalone .guaven_woos_final_results li:nth-child(4n+1) {
  clear: left
}

@media(max-width:768px) {
  .guaven_woos_suggestion_standalone .guaven_woos_suggestion_unlisted li {
    width: 50%;
  }

  .guaven_woos_suggestion_standalone .guaven_woos_suggestion_unlisted li:nth-child(2n+1),
  .guaven_woos_suggestion_standalone .guaven_woos_final_results li:nth-child(2n+1) {
    clear: left
  }
}

.guaven_woos_suggestion_standalone ul,
.guaven_woos_suggestion_standalone p {
  clear: both
}

.guaven_woos_suggestion_standalone .guaven_woos_img {
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  position: relative;
}

.guaven_woos_suggestion_standalone .guaven_woos_div {
  float: none;
}

.guaven_woos_suggestion_standalone .guaven_woos_titlediv {
  margin-left: 0;
  font-size: 15px;
}

.guaven_woos_titlediv em {
  font-style: normal;
  text-decoration: underline;
  font-weight: bold
}

.gwspc {
  min-height: inherit !important
}

.guaven_woos_mobile_div_state .guaven_woos_titlediv>span {
  vertical-align: middle;
  display: table-cell;
  padding-right: 10px
}

.guaven_woos_mobile_div_state .guaven_woos_titlediv {
  margin-left: 70px;
  display: table;
  vertical-align: middle;
  width: calc(100% - 70px);
}

.guaven_woos_mobile_div_state .guaven_woos_suggestion_list {
  border-bottom: 1px solid #dfdfdf;
  padding: 0px 12px;
}

.guaven_woos_mobile_div_state .guaven_woos_titlediv small {
  text-align: right;
  display: table-cell;
  float: right;
  padding-bottom: 20px;
}

.guaven_woos_mobile_div_state .guaven_woos_suggestion {
  margin-top: 5px
}

.guaven_woos_mobile_div_state .guaven_woos_suggestion_catul .gws_cat_img {
  display: block;
  width: 70%;
  margin-left: 15%;
  padding-bottom: 8px
}

.guaven_woos_mobile_div_state .guaven_woos_suggestion_catul .guaven_woos_suggestion_list {
  min-height: inherit;
  display: inline-block;
  text-align: center;
}

.gws_clearable {
  position: relative;
  display: inline-block;
  width: 100%
}

.gws_clearable input[type=text] {
  padding-right: 24px;
  width: 100%;
  box-sizing: border-box;
}

.gws_clearable__clear {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  padding: 5px 15px;
  font-style: normal;
  font-size: 24px;
  user-select: none;
  cursor: pointer;
}

.gws_clearable input::-ms-clear {
  display: none;
}

.guaven_woos_mobile_div_state .off-canvas {
  display: none
}

/* Grid layout for full product cards */
ul.guaven_woos_final_results:has(li.product) {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 15px !important;
  width: 100%;
  list-style: none !important;
}

@media(max-width:768px) {
  ul.guaven_woos_final_results:has(li.product) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:480px) {
  ul.guaven_woos_final_results:has(li.product) {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px !important;
  }
}

ul.guaven_woos_final_results:has(li.product) li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}


/* =========================================================================
   Boquenins Core: Shoptimizer Product Card Override for Search Grid (FINAL)
   ========================================================================= */

/* Make search results a grid */
ul.guaven_woos_final_results:has(li.product) {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  align-items: stretch !important;
}

/* Card Container */
ul.guaven_woos_final_results li.product {
  position: relative !important;
  float: none !important;
  clear: both !important;
  display: flex !important;
  flex-direction: column !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 100px !important;
  height: auto !important;
  background: #fff !important;
  overflow: visible !important;
  border: 1px solid #f0f2f5 !important;
  border-radius: 8px !important;
  transition: box-shadow 0.3s ease !important;
}

ul.guaven_woos_final_results li.product:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
  transform: none !important;
}

/* Neutralize Shoptimizer theme hover lift effects on the card header */
ul.guaven_woos_final_results li.product:hover .woocommerce-card__header {
  transform: none !important;
  margin-top: 0 !important;
}

/* Neutralize global search link styles causing stretching */
ul.guaven_woos_final_results li.product a {
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  color: inherit !important;
  text-decoration: none !important;
  min-height: 0 !important;
  height: auto !important;
}

ul.guaven_woos_final_results li.product>* {
  position: relative !important;
  float: none !important;
}

/* Hide the empty first anchor padding element injected by Shoptimizer */
ul.guaven_woos_final_results li.product>a.woocommerce-LoopProduct-link:first-child {
  display: none !important;
}

/* Image Wrapper and Image */
ul.guaven_woos_final_results li.product .woocommerce-image__wrapper {
  aspect-ratio: 1 / 1 !important;
  /* Retains layout shape for Shoptimizer slider without forcing exact height */
  height: auto !important;
  position: relative !important;
  width: 100% !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  /* Total 0 padding */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

ul.guaven_woos_final_results li.product .woocommerce-image__wrapper .shoptimizer-plp-carousel-container,
ul.guaven_woos_final_results li.product .woocommerce-image__wrapper .shoptimizer-plp-carousel-container .shoptimizer-plp-image-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

ul.guaven_woos_final_results li.product img:not(.boquenins-brand-badge-loop img) {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  position: relative !important;
  margin: 0 auto !important;
}

/* =============================================================
   Variations Form - HIGH SPECIFICITY overrides for search grid
   ============================================================= */

/* Force form visible and flex layout */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product form.variations_form,
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product form.variations_form.xt_woovs-archives-product,
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .woocommerce-card__header form.variations_form,
ul.guaven_woos_final_results li.product form.variations_form.cart.xt_woovs-archives-product.xt_woovs-support {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  order: 0 !important;
  /* Placed before Title (0) so swatches push title down visually */
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  position: static !important;
  overflow: visible !important;
}

/* Hide non-swatch parts of the form with high specificity */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .variations_form .reset_variations,
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .variations_form td.label,
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .variations_form .xt_woovs-hidden {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .variations_form table.variations {
  margin: 5px 0 0 0 !important;
  width: 100% !important;
  order: 1 !important;
}

body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .variations_form .single_variation_wrap {
  width: 100% !important;
  height: 38px !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  margin-top: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  z-index: 20 !important;
}

body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .variations_form td.value {
  padding: 0 !important;
  text-align: center !important;
}

/* XT WOVS Swatches wrap - high specificity */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .xt_woovs-swatches-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  /* Put it back into the normal flex layout flow above the title */
  position: relative !important;
  z-index: 50 !important;
}

/* Swatches list */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product ul.xt_woovs-swatches {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 3px !important;
  margin: 0 !important;
  padding: 2px 0 5px 0 !important;
  list-style: none !important;
}

/* Individual swatch items - allow jQuery .hide() from +x counter to work */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product ul.xt_woovs-swatches li.swatch:not([style*="display: none"]):not([style*="display:none"]) {
  display: inline-flex !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  /* No padding, image fills to the border */
  border-radius: 50% !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 1px solid #e1e1e1 !important;
  /* Lighter grey border like native */
  list-style: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  background-color: #fff !important;
}

/* Ensure hidden swatches from +x counter stay hidden */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product ul.xt_woovs-swatches li.swatch[style*="display: none"],
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product ul.xt_woovs-swatches li.swatch[style*="display:none"] {
  display: none !important;
}

/* +x badge inside search results (matches 32px swatch size) */
body .guaven_woos_suggestion .boquenins-more-li {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .guaven_woos_suggestion .boquenins-more-li .boquenins-more-variations {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #555 !important;
  border: 1px solid #e1e1e1 !important;
  margin-left: 2px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #fff !important;
}

/* Counter inside swatches (like +1) */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product ul.xt_woovs-swatches li.swatch {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-left: 2px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Selected swatch active ring (like native thumbnails) */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product ul.xt_woovs-swatches li.swatch.xt_woovs-selected,
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product ul.xt_woovs-swatches li.swatch:hover {
  border: 2px solid #1a6ff8 !important;
  padding: 0 !important;
  /* No padding */
}

/* Swatch inner and image */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product ul.xt_woovs-swatches li.swatch .swatch-inner {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body .guaven_woos_suggestion ul.guaven_woos_final_results li.product ul.xt_woovs-swatches li.swatch img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  border-radius: 50% !important;
  /* Force image round to fit inside padded swatch */
}

/* Card Header Formatting (Flex layout to order elements) */
.woocommerce ul.products li.product .woocommerce-card__header,
ul.guaven_woos_final_results li.product .woocommerce-card__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  min-height: unset !important;
  height: auto !important;
  padding: 0 0 45px 0 !important;
  margin: 0 !important;
  width: 100% !important;
  position: relative !important;
  flex-wrap: nowrap !important;
  flex-grow: 1 !important;
}

/* Order 0: Title Container */
html body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .woocommerce-loop-product__title,
html body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .woocommerce-loop-product__title a {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: #333 !important;
  order: 0 !important;
  white-space: normal !important;
  text-decoration: none !important;
}

/* Order 1: Brand - hide the badge (image) inside the card header as it looks wrong there */
ul.guaven_woos_final_results li.product .woocommerce-card__header .boquenins-brand-badge-loop {
  display: none !important;
}

/* Brand text via pwb-brands-in-loop (order 1) */
ul.guaven_woos_final_results li.product .pwb-brands-in-loop {
  font-size: 11px !important;
  color: #0056b3 !important;
  margin-bottom: 2px !important;
  order: 1 !important;
}

/* Order 3: Price */
ul.guaven_woos_final_results li.product .price {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a6ff8 !important;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  order: 3 !important;
}

ul.guaven_woos_final_results li.product .price del,
ul.guaven_woos_final_results li.product .price ins {
  display: inline-block;
  margin: 0 3px;
}

/* Add to Cart Button Styling - Absolute positioning for Simple */
ul.guaven_woos_final_results li.product>.woocommerce-card__header>.button {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 38px !important;
  margin: 0 !important;
  margin-top: auto !important;
  z-index: 20 !important;
}

ul.guaven_woos_final_results li.product>.woocommerce-card__header>.button,
ul.guaven_woos_final_results li.product .button,
ul.guaven_woos_final_results li.product .woocommerce-variation-add-to-cart,
ul.guaven_woos_final_results li.product .single_variation_wrap .button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  background: #1a6ff8 !important;
  color: #fff !important;
  text-align: center !important;
  padding: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  line-height: normal !important;
  border-radius: 0 0 8px 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
}

/* Hide View Cart Button - Extremely high specificity */
html body .guaven_woos_suggestion ul.guaven_woos_final_results li.product a.added_to_cart,
html body .guaven_woos_suggestion ul.guaven_woos_final_results li.product a.wc-forward,
html body .guaven_woos_suggestion ul.guaven_woos_final_results li.product form.variations_form a.added_to_cart,
html body .guaven_woos_suggestion ul.guaven_woos_final_results li.product form.variations_form a.wc-forward {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Hide Quantity Input next to Add to Cart */
ul.guaven_woos_final_results li.product .quantity {
  display: none !important;
}

/* Hide the duplicate price that appears when a variation is selected */
body .guaven_woos_suggestion ul.guaven_woos_final_results li.product .variations_form .woocommerce-variation.single_variation {
  display: none !important;
}

/* Desktop Dropdown Container Width Fix */
.guaven_woos_suggestion:has(li.product) {
  width: 1000px !important;
  max-width: 95vw !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  height: auto !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
  padding: 0 !important;
}