/* MyToui Theme 6.0 — scoped WooCommerce and QuickFORM presentation. */
body.mytoui-theme-active {
  font-family: var(--mt-font-family, inherit);
}

/* Single product */
body.mytoui-theme-active.single-product h1.product_title,
body.mytoui-theme-active.single-product h1.product_title.entry-title {
  color: var(--mt-single-title-color) !important;
  font-family: var(--mt-single-title-font, var(--mt-font-family, inherit)) !important;
  font-size: var(--mt-single-title-size) !important;
  font-weight: var(--mt-single-title-weight) !important;
  line-height: var(--mt-single-title-line-height) !important;
  text-align: var(--mt-single-title-align) !important;
}
body.mytoui-theme-active.single-product .woocommerce-product-gallery,
body.mytoui-theme-active.single-product .product-gallery,
body.mytoui-theme-active.single-product .product-image-gallery {
  background: var(--mt-single-gallery-background);
  border-radius: var(--mt-single-gallery-radius);
  box-shadow: var(--mt-single-gallery-shadow);
  overflow: hidden;
  text-align: var(--mt-single-gallery-align);
}
body.mytoui-theme-active.single-product .woocommerce-product-gallery,
body.mytoui-theme-active.single-product .product-gallery,
body.mytoui-theme-active.single-product .product-image-gallery {
  height: var(--mt-single-gallery-height);
}
body.mytoui-theme-active.single-product .woocommerce-product-gallery img,
body.mytoui-theme-active.single-product .product-gallery img {
  max-height: var(--mt-single-gallery-height);
  object-fit: var(--mt-single-gallery-fit) !important;
}
body.mytoui-theme-active.single-product .summary .price,
body.mytoui-theme-active.single-product .product-summary .price,
body.mytoui-theme-active.single-product p.price {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: var(--mt-single-price-align);
  gap: var(--mt-single-price-gap);
  margin-bottom: var(--mt-single-price-margin-bottom) !important;
  color: var(--mt-single-price-current-color) !important;
  font-family: var(--mt-single-price-font, var(--mt-font-family, inherit)) !important;
  font-size: var(--mt-single-price-current-size) !important;
  font-weight: var(--mt-single-price-current-weight) !important;
  text-align: var(--mt-single-price-align) !important;
}
body.mytoui-theme-active.single-product .summary .price > .woocommerce-Price-amount,
body.mytoui-theme-active.single-product .summary .price ins,
body.mytoui-theme-active.single-product .summary .price ins *,
body.mytoui-theme-active.single-product .product-summary .price > .woocommerce-Price-amount,
body.mytoui-theme-active.single-product .product-summary .price ins,
body.mytoui-theme-active.single-product .product-summary .price ins * {
  color: var(--mt-single-price-current-color) !important;
  font-size: var(--mt-single-price-current-size) !important;
  font-weight: var(--mt-single-price-current-weight) !important;
  text-decoration: none !important;
}
body.mytoui-theme-active.single-product .summary .price del,
body.mytoui-theme-active.single-product .summary .price del *,
body.mytoui-theme-active.single-product .product-summary .price del,
body.mytoui-theme-active.single-product .product-summary .price del * {
  color: var(--mt-single-price-old-color) !important;
  font-size: var(--mt-single-price-old-size) !important;
  font-weight: var(--mt-single-price-old-weight) !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

/* Variable range: directionally isolated and independently colored. */
.mytoui-price-range {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: inherit;
  gap: .28em;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap;
}
body.single-product .mytoui-price-range__min { color: var(--mt-single-range-min-color) !important; }
body.single-product .mytoui-price-range__max { color: var(--mt-single-range-max-color) !important; }
body.single-product .mytoui-price-range__separator { color: var(--mt-single-range-separator-color) !important; }
.product-card .mytoui-price-range__min { color: var(--mt-effective-range-min-color) !important; }
.product-card .mytoui-price-range__max { color: var(--mt-effective-range-max-color) !important; }
.product-card .mytoui-price-range__separator { color: var(--mt-effective-range-separator-color) !important; }

/* Taxonomy/brand line: bidi isolation prevents mixed Arabic/French corruption. */
.mytoui-product-meta-row {
  display: flex;
  flex-direction: var(--mt-meta-layout);
  flex-wrap: wrap;
  align-items: center;
  justify-content: var(--mt-meta-align);
  gap: var(--mt-meta-gap);
  width: 100%;
  margin: 0 0 12px;
  font-family: var(--mt-meta-font, var(--mt-font-family, inherit));
  font-size: var(--mt-meta-size);
  font-weight: var(--mt-meta-weight);
  text-align: var(--mt-meta-align);
}
.mytoui-product-meta-item { display: inline-flex; align-items: baseline; gap: .32em; unicode-bidi: isolate; }
.mytoui-product-meta-label { color: var(--mt-meta-label-color); font-weight: 800; }
.mytoui-product-meta-value { color: var(--mt-meta-value-color); text-decoration: none; direction: auto; unicode-bidi: isolate; }

/* Product cards — all selectors remain inside recognized WooCommerce cards. */
body.mytoui-theme-active .product-card,
body.mytoui-theme-active ul.products li.product .product-card,
body.mytoui-theme-active .products-grid .product-card,
body.mytoui-theme-active .latest-products-grid .product-card,
body.mytoui-theme-active .related-products-grid .product-card,
body.mytoui-theme-active .mytoui-recommendation-grid .product-card {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: var(--mt-effective-card-padding) !important;
  padding-bottom: calc(var(--mt-effective-card-padding) + var(--mt-effective-card-bottom-padding)) !important;
  overflow: hidden;
  border: var(--mt-effective-card-border-width) solid var(--mt-effective-card-border-color) !important;
  border-radius: var(--mt-effective-card-radius) !important;
  background: var(--mt-effective-card-surface) !important;
  box-shadow: var(--mt-effective-card-shadow) !important;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease;
}
body.mytoui-theme-active .product-card.mytoui-effect-lift:hover { transform: translateY(-5px); }
body.mytoui-theme-active .product-card.mytoui-effect-three-d {
  box-shadow: var(--mt-effective-card-shadow), 0 5px 0 color-mix(in srgb, var(--mt-effective-card-border-color) 70%, #000 12%) !important;
}
body.mytoui-theme-active .product-card.mytoui-effect-three-d:hover { transform: translateY(-3px); }
body.mytoui-theme-active .product-card .product-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
body.mytoui-theme-active .product-card .product-image-wrapper {
  position: relative;
  overflow: hidden;
  height: var(--mt-effective-card-image-height);
  border-radius: var(--mt-effective-card-image-radius) !important;
  background: var(--mt-effective-card-image-background);
}
body.mytoui-theme-active .product-card .product-image-wrapper img,
body.mytoui-theme-active .product-card img.product-image {
  width: 100% !important;
  height: 100% !important;
  border-radius: var(--mt-effective-card-image-radius) !important;
  object-fit: var(--mt-effective-card-image-fit) !important;
  object-position: center !important;
}
body.mytoui-theme-active .product-card .product-info {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
}
body.mytoui-theme-active .product-card h3.product-title,
body.mytoui-theme-active .product-card .product-title,
body.mytoui-theme-active ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  width: 100% !important;
  min-height: var(--mt-effective-title-min-height);
  margin: var(--mt-effective-title-margin-top) 0 var(--mt-effective-title-margin-bottom) !important;
  overflow: hidden;
  color: var(--mt-effective-title-color) !important;
  font-family: var(--mt-card-title-font, var(--mt-font-family, inherit)) !important;
  font-size: var(--mt-effective-title-size) !important;
  font-weight: var(--mt-effective-title-weight) !important;
  line-height: var(--mt-effective-title-line-height) !important;
  text-align: var(--mt-effective-title-align) !important;
  text-align-last: var(--mt-effective-title-align) !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--mt-effective-title-lines);
  line-clamp: var(--mt-effective-title-lines);
}
body.mytoui-theme-active .product-card .product-price-wrapper,
body.mytoui-theme-active .product-card .price,
body.mytoui-theme-active ul.products li.product .price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: var(--mt-effective-price-align) !important;
  width: 100% !important;
  margin-top: auto !important;
  margin-bottom: var(--mt-effective-price-margin-bottom) !important;
  gap: var(--mt-effective-price-gap) !important;
  font-family: var(--mt-card-price-font, var(--mt-font-family, inherit)) !important;
  text-align: var(--mt-effective-price-align) !important;
}
body.mytoui-theme-active .product-card .product-price-current,
body.mytoui-theme-active .product-card .product-price-current *,
body.mytoui-theme-active .product-card .price > .woocommerce-Price-amount,
body.mytoui-theme-active .product-card .price ins,
body.mytoui-theme-active .product-card .price ins * {
  color: var(--mt-effective-price-current-color) !important;
  font-size: var(--mt-effective-price-current-size) !important;
  font-weight: var(--mt-effective-price-current-weight) !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}
