/* ==========================================================================
   Accessibility Utilities
   ========================================================================== */

/**
 * Screen reader only content - WCAG 1.3.1
 * Hides visually but keeps accessible to assistive technology
 */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/**
 * Allows element to be focusable when navigated to via keyboard
 */
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus,
.sr-only.focusable:active,
.sr-only.focusable:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

/**
 * Focus indicators - WCAG 2.4.7 (Focus Visible)
 * 2px outline with 3:1 contrast ratio minimum
 */
.drop-down__heading:focus,
.drop-down__heading:focus-visible,
.active-tags li:focus,
.active-tags li:focus-visible,
.remove-tag:focus,
.remove-tag:focus-visible,
.tag:focus,
.tag:focus-visible,
.imp-filter:focus,
.imp-filter:focus-visible,
.filter-btn:focus,
.filter-btn:focus-visible,
.close-modal:focus,
.close-modal:focus-visible,
.clear-filters:focus,
.clear-filters:focus-visible {
  outline: 2px solid #005fcc !important;
  outline-offset: 2px !important;
}

/* Ensure interactive elements are focusable */
.drop-down__heading,
.active-tags li,
.remove-tag {
  outline: none;
}

.drop-down__heading:focus:not(:focus-visible),
.active-tags li:focus:not(:focus-visible),
.remove-tag:focus:not(:focus-visible) {
  outline: none !important;
}

/* ==========================================================================
   Main Styles
   ========================================================================== */

.posts_sorting {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.posts_sorting p {
  margin-bottom: 0;
  font-size: 1.1rem;
}
.open-filter,
.open-products-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
}
.open-filter svg,
.open-products-filter svg {
  width: 22px;
  height: 22px;
}

@media screen and (min-width: 550px) {
  .open-filter,
  .open-products-filter {
    width: auto;
  }
}

.active-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem !important;
  padding: 0;
}

.active-tags li {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  /* WCAG 2.5.5: Minimum 24x24px touch target (44x44px recommended) */
  min-height: 44px;
  padding: 8px 16px;
  margin: 0 8px 8px 0;
  font-size: 13px !important;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  -webkit-border-radius: var(--theme-var-rad);
  -ms-border-radius: var(--theme-var-rad);
  border-radius: var(--theme-var-rad);
  color: var(--theme-color-accent_text);
  background-color: var(--theme-color-accent_hover);
}
.active-tags li:hover {
  background-color: var(--theme-color-accent_hover);
}
.active-tags li .remove-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* WCAG 2.5.5: 24x24px minimum touch target */
  min-width: 24px;
  min-height: 24px;
  width: 24px;
  height: 24px;
  line-height: 1;
  text-align: center;
  color: black;
  margin-left: 0.5rem;
  border-radius: 50%;
  background-color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.active-tags li.remove-all {
  background-color: var(--theme-color-navigate_bg);
  color: var(--theme-color-text_dark);
  cursor: pointer;
}

/* Filter window */

.filters {
  display: none;
}

.show-modal {
  cursor: pointer;
}

.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  position: relative;
  z-index: 20;
}

.filter-heading h2 {
  margin: 0;
}

.close-modal {
  font-size: 2.5rem;
  color: #333;
  cursor: pointer;
  border: none;
  background: none !important;
  color: var(--theme-color-accent_link) !important;
}
.close-modal:hover {
  color: var(--theme-color-accent_link) !important;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

.modal {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
  max-width: 700px;
}

.modal-inner {
  position: relative;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 1rem;
  overflow: hidden;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 9998;
}

.posts-filtering {
  overflow-y: scroll;
  max-height: 62vh;
  scrollbar-width: none;
  min-height: 50px;
}

.drop-down {
  border-top: 1px solid var(--theme-color-bd_color);
  padding: 1rem 0;
}
.drop-down label {
  cursor: pointer;
}

.drop-down ul {
  padding-top: 1rem;
  list-style: none;
  padding: 1rem 0 0 0;
  margin: 0;
  display: none;
}

.drop-down ul li {
  /* WCAG 2.5.5: Adequate touch target spacing */
  padding: 0.5rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
}

.drop-down ul .has-posts {
  display: inline-block;
  margin-left: 0.5rem;
}

.drop-down ul .sub-menu {
  display: none;
  padding-left: 1rem;
  padding-top: 0;
}

.drop-down__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  /* WCAG 2.5.5: 44px minimum touch target */
  min-height: 44px;
  padding: 0.5rem 0;
}
.drop-down__heading::after {
  content: "";
  display: inline-block;
  /* Larger arrow for better visibility */
  width: 12px;
  height: 12px;
  border-right: 0.2em solid black;
  border-top: 0.2em solid black;
  transform: rotate(135deg);
  margin-right: 0.6rem;
  flex-shrink: 0;
}

.drop-down ul .has_childrens {
  position: relative;
  cursor: pointer;
}
.drop-down ul .has_childrens .box-heading {
  color: black;
  position: relative;
  z-index: 10;
}

