/* Header cart/account shortcodes */
.asw-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  background: transparent;
}

.asw-header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 34px;
  min-width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.asw-header-action:hover {
  color: #fff;
  opacity: 0.86;
  transform: translateY(-1px);
}

.asw-header-action-icon,
.asw-header-action-icon svg {
  display: block;
  width: 21px;
  height: 21px;
}

.asw-header-action-count {
  position: absolute;
  top: -6px;
  inset-inline-start: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #ffcf33;
  color: #111827;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(255, 207, 51, 0.34);
}

.asw-header-action-count[hidden] {
  display: none !important;
}

.asw-header-action-label {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.asw-header-action.has-label {
  width: auto;
  gap: 0.35rem;
  padding-inline: 0;
}
@media (max-width: 767px) {
  body.single-product .asw-pp-hero {
    margin-bottom: 10px;
  }
  .asw-header-action {
    width: 25px;
    min-width: 25px;
    height: 25px;
  }

  .asw-header-action-icon,
  .asw-header-action-icon svg {
    width: 18px;
    height: 18px;
  }

  .asw-header-action-count {
    top: -5px;
    inset-inline-start: -4px;
    min-width: 14px;
    height: 14px;
    padding: 0 0.17rem;
    font-size: 0.5rem;
    box-shadow: 0 2px 5px rgba(255, 207, 51, 0.3);
  }
}

body.asw-header-sheet-open {
  overflow: hidden;
}

.asw-header-sheet {
  position: fixed;
  inset: 0;
  z-index: 100000;
  direction: rtl;
  font-family: Cairo, Tajawal, sans-serif;
  color: var(--asw-text, #111827);
}

.asw-header-sheet[hidden] {
  display: none !important;
}

.asw-header-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.asw-header-sheet.is-closing .asw-header-sheet-overlay {
  opacity: 0;
}

.asw-header-sheet-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 560px);
  height: 80vh;
  max-height: 80vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.65rem 1rem
    calc(
      1rem + var(--asw-mobile-panel-height, 68px) +
        env(safe-area-inset-bottom, 0)
    );
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 -20px 52px rgba(15, 23, 42, 0.18);
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y;
  will-change: transform;
}

.asw-header-sheet.is-opening .asw-header-sheet-panel {
  animation: asw-header-sheet-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.asw-header-sheet.is-closing .asw-header-sheet-panel {
  transform: translateY(100%);
}

.asw-header-sheet.is-dragging .asw-header-sheet-panel {
  transition: none;
}

@keyframes asw-header-sheet-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.asw-header-sheet-handle {
  width: 40px;
  height: 5px;
  flex: 0 0 auto;
  margin: 0 auto 0.3rem;
  border-radius: 3px;
  background: rgba(17, 24, 39, 0.16);
  cursor: grab;
  touch-action: none;
}

.asw-header-sheet-handle:active {
  cursor: grabbing;
}


.asw-header-sheet-head {
  display: grid;
  gap: 0.15rem;
  flex: 0 0 auto;
  padding-inline-start: 2.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.11);
}

.asw-header-sheet-kicker {
  color: var(--asw-primary, #5e17eb);
  font-size: 0.7rem;
  font-weight: 900;
}

.asw-header-sheet-head h3 {
  margin: 0;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.25;
}

.asw-header-sheet-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 120px;
  overscroll-behavior: contain;
}

.asw-header-sheet-loading {
  display: grid;
  gap: 0.55rem;
  padding: 0.4rem 0;
}

.asw-header-sheet-loading span {
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eef2f7, #f8fafc, #eef2f7);
  background-size: 220% 100%;
  animation: asw-header-sheet-loading 1.1s linear infinite;
}

@keyframes asw-header-sheet-loading {
  from {
    background-position: 220% 0;
  }
  to {
    background-position: -220% 0;
  }
}

.asw-header-sheet-list {
  display: grid;
  gap: 0.55rem;
}

.asw-header-cart-sections {
  display: grid;
  gap: 0.7rem;
}

.asw-header-cart-section {
  display: grid;
  gap: 0.55rem;
  padding: 0.6rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #f8fafc;
}

.asw-header-cart-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.asw-header-cart-section-head div {
  display: grid;
  gap: 0.08rem;
}

.asw-header-cart-section-head span,
.asw-header-cart-section-head small {
  color: #6b7280;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.5;
}

.asw-header-cart-section-head strong {
  color: #111827;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.35;
}

.asw-header-cart-section-head small {
  max-width: 46%;
  text-align: end;
}