body.mytoui-theme-active .product-card .product-price-original,
body.mytoui-theme-active .product-card .product-price-original *,
body.mytoui-theme-active .product-card .price del,
body.mytoui-theme-active .product-card .price del * {
  color: var(--mt-effective-price-old-color) !important;
  font-size: var(--mt-effective-price-old-size) !important;
  font-weight: var(--mt-effective-price-old-weight) !important;
  line-height: 1.25 !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

/* One controlled strike only; WooCommerce's native decoration is disabled above. */
.mytoui-strike-target { position: relative !important; display: inline-flex !important; direction: ltr; unicode-bidi: isolate; }
.mytoui-strike-target::before,
.mytoui-strike-target::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset-inline: 2%;
  top: 50%;
  height: var(--mytoui-strike-width, 2px);
  border-radius: 99px;
  background: var(--mytoui-strike-color, currentColor);
  pointer-events: none;
  transform-origin: center;
}
.mytoui-strike-none::before,.mytoui-strike-none::after { display: none !important; }
.mytoui-strike-line::before { display: none; }
.mytoui-strike-line::after { transform: rotate(0deg); }
.mytoui-strike-diagonal::before { display: none; }
.mytoui-strike-diagonal::after { transform: rotate(-12deg); }
.mytoui-strike-cross::before { transform: rotate(12deg); }
.mytoui-strike-cross::after { transform: rotate(-12deg); }