.drop-down ul .has_childrens::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 0.1em solid black;
  border-top: 0.1em solid black;
  transform: rotate(135deg);
  margin-right: 0.6rem;
}

.drop-down__heading h4 {
  margin: 0;
  font-size: 1.2rem;
}
.btn-wrapper {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-wrapper button {
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
  transition: all 500ms;
}

.clear-filters {
  background-color: #fff;
  border: 1px solid #0d4bc1 !important;
  color: black;
}
.clear-filters:hover,
.filter-btn:hover {
  background-color: #083fa9;
  border-color: #083fa9 !important;
  color: #fff;
}

.button-wrapper {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 450px) {
  .btn-wrapper {
    flex-direction: row;
  }
}

.spinner-wrapper {
  position: absolute;
  background: rgb(255, 255, 255, 0.7);
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid;
  border-color: #0d4bc1 transparent;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.load-more,
.get-more,
.get-more-products {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.load-more.loading::before,
.get-more.loading::before,
.get-more-products.loading::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 3px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.post_footer {
  display: none !important;
}

.post_content .post_meta {
  display: flex;
}

/* Contact form 7  styles */

@media screen and (min-width: 500px) {
  .column-style {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .column-style p {
    margin-top: 0 !important;
  }
}

.ekspert-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 30px;
}

.ekspert-details .expert-link {
  width: 100%;
  height: auto;
}
.ekspert-details figure {
  margin-bottom: 0 !important;
}

.ekspert-details .expert-link img {
  width: 100%;
}

.pesonal-info {
  margin: 0 !important;
  padding: 0;
  list-style: none;
}
.pesonal-info li {
  padding: 0.2rem 0;
}

.pesonal-info h3 {
  margin: 0 !important;
}

.custom-tags {
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .ekspert-details .expert-link {
    width: 44%;
    height: auto;
    object-fit: cover;
  }
  .ekspert-details {
    flex-direction: row;
  }
}

.sidebar-img {
  margin-bottom: 2rem;
  display: block;
}
.ctx-posts img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.social-links {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.social-links a {
  display: block;
}
.social-links img {
  width: 35px;
  height: auto;
}

.post-dec {
  margin-top: 2rem;
}
.expert-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.post_tags_single {
  margin-top: 1.5rem;
}

.ctx-posts .onsale {
  display: block;
  font-size: 12px;
  text-align: center;
  line-height: 39px;
  font-weight: 500;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 10;
  border-radius: 100%;
  text-transform: uppercase;
  color: var(--theme-color-accent_text);
  background-color: var(--theme-color-accent_link2);
}
/* .ctx-posts .post_meta {
  font-size: 1.1rem;
  display: flex;
  gap: 0.3rem;
} */

.wrapper {
  width: 400px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 25px 40px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}
header h2 {
  font-size: 24px;
  font-weight: 600;
}
header p {
  margin-top: 5px;
  font-size: 16px;
}
.price-input {
  width: 100%;
  display: flex;
  margin: 30px 0 35px;
}
.price-input .field {
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
}
.field input {
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 19px;
  margin-left: 12px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #999;
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.price-input .separator {
  width: 130px;
  display: flex;
  font-size: 19px;
  align-items: center;
  justify-content: center;
}
.slider {
  height: 5px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
}
.slider .progress {
  height: 100%;
  left: 0%;
  right: 0%;
  position: absolute;
  border-radius: 5px;
  /* background: #17a2b8; */
}
.range-input {
  position: relative;
  margin-bottom: 2rem;
}
.range-input input {
  position: absolute;
  width: 100%;
  height: 5px;
  top: -5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: var(--theme-color-accent_link);
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
input[type="range"]::-moz-range-thumb {
  height: 28px;
  width: 28px;
  border: none;
  border-radius: 50%;
  background: var(--theme-color-accent_link);
  pointer-events: auto;
  -moz-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.list_products_sorting {
  display: none;
}

.category-sorting {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /*align-items: center;*/
  gap: 1rem;
  flex-direction: column;
}
.category-sorting .active-tags {
  margin-bottom: 0 !important;
 width: 100%;
}

/*.filter-by-width {*/
/*  display: grid;*/
/*  grid-template-columns: 1fr 200px;*/
/*  gap: 1rem;*/
/*  width: 100%;*/
/*}*/


.filters-rp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media screen and (max-width: 680px ) {
  .filters-rp {
    grid-template-columns: 1fr;
  }
}


.modal-inner.loading,
.list_products.loading {
  position: relative;
}
.modal-inner.loading::after,
.list_products.loading::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 10;
  border-radius: 15px;
}

.modal-inner.loading::before,
.list_products.loading::before {
  width: 50px;            /* Customize width */
  height: 50px;           /* Customize height */
  border: 8px solid #f3f3f3;  /* Light gray border */
  border-top: 8px solid rgb(91, 86, 202); /* Blue border on top */
  border-radius: 50%;     /* Makes it a circle */
  animation: spin 1s linear infinite;
  content: '';
  display: block;
  position: absolute;
  top: 50vh;
  left:48%;
  transform: translate(-50%, -50vh);
  z-index: 11;
}

.modal-inner.loading::before {
  top: 45%;
  left:45%;

}

/* Animation Keyframes */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.error-msg {
  margin-top: 2rem;
}

#wps_wpr_order_notice {
  width: auto !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

.cart.woocommerce-cart-form__contents .product-name {
  flex-direction: column;
}

.cart.woocommerce-cart-form__contents .product-name .variation {
  display: grid;
  grid-template-columns: auto auto 1fr;
  font-size: 0.875rem;
}

.zf-templateWrapper ul {
  list-style: none;
  padding: 1rem 0 0 0;
  margin: 0;
}
.zf-templateWrapper input {
  width: 100%;
}

.list-item-img img {
  max-width: 300px;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}
.expert-img img {
  object-fit: cover;
  max-height: 450px;
}

.post_layout_band .post_featured {
  max-width: 300px;
  width: 100%;
}
.post_layout_band .post_featured,
.post_layout_band .post_content_wrap {
  flex-basis: unset;
}

.mt-2 {
  margin-top: 0.5rem !important;
}
.mt-4 {
  margin-top: 1rem !important;
}

.post_layout_band .post_content_wrap {
  margin-top: 0px !important;
}

@media (max-width: 700px) {
  .post_layout_band {
    flex-direction: column !important;
  }

  .post_layout_band .post_content_wrap {
    padding-left: 0 !important;
    margin-top: 20px !important;
  }
}
@media (min-width: 900px) {
  .list-item-img img {
    max-width: 350px;
  }
}

/*Sticky form*/

.sticky-form {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 9999;
}
.woocommerce div.product form.cart {
  margin: 0 !important;
  padding-bottom: 4rem;
}

.woocommerce div.product form.cart.sticky-form {
  margin: 0 !important;
  padding: 1rem 0 1rem 0 !important;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgb(216, 216, 216);
}
.woocommerce div.product form.cart.sticky-form .woocommerce-variation-price {
  text-align: center;
}
.woocommerce div.product form.cart.sticky-form table tr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.woocommerce div.product form.cart.sticky-form table {
  margin-bottom: 1rem !important;
}
.woocommerce div.product form.cart.sticky-form .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.content-img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-height: 450px;
  height: 100%;
  width: 100%;
}

.woocommerce .shop_mode_list ul.products li.product .post_featured {
  max-width: 300px !important;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
}
.woocommerce .shop_mode_list ul.products li.product .post_featured a {
  display: block;
  height: 100%;
  width: 100%;
}

.woocommerce .shop_mode_list ul.products li.product .post_featured img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.woocommerce .shop_mode_list ul.products li.product {
  margin-bottom: 3rem !important;
}

@media screen and (min-width: 768px) {
  .woocommerce .shop_mode_list ul.products li.product .post_item {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .woocommerce .shop_mode_list ul.products li.product .post_content {
    display: block !important;
  }
}

.woocommerce div.product form.cart {
  margin-bottom: 6rem;
}

.post_item_single .post_tags_single {
  align-items: center;
}

.post_item_single .post_tags_single .post_meta_label {
  display: inline-block !important;
  font-size: 0.875rem;
  line-height: 1;
  padding: 2px 9px !important;
  margin: 0 4px 4px 0 !important;
}
.expert-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.post_content_single .wpulike {
  margin: 0 0 0 1rem !important;
}
.wpulike {
  padding: 0 !important;
}

.post_content_single .wpulike {
  margin-top: 2rem;
}

.post_content_inner {
  margin-bottom: 1rem;
}

.btn-custom {
  display: block;
  padding: 6px 14px;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-border-radius: var(--theme-var-rad);
  -ms-border-radius: var(--theme-var-rad);
  border-radius: var(--theme-var-rad);
  color: var(--theme-color-text_dark);
  background-color: var(--theme-color-bg_color);
}

.btn-custom:hover {
  color: var(--theme-color-text_dark) !important;
}

.yikes-custom-woo-tab-title {
  display: none;
}

.woocommerce div.product .woocommerce-tabs #tab-description h2 {
  display: block;
}

.shortcode-title {
  font-size: 20px !important;
}
.woocommerce .shop_mode_list ul.products li.product .post_content {
  margin: 0 0 12px 0;
}
.woocommerce ul.products li.product strong {
  display: inline;
}

.products-pagination {
  padding: 15px 0;
  background: #fff;
  display: flex;
  justify-content: center;
  border-radius: 15px;
}

.products-pagination .page-numbers {
  margin: 0 !important;
}


.url-maker {
  display: none;
}

.url-maker.active {
  display: flex;
  gap: 1rem;
}

.url-maker input {
  width: 100%;
}

@media screen and (max-width: 600px) {
  .url-maker {
    flex-direction: column;
  }
}
.url-maker-btn {
  margin: 1rem 0;
  border-radius: 99rem;
  padding: 0 1rem;
}

/* â”€â”€ Model Selector â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mpro-model-selector {
  margin-bottom: 1.5rem;
}

.mpro-model-selector__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--theme-color-text_dark);
  margin-bottom: 0.5rem;
}

.mpro-model-selector__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mpro-model-card {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border: 1px solid var(--theme-color-bd_color, #ddd);
  border-radius: var(--theme-var-rad, 4px);
  background: var(--theme-color-bg_color, #fff);
  color: var(--theme-color-text_dark, #333);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 200ms, border-color 200ms, color 200ms;
  line-height: 1.4;
}

.mpro-model-card:hover {
  border-color: var(--theme-color-accent_link, #083fa9);
  color: var(--theme-color-accent_link, #083fa9);
}

.mpro-model-card.is-active {
  background: var(--theme-color-accent_link, #083fa9);
  border-color: var(--theme-color-accent_link, #083fa9);
  color: #fff;
}

.mpro-model-card--all {
  font-style: italic;
  opacity: 0.75;
}

.mpro-model-card--all.is-active {
  opacity: 1;
}

/* ============================================================
   Size Autocomplete (Google Search-style combined WxL input)
   v2.5.0
   ============================================================ */

.size-autocomplete {
  position: relative;
  margin-bottom: 16px;
}

.size-ac-label-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #888;
  margin-bottom: 6px;
}

.size-ac-input-wrap {
  position: relative;
}

.size-ac-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s;
  outline: none;
}

.size-ac-input:focus {
  border-color: #083fa9;
  box-shadow: 0 0 0 3px rgba(8,63,169,.12);
}

/* Dropdown list */
.size-ac-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
}

.size-ac-dropdown.is-open {
  display: block;
}

.size-ac-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f2f2f2;
  transition: background .1s;
}

.size-ac-item:last-child {
  border-bottom: none;
}

.size-ac-item:hover,
.size-ac-item.is-focused {
  background: #f0f4ff;
}

.size-ac-item--custom {
  font-style: italic;
  color: #555;
}

.size-ac-item__count {
  font-size: 12px;
  color: #aaa;
  flex-shrink: 0;
  margin-left: 8px;
}

/* Custom length input sub-row */
.size-ac-custom-row {
  padding: 10px 14px;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.size-ac-custom-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  display: block;
}

.size-ac-custom-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.size-ac-custom-input {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}

.size-ac-custom-input:focus {
  border-color: #083fa9;
}

.size-ac-custom-btn {
  padding: 7px 14px;
  background: #083fa9;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.size-ac-custom-btn:hover {
  background: #0630a0;
}

/* Loading state on input */
.size-ac-input-wrap.is-loading .size-ac-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a10 10 0 0 1 10 10'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 36px;
}

