html[data-website-id="2"][data-mirtekes-theme="1"] {
  /* Keep the original card in flow beneath a full-card weight picker. */
  /* Keep the complete price row anchored to the reading edge. Theme Prime sizes
   this element to its contents, which leaves Arabic prices floating left. */
  /* Homepage bestseller cards use the same simple-product quantity control and
   inline variant flow as shop and wishlist cards. The picker overlays the card
   so opening it does not move the surrounding product grid. */
  /* Wishlist cards use Odoo's horizontal product tile rather than Theme
   Prime's shop tile. The picker replaces that tile while it is open, so the
   same add/keep-open/dismiss flow works without changing the grid footprint. */
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-action-buttons,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-product-label-style-1,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-product-label-style-2,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-product-label-style-3,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-product-label-style-4,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-discount-percentage,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-product-stock-label--low {
  display: none !important;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-product-image-container,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-product-content,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-add-to-cart-btn {
  visibility: hidden;
  pointer-events: none;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-variants__body {
  display: flex;
  flex-direction: column;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variants {
  display: none;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variants__body {
  position: static;
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 0.7rem 0.75rem 0.8rem;
  border-bottom: 1px solid #dedbd5;
  background: #fdfaf5;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open > .mirtekes-inline-variants {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex !important;
  min-height: 0;
  flex-direction: column;
  background: #fff;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-variants__heading {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  color: #000000;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.2;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-variants__close {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dedbd5;
  border-radius: 50%;
  background: #fff;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.7rem;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-variants__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-variant-choice {
  display: flex;
  min-width: 0;
  min-height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.35rem 0.3rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0.45rem;
  background: #fdfaf5;
  color: #000000;
  font-family: inherit;
  font-size: 0.68rem;
  line-height: 1.15;
  text-align: center;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-variant-choice:hover:not(:disabled),
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-variant-choice.is-selected {
  border-color: #cdb597;
  background: rgba(205, 181, 151, 0.13);
  box-shadow: 0 0 0 1px rgba(205, 181, 151, 0.18);
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-variant-choice.is-selected {
  color: #000000;
  font-weight: 750;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-variant-choice.is-unavailable {
  cursor: not-allowed;
  opacity: 0.48;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-variant-choice__name {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-variant-choice__price {
  color: #000000;
  font-size: 0.64rem;
  font-weight: 750;
  white-space: nowrap;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-variant-choice__stock {
  color: #c43b3b;
  font-size: 0.58rem;
  white-space: nowrap;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-card-stock-label {
  display: flex;
  width: 100%;
  min-height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 0 0 0.65rem 0.65rem;
  background: rgba(212, 18, 18, 0.8);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

html[data-website-id="2"][data-mirtekes-theme="1"] [dir="rtl"] .mirtekes-card-stock-label,
html[data-website-id="2"][data-mirtekes-theme="1"] .o_rtl .mirtekes-card-stock-label,
html[data-website-id="2"][data-mirtekes-theme="1"] html[lang^="ar"] .mirtekes-card-stock-label {
  letter-spacing: 0;
  text-transform: none;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container
.tp-product-wrapper:has(> .mirtekes-card-stock-label)
.tp-product-top > .tp-product-stock-label--out {
  display: none !important;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .mirtekes-card-stock-label {
  grid-column: 1;
  grid-row: 3;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products .mirtekes-product-card > .mirtekes-card-stock-label {
  border-radius: 0;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-variants__actions {
  display: grid;
  flex: 0 0 auto;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  gap: 0.45rem;
  padding: 0 0.75rem 0.75rem;
  background: #fff;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-qty {
  display: grid;
  min-width: 0;
  height: 38px;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.4rem;
  background: #fff;
  grid-column: 1;
  grid-row: 1;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-qty__button,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-qty__value {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-qty__button:first-child {
  border-inline-end: 1px solid rgba(0, 0, 0, 0.1);
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-qty__button:last-child {
  border-inline-start: 1px solid rgba(0, 0, 0, 0.1);
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-add {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid #000000;
  border-radius: 0.4rem;
  background: #000000;
  color: #fff;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 750;
  grid-column: 1;
  grid-row: 2;
  line-height: 1.15;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-add:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item .mirtekes-inline-add {
  height: 42px;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-inline-add.is-loading::after {
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: mirtekes-inline-variant-spin 0.75s linear infinite;
}

html[data-website-id="2"][data-mirtekes-theme="1"] [dir="rtl"] .mirtekes-inline-variants,
html[data-website-id="2"][data-mirtekes-theme="1"] [dir="rtl"] .mirtekes-inline-add,
html[data-website-id="2"][data-mirtekes-theme="1"] [dir="rtl"] .mirtekes-variant-choice,
html[data-website-id="2"][data-mirtekes-theme="1"] [dir="rtl"] .mirtekes-inline-qty,
html[data-website-id="2"][data-mirtekes-theme="1"] .o_rtl .mirtekes-inline-variants,
html[data-website-id="2"][data-mirtekes-theme="1"] .o_rtl .mirtekes-inline-add,
html[data-website-id="2"][data-mirtekes-theme="1"] .o_rtl .mirtekes-variant-choice,
html[data-website-id="2"][data-mirtekes-theme="1"] .o_rtl .mirtekes-inline-qty,
html[data-website-id="2"][data-mirtekes-theme="1"] html[lang^="ar"] .mirtekes-inline-variants,
html[data-website-id="2"][data-mirtekes-theme="1"] html[lang^="ar"] .mirtekes-inline-add,
html[data-website-id="2"][data-mirtekes-theme="1"] html[lang^="ar"] .mirtekes-variant-choice,
html[data-website-id="2"][data-mirtekes-theme="1"] html[lang^="ar"] .mirtekes-inline-qty {
  font-family: "IBM Plex Sans Arabic", "Cairo", "Noto Sans Arabic", Tahoma, sans-serif;
}

@keyframes mirtekes-inline-variant-spin {
  to {
    transform: rotate(360deg);
  }
}

html[data-website-id="2"][data-mirtekes-theme="1"] [dir='rtl'] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item .product_price,
html[data-website-id="2"][data-mirtekes-theme="1"] .o_rtl .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item .product_price,
html[data-website-id="2"][data-mirtekes-theme="1"] html[lang^='ar'] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item .product_price {
  display: flex;
  width: 100% !important;
  direction: rtl;
  justify-content: flex-start !important;
  text-align: right !important;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.tp-add-to-cart-btn.is-simple-cart-active {
  display: block !important;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart-control {
  display: grid;
  overflow: hidden;
  width: 100%;
  height: 42px;
  min-height: 42px;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  direction: ltr;
  border: 1px solid #d8d8d8;
  border-radius: 0.35rem;
  background: #f7f7f5;
  color: #000000;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart__increase,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart__decrease,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart__value {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart__increase,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart__decrease {
  cursor: pointer;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart__increase {
  border-right: 1px solid #dedede;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart__decrease {
  border-left: 1px solid #dedede;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart__increase:hover,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart__decrease:hover {
  background: #edece8;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart-control.is-loading {
  opacity: 0.62;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-simple-cart-control button:disabled {
  cursor: wait;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products .mirtekes-product-card.mirtekes-inline-variant-card {
  position: relative;
  overflow: hidden;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products
.mirtekes-product-card.mirtekes-inline-variant-card.is-variant-open {
  transform: none;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products
.mirtekes-product-card.mirtekes-inline-variant-card
> .mirtekes-inline-variants {
  display: none;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products
.mirtekes-product-card.mirtekes-inline-variant-card.is-variant-open
> .mirtekes-product-card__image,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products
.mirtekes-product-card.mirtekes-inline-variant-card.is-variant-open
> .mirtekes-product-card__body {
  visibility: hidden;
  pointer-events: none;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products
.mirtekes-product-card.mirtekes-inline-variant-card.is-variant-open
> .mirtekes-inline-variants {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex !important;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  color: #000000;
  background: #fff;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products
.mirtekes-product-card
.mirtekes-inline-variants__body {
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
  padding: 1rem;
  border-bottom: 1px solid #dedbd5;
  background: #fdfaf5;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products
.mirtekes-product-card
.mirtekes-inline-variants__actions {
  position: static;
  display: grid;
  flex: 0 0 auto;
  padding: 0.85rem 1rem 1rem;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products
.mirtekes-product-card__form.is-simple-cart-active {
  display: block;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-products
.mirtekes-product-card__form
.mirtekes-simple-cart-control {
  height: 49px;
  min-height: 49px;
  border-color: #cdb597;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist .mirtekes-wishlist-variant-card {
  position: relative;
  min-height: 238px;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist .mirtekes-wishlist-variant-card > .mirtekes-inline-variants {
  display: none;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist
.mirtekes-wishlist-variant-card.is-variant-open
> .oe_product_cart {
  visibility: hidden;
  pointer-events: none;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist
.mirtekes-wishlist-variant-card.is-variant-open
> .mirtekes-inline-variants {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex !important;
  width: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist .mirtekes-wishlist-variant-card .mirtekes-inline-variants__body {
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
  padding: 0.9rem;
  border-bottom: 1px solid #dedbd5;
  background: #fdfaf5;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist
.mirtekes-wishlist-variant-card
.mirtekes-inline-variants__actions {
  position: static;
  display: grid;
  padding: 0.8rem 0.9rem 0.9rem;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist .o_wsale_product_btn.is-simple-cart-active {
  display: block !important;
  width: 100% !important;
}

html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist
.o_wsale_product_btn.is-simple-cart-active
.mirtekes-simple-cart-control {
  height: 46px;
  min-height: 46px;
}

@media (min-width: 992px) {
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variants__body {
    padding: 0.8rem 0.95rem 1rem;
  }
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variants__actions {
    padding: 0 0.95rem 1rem;
  }
}

@media (max-width: 575.98px) {
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist .mirtekes-wishlist-variant-card {
    min-height: 218px;
  }
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-wishlist
.mirtekes-wishlist-variant-card
.mirtekes-inline-variants__choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card {
    position: relative;
    display: grid !important;
    height: 100%;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card .tp-product-top {
    display: contents !important;
  }
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card .tp-product-image-container {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    grid-column: 1;
    grid-row: 1;
    background: #fdfaf5;
  }
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card .tp-product-image-container > span,
html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card .tp-product-image-container img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card .tp-product-content {
    grid-column: 1;
    grid-row: 2;
  }
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card .tp-add-to-cart-btn {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0;
    padding: 0 0.75rem 0.75rem !important;
    grid-column: 1;
    grid-row: 3;
    opacity: 1 !important;
    transform: none !important;
  }
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card .tp-add-to-cart-btn .btn {
    position: static !important;
    display: flex;
    width: 100%;
    height: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding-block: 0;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
    border-radius: 0.35rem !important;
    background: #000000 !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: 1 !important;
    transform: none !important;
  }
  html[data-website-id="2"][data-mirtekes-theme="1"] .mirtekes-shop-marker ~ #o_wsale_container .tp-product-item
.mirtekes-inline-variant-card.is-variant-open .tp-product-top {
    display: contents !important;
  }
}