/* Discount badges */
body.mytoui-theme-active .product-badge-discount,
body.mytoui-theme-active .onsale,
body.mytoui-theme-active .mytoui-var-price__discount {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap;
}
body.mytoui-theme-active .product-badge-discount,
body.mytoui-theme-active .onsale {
  position: absolute;
  z-index: 4;
  min-width: 0;
  background: var(--mt-effective-badge-bg) !important;
  color: var(--mt-effective-badge-text) !important;
  border-radius: var(--mt-effective-badge-radius) !important;
  font-size: var(--mt-effective-badge-size) !important;
  font-weight: var(--mt-effective-badge-weight) !important;
}
body.mytoui-theme-active.mytoui-hide-discount-badges .product-badge-discount,
body.mytoui-theme-active.mytoui-hide-discount-badges .onsale { display: none !important; }
body.mytoui-theme-active.mytoui-badge-top-start .product-badge-discount,
body.mytoui-theme-active.mytoui-badge-top-start .onsale { inset-block-start: 0; inset-inline-start: 0; inset-block-end: auto; inset-inline-end: auto; }
body.mytoui-theme-active.mytoui-badge-top-end .product-badge-discount,
body.mytoui-theme-active.mytoui-badge-top-end .onsale { inset-block-start: 0; inset-inline-end: 0; inset-block-end: auto; inset-inline-start: auto; }
body.mytoui-theme-active.mytoui-badge-bottom-start .product-badge-discount,
body.mytoui-theme-active.mytoui-badge-bottom-start .onsale { inset-block-end: 0; inset-inline-start: 0; inset-block-start: auto; inset-inline-end: auto; }
body.mytoui-theme-active.mytoui-badge-bottom-end .product-badge-discount,
body.mytoui-theme-active.mytoui-badge-bottom-end .onsale { inset-block-end: 0; inset-inline-end: 0; inset-block-start: auto; inset-inline-start: auto; }

body.mytoui-theme-active .product-card.mytoui-hide-card-badge .product-badge-discount,
body.mytoui-theme-active .product-card.mytoui-hide-card-badge .onsale { display:none !important; }
body.mytoui-theme-active .product-card.mytoui-card-badge-top-start .product-badge-discount,
body.mytoui-theme-active .product-card.mytoui-card-badge-top-start .onsale { inset-block-start:0;inset-inline-start:0;inset-block-end:auto;inset-inline-end:auto; }
body.mytoui-theme-active .product-card.mytoui-card-badge-top-end .product-badge-discount,
body.mytoui-theme-active .product-card.mytoui-card-badge-top-end .onsale { inset-block-start:0;inset-inline-end:0;inset-block-end:auto;inset-inline-start:auto; }
body.mytoui-theme-active .product-card.mytoui-card-badge-bottom-start .product-badge-discount,
body.mytoui-theme-active .product-card.mytoui-card-badge-bottom-start .onsale { inset-block-end:0;inset-inline-start:0;inset-block-start:auto;inset-inline-end:auto; }
body.mytoui-theme-active .product-card.mytoui-card-badge-bottom-end .product-badge-discount,
body.mytoui-theme-active .product-card.mytoui-card-badge-bottom-end .onsale { inset-block-end:0;inset-inline-end:0;inset-block-start:auto;inset-inline-start:auto; }

/* Selected variation panel */
body.mytoui-theme-active .mytoui-var-price {
  justify-content: var(--mt-selected-price-align) !important;
  flex-direction: var(--mt-selected-price-layout) !important;
  gap: var(--mt-selected-price-gap) !important;
  text-align: var(--mt-selected-price-align) !important;
}
body.mytoui-theme-active .mytoui-var-price__label { color: var(--mt-selected-price-label-color) !important; font-size: var(--mt-selected-price-label-size) !important; font-weight: var(--mt-selected-price-label-weight) !important; }
body.mytoui-theme-active .mytoui-var-price__current { color: var(--mt-selected-price-current-color) !important; font-size: var(--mt-selected-price-current-size) !important; font-weight: var(--mt-selected-price-current-weight) !important; }
body.mytoui-theme-active .mytoui-var-price__regular { color: var(--mt-selected-price-old-color) !important; font-size: var(--mt-selected-price-old-size) !important; font-weight: var(--mt-selected-price-old-weight) !important; text-decoration: none !important; }
body.mytoui-theme-active .mytoui-var-price__discount { background: var(--mt-selected-price-discount-bg) !important; color: var(--mt-selected-price-discount-text) !important; border-radius: var(--mt-selected-price-discount-radius) !important; font-size: var(--mt-selected-price-discount-size) !important; }