/* No-results message */
.size-ac-no-results {
  padding: 12px 14px;
  font-size: 14px;
  color: #999;
  text-align: center;
}

/* v2.6.0: spinner for theme grid during AJAX load */
.mc-products-grid.loading {
    position: relative;
    min-height: 200px;
    opacity: 0.5;
    pointer-events: none;
}
.mc-products-grid.loading::after {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0,0,0,0.1);
    border-top-color: #2c2c2c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}


/* v2.6.0: More filters button in mc-filter-bar */
.mc-filter-extra {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.mc-filter-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid #2c2c2c;
    background: transparent;
    color: #2c2c2c;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.mc-filter-more-btn:hover,
.mc-filter-more-btn:focus {
    background: #2c2c2c;
    color: #fff;
    outline: none;
}
.mc-filter-more-btn svg {
    flex-shrink: 0;
}

/* v2.6.0: chip filter AJAX state indicators */
.mc-filter-opt.is-loading {
    opacity: 0.5;
    pointer-events: none;
}
.mc-filter-opt.active-filter {
    font-weight: 700;
}


/* ==========================================================================
   v2.6.2 â€” Chip Panel CSS (completes truncated theme rule)
   Theme style.css cuts off at ".mc-chip-panel { position: absolute; top: calc("
   This block provides the complete rule.
   ========================================================================== */

/* Chip panel dropdown */
.mc-chip-panel {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border, #e4ddd6);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  z-index: 300;
  min-width: 180px;
  padding: 6px 0;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border, #e4ddd6) transparent;
}

/* Show panel when parent has open class */
.mc-chip-wrap--open .mc-chip-panel {
  display: block;
}

/* Size grid panel layout */
.mc-chip-panel--grid {
  display: none;
  min-width: 220px;
  padding: 10px;
}
.mc-chip-wrap--open .mc-chip-panel--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* Price panel â€” wider */
.mc-chip-panel--price {
  min-width: 260px;
  padding: 16px;
}

/* Panel scrollbar */
.mc-chip-panel::-webkit-scrollbar { width: 4px; }
.mc-chip-panel::-webkit-scrollbar-track { background: transparent; }
.mc-chip-panel::-webkit-scrollbar-thumb { background: var(--border, #e4ddd6); border-radius: 4px; }

/* ==========================================================================
   Filter option links inside chip panels
   ========================================================================== */

.mc-filter-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text, #1c1714);
  text-decoration: none;
  transition: background 0.1s;
  white-space: nowrap;
  cursor: pointer;
}

.mc-filter-opt:hover {
  background: var(--warm-white, #faf7f4);
  color: var(--accent, #8b1a1a);
  text-decoration: none;
}

/* Checkmark box */
.mc-opt-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border, #e4ddd6);
  border-radius: 4px;
  flex-shrink: 0;
  background: #fff;
  transition: all 0.15s;
}

/* Active option â€” checked state */
.mc-filter-opt.is-active .mc-opt-check,
.mc-filter-opt[data-active="1"] .mc-opt-check {
  background: var(--accent, #8b1a1a);
  border-color: var(--accent, #8b1a1a);
}

.mc-filter-opt.is-active .mc-opt-check::after,
.mc-filter-opt[data-active="1"] .mc-opt-check::after {
  content: '';
  display: block;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

/* Size option chips (grid layout) */
.mc-size-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text, #1c1714);
  background: var(--warm-white, #faf7f4);
  border: 1.5px solid var(--border, #e4ddd6);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
  cursor: pointer;
}

.mc-size-opt:hover,
.mc-size-opt.is-active {
  background: var(--text, #1c1714);
  color: #fff;
  border-color: var(--text, #1c1714);
  text-decoration: none;
}

/* Custom size link */
.mc-custom-size-link {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent, #8b1a1a);
  text-align: center;
  padding: 8px 10px;
  border-top: 1px solid var(--border, #e4ddd6);
  margin-top: 2px;
}

.mc-custom-size-link:hover {
  background: transparent;
  text-decoration: underline;
}

/* ==========================================================================
   Active filters bar
   ========================================================================== */

.mc-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 0 4px;
}

.mc-active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 12px;
  background: var(--accent, #8b1a1a);
  color: #fff;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.mc-active-filter-tag:hover { background: #6e1515; color: #fff; }

.mc-active-filter-remove,
.mc-active-filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #7a6e65);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s;
}

.mc-active-filter-remove:hover,
.mc-active-filter-clear:hover {
  color: var(--accent, #8b1a1a);
  text-decoration: none;
}

/* ==========================================================================
   Sort row (result count + ordering)
   ========================================================================== */

.mc-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 8px;
  flex-wrap: wrap;
}

.mc-result-count {
  font-size: 13px;
  color: var(--muted, #7a6e65);
}

.mc-result-count p {
  margin: 0;
}

.mc-sort-wrap select.orderby {
  font-size: 13px;
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--border, #e4ddd6);
  border-radius: 6px;
  background: #fff;
  color: var(--text, #1c1714);
  cursor: pointer;
}

/* ==========================================================================
   Mobile Filter Drawer â€” complete CSS
   (Not present in theme style.css at all)
   ========================================================================== */

/* Drawer wrapper â€” fixed overlay */
.mc-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

.mc-filter-drawer[hidden] {
  display: block !important; /* keep in DOM for animation; use pointer-events */
}

.mc-filter-drawer:not([hidden]) {
  pointer-events: all;
}

/* Backdrop */
.mc-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mc-drawer--open .mc-drawer-backdrop {
  opacity: 1;
}

/* Slide-in panel */
.mc-drawer-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32,0,0.67,0);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
}

@media (min-width: 768px) {
  .mc-drawer-panel {
    /* On desktop show as side drawer */
    right: auto;
    bottom: auto;
    top: 0;
    width: 360px;
    max-height: 100vh;
    border-radius: 0 16px 16px 0;
    transform: translateX(-100%);
  }
  .mc-drawer--open .mc-drawer-panel {
    transform: translateX(0);
  }
}

/* Mobile: slide up */
.mc-drawer--open .mc-drawer-panel {
  transform: translateY(0);
}

/* Drawer header */
.mc-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border, #e4ddd6);
  flex-shrink: 0;
}

.mc-drawer-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text, #1c1714);
}

.mc-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--warm-white, #faf7f4);
  border-radius: 50%;
  font-size: 20px;
  color: var(--text, #1c1714);
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}

.mc-drawer-close:hover { background: var(--border, #e4ddd6); }

/* Drawer body */
.mc-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
}

/* Drawer section */
.mc-drawer-section {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border, #e4ddd6);
}

.mc-drawer-section:last-child { border-bottom: none; }

.mc-drawer-section h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted, #7a6e65);
  margin: 0 0 10px;
}

/* Drawer options */
.mc-drawer-opts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mc-drawer-opts--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mc-drawer-opt {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text, #1c1714);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.12s;
}

.mc-drawer-opt:hover {
  background: var(--warm-white, #faf7f4);
  text-decoration: none;
}

.mc-drawer-opt.is-active {
  background: var(--accent, #8b1a1a);
  color: #fff;
}

/* Size chips in drawer */
.mc-drawer-opt.mc-size-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--warm-white, #faf7f4);
  border: 1.5px solid var(--border, #e4ddd6);
  border-radius: 8px;
  text-align: center;
}

.mc-drawer-opt.mc-size-chip:hover,
.mc-drawer-opt.mc-size-chip.is-active {
  background: var(--text, #1c1714);
  border-color: var(--text, #1c1714);
  color: #fff;
}

/* Drawer footer */
.mc-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border, #e4ddd6);
  flex-shrink: 0;
}

/* ==========================================================================
   Mobile filter button (opens drawer)
   ========================================================================== */

#mc-filter-open {
  display: none; /* hidden on desktop */
}

@media (max-width: 767px) {
  #mc-filter-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--text, #1c1714);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Hide desktop chip bar on mobile */
  .mc-filter-inner > .mc-filter-chip-wrap {
    display: none;
  }

  .mc-filter-inner > .mc-filter-spacer {
    display: none;
  }
}

/* ==========================================================================
   Filter bar sticky fix â€” ensure proper stacking
   ========================================================================== */

.mc-filter-bar {
  /* Don't override theme flex â€” just fix z-index and ensure no overflow clip */
  overflow: visible !important;
}

/* Keep chip panels above everything (header z-index is typically ~100) */
.mc-filter-chip-wrap {
  position: relative;
  z-index: 0;
}

.mc-chip-wrap--open {
  z-index: 400;
}

/* ==========================================================================
   Spin animation (used by loading spinner)
   ========================================================================== */

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================================
   Mobile responsive â€” filter bar
   ========================================================================== */

@media (max-width: 767px) {
  .mc-filter-bar {
    padding: 10px 0;
    top: 60px; /* mobile header height */
  }

  .mc-sort-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .mc-result-count {
    flex: 1;
  }

  /* Products grid â€” single column on small mobile */
  @media (max-width: 480px) {
    .mc-products-grid .products {
      grid-template-columns: 1fr !important;
    }
  }
}


/* ==========================================================================
   Size autocomplete â€” inline chip-bar variant (.mc-size-always)
   Appended v2.6.2 â€” makes size input match chip row height + pill style
   ========================================================================== */

.mc-filter-inner .mc-size-always {
  flex-shrink: 0;
  width: 190px;
  margin-bottom: 0;
  align-self: center;
}

.mc-filter-inner .mc-size-always .size-ac-label-text {
  /* hidden in chip bar â€” placeholder text serves same purpose */
  display: none;
}

.mc-filter-inner .mc-size-always .size-ac-input-wrap {
  margin: 0;
}

.mc-filter-inner .mc-size-always .size-ac-input {
  padding: 7px 14px;
  border: 1.5px solid var(--border, #d0d0d0);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface, #fff);
  color: var(--text, #111);
  height: auto;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s;
}

.mc-filter-inner .mc-size-always .size-ac-input:focus {
  border-color: var(--accent, #083fa9);
  box-shadow: 0 0 0 3px rgba(8,63,169,.12);
  outline: none;
}

.mc-filter-inner .mc-size-always .size-ac-input::placeholder {
  color: var(--text, #555);
  opacity: .7;
  font-weight: 400;
}

/* Active state when size is selected (JS adds .has-value to wrapper) */
.mc-filter-inner .mc-size-always.has-value .size-ac-input {
  border-color: var(--accent, #083fa9);
  background: var(--accent, #083fa9);
  color: #fff;
}
.mc-filter-inner .mc-size-always.has-value .size-ac-input::placeholder {
  color: rgba(255,255,255,.8);
  opacity: 1;
}

/* Dropdown positions below the pill input */
.mc-filter-inner .mc-size-always .size-ac-dropdown {
  top: calc(100% + 6px);
  border-radius: 8px;
}

/* Mobile: size input becomes full-width strip above the filter-open button */
@media (max-width: 767px) {
  .mc-filter-inner .mc-size-always {
    width: 100%;
    flex-basis: 100%;
    order: -1;   /* show before chips/buttons */
    margin-bottom: 4px;
  }
  .mc-filter-inner .mc-size-always .size-ac-input {
    font-size: 14px;
    padding: 9px 16px;
  }
}


/* ==========================================================================
   v2.7 â€” Chip-range filter (.filter-chips) + No-results contact panel
   ========================================================================== */

/* â”€â”€ Chip-range filter wrapper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.filter-by.filter-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.filter-chips-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text, #555);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
}

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* â”€â”€ Individual chip button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 13px;
  border: 1.5px solid var(--border, #d0d0d0);
  border-radius: 99px;
  background: var(--surface, #fff);
  color: var(--text, #111);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
}
.chip:hover {
  border-color: var(--accent, #083fa9);
  color: var(--accent, #083fa9);
}
.chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(8,63,169,.18);
}
.chip.is-active {
  background: var(--accent, #083fa9);
  border-color: var(--accent, #083fa9);
  color: #fff;
}
.chip.is-active:hover {
  background: #0631a0;
  border-color: #0631a0;
  color: #fff;
}

/* â”€â”€ Chip count badge â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.22);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.chip:not(.is-active) .chip-count {
  background: var(--bg-muted, #f0f0f0);
  color: var(--text, #555);
}

/* Mobile: chips wrap below size input */
@media (max-width: 767px) {
  .filter-by.filter-chips {
    width: 100%;
    order: 1;
  }
  .chips-wrap {
    gap: 5px;
  }
  .chip {
    font-size: 12px;
    padding: 5px 11px;
  }
}


/* ==========================================================================
   v2.7 â€” No-results contact panel (.mpro-no-results)
   ========================================================================== */

.mpro-no-results {
  width: 100%;
  box-sizing: border-box;
  margin: 24px 0 32px;
}

.mpro-no-results__inner {
  max-width: 540px;
  margin: 0 auto;
  padding: 36px 32px;
  background: var(--surface, #fff);
  border: 1.5px solid var(--border, #e8e8e8);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.mpro-no-results__icon {
  font-size: 40px;
  margin-bottom: 12px;
  line-height: 1;
}

.mpro-no-results__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text, #111);
  margin: 0 0 8px;
}

.mpro-no-results__desc {
  font-size: 14px;
  color: var(--text-muted, #666);
  margin: 0 0 24px;
  line-height: 1.5;
}

.mpro-no-results__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.mpro-no-results__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
}
.mpro-no-results__btn--primary {
  background: var(--accent, #083fa9);
  color: #fff;
  border-color: var(--accent, #083fa9);
}
.mpro-no-results__btn--primary:hover {
  background: #0631a0;
  border-color: #0631a0;
  color: #fff;
}
.mpro-no-results__btn--secondary {
  background: #fff;
  color: var(--accent, #083fa9);
  border-color: var(--accent, #083fa9);
}
.mpro-no-results__btn--secondary:hover {
  background: var(--accent, #083fa9);
  color: #fff;
}
.mpro-no-results__btn--outline {
  background: transparent;
  color: var(--text, #333);
  border-color: var(--border, #ccc);
}
.mpro-no-results__btn--outline:hover {
  border-color: var(--accent, #083fa9);
  color: var(--accent, #083fa9);
}

/* â”€â”€ Contact form inside the panel â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mpro-no-results__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding-top: 16px;
  border-top: 1px solid var(--border, #eee);
}

.mpro-no-results__input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px solid var(--border, #d0d0d0);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text, #111);
  background: var(--surface, #fff);
  resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.mpro-no-results__input:focus {
  outline: none;
  border-color: var(--accent, #083fa9);
  box-shadow: 0 0 0 3px rgba(8,63,169,.12);
}
textarea.mpro-no-results__input { min-height: 72px; }

.mpro-no-results__thanks {
  font-size: 14px;
  font-weight: 600;
  color: #1a7a3c;
  text-align: center;
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .mpro-no-results__inner {
    padding: 28px 18px;
  }
  .mpro-no-results__title { font-size: 18px; }
  .mpro-no-results__btn   { font-size: 13px; padding: 9px 16px; }
  .mpro-no-results__actions { flex-direction: column; align-items: stretch; }
}


/* â”€â”€ v2.8 additions â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Disabled chip (zero products under current filter combination) */
.filter-chips .chip.chip--disabled {
    opacity: .40;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: line-through;
    text-decoration-color: rgba(0,0,0,.35);
}

/* Product count indicator in filter header */
.mpro-result-count {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent, #083fa9);
    background: var(--accent-light, #e8eef8);
    border: 1px solid rgba(8,63,169,.18);
    border-radius: 99px;
    padding: 2px 10px;
    margin-left: 8px;
    vertical-align: middle;
    transition: color .2s, background .2s;
}
.mpro-result-count.is-zero {
    color: #b91c1c;
    background: #fef2f2;
    border-color: rgba(185,28,28,.2);
}

/* Copy URL button */
.js-mpro-copy-url {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--muted, #6b7280);
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--border, #e2e5ea);
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.js-mpro-copy-url:hover {
    color: var(--accent, #083fa9);
    border-color: var(--accent, #083fa9);
}

/* Chat fallback inline message */
.mpro-chat-fallback {
    font-size: 13px;
    color: #374151;
    margin-top: 6px;
}
.mpro-chat-fallback a { color: #083fa9; }

/* â”€â”€ end v2.8 â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */


/* ==========================================================================
   v2.8.1 â€” Combobox filter (.filter-combobox) â€” COMPLETE implementation
   Root cause fix: all combobox classes were missing from CSS entirely.
   ========================================================================== */

/* â”€â”€ Parent overflow fix: allow dropdown to escape clipping parents â”€â”€â”€â”€â”€â”€â”€ */
.filter-combobox-row,
.category-sorting,
.mc-filter-inner,
.mc-filter-bar .mc-filter-inner {
  overflow: visible !important;
}

/* â”€â”€ Combobox container â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.filter-by.filter-combobox {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
}

.filter-by.filter-combobox > label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted, #7a6e65);
  line-height: 1;
  margin-bottom: 2px;
}

/* â”€â”€ Wrapper holds input + toggle button side-by-side â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.combobox-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface, #fff);
  border: 1.5px solid var(--border, #d0d0d0);
  border-radius: 99px;
  overflow: visible;         /* CRITICAL: must not clip dropdown */
  transition: border-color .15s, box-shadow .15s;
}

.combobox-wrapper:focus-within {
  border-color: var(--accent, #8b1a1a);
  box-shadow: 0 0 0 3px rgba(139,26,26,.12);
}

/* â”€â”€ Text input â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.combobox-input {
  flex: 1;
  min-width: 0;
  padding: 6px 8px 6px 13px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--text, #1c1714);
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.combobox-input::placeholder {
  color: var(--muted, #7a6e65);
  opacity: 1;
  font-weight: 400;
}

/* Input changes to "typing" cursor when user is searching */
.combobox-wrapper.is-open .combobox-input {
  cursor: text;
}

/* â”€â”€ Chevron toggle button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.combobox-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-right: 3px;
  border: none;
  background: transparent;
  color: var(--muted, #7a6e65);
  cursor: pointer;
  padding: 0;
  transition: color .15s, transform .2s;
}

.combobox-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .2s cubic-bezier(.4,0,.2,1);
}

.combobox-wrapper.is-open .combobox-toggle svg {
  transform: rotate(180deg);
}

/* â”€â”€ Floating dropdown panel â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.combobox-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 100%;
  max-width: 320px;
  z-index: 9999;
  background: #fff;
  border: 1px solid var(--border, #e4ddd6);
  border-radius: 12px;
  box-shadow: 0 6px 28px rgba(0,0,0,.14), 0 1px 4px rgba(0,0,0,.06);
  overflow: hidden;
}

.combobox-wrapper.is-open .combobox-dropdown {
  display: block;
}

/* â”€â”€ "Active value" trigger row at top of dropdown â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.combobox-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px 8px;
  border-bottom: 1px solid var(--border, #e4ddd6);
  background: var(--warm-white, #faf7f4);
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #1c1714);
}

.combobox-trigger .trigger-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.combobox-trigger .trigger-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.combobox-trigger .trigger-kreiptis {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent, #8b1a1a);
  white-space: nowrap;
  text-decoration: none;
  margin-left: auto;
  flex-shrink: 0;
}

.combobox-trigger .trigger-kreiptis:hover {
  text-decoration: underline;
}

/* â”€â”€ Options list â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.combobox-options {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border, #d0d0d0) transparent;
}

/* â”€â”€ Single option item â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.combobox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text, #1c1714);
  cursor: pointer;
  transition: background .1s;
  white-space: nowrap;
  user-select: none;
}

.combobox-option:hover,
.combobox-option.is-focused {
  background: var(--warm-white, #faf7f4);
}

.combobox-option.is-selected {
  font-weight: 700;
  color: var(--accent, #8b1a1a);
  background: rgba(139,26,26,.05);
}

.combobox-option.is-selected::after {
  content: '\2713';  /* checkmark */
  margin-left: auto;
  font-size: 12px;
  color: var(--accent, #8b1a1a);
}

/* Option hidden by search filter */
.combobox-option[hidden],
.combobox-option.cbx-hidden {
  display: none;
}

/* â”€â”€ Active state: wrapper has a value selected â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.filter-by.filter-combobox.has-value .combobox-wrapper {
  border-color: var(--accent, #8b1a1a);
  background: var(--accent, #8b1a1a);
}

.filter-by.filter-combobox.has-value .combobox-input {
  color: #fff;
}

.filter-by.filter-combobox.has-value .combobox-input::placeholder {
  color: rgba(255,255,255,.8);
}

.filter-by.filter-combobox.has-value .combobox-toggle {
  color: rgba(255,255,255,.85);
}

/* â”€â”€ Error / invalid message â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.filter-by.filter-combobox .invalid-message {
  display: none;
  font-size: 11px;
  color: #b91c1c;
  margin-top: 2px;
}

.filter-by.filter-combobox.is-invalid .invalid-message {
  display: block;
}

/* â”€â”€ Mobile: full-width combobox â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â