.asw-header-cart-containers {
  display: grid;
  gap: 0.58rem;
}

.asw-header-cart-container {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
}

.asw-header-cart-container--group_product {
  border-color: rgba(94, 23, 235, 0.22);
  background: color-mix(in srgb, var(--asw-primary, #5e17eb) 5%, #fff);
}

.asw-header-cart-container--group_store {
  border-color: rgba(245, 158, 11, 0.22);
  background: color-mix(in srgb, #f59e0b 6%, #fff);
}

.asw-header-cart-container--neighbor {
  border-color: rgba(22, 163, 74, 0.2);
  background: color-mix(in srgb, #16a34a 5%, #fff);
}

.asw-header-cart-container-head {
  display: grid;
  gap: 0.42rem;
}

.asw-header-cart-container-head strong,
.asw-header-cart-container-head span {
  display: block;
}

.asw-header-cart-container-head strong {
  color: #111827;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.35;
}

.asw-header-cart-container-head span {
  color: #6b7280;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.5;
}

.asw-header-cart-container-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.asw-header-cart-container-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.15rem 0.42rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.35;
}

.asw-header-cart-container-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.asw-header-cart-container-grid .asw-header-sheet-cart-item {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
}

.asw-header-cart-container-grid .asw-header-sheet-cart-side {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.asw-header-cart-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(94, 23, 235, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--asw-primary, #5e17eb);
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
}

.asw-header-sheet-cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: start;
  padding: 0.55rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
}

.asw-header-sheet-cart-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.asw-header-sheet-cart-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
}

.asw-header-sheet-cart-copy {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}

.asw-header-sheet-cart-name {
  color: #111827;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

.asw-header-sheet-cart-type {
  width: fit-content;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--asw-primary, #5e17eb) 9%, #fff);
  color: var(--asw-primary, #5e17eb);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.35;
}

.asw-header-sheet-cart-meta {
  color: #6b7280;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.55;
}

.asw-header-sheet-cart-meta dl,
.asw-header-sheet-cart-meta p {
  margin: 0;
}

.asw-header-sheet-cart-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.asw-header-sheet-cart-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.16rem 0.42rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #6b7280;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
}

.asw-header-sheet-cart-copy strong {
  color: var(--asw-primary, #5e17eb);
  font-size: 0.82rem;
  font-weight: 950;
}

.asw-header-sheet-cart-side {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
  min-width: 78px;
}

.asw-header-sheet-cart-side strong {
  color: var(--asw-primary, #5e17eb);
  font-size: 0.8rem;
  font-weight: 950;
  text-align: end;
}

.asw-header-sheet-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  color: #e11d48;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.asw-header-sheet-totals {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.asw-header-sheet-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
}

.asw-header-sheet-total--discount strong {
  color: #16a34a;
}

.asw-header-sheet-total--grand {
  background: #111827;
  color: #fff;
}

.asw-header-sheet-total span {
  font-size: 0.78rem;
  font-weight: 800;
}

.asw-header-sheet-total strong {
  font-size: 0.92rem;
  font-weight: 950;
}

.asw-header-sheet-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.asw-header-sheet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.asw-header-sheet-btn--primary {
  background: var(--asw-primary, #5e17eb);
  color: #fff;
}

.asw-header-sheet-btn--ghost {
  border-color: rgba(94, 23, 235, 0.22);
  background: color-mix(in srgb, var(--asw-primary, #5e17eb) 7%, #fff);
  color: var(--asw-primary, #5e17eb);
}

.asw-header-sheet-empty {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 0.2rem;
  text-align: center;
}

.asw-header-sheet-empty strong {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 950;
}

.asw-header-sheet-empty p {
  max-width: 360px;
  margin: 0 auto;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.7;
}

.asw-header-sheet-account {
  display: grid;
  gap: 0.7rem;
}

.asw-header-sheet-account-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #f8fafc;
}

.asw-header-sheet-account-head .asw-db-avatar,
.asw-header-sheet-account-head img.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.asw-header-sheet-account-head strong,
.asw-header-sheet-account-head span {
  display: block;
}

.asw-header-sheet-account-head strong {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 950;
}

.asw-header-sheet-account-head span {
  overflow: hidden;
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asw-header-sheet-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.asw-header-sheet-stats span {
  display: grid;
  gap: 0.12rem;
  min-height: 62px;
  padding: 0.65rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 800;
}

.asw-header-sheet-stats strong {
  color: var(--asw-primary, #5e17eb);
  font-size: 1rem;
  font-weight: 950;
}

.asw-header-sheet-links {
  display: grid;
  gap: 0.45rem;
}

.asw-header-sheet-links a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.asw-header-notifications {
  display: grid;
  gap: 0.65rem;
}

.asw-header-notifications-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: #f8fafc;
}

.asw-header-notifications-actions span {
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 850;
}

.asw-header-notifications-actions button {
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(94, 23, 235, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--asw-primary, #5e17eb);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.asw-header-notification-list {
  display: grid;
  gap: 0.5rem;
}

.asw-header-notification {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  text-decoration: none;
}

.asw-header-notification.is-unread {
  border-color: rgba(94, 23, 235, 0.18);
  background: color-mix(in srgb, var(--asw-primary, #5e17eb) 5%, #fff);
}

.asw-header-notification-dot {
  width: 9px;
  height: 9px;
  margin-top: 0.38rem;
  border-radius: 999px;
  background: rgba(107, 114, 128, 0.28);
}

.asw-header-notification.is-unread .asw-header-notification-dot {
  background: var(--asw-primary, #5e17eb);
  box-shadow: 0 0 0 4px
    color-mix(in srgb, var(--asw-primary, #5e17eb) 12%, transparent);
}

.asw-header-notification-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.asw-header-notification-copy strong {
  color: #111827;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.35;
}

.asw-header-notification-copy small {
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.55;
}

.asw-header-notification-copy em {
  color: #9ca3af;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 420px) {
  .asw-header-sheet-panel {
    height: 80vh;
    max-height: 80vh;
    padding-inline: 0.7rem;
  }

  .asw-header-cart-container-grid {
    grid-template-columns: 1fr;
  }

  .asw-header-sheet-cart-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .asw-header-cart-container-grid .asw-header-sheet-cart-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .asw-header-cart-section-head {
    display: grid;
  }

  .asw-header-cart-section-head small {
    max-width: none;
    text-align: start;
  }

  .asw-header-sheet-cart-side {
    min-width: 58px;
  }

  .asw-header-sheet-actions {
    flex-direction: column;
  }
}

/* Unified bottom-sheet shell shared by header, product, login and group flows. */
body.asw-any-sheet-open,
body.asw-login-sheet-open,
body.asw-guest-join-sheet-open,
body.asw-product-sheet-open,
body.asw-header-sheet-open,
body.asw-parts-sheet-open,
body.asw-savings-sheet-open,
body.asw-mi-canvas-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  body.asw-any-sheet-open .asw-mobile-panel,
  body.asw-login-sheet-open .asw-mobile-panel,
  body.asw-guest-join-sheet-open .asw-mobile-panel,
  body.asw-product-sheet-open .asw-mobile-panel,
  body.asw-header-sheet-open .asw-mobile-panel,
  body.asw-mobile-panel-sheet-open .asw-mobile-panel,
  body.asw-parts-sheet-open .asw-mobile-panel,
  body.asw-savings-sheet-open .asw-mobile-panel,
  body.asw-mi-canvas-open .asw-mobile-panel {
    transform: translateY(calc(100% + 12px)) !important;
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart.asw-mobile-panel-ready,
  body.asw-checkout-template.asw-mobile-panel-ready {
    padding-bottom: calc(
      var(--asw-mobile-panel-height, 68px) + 80px +
        env(safe-area-inset-bottom, 0)
    ) !important;
    --asw-sticky-cta-bottom: calc(
      var(--asw-mobile-panel-height, 68px) + 0.55rem +
        env(safe-area-inset-bottom, 0)
    );
  }

  body.asw-checkout-template.asw-mobile-panel-ready {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0)) !important;
    --asw-sticky-cta-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0));
  }

  body.asw-checkout-template.asw-mobile-panel-ready
    .asw-mobile-ui
    #asw-mobile-panel.asw-mobile-panel {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(calc(100% + 12px)) !important;
    pointer-events: none !important;
  }

  body.woocommerce-cart .asw-custom-cart,
  body.asw-checkout-template .asw-checkout-form {
    padding-bottom: 80px !important;
  }

  html:has(.asw-mobile-panel.is-hidden)
    body.woocommerce-cart.asw-mobile-panel-ready,
  html:has(.asw-mobile-panel.is-hidden)
    body.asw-checkout-template.asw-mobile-panel-ready {
    --asw-sticky-cta-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0));
  }

  body.woocommerce-cart.asw-mobile-panel-sheet-open,
  body.woocommerce-cart.asw-product-sheet-open,
  body.woocommerce-cart.asw-header-sheet-open,
  body.woocommerce-cart.asw-theme-offcanvas-open,
  body.asw-checkout-template.asw-mobile-panel-sheet-open,
  body.asw-checkout-template.asw-product-sheet-open,
  body.asw-checkout-template.asw-header-sheet-open,
  body.asw-checkout-template.asw-theme-offcanvas-open {
    --asw-sticky-cta-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0));
  }

  body .asw-mobile-sticky-cta-host {
    position: sticky !important;
    bottom: var(
      --asw-sticky-cta-bottom,
      calc(0.55rem + env(safe-area-inset-bottom, 0))
    ) !important;
    z-index: 9998 !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 0.5rem !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    transition:
      bottom 0.28s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.2s ease,
      background 0.2s ease !important;
    will-change: bottom, transform;
  }

  body.woocommerce-cart
    .asw-mobile-sticky-cta-host.asw-cart-floating-checkout-panel {
    position: fixed !important;
    right: max(0.75rem, env(safe-area-inset-right, 0)) !important;
    left: max(0.75rem, env(safe-area-inset-left, 0)) !important;
    bottom: var(
      --asw-sticky-cta-bottom,
      calc(
        var(--asw-mobile-panel-height, 68px) + 0.55rem +
          env(safe-area-inset-bottom, 0)
      )
    ) !important;
    z-index: 9998 !important;
    display: block !important;
    width: auto !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 0.5rem !important;
    transform: translateY(16px) scale(0.98) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.woocommerce-cart
    .asw-mobile-sticky-cta-host.asw-cart-floating-checkout-panel.is-visible {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.asw-checkout-template
    .asw-mobile-sticky-cta-host.asw-checkout-floating-order-panel {
    position: fixed !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: minmax(112px, 0.85fr) minmax(150px, 1.15fr) !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
    padding: 0.55rem max(0.7rem, env(safe-area-inset-right, 0))
      calc(0.55rem + env(safe-area-inset-bottom, 0))
      max(0.7rem, env(safe-area-inset-left, 0)) !important;
    border-width: 1px 0 0 !important;
    border-radius: 12px 12px 0 0 !important;
    transform: translateY(calc(100% + 16px)) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.asw-checkout-template
    .asw-mobile-sticky-cta-host.asw-checkout-floating-order-panel.is-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body .asw-mobile-sticky-cta-host > .asw-cart-summary-actions,
  body .asw-mobile-sticky-cta-host > .place-order,
  body .asw-mobile-sticky-cta-host > .asw-cart-floating-checkout-button,
  body .asw-mobile-sticky-cta-host > .asw-checkout-floating-order-button {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.asw-checkout-template
    .asw-checkout-floating-order-panel
    .asw-checkout-floating-order-summary {
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0.42rem 0.58rem !important;
    gap: 0.08rem 0.35rem !important;
    border-color: rgba(94, 23, 235, 0.16) !important;
    background: rgba(94, 23, 235, 0.055) !important;
  }

  body.asw-checkout-template
    .asw-checkout-floating-order-summary
    .asw-checkout-submit-summary-label {
    font-size: 0.67rem !important;
  }

  body.asw-checkout-template
    .asw-checkout-floating-order-summary
    .asw-checkout-submit-summary-total {
    font-size: 0.86rem !important;
  }

  body.asw-checkout-template
    .asw-checkout-floating-order-summary
    .asw-checkout-submit-summary-shipping {
    gap: 0.35rem !important;
    padding-top: 0 !important;
    padding-bottom: 0.16rem !important;
    font-size: 0.62rem !important;
  }

  body.asw-checkout-template
    .asw-checkout-floating-order-summary.is-updating::after {
    display: none !important;
  }

  body.woocommerce-cart
    .asw-custom-cart
    .asw-cart-summary-actions
    .asw-btn-checkout,
  body.woocommerce-cart .asw-cart-floating-checkout-button,
  body.asw-checkout-template #place_order,
  body.asw-checkout-template .asw-checkout-floating-order-button {
    width: 100% !important;
    min-height: 50px !important;
    border-radius: 8px !important;
    font-size: 0.98rem !important;
    line-height: 1.2 !important;
  }

  body.asw-checkout-template #payment .place-order {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
  }

  body.asw-checkout-template
    #payment
    .place-order
    .woocommerce-terms-and-conditions-wrapper {
    max-height: 64px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.72rem;
  }

  body.asw-checkout-template
    #payment
    .place-order
    .woocommerce-privacy-policy-text,
  body.asw-checkout-template
    #payment
    .place-order
    .woocommerce-terms-and-conditions-checkbox-text {
    font-size: 0.72rem;
    line-height: 1.45;
  }
}

body .asw-sh-sheet {
  position: fixed;
  inset: 0;
  z-index: var(--asw-sh-sheet-z, 10120);
  direction: rtl;
  color: var(--asw-text, #111827);
  font-family: Cairo, Tajawal, sans-serif;
  --asw-sh-sheet-width: 640px;
  --asw-sh-sheet-gap: 0.78rem;
  --asw-sh-sheet-min-height: auto;
  --asw-sh-sheet-max-height: min(92vh, 760px);
  --asw-sh-sheet-max-height-dvh: min(92dvh, 760px);
  --asw-sh-sheet-pad-x: 1rem;
  --asw-sh-sheet-pad-top: 0.65rem;
  --asw-sh-sheet-pad-bottom: 1rem;
}

body .asw-sh-sheet[hidden] {
  display: none !important;
}

body .asw-sh-sheet .asw-sh-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  transition: opacity 0.26s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body .asw-sh-sheet.is-open .asw-sh-sheet-overlay {
  opacity: var(
    --asw-sheet-overlay-opacity,
    var(
      --asw-savings-overlay-opacity,
      var(--asw-parts-overlay-opacity, var(--asw-mi-overlay-opacity, 1))
    )
  );
}

body .asw-sh-sheet.is-closing .asw-sh-sheet-overlay {
  opacity: 0;
}

body .asw-sh-sheet .asw-sh-sheet-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: var(--asw-sh-sheet-gap);
  width: min(100%, var(--asw-sh-sheet-width));
  height: auto;
  min-height: var(--asw-sh-sheet-min-height);
  max-height: var(--asw-sh-sheet-max-height);
  max-height: var(--asw-sh-sheet-max-height-dvh);
  margin: 0 auto;
  padding: var(--asw-sh-sheet-pad-top) var(--asw-sh-sheet-pad-x)
    calc(var(--asw-sh-sheet-pad-bottom) + env(safe-area-inset-bottom, 0));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 -18px 46px rgba(15, 23, 42, 0.18);
  transform: translateY(105%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y;
  will-change: transform;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body .asw-sh-sheet .asw-sh-sheet-body {
  scrollbar-width: none;
}

body .asw-sh-sheet .asw-sh-sheet-content::-webkit-scrollbar,
body .asw-sh-sheet .asw-sh-sheet-body::-webkit-scrollbar,
body .asw-header-sheet .asw-header-sheet-body::-webkit-scrollbar,
body .asw-header-sheet .asw-header-cart-simple-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body .asw-sh-sheet.is-open .asw-sh-sheet-content {
  transform: translateY(0);
}

body .asw-sh-sheet.is-opening .asw-sh-sheet-content {
  animation: asw-unified-sheet-up 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

body .asw-sh-sheet.is-closing .asw-sh-sheet-content {
  transform: translateY(105%);
}

body .asw-sh-sheet.is-dragging .asw-sh-sheet-content {
  transition: none !important;
}

@keyframes asw-unified-sheet-up {
  from {
    transform: translateY(105%);
  }
  to {
    transform: translateY(0);
  }
}

body .asw-sh-sheet .asw-sh-sheet-handle {
  width: 42px;
  height: 5px;
  flex: 0 0 auto;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.16);
  cursor: grab;
  touch-action: none;
}

body .asw-sh-sheet .asw-sh-sheet-handle:active {
  cursor: grabbing;
}

body .asw-sh-sheet .asw-sh-sheet-head {
  flex: 0 0 auto;
  padding-inline-start: 0;
}

body .asw-sh-sheet .asw-sh-sheet-foot {
  flex: 0 0 auto;
}

body .asw-header-sheet.asw-sh-sheet {
  --asw-sh-sheet-z: 100000;
  --asw-sh-sheet-width: 620px;
  --asw-sh-sheet-min-height: min(44vh, 360px);
  --asw-sh-sheet-max-height: min(88vh, 720px);
  --asw-sh-sheet-max-height-dvh: min(88dvh, 720px);
}

body .asw-product-sheet.asw-sh-sheet {
  --asw-sh-sheet-width: 720px;
  --asw-sh-sheet-min-height: 0;
  --asw-sh-sheet-max-height: min(86vh, 680px);
  --asw-sh-sheet-max-height-dvh: min(86dvh, 680px);
}

body .asw-product-sheet.asw-sh-sheet .asw-sh-sheet-content {
  height: auto !important;
  min-height: 0 !important;
  max-height: var(--asw-sh-sheet-max-height) !important;
  max-height: var(--asw-sh-sheet-max-height-dvh) !important;
}

body .asw-header-sheet.asw-sh-sheet .asw-sh-sheet-content {
  overflow: hidden;
}

body .asw-header-sheet .asw-header-sheet-body {
  min-height: 0;
  scrollbar-width: none;
}

body .asw-header-sheet.is-cart .asw-header-sheet-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}

body .asw-header-sheet.is-cart .asw-header-sheet-cart {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

body .asw-header-sheet.is-cart .asw-header-cart-simple {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

body .asw-header-sheet.is-cart .asw-header-cart-simple-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body .asw-header-sheet.is-cart .asw-header-cart-coupon,
body .asw-header-sheet.is-cart .asw-header-sheet-totals,
body .asw-header-sheet.is-cart .asw-header-sheet-actions {
  flex: 0 0 auto;
}

body .asw-login-sheet.asw-sh-sheet {
  --asw-sh-sheet-width: 520px;
  --asw-sh-sheet-max-height: min(88vh, 700px);
  --asw-sh-sheet-max-height-dvh: min(88dvh, 700px);
}

body .asw-guest-join-sheet.asw-sh-sheet {
  --asw-sh-sheet-width: 560px;
  --asw-sh-sheet-max-height: min(90vh, 720px);
  --asw-sh-sheet-max-height-dvh: min(90dvh, 720px);
}

body .asw-savings-sheet.asw-sh-sheet {
  --asw-sh-sheet-width: 620px;
  --asw-sh-sheet-min-height: auto;
  --asw-sh-sheet-max-height: min(76vh, 620px);
  --asw-sh-sheet-max-height-dvh: min(76dvh, 620px);
}

body .asw-parts-sheet.asw-sh-sheet {
  --asw-sh-sheet-width: 720px;
  --asw-sh-sheet-min-height: min(52vh, 500px);
  --asw-sh-sheet-max-height: min(92vh, 760px);
  --asw-sh-sheet-max-height-dvh: min(92dvh, 760px);
}

@media (min-width: 768px) {
  body .asw-sh-sheet .asw-sh-sheet-content {
    bottom: 16px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 8px;
  }
}

@media (max-width: 420px) {
  body .asw-header-sheet.asw-sh-sheet {
    --asw-sh-sheet-min-height: min(54vh, 430px);
    --asw-sh-sheet-max-height: min(90vh, 720px);
    --asw-sh-sheet-max-height-dvh: min(90dvh, 720px);
    --asw-sh-sheet-pad-x: 0.7rem;
  }
}

/* Variable products UX polish */
body .asw-sh-pcard {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.045) !important;
}
body .asw-sh-pcard:hover {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.075) !important;
}
body .asw-variation-swatches {
  gap: 7px;
  padding: 4px 4px 8px;
}
body .asw-variation-swatches--card {
  margin: 2px 10px 0;
  min-height: 43px;
}
body .asw-variation-swatch {
  position: relative;
  width: 30px;
  height: 30px;
  min-width: 30px;
  max-width: 30px;
  padding: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #e8ebf0;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}
body .asw-variation-swatch img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
body .asw-variation-swatch span {
  font-size: 0;
}
body .asw-variation-swatch.is-active {
  border-color: #6d28d9;
  box-shadow:
    0 0 0 3px rgba(109, 40, 217, 0.18),
    0 3px 9px rgba(15, 23, 42, 0.1);
  transform: none;
}
body .asw-variation-swatch.is-disabled,
body .asw-variation-swatch:disabled {
  opacity: 0.38;
  filter: grayscale(1);
  box-shadow: none;
}
body .asw-variation-swatch.is-disabled::after,
body .asw-variation-swatch:disabled::after {
  content: "";
  position: absolute;
  inset: 50% 5px auto;
  height: 2px;
  background: rgba(30, 41, 59, 0.55);
  transform: rotate(-35deg);
}
body .asw-product-sheet-variations {
  padding: 2px 14px 12px;
  border-bottom: 0;
}
body .asw-product-sheet-variations > strong,
body .asw-pp-variation-strip > strong {
  display: none !important;
}
body .asw-variation-swatches--sheet .asw-variation-swatch,
body .asw-variation-swatches--product .asw-variation-swatch {
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
}

/* Simplified product page */
body.single-product .asw-pp-shell {
  padding-top: 8px;
}
body.single-product .asw-pp-hero {
  gap: 16px;
}
body.single-product .asw-pp-gallery,
body.single-product .asw-pp-summary,
body.single-product .asw-pp-buybox,
body.single-product .asw-pp-detail-section,
body.single-product .asw-pp-related {
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.045) !important;
}
body.single-product .asw-pp-summary {
  gap: 8px;
  padding-top: 12px;
}
body.single-product .asw-pp-title {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem) !important;
  line-height: 1.35;
  margin-bottom: 0;
}
body.single-product .asw-pp-rating-row {
  min-height: 0;
  font-size: 0.76rem;
  color: #8a8f98;
}
body.single-product .asw-pp-rating-row:empty {
  display: none;
}
body.single-product .asw-pp-price {
  margin: 0 !important;
  padding: 0 !important;
  color: #111827;
  font-size: clamp(1.75rem, 4vw, 2.45rem) !important;
  font-weight: 950;
  line-height: 1.05;
}
body.single-product .asw-pp-price .amount,
body.single-product .asw-pp-price bdi {
  font-size: inherit;
  font-weight: inherit;
}
body.single-product .asw-pp-price del {
  font-size: 0.9rem;
  opacity: 0.42;
}
body.single-product .asw-pp-price del,
body.single-product .asw-pp-price del .amount,
body.single-product .asw-pp-price del bdi {
  color: #8f98a6 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(100, 116, 139, 0.7);
}
body.single-product .asw-pp-price ins,
body.single-product .asw-pp-price ins .amount,
body.single-product .asw-pp-price ins bdi {
  color: #111827 !important;
  font-size: inherit !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}
body.single-product .asw-pp-price .price,
body.single-product .asw-pp-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}
body .asw-sh-pcard-prices del,
body .asw-product-sheet-prices del,
body .asw-sh-pcard-prices del .amount,
body .asw-product-sheet-prices del .amount,
body .asw-sh-pcard-prices del bdi,
body .asw-product-sheet-prices del bdi {
  color: #9aa3af !important;
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  text-decoration: line-through;
  text-decoration-thickness: 1.4px;
  text-decoration-color: rgba(100, 116, 139, 0.68);
}
body .asw-sh-pcard-prices ins,
body .asw-product-sheet-prices ins,
body .asw-sh-pcard-prices ins .amount,
body .asw-product-sheet-prices ins .amount,
body .asw-sh-pcard-prices ins bdi,
body .asw-product-sheet-prices ins bdi {
  color: #111827 !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}
body.single-product .asw-pp-short,
body.single-product .asw-pp-content {
  color: #5f6875;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.75;
}
body.single-product .asw-pp-short p,
body.single-product .asw-pp-content p {
  margin: 0 0 0.55rem;
}
body.single-product .asw-pp-buybox {
  margin-top: 4px;
  padding: 12px;
  border-color: #eceef3;
}
body.single-product .asw-pp-buybox-head {
  margin-bottom: 8px;
}
body.single-product .asw-pp-buybox-head strong {
  font-size: 0.88rem;
}
body.single-product .asw-pp-buybox-head span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #8a8f98;
}

.asw-pp-buybox--out-of-stock {
  border-color: #fecaca !important;
  background: #fffafa;
}

.asw-pp-stock-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 900;
}

.asw-product-sheet.is-out-of-stock .asw-product-sheet-btn,
.asw-product-sheet .asw-product-sheet-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

/* Dashboard-configurable out-of-stock product-card badge. */
.asw-sh-scope .asw-sh-pcard-badge.oos.asw-oos-badge,
.asw-product-sheet .asw-sh-pcard-badge.oos.asw-oos-badge {
  border: 0;
  background: var(--asw-oos-color, #dc2626);
  color: var(--asw-oos-text-color, #fff);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 5px 14px
    color-mix(in srgb, var(--asw-oos-color, #dc2626) 32%, transparent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.asw-sh-scope .asw-oos-badge.asw-oos-style-ribbon {
  width: 7.5rem;
  min-height: 1.65rem;
  justify-content: center;
  margin-top: 0.15rem;
  margin-inline-end: -1.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 2px;
  font-size: 0.64rem;
  transform: rotate(12deg);
  transform-origin: center;
}

.asw-sh-scope .asw-oos-badge.asw-oos-style-corner {
  min-width: 5.8rem;
  min-height: 2.15rem;
  justify-content: center;
  margin-top: -0.5rem;
  margin-inline-end: -0.5rem;
  padding: 0.45rem 0.7rem 0.35rem;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 78%);
  font-size: 0.62rem;
}

.asw-sh-scope .asw-oos-badge.asw-oos-style-pill {
  padding: 0.3rem 0.68rem;
  border-radius: 999px;
  font-size: 0.64rem;
}

.asw-sh-scope .asw-oos-badge.asw-oos-style-bar {
  min-width: 7.4rem;
  justify-content: center;
  margin-inline-end: -0.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: 5px 0 0 5px;
  font-size: 0.64rem;
}

.asw-product-sheet .asw-oos-badge.asw-oos-style-ribbon,
.asw-product-sheet .asw-oos-badge.asw-oos-style-corner,
.asw-product-sheet .asw-oos-badge.asw-oos-style-pill,
.asw-product-sheet .asw-oos-badge.asw-oos-style-bar {
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  clip-path: none;
  transform: none;
}
body.single-product .asw-pp-buybox .quantity {
  border: 1px solid #e2e6ee;
  border-radius: 999px;
  background: #f8fafc;
  min-height: 42px;
}
body.single-product .asw-pp-buybox .quantity::before {
  padding: 0 13px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #111827;
}
body.single-product .asw-pp-buybox .quantity input.qty {
  width: 54px;
  min-height: 40px;
  background: transparent;
  font-size: 0.98rem;
}
body.single-product
  .asw-pp-buybox
  .quantity
  input.qty::-webkit-outer-spin-button,
body.single-product
  .asw-pp-buybox
  .quantity
  input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
body.single-product .asw-pp-buybox .quantity input.qty {
  -moz-appearance: textfield;
}
body.single-product .asw-pp-buybox .quantity .minus,
body.single-product .asw-pp-buybox .quantity .plus,
body.single-product .asw-pp-buybox .quantity button {
  width: 34px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #6d28d9;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: none;
}
body.single-product .asw-pp-buybox .single_add_to_cart_button {
  min-height: 44px;
  border-radius: 8px !important;
  box-shadow: 0 7px 15px rgba(109, 40, 217, 0.16) !important;
}
body.single-product .asw-pp-buybox .asw-pp-buy-now,
body.single-product .asw-pp-buybox .asw-pp-cart-link {
  min-height: 40px;
  font-size: 0.82rem;
  box-shadow: none;
}
body.single-product .asw-pp-buybox .variations {
  display: none;
}
body.single-product .asw-pp-variation-strip {
  margin-top: 8px;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.035);
}
body.single-product .asw-trust-strip,
body.single-product .asw-pp-trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 6px 0 0;
  background: transparent;
  border: 0;
}
body.single-product .asw-trust-strip span,
body.single-product .asw-pp-trust-strip span {
  min-height: auto;
  padding: 0;
  color: #7d8794;
  background: transparent;
  border: 0;
  font-size: 0.7rem;
  font-weight: 500;
}
body.single-product .asw-trust-strip i,
body.single-product .asw-pp-trust-strip i {
  width: 16px;
  height: 16px;
  font-size: 0.65rem;
  opacity: 0.75;
}
body.single-product .asw-pp-detail-section {
  padding: 12px;
}
body.single-product .asw-pp-section-head span {
  display: none;
}
body.single-product .asw-pp-section-head h2 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}
body.single-product .asw-pp-related {
  margin-top: 12px;
  padding: 12px;
}
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product .compare,
body.single-product .xstore-compare,
body.single-product .xstore-wishlist,
body.single-product a[href*="compare"],
body.single-product a[href*="wishlist"],
body.single-product .single-product-builder-wishlist,
body.single-product .single-product-builder-compare {
  display: none !important;
}

/* Guard against clipped Arabic labels after asset-loading optimizations. */
body .asw-btn,
body button.asw-btn,
body a.asw-btn,
body .asw-btn-primary,
body .asw-btn-outline,
body .asw-btn-checkout,
body .asw-btn-full,
body .asw-cart-summary-actions .asw-btn,
body .asw-custom-cart .asw-btn,
body .woocommerce-cart-form .button,
body.woocommerce-cart .button {
  min-width: 0;
  min-height: 40px;
  height: auto;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

body .asw-btn-full,
body .asw-btn-checkout,
body .asw-cart-summary-actions .asw-btn,
body .asw-custom-cart .asw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