/* Category cards */
body.mytoui-theme-active.mytoui-category-cards-enabled .category-grid-item,
body.mytoui-theme-active.mytoui-category-cards-enabled .category-slide,
body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide,
body.mytoui-theme-active.mytoui-category-cards-enabled .product-categories-grid .product-category > a {
  box-sizing: border-box;
  padding: var(--mt-category-padding) !important;
  overflow: hidden;
  border: var(--mt-category-border-width) solid var(--mt-category-border-color) !important;
  border-radius: var(--mt-category-radius) !important;
  background: var(--mt-category-surface) !important;
  box-shadow: var(--mt-category-shadow) !important;
  transition: transform .22s ease, box-shadow .22s ease;
}
body.mytoui-theme-active.mytoui-category-cards-enabled .category-grid-item.mytoui-effect-lift:hover,
body.mytoui-theme-active.mytoui-category-cards-enabled .category-slide.mytoui-effect-lift:hover,
body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide.mytoui-effect-lift:hover { transform: translateY(-5px); }
body.mytoui-theme-active.mytoui-category-cards-enabled .category-grid-item.mytoui-effect-three-d,
body.mytoui-theme-active.mytoui-category-cards-enabled .category-slide.mytoui-effect-three-d,
body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide.mytoui-effect-three-d { box-shadow: var(--mt-category-shadow), 0 5px 0 color-mix(in srgb, var(--mt-category-border-color) 75%, #000 10%) !important; }
body.mytoui-theme-active.mytoui-category-cards-enabled .category-grid-item img,
body.mytoui-theme-active.mytoui-category-cards-enabled .category-slide img,
body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide-image,
body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide-image img,
body.mytoui-theme-active.mytoui-category-cards-enabled .product-categories-grid .product-category img {
  width: 100%;
  height: var(--mt-category-image-height) !important;
  border-radius: var(--mt-category-image-radius) !important;
  object-fit: var(--mt-category-image-fit) !important;
}
body.mytoui-theme-active.mytoui-category-cards-enabled .category-grid-item h3,
body.mytoui-theme-active.mytoui-category-cards-enabled .category-slide h3,
body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide-name,
body.mytoui-theme-active.mytoui-category-cards-enabled .woocommerce-loop-category__title {
  color: var(--mt-category-title-color) !important;
  font-size: var(--mt-category-title-size) !important;
  font-weight: var(--mt-category-title-weight) !important;
  text-align: var(--mt-category-title-align) !important;
}
body.mytoui-theme-active.mytoui-hide-category-counts .count,
body.mytoui-theme-active.mytoui-hide-category-counts .subcat-slide-name__count { display: none !important; }
body.mytoui-theme-active.mytoui-category-cards-enabled .count,
body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide-name__count { color: var(--mt-category-count-color) !important; }

/* Recommendations */
body.mytoui-theme-active .mytoui-recommendations { width: 100%; margin-top: var(--mt-recommendation-gap); }
body.mytoui-theme-active .mytoui-recommendation-section { width: 100%; margin: 0 0 36px; }
body.mytoui-theme-active .mytoui-recommendation-title,
body.mytoui-theme-active.single-product .single-product-wrapper > .related-products-section .related-products-title {
  color: var(--mt-recommendation-title-color) !important;
  font-family: var(--mt-recommendation-title-font, inherit) !important;
  font-size: var(--mt-recommendation-title-size) !important;
  font-weight: var(--mt-recommendation-title-weight) !important;
  text-align: var(--mt-recommendation-title-align) !important;
}
body.mytoui-theme-active .mytoui-recommendation-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--mytoui-rec-cols,4),minmax(0,1fr)) !important;
  gap: 20px !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
body.mytoui-theme-active .mytoui-recommendation-grid > li { width: 100% !important; margin: 0 !important; float: none !important; }
body.mytoui-theme-active.single-product .single-product-wrapper > .related-products-section.mytoui-native-related-hidden { display: none !important; }
body.mytoui-theme-active.single-product .single-product-wrapper > .related-products-section .related-products-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--mt-related-columns-desktop),minmax(0,1fr)) !important;
  gap: 20px !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.mytoui-theme-active.single-product .single-product-wrapper > .related-products-section .related-products-grid > li {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

/* QuickFORM container/title/fields */
body.mytoui-theme-active .qf-form { font-family: var(--mt-quickform-font, var(--mt-font-family, inherit)) !important; }
body.mytoui-theme-active .qf-form.mytoui-qf-container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--mt-quickform-container-max-width);
  margin-top: var(--mt-quickform-container-margin-top);
  margin-bottom: var(--mt-quickform-container-margin-bottom);
  margin-inline: auto;
  padding: var(--mt-quickform-container-padding) !important;
  border: var(--mt-quickform-container-border-width) solid var(--mt-quickform-container-border) !important;
  border-radius: var(--mt-quickform-container-radius) !important;
  background: var(--mt-quickform-container-surface) !important;
  box-shadow: var(--mt-quickform-container-shadow) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
body.mytoui-theme-active .qf-form.mytoui-qf-container.mytoui-qf-effect-lift:hover { transform: translateY(-3px); }
body.mytoui-theme-active .qf-form.mytoui-qf-container.mytoui-qf-effect-three-d {
  box-shadow: var(--mt-quickform-container-shadow), 0 6px 0 color-mix(in srgb, var(--mt-quickform-container-border) 72%, #000 10%) !important;
}
body.mytoui-theme-active .qf-form.mytoui-qf-container.mytoui-qf-effect-three-d:hover { transform: translateY(-2px); }
body.mytoui-theme-active .qf-form .qf-title {
  position: relative;
  margin-top: var(--mt-quickform-title-margin-top) !important;
  margin-bottom: var(--mt-quickform-title-margin-bottom) !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  color: var(--mt-quickform-title-color) !important;
  font-size: var(--mt-quickform-title-size) !important;
  font-weight: var(--mt-quickform-title-weight) !important;
  text-align: var(--mt-quickform-title-align) !important;
}
body.mytoui-theme-active .qf-form .qf-title.mytoui-qf-divider::before {
  content: "";
  display: block;
  width: var(--mt-quickform-divider-width);
  margin: 0 auto var(--mt-quickform-divider-margin-bottom);
  border-top: var(--mt-quickform-divider-thickness) var(--mt-quickform-divider-style) var(--mt-quickform-divider-color);
}
body.mytoui-theme-active .qf-form .qf-fields { gap: var(--mt-quickform-field-gap) !important; }
body.mytoui-theme-active .qf-form .qf-field,
body.mytoui-theme-active .qf-form select,
body.mytoui-theme-active .qf-form input[type="text"],
body.mytoui-theme-active .qf-form input[type="tel"],
body.mytoui-theme-active .qf-form input[type="number"],
body.mytoui-theme-active .qf-form textarea {
  min-height: var(--mt-quickform-field-height) !important;
  border-color: var(--mt-quickform-field-border) !important;
  border-radius: var(--mt-quickform-field-radius) !important;
  background: var(--mt-quickform-field-bg) !important;
  color: var(--mt-quickform-field-text) !important;
  box-shadow: var(--mt-quickform-field-shadow) !important;
  font-size: var(--mt-quickform-field-size) !important;
  font-weight: var(--mt-quickform-field-weight) !important;
}
body.mytoui-theme-active .qf-form input::placeholder,
body.mytoui-theme-active .qf-form textarea::placeholder { color: var(--mt-quickform-field-placeholder) !important; }
body.mytoui-theme-active .qf-form .qf-field:focus-within,
body.mytoui-theme-active .qf-form select:focus,
body.mytoui-theme-active .qf-form input:focus,
body.mytoui-theme-active .qf-form textarea:focus { border-color: var(--mt-quickform-field-focus) !important; outline: none !important; }
body.mytoui-theme-active .qf-form .qf-field-icon { background: var(--mt-quickform-field-icon-bg) !important; color: var(--mt-quickform-field-icon-color) !important; }
body.mytoui-theme-active .qf-form #qf-submit,
body.mytoui-theme-active .qf-form .qf-submit-btn {
  min-height: var(--mt-quickform-button-height) !important;
  border-radius: var(--mt-quickform-primary-radius) !important;
  background: var(--mt-quickform-primary-bg) !important;
  color: var(--mt-quickform-primary-text) !important;
  box-shadow: var(--mt-quickform-primary-shadow) !important;
  font-size: var(--mt-quickform-primary-size) !important;
  font-weight: var(--mt-quickform-primary-weight) !important;
}
body.mytoui-theme-active .qf-form .qf-social-btn {
  min-height: var(--mt-quickform-button-height) !important;
  font-size: var(--mt-quickform-social-size) !important;
  font-weight: var(--mt-quickform-social-weight) !important;
}
body.mytoui-theme-active .qf-form .qf-wa-btn,
body.mytoui-theme-active .qf-form .qf-whatsapp-btn,
body.mytoui-theme-active .qf-form [class*="whatsapp"] { background: var(--mt-quickform-whatsapp-bg) !important; color: var(--mt-quickform-whatsapp-text) !important; }
body.mytoui-theme-active .qf-form .qf-ms-btn,
body.mytoui-theme-active .qf-form .qf-messenger-btn,
body.mytoui-theme-active .qf-form [class*="messenger"] { background: var(--mt-quickform-messenger-bg) !important; color: var(--mt-quickform-messenger-text) !important; }

/* Quantity control */
body.mytoui-theme-active .qf-form .qf-qty {
  height: var(--mt-quickform-quantity-height) !important;
  overflow: hidden;
  border: 1px solid var(--mt-quickform-quantity-border) !important;
  border-radius: var(--mt-quickform-quantity-radius) !important;
  background: var(--mt-quickform-quantity-bg) !important;
  box-shadow: var(--mt-quickform-quantity-shadow) !important;
}
body.mytoui-theme-active .qf-form .qf-qty button {
  width: var(--mt-quickform-quantity-button-width) !important;
  height: var(--mt-quickform-quantity-height) !important;
  color: var(--mt-quickform-quantity-button-color) !important;
  background: transparent !important;
}
body.mytoui-theme-active .qf-form .qf-qty button:hover { background: var(--mt-quickform-quantity-button-hover-bg) !important; }
body.mytoui-theme-active .qf-form .qf-qty input[type="number"] {
  height: var(--mt-quickform-quantity-height) !important;
  line-height: var(--mt-quickform-quantity-height) !important;
  color: var(--mt-quickform-quantity-text) !important;
  background: transparent !important;
}

/* iOS focus zoom prevention without disabling user pinch zoom. */
@media (max-width: 782px) {
  body.mytoui-theme-active.single-product .single-product-wrapper > .related-products-section .related-products-grid {
    grid-template-columns: repeat(var(--mt-related-columns-mobile),minmax(0,1fr)) !important;
  }
  body.mytoui-no-mobile-focus-zoom input,
  body.mytoui-no-mobile-focus-zoom select,
  body.mytoui-no-mobile-focus-zoom textarea,
  body.mytoui-no-mobile-focus-zoom .qf-form input,
  body.mytoui-no-mobile-focus-zoom .qf-form select,
  body.mytoui-no-mobile-focus-zoom .qf-form textarea { font-size: 16px !important; }
}

/* Shipping cards */
body.mytoui-theme-active .qf-form .qf-shipping-methods {
  display: grid !important;
  grid-template-columns: repeat(var(--mt-quickform-shipping-columns), minmax(0,1fr));
  gap: 14px !important;
}
body.mytoui-theme-active .qf-form .qf-shipping-option {
  display: grid !important;
  grid-template-columns: 48px minmax(0,1fr) auto;
  grid-template-areas: "icon title radio" "icon cost radio";
  align-items: center;
  min-height: 92px;
  padding: 14px !important;
  border: 1px solid var(--mt-quickform-shipping-border) !important;
  border-radius: var(--mt-quickform-shipping-radius) !important;
  background: var(--mt-quickform-shipping-card-bg) !important;
  box-shadow: var(--mt-quickform-shipping-shadow) !important;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
body.mytoui-theme-active .qf-form .qf-shipping-option:hover { transform: translateY(-2px); }
body.mytoui-theme-active .qf-form.mytoui-shipping-effect-lift .qf-shipping-option:hover { transform: translateY(-5px); }
body.mytoui-theme-active .qf-form.mytoui-shipping-effect-three-d .qf-shipping-option {
  box-shadow: var(--mt-quickform-shipping-shadow), 0 5px 0 color-mix(in srgb, var(--mt-quickform-shipping-border) 74%, #000 10%) !important;
}
body.mytoui-theme-active .qf-form.mytoui-shipping-effect-three-d .qf-shipping-option:hover { transform: translateY(-3px); }
body.mytoui-theme-active .qf-form .qf-shipping-option.selected {
  border-color: var(--mt-quickform-shipping-selected-border) !important;
  background: var(--mt-quickform-shipping-selected-bg) !important;
  box-shadow: var(--mt-quickform-shipping-selected-shadow) !important;
}
body.mytoui-theme-active .qf-form.mytoui-shipping-effect-three-d .qf-shipping-option.selected {
  box-shadow: var(--mt-quickform-shipping-selected-shadow), 0 5px 0 color-mix(in srgb, var(--mt-quickform-shipping-selected-border) 72%, #000 12%) !important;
}
body.mytoui-theme-active .qf-shipping-icon { grid-area: icon; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--mt-quickform-shipping-icon-color); background: color-mix(in srgb, var(--mt-quickform-shipping-icon-color) 12%, #fff); }
body.mytoui-theme-active .qf-shipping-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; }
body.mytoui-theme-active .qf-form .qf-shipping-label { grid-area: title; color: var(--mt-quickform-shipping-title-color) !important; font-size: var(--mt-quickform-shipping-title-size) !important; font-weight: var(--mt-quickform-shipping-title-weight) !important; }
body.mytoui-theme-active .qf-form .qf-shipping-cost { grid-area: cost; color: var(--mt-quickform-shipping-cost-color) !important; font-size: var(--mt-quickform-shipping-cost-size) !important; font-weight: var(--mt-quickform-shipping-cost-weight) !important; direction: ltr; unicode-bidi: isolate; }
body.mytoui-theme-active .qf-form .qf-shipping-radio { grid-area: radio; }
body.mytoui-theme-active .qf-form .qf-shipping-option input[type="radio"] { position: absolute !important; opacity: 0 !important; pointer-events: none; }

/* Pickup office selector */
.mytoui-office-selector { display: grid; gap: 12px; margin-top: 16px; }
.mytoui-office-selector[hidden] { display: none !important; }
.mytoui-office-selector__title { margin: 0 0 var(--mt-quickform-office-title-margin-bottom); color: var(--mt-quickform-office-title-color); font-size: var(--mt-quickform-office-title-size); font-weight: var(--mt-quickform-office-title-weight); text-align: var(--mt-quickform-office-title-align); }
.mytoui-office-list { display: grid; gap: var(--mt-quickform-office-gap); }
.mytoui-office-card {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  padding: var(--mt-quickform-office-card-padding);
  border: 1px solid var(--mt-quickform-office-border);
  border-radius: var(--mt-quickform-office-radius);
  background: var(--mt-quickform-office-bg);
  box-shadow: var(--mt-quickform-office-shadow);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.mytoui-office-card:hover { transform: translateY(-1px); }
.mytoui-office-card.is-selected { border-color: var(--mt-quickform-office-selected-border); background: var(--mt-quickform-office-selected-bg); }
.mytoui-office-card__radio { width: 19px; height: 19px; border: 2px solid var(--mt-quickform-office-border); border-radius: 50%; box-shadow: inset 0 0 0 4px #fff; background: #fff; }
.mytoui-office-card.is-selected .mytoui-office-card__radio { border-color: var(--mt-quickform-office-selected-border); background: var(--mt-quickform-office-selected-border); }
.mytoui-office-card__copy { display: grid; gap: 4px; min-width: 0; }
.mytoui-office-card__name { color: var(--mt-quickform-office-name-color); font-size: var(--mt-quickform-office-name-size); font-weight: var(--mt-quickform-office-name-weight); direction: auto; unicode-bidi: plaintext; }
.mytoui-office-card__address { color: var(--mt-quickform-office-address-color); font-size: var(--mt-quickform-office-address-size); font-weight: var(--mt-quickform-office-address-weight); line-height: 1.45; direction: auto; unicode-bidi: plaintext; }
.mytoui-office-empty { margin: 0; padding: 12px; border-radius: 12px; background: var(--mt-quickform-office-empty-bg); color: var(--mt-quickform-office-empty-color); }
.mytoui-office-validation { margin: 0; color: var(--mt-quickform-office-validation-color); font-weight: 700; }
.mytoui-office-error { outline: 2px solid var(--mt-quickform-office-validation-color); outline-offset: 3px; }

/* QuickFORM summary: labels and each monetary row are independently controllable. */
body.mytoui-theme-active .qf-order-summary {
  box-sizing: border-box;
  padding: var(--mt-quickform-summary-padding) !important;
  border: var(--mt-quickform-summary-border-width) solid var(--mt-quickform-summary-border) !important;
  border-radius: var(--mt-quickform-summary-radius) !important;
  background: var(--mt-quickform-summary-surface) !important;
  box-shadow: var(--mt-quickform-summary-shadow) !important;
}
body.mytoui-theme-active.mytoui-hide-qf-summary .qf-order-summary { display: none !important; }
body.mytoui-theme-active .qf-order-summary .qf-summary-row > span:first-child {
  color: var(--mt-quickform-summary-label-color) !important;
  font-size: var(--mt-quickform-summary-label-size) !important;
  font-weight: var(--mt-quickform-summary-label-weight) !important;
}
body.mytoui-theme-active .qf-order-summary #qf-summary-product {
  color: var(--mt-quickform-summary-product-color) !important;
  font-size: var(--mt-quickform-summary-product-size) !important;
  font-weight: var(--mt-quickform-summary-product-weight) !important;
  direction: ltr; unicode-bidi: isolate;
}
body.mytoui-theme-active .qf-order-summary #qf-summary-shipping {
  color: var(--mt-quickform-summary-shipping-color) !important;
  font-size: var(--mt-quickform-summary-shipping-size) !important;
  font-weight: var(--mt-quickform-summary-shipping-weight) !important;
  direction: ltr; unicode-bidi: isolate;
}
body.mytoui-theme-active .qf-order-summary .qf-summary-total > span:first-child {
  color: var(--mt-quickform-summary-total-label-color) !important;
  font-size: var(--mt-quickform-summary-total-label-size) !important;
  font-weight: var(--mt-quickform-summary-total-label-weight) !important;
}
body.mytoui-theme-active .qf-order-summary #qf-total-amount {
  color: var(--mt-quickform-summary-total-color) !important;
  font-size: var(--mt-quickform-summary-total-size) !important;
  font-weight: var(--mt-quickform-summary-total-weight) !important;
  direction: ltr; unicode-bidi: isolate;
}
body.mytoui-theme-active .qf-order-summary .qf-summary-divider {
  border: 0 !important;
  border-top: 1px var(--mt-quickform-summary-divider-style) var(--mt-quickform-summary-divider-color) !important;
}

@media (max-width: 768px) {
  body.mytoui-theme-active.single-product h1.product_title,
  body.mytoui-theme-active.single-product h1.product_title.entry-title { font-size: var(--mt-single-title-mobile-size) !important; }
  body.mytoui-theme-active.single-product .woocommerce-product-gallery,
  body.mytoui-theme-active.single-product .product-gallery,
  body.mytoui-theme-active.single-product .product-image-gallery { height: var(--mt-single-gallery-mobile-height); }
  body.mytoui-theme-active.single-product .woocommerce-product-gallery img,
  body.mytoui-theme-active.single-product .product-gallery img { max-height: var(--mt-single-gallery-mobile-height); }
  body.mytoui-theme-active.single-product .summary .price,
  body.mytoui-theme-active.single-product .summary .price ins,
  body.mytoui-theme-active.single-product .summary .price ins * { font-size: var(--mt-single-price-mobile-size) !important; }
  body.mytoui-theme-active.single-product .summary .price del,
  body.mytoui-theme-active.single-product .summary .price del * { font-size: var(--mt-single-price-old-mobile-size) !important; }
  body.mytoui-theme-active .product-card .product-image-wrapper { height: var(--mt-effective-card-image-mobile-height); }
  body.mytoui-theme-active .product-card h3.product-title,
  body.mytoui-theme-active .product-card .product-title { min-height: var(--mt-effective-title-mobile-min-height); font-size: var(--mt-effective-title-mobile-size) !important; }
  body.mytoui-theme-active .product-card .product-price-current,
  body.mytoui-theme-active .product-card .product-price-current * { font-size: var(--mt-effective-price-current-mobile-size) !important; }
  body.mytoui-theme-active .product-card .product-price-original,
  body.mytoui-theme-active .product-card .product-price-original * { font-size: var(--mt-effective-price-old-mobile-size) !important; }
  body.mytoui-theme-active.mytoui-category-cards-enabled .category-grid-item img,
  body.mytoui-theme-active.mytoui-category-cards-enabled .category-slide img,
  body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide-image,
  body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide-image img { height: var(--mt-category-image-mobile-height) !important; }
  body.mytoui-theme-active.mytoui-category-cards-enabled .category-grid-item h3,
  body.mytoui-theme-active.mytoui-category-cards-enabled .category-slide h3,
  body.mytoui-theme-active.mytoui-category-cards-enabled .subcat-slide-name { font-size: var(--mt-category-title-mobile-size) !important; }
  body.mytoui-theme-active .qf-form .qf-title { font-size: var(--mt-quickform-title-mobile-size) !important; }
  .mytoui-office-selector__title { font-size: var(--mt-quickform-office-title-mobile-size); }
  .mytoui-recommendation-grid { grid-template-columns: repeat(var(--mytoui-rec-cols-mobile,2),minmax(0,1fr)) !important; gap: 14px !important; }
}

@media (max-width: 520px) {
  body.mytoui-theme-active .qf-form .qf-shipping-methods { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px !important; }
  body.mytoui-theme-active .qf-form .qf-shipping-option { grid-template-columns: 1fr auto; grid-template-areas: "icon radio" "title title" "cost cost"; min-height: 126px; text-align: center; }
  body.mytoui-theme-active .qf-shipping-icon { margin-inline: auto; }
}


/* v6.1 precision fixes */
body.mytoui-theme-active .mytoui-var-price__regular,
body.mytoui-theme-active .mytoui-var-price__regular * { color:var(--mt-selected-price-old-color)!important; }
body.mytoui-theme-active .mytoui-var-price__current,
body.mytoui-theme-active .mytoui-var-price__current * { color:var(--mt-selected-price-current-color)!important; }
body.mytoui-theme-active .mytoui-product-meta-row[data-layout="column"]{display:flex!important;flex-direction:column!important;align-items:var(--mt-meta-align)!important}
body.mytoui-theme-active .mytoui-product-meta-item{display:inline-flex;gap:.35em;align-items:baseline;unicode-bidi:isolate}
body.mytoui-theme-active .mytoui-product-meta-item[data-item-layout="value_label"]{flex-direction:row-reverse}
body.mytoui-theme-active .mytoui-product-meta-item[data-item-layout="label_top"]{flex-direction:column}
body.mytoui-theme-active .mytoui-product-meta-item[data-item-layout="value_top"]{flex-direction:column-reverse}
body.mytoui-theme-active .mytoui-product-meta-value{unicode-bidi:isolate;direction:auto}
body.mytoui-theme-active .woocommerce-product-gallery.mytoui-gallery-no-bg,
body.mytoui-theme-active .woocommerce-product-gallery.mytoui-gallery-no-bg .woocommerce-product-gallery__wrapper{background:transparent!important;box-shadow:none!important;border:0!important}
body.mytoui-theme-active .woocommerce-product-gallery.mytoui-gallery-no-bg img{border-radius:var(--mt-single-gallery-image-radius)!important;box-shadow:var(--mt-single-gallery-image-shadow)!important}
.mytoui-gallery-arrow{position:absolute;z-index:12;top:50%;transform:translateY(-50%);width:var(--mt-single-gallery-arrow-size);height:var(--mt-single-gallery-arrow-size);display:grid;place-items:center;border:1px solid var(--mt-single-gallery-arrow-border);border-radius:var(--mt-single-gallery-arrow-radius);background:var(--mt-single-gallery-arrow-bg);color:var(--mt-single-gallery-arrow-color);box-shadow:var(--mt-single-gallery-arrow-shadow);cursor:pointer;opacity:.92;transition:.2s ease}
.mytoui-gallery-arrow:hover{opacity:1;transform:translateY(-50%) scale(1.05)}
.mytoui-gallery-arrow--prev{inset-inline-start:var(--mt-single-gallery-arrow-offset)} .mytoui-gallery-arrow--next{inset-inline-end:var(--mt-single-gallery-arrow-offset)}
.mytoui-gallery-arrow svg{width:var(--mt-single-gallery-arrow-icon-size);height:var(--mt-single-gallery-arrow-icon-size)}
body.mytoui-theme-active .woocommerce-product-details__short-description.mytoui-short-description-card{position:relative;background:var(--mt-short-description-surface)!important;border:var(--mt-short-description-border-width) solid var(--mt-short-description-border)!important;border-radius:var(--mt-short-description-radius)!important;box-shadow:var(--mt-short-description-shadow)!important;color:var(--mt-short-description-text-color)!important;font-size:var(--mt-short-description-text-size)!important;padding:18px!important;margin-block:14px!important}
.mytoui-short-description-label{display:inline-block;color:var(--mt-short-description-label-color);font-weight:800;margin-block-end:8px}
body.mytoui-theme-active #qf-submit{background:var(--mt-quickform-primary-surface)!important;color:var(--mt-quickform-primary-text)!important}
body.mytoui-theme-active .qf-whatsapp-btn{background:var(--mt-quickform-whatsapp-surface)!important;color:var(--mt-quickform-whatsapp-text)!important}
body.mytoui-theme-active .qf-messenger-btn{background:var(--mt-quickform-messenger-surface)!important;color:var(--mt-quickform-messenger-text)!important}
body.mytoui-theme-active #qf-shipping-methods{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.mytoui-theme-active .qf-shipping-option{display:grid!important;grid-template-columns:auto 1fr!important;grid-template-rows:auto auto!important;align-items:center!important;min-height:92px!important;padding:12px 14px!important}
body.mytoui-theme-active .qf-shipping-option .qf-shipping-icon{grid-row:1/3!important}
body.mytoui-theme-active .qf-shipping-option .qf-shipping-price{font-size:var(--mt-quickform-shipping-cost-size)!important;color:var(--mt-quickform-shipping-cost-color)!important;font-weight:var(--mt-quickform-shipping-cost-weight)!important}


/* Price composition layouts */
[data-mytoui-price-layout]{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important}
[data-mytoui-price-layout="new_right_old_left"]{flex-direction:row!important}
[dir="rtl"] [data-mytoui-price-layout="new_right_old_left"]{flex-direction:row!important}
[data-mytoui-price-layout="new_left_old_right"]{flex-direction:row-reverse!important}
[data-mytoui-price-layout="new_top_old_bottom"]{flex-direction:column!important;align-items:inherit!important}
[data-mytoui-price-layout="old_top_new_bottom"]{flex-direction:column-reverse!important;align-items:inherit!important}
[data-mytoui-discount-position="top"] .mytoui-var-price__discount,[data-mytoui-discount-position="top"] .product-badge-discount{order:-3!important;flex-basis:auto}
[data-mytoui-discount-position="bottom"] .mytoui-var-price__discount,[data-mytoui-discount-position="bottom"] .product-badge-discount{order:9!important}
[data-mytoui-discount-position="after"] .mytoui-var-price__discount{order:8!important}
[data-mytoui-badge-shape="circle"] .mytoui-var-price__discount{aspect-ratio:1;border-radius:50%!important;display:grid;place-items:center}
[data-mytoui-badge-shape="rounded"] .mytoui-var-price__discount{border-radius:10px!important}
[data-mytoui-badge-shape="minimal"] .mytoui-var-price__discount{background:transparent!important;color:var(--mt-selected-price-discount-bg)!important;padding-inline:0!important}
body.mytoui-theme-active .product-card.mytoui-effect-three-d{transform:perspective(900px) rotateX(1.5deg) translateY(-2px);box-shadow:0 8px 0 color-mix(in srgb,var(--mt-effective-card-border-color) 70%,#000 15%),0 18px 30px rgba(15,23,42,.16)!important}
body.mytoui-theme-active .mytoui-qf-effect-three-d{box-shadow:0 8px 0 color-mix(in srgb,var(--mt-quickform-container-border) 70%,#000 15%),0 18px 36px rgba(15,23,42,.14)!important}
