/*
 * AsanWP Market — Single Product UI
 * WooCommerce owns commerce logic; AsanWP Market owns presentation.
 */

html.awp-lightbox-open,
html.awp-lightbox-open body,
body.awp-purchase-open {
  overflow: hidden;
}

body.single-product {
  background: var(--awp-bg);
}

body.single-product .awp-product-page {
  width: 100%;
  padding-block: 18px 86px;
  background: var(--awp-bg);
}

body.single-product #awp-market-product-shell > .woocommerce-breadcrumb {
  margin: 0 0 12px;
  padding: 0;
  color: #8a8f96;
  font-size: 13px;
  line-height: 1.9;
}

body.single-product #awp-market-product-shell > .woocommerce-breadcrumb a {
  color: #61666e;
}

body.single-product #awp-market-product-shell > .woocommerce-breadcrumb a:hover {
  color: var(--awp-ink);
}

body.single-product .awp-rtl-product {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* Product heading */
body.single-product .awp-rtl-product-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 14px;
  padding: 2px 0 16px;
  border-bottom: 1px solid var(--awp-border);
}

.awp-rtl-product-head-main {
  min-width: 0;
  flex: 1;
}

.awp-rtl-product-title-chips {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 auto;
}

.awp-rtl-product-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #eadb8f;
  border-radius: 8px;
  background: var(--awp-primary-soft);
  color: #6f5c00;
  font-size: 12px;
  font-weight: 850;
}

.awp-rtl-product-kicker.is-featured {
  border-color: #dbe7ff;
  background: #eff5ff;
  color: #315b91;
}

.awp-rtl-product-kicker.is-sale {
  border-color: #ffd8d8;
  background: #fff1f1;
  color: #a12b2b;
}

.awp-rtl-product-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

body.single-product .awp-rtl-product .product_title {
  margin: 0;
  color: var(--awp-ink);
  font-size: clamp(27px, 1.75vw, 33px);
  font-weight: 950;
  line-height: 1.38;
  letter-spacing: -.025em;
}

.awp-rtl-version-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  padding: 0 12px;
  border: 1px solid var(--awp-border);
  border-radius: 8px;
  background: var(--awp-surface);
  color: #737881;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.awp-rtl-product-head-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  color: #858a92;
  font-size: 13px;
}

.awp-rtl-product-head-meta > span {
  display: inline-flex;
  align-items: center;
}

.awp-rtl-product-head-meta > span:not(:last-child)::after {
  content: "•";
  margin: 0 10px;
  color: #c4c8cd;
}


/* Desktop layout */
body.single-product .awp-rtl-product-layout {
  display: grid;
  grid-template-columns: var(--awp-product-sidebar) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  direction: rtl;
}

.awp-rtl-product-sidebar {
  position: sticky;
  top: 126px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  min-width: 0;
}

.admin-bar .awp-rtl-product-sidebar {
  top: 158px;
}

.awp-rtl-product-maincol {
  min-width: 0;
  width: 100%;
}

.awp-rtl-buy-card,
.awp-rtl-seller-card,
.awp-rtl-product-facts,
.awp-rtl-preview-card,
.awp-rtl-tabs-shell .woocommerce-tabs .panel,
.awp-rtl-changelog-card,
.awp-rtl-consult-card,
.awp-rtl-metrics-bar,
.awp-rtl-product-lead,
.awp-rtl-product-maincol > .up-sells.products,
.awp-rtl-product-maincol > .related.products {
  border: 1px solid var(--awp-border);
  background: var(--awp-surface);
  box-shadow: 0 2px 10px rgba(17, 24, 39, .035);
}

/* Timed special offer */
.awp-amazing-offer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 17px 20px 20px;
  border: 1px solid #ead77d;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffdf2 0%, var(--awp-primary-soft) 100%);
  box-shadow: 0 2px 10px rgba(17, 24, 39, .025);
}

.awp-amazing-offer-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.awp-amazing-offer-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--awp-ink);
  color: var(--awp-primary);
}
.awp-amazing-offer-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; }

.awp-amazing-offer-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.awp-amazing-offer-copy > span {
  color: #8a6f00;
  font-size: 12px;
  font-weight: 850;
}
.awp-amazing-offer-copy > strong {
  color: var(--awp-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.8;
}

.awp-amazing-offer-time {
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}
.awp-amazing-offer-time-label {
  color: #756000;
  font-size: 11.5px;
  font-weight: 800;
}
.awp-amazing-offer-countdown {
  display: flex;
  align-items: center;
  direction: ltr;
}
.awp-amazing-offer-countdown > span {
  display: grid;
  min-width: 48px;
  min-height: 50px;
  place-items: center;
  padding: 4px 6px;
  border: 1px solid rgba(90, 72, 0, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 2px 7px rgba(39, 31, 0, .04);
}
.awp-amazing-offer-countdown b {
  color: #17191c;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.1;
}
.awp-amazing-offer-countdown small {
  color: #8c7b32;
  font-size: 9.5px;
  line-height: 1.2;
}
.awp-amazing-offer-countdown > i {
  margin-inline: 4px;
  color: #9b8441;
  font-size: 17px;
  font-style: normal;
  font-weight: 800;
}
.awp-amazing-offer-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(114, 89, 0, .08);
}
.awp-amazing-offer-progress > span {
  display: block;
  height: 100%;
  margin-inline-start: auto;
  border-radius: 999px;
  background: var(--awp-primary);
  transition: width .8s linear;
}

/* Preview & gallery */
.awp-rtl-preview-card {
  overflow: hidden;
  border: 1px solid var(--awp-border);
  border-radius: 14px;
  background: var(--awp-surface);
}


.awp-product-gallery {
  --awp-gallery-aspect: 16 / 9;
  --awp-gallery-mobile-aspect: 16 / 9;
  --awp-gallery-fit: contain;
  --awp-gallery-thumb-size: 92px;
  --awp-gallery-mobile-thumb-size: 74px;
  --awp-gallery-radius: 0px;
  --awp-gallery-bg: #fff;
  --awp-lightbox-opacity: .9;
  --awp-lightbox-radius: 10px;
  --awp-lightbox-max-width: 1500px;
  --awp-lightbox-fit: contain;
  width: 100%;
  background: var(--awp-surface);
}

.awp-product-gallery-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--awp-gallery-aspect);
  border-radius: var(--awp-gallery-radius);
  background: var(--awp-gallery-bg);
}

.awp-gallery-main {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.awp-product-gallery.is-lightbox-disabled .awp-gallery-main { cursor: default; }

.awp-gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--awp-gallery-fit);
  object-position: center;
  transition: opacity .18s ease, transform .2s ease;
}

.awp-product-gallery.has-hover-zoom .awp-gallery-main:hover img { transform: scale(1.003); }

.awp-product-gallery.is-aspect-auto .awp-product-gallery-stage { aspect-ratio: auto; }
.awp-product-gallery.is-aspect-auto .awp-gallery-main,
.awp-product-gallery.is-aspect-auto .awp-gallery-main img { height: auto; }
.awp-product-gallery.is-aspect-auto .awp-gallery-main img { max-height: 760px; }

.awp-gallery-expand {
  position: absolute;
  top: 15px;
  inset-inline-end: 15px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 10px;
  background: rgba(19,23,29,.62);
  color: #fff;
  backdrop-filter: blur(7px);
  pointer-events: none;
}

.awp-gallery-expand svg,
.awp-gallery-nav svg,
.awp-gallery-lightbox-nav svg,
.awp-gallery-lightbox-close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.awp-gallery-expand svg { width: 18px; height: 18px; }

.awp-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(19,23,29,.62);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(7px);
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.awp-gallery-nav:hover:not(:disabled) { background: #171b21; transform: scale(1.04); }
.awp-gallery-nav:disabled,
.awp-gallery-lightbox-nav:disabled { opacity: .3; cursor: default; }
.awp-gallery-prev { inset-inline-start: 15px; }
.awp-gallery-next { inset-inline-end: 15px; }
.awp-gallery-nav svg { width: 19px; height: 19px; }

html[dir="rtl"] .awp-gallery-prev svg,
html[dir="rtl"] .awp-gallery-next svg,
html[dir="rtl"] .awp-gallery-lightbox-nav.is-prev svg,
html[dir="rtl"] .awp-gallery-lightbox-nav.is-next svg { transform: scaleX(-1); }

.awp-gallery-counter {
  position: absolute;
  inset-inline-start: 15px;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 31px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(19,23,29,.72);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.awp-gallery-counter i,
.awp-gallery-lightbox-counter i { font-style: normal; opacity: .5; }

.awp-product-gallery-thumbs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 14px;
  border-top: 1px solid #eef0f2;
  background: var(--awp-surface);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.awp-gallery-thumb {
  flex: 0 0 var(--awp-gallery-thumb-size);
  width: var(--awp-gallery-thumb-size);
  aspect-ratio: 46 / 31;
  padding: 2px;
  border: 1px solid #e1e4e8;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.awp-gallery-thumb:hover { border-color: #b9bec5; }
.awp-gallery-thumb.is-active { border-color: var(--awp-ink); box-shadow: 0 0 0 1px var(--awp-ink); }
.awp-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

.awp-gallery-lightbox[hidden] { display: none; }
.awp-gallery-lightbox { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 28px; }
.awp-gallery-lightbox-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(8,10,14,var(--awp-lightbox-opacity)); cursor: zoom-out; }
.awp-gallery-lightbox-backdrop:not(button) { cursor: default; }
.awp-gallery-lightbox-panel { position: relative; z-index: 1; display: grid; place-items: center; width: min(var(--awp-lightbox-max-width),94vw); height: min(900px,90vh); outline: 0; }
.awp-gallery-lightbox-panel > img { display: block; width: 100%; height: 100%; object-fit: var(--awp-lightbox-fit); object-position: center; border-radius: var(--awp-lightbox-radius); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.awp-gallery-lightbox-close,
.awp-gallery-lightbox-nav { position: fixed; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.awp-gallery-lightbox-close { top: 20px; inset-inline-end: 20px; width: 44px; height: 44px; }
.awp-gallery-lightbox-nav { top: 50%; width: 50px; height: 50px; margin-top: -25px; transition: opacity .18s ease, background .18s ease; }
.awp-gallery-lightbox-nav:hover:not(:disabled) { background: rgba(255,255,255,.18); }
.awp-gallery-lightbox-nav.is-prev { inset-inline-start: 22px; }
.awp-gallery-lightbox-nav.is-next { inset-inline-end: 22px; }
.awp-gallery-lightbox-close svg { width: 21px; height: 21px; }
.awp-gallery-lightbox-nav svg { width: 22px; height: 22px; }
.awp-gallery-lightbox-counter { position: fixed; z-index: 2; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(0,0,0,.34); color: #fff; font-size: 12px; font-weight: 800; transform: translateX(-50%); backdrop-filter: blur(6px); }

/* Purchase card */
.awp-rtl-buy-card {
  overflow: hidden;
  border-radius: 14px;
}

.awp-rtl-buy-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 19px;
  border-bottom: 1px solid var(--awp-border);
}

.awp-rtl-buy-card-head > div { display: flex; flex-direction: column; line-height: 1.55; }
.awp-rtl-buy-card-head small { color: #92979e; font-size: 11.5px; }
.awp-rtl-buy-card-head strong { color: #23272d; font-size: 18px; font-weight: 950; }
.awp-rtl-buy-card-head > span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; background: #f3f4f5; color: #555b63; font-size: 11px; font-weight: 850; }
.awp-rtl-buy-card-head > span svg { width: 15px; height: 15px; }
.awp-mobile-purchase-close { display: none; }

.awp-rtl-commerce-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin: 16px 19px 0;
  border: 1px solid var(--awp-border);
  border-radius: 10px;
  overflow: hidden;
}

.awp-rtl-commerce-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 10px 5px;
  text-align: center;
}

.awp-rtl-commerce-stats > div:not(:last-child) { border-left: 1px solid var(--awp-border); }
.awp-rtl-commerce-stats strong { color: #252a30; font-size: 19px; font-weight: 950; line-height: 1.3; }
.awp-rtl-commerce-stats span { margin-top: 5px; color: #8b9097; font-size: 11.5px; }

.awp-rtl-support-satisfaction,
.awp-rtl-buy-updated {
  margin: 10px 19px 0;
  border: 1px solid var(--awp-border);
  border-radius: 9px;
  background: #fafbfc;
}

.awp-rtl-support-satisfaction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  color: #787e86;
  font-size: 12.5px;
}
.awp-rtl-support-satisfaction strong { color: #333840; font-size: 14px; }

.awp-rtl-buy-updated {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}
.awp-rtl-buy-updated > svg { width: 20px; height: 20px; flex: 0 0 20px; color: #6f757d; }
.awp-rtl-buy-updated > span { display: flex; flex-direction: column; line-height: 1.5; }
.awp-rtl-buy-updated small { color: #989da4; font-size: 11.5px; }
.awp-rtl-buy-updated strong { color: #3c4249; font-size: 12.5px; }

.awp-rtl-buy-benefits-wrap { padding: 17px 19px 0; }
.awp-rtl-buy-benefits { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.awp-rtl-buy-benefits li { display: flex; align-items: flex-start; gap: 9px; color: #4f555d; font-size: 13.5px; line-height: 1.8; }
.awp-rtl-buy-benefits li svg { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; color: #7d8b00; stroke: currentColor; }

.awp-rtl-lifetime-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 19px 0;
  padding: 13px;
  border: 1px solid #ead98b;
  border-radius: 9px;
  background: #fff8d5;
  color: #655800;
  font-size: 12.5px;
  line-height: 1.75;
}
.awp-rtl-lifetime-note svg { width: 20px; height: 20px; flex: 0 0 20px; }

.awp-rtl-price-block { margin-top: 17px; padding: 17px 19px 0; border-top: 1px solid var(--awp-border); }
.awp-rtl-price-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.awp-rtl-price-label { color: #858b92; font-size: 12px; }
.awp-rtl-price-heading em { padding: 4px 8px; border-radius: 7px; background: #ffe7e7; color: #a52424; font-size: 11px; font-style: normal; font-weight: 850; }
.awp-rtl-price-block .price { display: flex; align-items: baseline; gap: 7px; margin: 0; color: #242930; font-size: 29px; font-weight: 950; line-height: 1.6; }
.awp-rtl-price-block .price del { color: #969ba2; font-size: 13px; font-weight: 600; opacity: 1; }
.awp-rtl-price-block .price ins { text-decoration: none; }

.awp-rtl-cart-wrap { width: 100%; margin-top: 12px; padding: 0 19px; }
.awp-rtl-cart-wrap form.cart { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; width: 100%; margin: 0; padding: 0; border: 0; }
.awp-rtl-cart-wrap form.cart::before,
.awp-rtl-cart-wrap form.cart::after { display: none; }
.awp-rtl-cart-wrap .quantity { display: block; float: none; width: 88px; margin: 0; justify-self: start; }
.awp-rtl-cart-wrap .quantity .qty { display: block; width: 100%; height: 48px; margin: 0; padding: 0 8px; border: 1px solid #dfe3e7; border-radius: 9px; background: #fff; color: #2d3238; font-size: 13px; text-align: center; outline: 0; }
.awp-rtl-cart-wrap .single_add_to_cart_button { display: flex; align-items: center; justify-content: center; float: none; grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 54px; margin: 0; padding: 0 18px; border: 0; border-radius: 9px; background: var(--awp-ink); color: #fff; font-size: 14.5px; font-weight: 900; line-height: 1; cursor: pointer; box-shadow: none; transition: transform .18s ease, background .18s ease; }
.awp-rtl-cart-wrap .single_add_to_cart_button:hover { background: #050607; transform: translateY(-1px); }
.awp-rtl-cart-wrap .single_add_to_cart_button.disabled,
.awp-rtl-cart-wrap .single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.awp-rtl-demo-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 49px; margin: 9px 19px 0; border: 1px solid #e0bd00; border-radius: 9px; background: #fff8d5; color: #2d2700; font-size: 12.5px; font-weight: 900; box-shadow: 0 5px 16px rgba(138,112,0,.08); transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
.awp-rtl-demo-secondary:hover { border-color: var(--awp-primary); background: var(--awp-primary); color: #111318; transform: translateY(-1px); box-shadow: 0 7px 20px rgba(138,112,0,.14); }
.awp-rtl-demo-secondary:focus-visible { outline: 2px solid #111318; outline-offset: 2px; }
.awp-rtl-demo-secondary svg { width: 17px; height: 17px; stroke-width: 2; }

.awp-rtl-secure-note { display: flex; align-items: center; gap: 10px; margin: 16px 19px 0; padding: 15px 0 18px; border-top: 1px solid var(--awp-border); }
.awp-rtl-secure-note > svg { width: 38px; height: 38px; padding: 9px; border-radius: 9px; background: #f4f5f6; flex: 0 0 38px; }
.awp-rtl-secure-note > span { display: flex; flex-direction: column; line-height: 1.65; }
.awp-rtl-secure-note strong { font-size: 13px; }
.awp-rtl-secure-note small { color: #9499a0; font-size: 11px; line-height: 1.7; }

/* Sidebar secondary cards */
.awp-rtl-seller-card,
.awp-rtl-product-facts { border-radius: 14px; padding: 17px; }
.awp-rtl-seller-head { display: grid; grid-template-columns: 50px 1fr 24px; align-items: center; gap: 11px; }
.awp-rtl-seller-logo { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 11px; background: var(--awp-primary); color: #17191c; font-size: 22px; font-weight: 950; }
.awp-rtl-seller-head > div { display: flex; flex-direction: column; }
.awp-rtl-seller-head small { color: #989da4; font-size: 11.5px; }
.awp-rtl-seller-head strong { font-size: 15.5px; }
.awp-rtl-verified { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eef5da; color: #6f7b00; }
.awp-rtl-verified svg { width: 14px; height: 14px; }
.awp-rtl-seller-card p { margin: 12px 0; color: #717780; font-size: 12.5px; line-height: 2; }
.awp-rtl-seller-response { display: flex; align-items: center; gap: 9px; padding: 11px; border-radius: 9px; background: #f7f8f9; }
.awp-rtl-seller-response svg { width: 18px; height: 18px; }
.awp-rtl-seller-response > span { display: flex; flex-direction: column; }
.awp-rtl-seller-response small { color: #92979d; font-size: 11.5px; }
.awp-rtl-seller-response strong { font-size: 12.5px; }
.awp-rtl-seller-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px; }
.awp-rtl-seller-meta span { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; border: 1px solid var(--awp-border); border-radius: 8px; }
.awp-rtl-seller-meta svg { width: 15px; height: 15px; }
.awp-rtl-seller-meta b { font-size: 11px; }
.awp-rtl-product-facts h3 { margin: 0 0 9px; font-size: 16px; }
.awp-rtl-product-facts > div { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 10px; align-items: center; min-height: 43px; border-top: 1px solid #eef0f2; font-size: 12.5px; }
.awp-rtl-product-facts > div > span { color: #92979e; }
.awp-rtl-product-facts strong { min-width: 0; color: #444a51; font-size: 12.5px; font-weight: 800; word-break: break-word; }
.awp-rtl-product-facts a { color: #365f89; }

/* Product metrics and intro */
.awp-rtl-metrics-bar { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 14px; border-radius: 13px; overflow: hidden; }
.awp-rtl-metrics-bar > div { display: flex; align-items: center; gap: 11px; min-height: 90px; padding: 14px 15px; }
.awp-rtl-metrics-bar > div:not(:last-child) { border-left: 1px solid var(--awp-border); }
.awp-rtl-metric-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #f5f6f7; color: #565c64; flex: 0 0 40px; }
.awp-rtl-metric-icon svg { width: 18px; height: 18px; }
.awp-rtl-metrics-bar > div > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.awp-rtl-metrics-bar strong { color: #333940; font-size: 13.5px; }
.awp-rtl-metrics-bar small { margin-top: 3px; color: #969ba2; font-size: 11.5px; }
.awp-rtl-product-lead { margin-top: 14px; padding: 20px 22px; border-radius: 13px; color: #5f656d; font-size: 14.5px; line-height: 2.15; }
.awp-rtl-product-lead p { margin: 0; }

/* Tabs and long-form content */
.awp-rtl-tabs-shell { margin-top: 15px; }
.awp-rtl-tabs-shell .woocommerce-tabs { margin: 0; padding: 0; }
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs {
  position: sticky;
  top: 104px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 3px;
  overflow-x: auto;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--awp-border);
  border-radius: 13px 13px 0 0;
  background: rgba(255,255,255,.97);
  list-style: none;
  white-space: nowrap;
  scrollbar-width: none;
  backdrop-filter: blur(10px);
}
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.admin-bar .awp-rtl-tabs-shell .woocommerce-tabs ul.tabs { top: 136px; }
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs::before,
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs::after,
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs li::before,
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs li::after { display: none; content: none; }
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs li { display: block; flex: 0 0 auto; margin: 0; padding: 0; border: 0; background: transparent; }
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs li a { display: block; padding: 18px 15px 15px; border-bottom: 3px solid transparent; color: #717780; font-size: 13.5px; font-weight: 850; text-decoration: none; }
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs li a:hover { color: var(--awp-ink); }
.awp-rtl-tabs-shell .woocommerce-tabs ul.tabs li.active a { border-bottom-color: var(--awp-primary); color: var(--awp-ink); }

.awp-rtl-tabs-shell .woocommerce-tabs .panel {
  display: block;
  margin: -1px 0 0;
  padding: clamp(28px, 3vw, 42px);
  border-radius: 0 0 13px 13px;
  color: #4d545c;
  font-size: 16px;
  line-height: 2.2;
  overflow-wrap: anywhere;
}
.awp-js .awp-rtl-tabs-shell .woocommerce-tabs .panel { display: none; }
.awp-js .awp-rtl-tabs-shell .woocommerce-tabs .panel.is-active { display: block; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel > h2:first-child { margin: 0 0 20px; color: #23282e; font-size: 26px; line-height: 1.65; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel h2 { margin: 30px 0 15px; color: #262c33; font-size: 24px; line-height: 1.7; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel h3 { margin: 24px 0 12px; color: #2e343b; font-size: 20px; line-height: 1.75; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel h4 { margin: 20px 0 10px; color: #333940; font-size: 17px; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel p { margin: 0 0 20px; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel a:not(.button):not(.awp-rtl-tab-cta) { color: #2e628f; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel ul,
.awp-rtl-tabs-shell .woocommerce-tabs .panel ol { margin: 0 0 22px; padding-right: 24px; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel li { margin-bottom: 8px; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel img { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: 10px; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel blockquote { margin: 24px 0; padding: 16px 18px; border-right: 4px solid var(--awp-primary); border-radius: 10px; background: #fffbed; color: #555b63; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel pre,
.awp-rtl-tabs-shell .woocommerce-tabs .panel code { direction: ltr; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel pre { overflow-x: auto; padding: 16px; border-radius: 10px; background: #171a1f; color: #f5f5f5; line-height: 1.75; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel table { display: block; width: 100%; overflow-x: auto; margin: 22px 0; border-collapse: collapse; white-space: nowrap; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel th,
.awp-rtl-tabs-shell .woocommerce-tabs .panel td { padding: 12px 14px; border: 1px solid var(--awp-border); text-align: right; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel th { background: #f8f9fa; font-weight: 850; }
.awp-rtl-tabs-shell .woocommerce-tabs .panel iframe,
.awp-rtl-tabs-shell .woocommerce-tabs .panel video { max-width: 100%; border-radius: 10px; }

/* Dedicated AsanWP Q&A */
.awp-qa { color: #4d545c; }
.awp-qa-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.awp-qa-head > div:first-child { min-width: 0; max-width: 720px; }
.awp-qa-eyebrow { display: inline-block; margin-bottom: 4px; color: #9a7a00; font-size: 11.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.awp-qa-head h2 { margin: 0 0 8px; color: #22272d; font-size: 25px; }
.awp-qa-head p { margin: 0; color: #7b8087; font-size: 13.5px; line-height: 1.95; }
.awp-qa-stats { display: grid; grid-template-columns: repeat(2,minmax(105px,1fr)); border: 1px solid var(--awp-border); border-radius: 12px; overflow: hidden; background: #fafbfc; }
.awp-qa-stats span { display: flex; min-height: 74px; padding: 10px 16px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.awp-qa-stats span + span { border-right: 1px solid var(--awp-border); }
.awp-qa-stats strong { color: var(--awp-ink); font-size: 20px; line-height: 1.2; }
.awp-qa-stats small { margin-top: 5px; color: #8b9097; font-size: 11.5px; }

.awp-qa-notice { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--awp-border); border-radius: 9px; font-size: 13px; line-height: 1.8; }
.awp-qa-notice.is-success { border-color: #cfe5c8; background: #f4fbf2; color: #42643a; }
.awp-qa-notice.is-info { border-color: #cbdceb; background: #f5f9fc; color: #3e5c74; }
.awp-qa-notice.is-warning { border-color: #eadf9b; background: #fffbea; color: #6c5c0e; }
.awp-qa-notice.is-error { border-color: #ebcaca; background: #fff6f6; color: #812f2f; }

.awp-qa-tools { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.awp-qa-search { position: relative; display: flex; align-items: center; width: min(380px,100%); }
.awp-qa-search svg { position: absolute; right: 13px; width: 18px; height: 18px; color: #92979d; pointer-events: none; }
.awp-qa-search input { width: 100%; height: 44px; padding: 0 42px 0 12px; border: 1px solid #dfe3e7; border-radius: 9px; background: #fff; color: #343a41; outline: 0; }
.awp-qa-search input:focus { border-color: #bcc2c9; box-shadow: 0 0 0 3px rgba(255,204,0,.12); }

.awp-qa-list { display: grid; gap: 14px; }
.awp-qa-item { overflow: hidden; border: 1px solid var(--awp-border); border-radius: 12px; background: #fff; }
.awp-qa-question { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 13px; padding: 18px; }
.awp-qa-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f1f3f5; color: #5c6269; font-size: 17px; font-weight: 900; }
.awp-qa-body { min-width: 0; }
.awp-qa-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; color: #969ba2; font-size: 11.5px; line-height: 1.6; }
.awp-qa-meta strong { color: #353b42; font-size: 12.5px; }
.awp-qa-meta time { margin-right: auto; white-space: nowrap; }
.awp-qa-buyer,
.awp-qa-official { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 0 8px; border-radius: 999px; font-weight: 800; }
.awp-qa-buyer { background: #f0f6dd; color: #617000; }
.awp-qa-official { background: var(--awp-primary-soft); color: #695900; }
.awp-qa-buyer svg,
.awp-qa-official svg { width: 13px; height: 13px; }
.awp-qa-text { color: #4f555d; font-size: 14px; line-height: 2; }
.awp-qa-text p { margin: 0; }

.awp-qa-answer { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 13px; margin: 0 18px 18px; padding: 16px; border: 1px solid #efe3a3; border-radius: 11px; background: #fffdf4; }
.awp-qa-answer-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--awp-primary); color: #17191c; font-size: 18px; font-weight: 950; }
.awp-qa-waiting { margin: 0 18px 18px; padding: 10px 12px; border-radius: 8px; background: #f7f8f9; color: #8a8f96; font-size: 11.5px; }
.awp-qa-empty { display: flex; min-height: 210px; flex-direction: column; align-items: center; justify-content: center; padding: 28px; border: 1px dashed #d9dde2; border-radius: 12px; background: #fafbfc; text-align: center; }
.awp-qa-empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 14px; background: var(--awp-primary-soft); color: #705f00; }
.awp-qa-empty-icon svg { width: 24px; height: 24px; }
.awp-qa-empty strong { color: #333940; font-size: 15px; }
.awp-qa-empty p { max-width: 520px; margin: 7px 0 0; color: #8b9097; font-size: 12.5px; }
.awp-qa-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; }
.awp-qa-pagination a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--awp-border); border-radius: 8px; color: #5b6169; text-decoration: none; }
.awp-qa-pagination a.is-current { border-color: var(--awp-ink); background: var(--awp-ink); color: #fff; }

.awp-qa-compose { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--awp-border); }
.awp-qa-compose-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.awp-qa-compose-head > div { display: flex; flex-direction: column; }
.awp-qa-compose-head span { color: #a08000; font-size: 11.5px; font-weight: 850; }
.awp-qa-compose-head h3 { margin: 2px 0 0; color: #2c3239; font-size: 19px; }
.awp-qa-compose-head small { max-width: 390px; color: #93989f; font-size: 11.5px; line-height: 1.8; }
.awp-qa-form { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; padding: 18px; border: 1px solid var(--awp-border); border-radius: 12px; background: #fafbfc; }
.awp-qa-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.awp-qa-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.awp-qa-field.is-wide { grid-column: 1 / -1; }
.awp-qa-field > span { color: #4b5159; font-size: 12.5px; font-weight: 850; }
.awp-qa-field input,
.awp-qa-field select,
.awp-qa-field textarea { width: 100%; border: 1px solid #dce0e5; border-radius: 9px; background: #fff; color: #333940; outline: 0; }
.awp-qa-field input,
.awp-qa-field select { min-height: 45px; padding: 0 11px; }
.awp-qa-field textarea { min-height: 132px; padding: 11px 12px; resize: vertical; line-height: 1.9; }
.awp-qa-field input:focus,
.awp-qa-field select:focus,
.awp-qa-field textarea:focus { border-color: #bcc2c9; box-shadow: 0 0 0 3px rgba(255,204,0,.12); }
.awp-qa-field small { align-self: flex-end; color: #9a9fa5; font-size: 11px; }
.awp-qa-form-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.awp-qa-form-footer p { margin: 0; color: #8e939a; font-size: 11.5px; line-height: 1.8; }
.awp-qa-form-footer button { min-width: 132px; min-height: 45px; padding: 0 18px; border: 0; border-radius: 9px; background: var(--awp-ink); color: #fff; font-weight: 850; cursor: pointer; }
.awp-qa-restricted { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--awp-border); border-radius: 11px; background: #fafbfc; }
.awp-qa-restricted > span { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; background: #f0f2f4; }
.awp-qa-restricted > span svg { width: 19px; height: 19px; }
.awp-qa-restricted > div { min-width: 0; flex: 1; }
.awp-qa-restricted strong { display: block; color: #3c4249; font-size: 13px; }
.awp-qa-restricted p { margin: 3px 0 0; color: #878c93; font-size: 11.5px; }
.awp-qa-restricted a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 13px; border-radius: 8px; background: var(--awp-ink); color: #fff; font-size: 11px; font-weight: 850; text-decoration: none; }

/* Product reviews */
.awp-reviews-shell { display: grid; gap: 22px; color: #343a40; container-type: inline-size; container-name: awp-reviews; }
.awp-reviews-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.awp-reviews-heading > div { min-width: 0; }
.awp-reviews-kicker { display: block; margin-bottom: 4px; color: #9a7a00; font-size: 10.5px; font-weight: 900; letter-spacing: 0; }
.awp-reviews-heading h2 { margin: 0; color: #22272d; font-size: clamp(20px,2vw,26px); line-height: 1.45; }
.awp-reviews-heading p { max-width: 720px; margin: 7px 0 0; color: #858b93; font-size: 12.5px; line-height: 1.9; }
.awp-reviews-write { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px; flex: 0 0 auto; border: 1px solid #dfe2e6; border-radius: 10px; background: #fff; color: #343a40; font-size: 11.5px; font-weight: 850; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.awp-reviews-write:hover { border-color: #c9cdd2; background: #fafafa; transform: translateY(-1px); color: #22272d; }
.awp-reviews-write svg { width: 17px; height: 17px; color: #c29300; fill: rgba(255,204,0,.17); stroke-width: 1.8; }

.awp-reviews-summary { display: grid; grid-template-columns: minmax(210px,.78fr) minmax(280px,1.22fr) minmax(260px,1fr); gap: 0; overflow: hidden; border: 1px solid var(--awp-border); border-radius: 14px; background: #fff; }
.awp-reviews-summary > div { min-width: 0; padding: 20px; }
.awp-reviews-summary.is-no-breakdown { grid-template-columns: minmax(210px,.8fr) minmax(260px,1.2fr); }
.awp-reviews-summary.is-no-note { grid-template-columns: minmax(220px,.8fr) minmax(300px,1.2fr); }
.awp-reviews-summary.is-no-breakdown.is-no-note { grid-template-columns: 1fr; }
.awp-reviews-summary > div + div { border-inline-start: 1px solid var(--awp-border); }
.awp-reviews-score { display: flex; min-height: 154px; flex-direction: column; justify-content: center; gap: 9px; }
.awp-reviews-score-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; min-height: 40px; }
.awp-reviews-score-value strong { color: #1f2429; font-size: 38px; line-height: 1; font-weight: 950; }
.awp-reviews-score-value span { color: #9499a0; font-size: 11.5px; font-weight: 750; }
.awp-reviews-score-stars { display: flex; align-items: center; min-height: 19px; margin-top: 0; }
.awp-rating-stars { position: relative; display: inline-block; direction: ltr; width: 5.55em; height: 1em; overflow: hidden; font-family: Arial, sans-serif; font-size: 17px; line-height: 1; letter-spacing: .1em; white-space: nowrap; vertical-align: middle; }
.awp-rating-stars-base,
.awp-rating-stars-fill { display: block; height: 1em; line-height: 1; white-space: nowrap; }
.awp-rating-stars-base { color: #d9dde1; }
.awp-rating-stars-fill { position: absolute; inset-block-start: 0; inset-inline-start: 0; overflow: hidden; color: #e5ae00; }
.awp-review-rating-line .awp-rating-stars { font-size: 15px; }
.awp-reviews-empty-stars { direction: ltr; width: max-content; color: #d9dde1; font-size: 17px; letter-spacing: 1px; }
.awp-reviews-score-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 0; color: #858b92; font-size: 10.8px; line-height: 1.75; }
.awp-reviews-satisfaction { display: inline-flex; align-items: center; gap: 4px; color: #49743f; font-weight: 850; }
.awp-reviews-satisfaction svg { width: 14px; height: 14px; stroke-width: 2.4; }
.awp-reviews-breakdown { display: grid; align-content: center; gap: 7px; }
.awp-rating-row { display: grid; grid-template-columns: 38px minmax(80px,1fr) 30px; align-items: center; gap: 9px; min-height: 22px; }
.awp-rating-row-label { display: inline-flex; direction: ltr; align-items: center; justify-content: flex-start; gap: 3px; color: #666c73; font-size: 10.8px; font-weight: 800; }
.awp-rating-row-label span { color: #e1a900; font-size: 12px; }
.awp-rating-row-track { position: relative; display: block; height: 6px; overflow: hidden; border-radius: 99px; background: #f0f1f2; }
.awp-rating-row-track i { position: absolute; inset-block: 0; inset-inline-start: 0; display: block; border-radius: inherit; background: linear-gradient(90deg,#ffd83d,#e4b000); }
.awp-rating-row-count { color: #9a9fa5; font-size: 10px; text-align: end; }
.awp-reviews-summary-note { display: flex; align-items: center; gap: 12px; background: #fffdf5; }
.awp-reviews-summary-note > span { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 11px; background: #fff4b5; color: #746000; }
.awp-reviews-summary-note svg { width: 21px; height: 21px; stroke-width: 1.8; }
.awp-reviews-summary-note strong { display: block; margin-bottom: 2px; color: #3f454b; font-size: 12.5px; line-height: 1.8; }
.awp-reviews-summary-note p { margin: 4px 0 0; color: #8e9399; font-size: 10.8px; line-height: 1.8; }

.awp-reviews-list-section { margin: 0 !important; }
.awp-reviews-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.awp-reviews-list-head > div > span { display: block; color: #a0a5ab; font-size: 10px; font-weight: 850; letter-spacing: 0; }
.awp-reviews-list-head h3 { margin: 2px 0 0; color: #2f353b; font-size: 17px; }
.awp-reviews-list-head > strong { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 8px; background: #f3f4f5; color: #6d737a; font-size: 11px; }
.awp-review-list { display: grid; gap: 11px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.awp-review-list > li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.awp-review-card { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 13px; padding: 16px; border: 1px solid var(--awp-border); border-radius: 12px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.awp-review-card:hover { border-color: #d9dce0; box-shadow: 0 9px 24px rgba(24,29,35,.035); }
.awp-review-card.is-avatar-hidden { grid-template-columns: minmax(0,1fr); }
.awp-review-avatar { display: grid; place-items: center; width: 54px; height: 54px; overflow: hidden; border: 1px solid #e7e9eb; border-radius: 50%; background: #f3f4f5; color: #72777e; font-size: 18px; font-weight: 900; }
.awp-review-avatar img { position: static !important; float: none !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: inherit !important; object-fit: cover; }
.awp-review-content { min-width: 0; }
.awp-review-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.awp-review-author { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; }
.awp-review-author strong { color: #30363c; font-size: 12.5px; font-weight: 900; }
.awp-review-verified { display: inline-flex; align-items: center; gap: 3px; min-height: 23px; padding: 0 7px; border-radius: 999px; background: #eef7ec; color: #4c7445; font-size: 9.5px; font-weight: 850; white-space: nowrap; }
.awp-review-verified svg { width: 12px; height: 12px; stroke-width: 2.6; }
.awp-review-card-head time { flex: 0 0 auto; color: #9da2a8; font-size: 10px; white-space: nowrap; }
.awp-review-rating-line { display: flex; direction: ltr; align-items: center; justify-content: flex-end; gap: 7px; width: max-content; margin-top: 7px; }
.awp-review-rating-line > span { color: #9b7b00; font-size: 9.5px; font-weight: 850; }
.awp-review-text { margin-top: 10px; color: #565d64; font-size: 12.5px; line-height: 2; overflow-wrap: anywhere; }
.awp-review-text p { margin: 0; }
.awp-review-text p + p { margin-top: 7px; }
.awp-review-awaiting { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #fff7d4; color: #826d11; font-size: 10.5px; }

.awp-reviews-empty { display: flex; min-height: 190px; flex-direction: column; align-items: center; justify-content: center; padding: 26px; border: 1px dashed #d8dce0; border-radius: 12px; background: #fafbfc; text-align: center; }
.awp-reviews-empty > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 13px; background: var(--awp-primary-soft); color: #876d00; }
.awp-reviews-empty svg { width: 22px; height: 22px; fill: rgba(255,204,0,.12); }
.awp-reviews-empty strong { color: #40464c; font-size: 13px; }
.awp-reviews-empty p { max-width: 540px; margin: 5px 0 0; color: #8d9298; font-size: 11.5px; line-height: 1.9; }
.awp-reviews-empty a { margin-top: 12px; color: #5f5100; font-size: 10.8px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.awp-review-pagination { margin-top: 17px; }
.awp-review-pagination ul.page-numbers { display: flex; justify-content: center; gap: 5px; margin: 0; padding: 0; border: 0; list-style: none; }
.awp-review-pagination ul.page-numbers li { border: 0; }
.awp-review-pagination .page-numbers a,
.awp-review-pagination .page-numbers span { display: grid; place-items: center; min-width: 34px; height: 34px; margin: 0; padding: 0 8px; border: 1px solid var(--awp-border); border-radius: 8px; background: #fff; color: #656b72; font-size: 10.5px; text-decoration: none; }
.awp-review-pagination .page-numbers .current { border-color: var(--awp-primary); background: var(--awp-primary-soft); color: #5b4c00; font-weight: 900; }

.awp-review-form-card { margin: 0; padding: 20px; border: 1px solid var(--awp-border); border-radius: 14px; background: #fafbfc; }
.awp-review-form-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.awp-review-form-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--awp-primary-soft); color: #826900; }
.awp-review-form-icon svg { width: 21px; height: 21px; fill: rgba(255,204,0,.13); }
.awp-review-form-heading span { color: #9a7a00; font-size: 9.5px; font-weight: 900; letter-spacing: 0; }
.awp-review-form-heading h3 { margin: 1px 0 0; color: #30363c; font-size: 17px; }
.awp-review-form-heading p { margin: 3px 0 0; color: #8e9399; font-size: 10.8px; }
#review_form form.comment-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }
#review_form .awp-review-field,
#review_form .comment-form-rating,
#review_form .form-submit,
#review_form .must-log-in { margin: 0; }
#review_form .awp-review-field.is-wide,
#review_form .comment-form-rating,
#review_form .form-submit,
#review_form .must-log-in { grid-column: 1 / -1; }
#review_form label { display: block; margin-bottom: 6px; color: #4d545b; font-size: 11.5px; font-weight: 850; }
#review_form .required { color: #bb4b4b; }
#review_form textarea,
#review_form input[type=text],
#review_form input[type=email] { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid #dfe2e6; border-radius: 9px; background: #fff; color: #343a40; font: inherit; outline: 0; transition: border-color .18s ease, box-shadow .18s ease; box-sizing: border-box; }
#review_form textarea { min-height: 128px; resize: vertical; line-height: 1.9; }
#review_form textarea:focus,
#review_form input[type=text]:focus,
#review_form input[type=email]:focus { border-color: #c8b75b; box-shadow: 0 0 0 3px rgba(255,204,0,.12); }
#review_form .form-submit { display: flex; justify-content: flex-end; }
#review_form .form-submit input { min-width: 128px; min-height: 44px; padding: 0 17px; border: 0; border-radius: 9px; background: var(--awp-ink); color: #fff; font-size: 11.5px; font-weight: 850; cursor: pointer; transition: transform .18s ease, opacity .18s ease; }
#review_form .form-submit input:hover { transform: translateY(-1px); opacity: .92; }
.awp-review-form-message { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid #e1e4e7; border-radius: 10px; background: #fff; }
.awp-review-form-message > span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: #f0f2f4; color: #666d74; }
.awp-review-form-message svg { width: 18px; height: 18px; }
.awp-review-form-message strong { display: block; color: #42484f; font-size: 11.5px; }
.awp-review-form-message p { margin: 3px 0 0; color: #8d9298; font-size: 10.5px; }
.awp-review-form-message a { color: #5a4b00; font-weight: 850; }
.awp-review-form-message.is-restricted { border-color: #eee1a5; background: #fffdf4; }
.awp-review-form-message.is-restricted > span { background: #fff3b0; color: #796400; }
.awp-review-form-message.is-info { border-color: #eee1a5; background: #fffdf4; }
.awp-review-form-message.is-info > span { background: #fff3b0; color: #796400; }
.awp-rating-select-fallback { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.awp-review-rating-control { display: flex; direction: ltr; justify-content: flex-end; gap: 3px; width: max-content; margin: 2px 0 2px auto; }
.awp-review-star { padding: 0; border: 0; background: transparent; color: #d6dade; font-size: 28px; line-height: 1; cursor: pointer; transition: color .12s ease, transform .12s ease; }
.awp-review-star:hover { transform: translateY(-1px); }
.awp-review-star.is-active { color: #e4ad00; }
.awp-reviews-closed { margin: 0; padding: 11px 13px; border-radius: 9px; background: #f6f7f8; color: #858b92; font-size: 10.8px; }

@container awp-reviews (max-width: 820px) {
  .awp-reviews-summary { grid-template-columns: minmax(190px,.78fr) minmax(260px,1.22fr); }
  .awp-reviews-summary.is-no-note { grid-template-columns: minmax(190px,.78fr) minmax(260px,1.22fr); }
  .awp-reviews-summary.is-no-breakdown.is-no-note { grid-template-columns: 1fr; }
  .awp-reviews-summary-note { grid-column: 1 / -1; border-inline-start: 0 !important; border-top: 1px solid var(--awp-border); }
}
@container awp-reviews (max-width: 560px) {
  .awp-reviews-shell { gap: 18px; }
  .awp-reviews-heading { flex-direction: column; align-items: stretch; }
  .awp-reviews-write { width: 100%; }
  .awp-reviews-summary { grid-template-columns: 1fr; }
  .awp-reviews-summary > div + div { border-inline-start: 0; border-top: 1px solid var(--awp-border); }
  .awp-reviews-summary > div { padding: 16px; }
  .awp-reviews-summary-note { grid-column: auto; }
  .awp-review-card { grid-template-columns: 42px minmax(0,1fr); gap: 10px; padding: 13px; }
  .awp-review-avatar { width: 42px; height: 42px; }
  .awp-review-card-head { flex-direction: column; gap: 5px; }
  .awp-review-card-head time { align-self: flex-start; }
  #review_form form.comment-form { grid-template-columns: 1fr; }
  #review_form .awp-review-field,
  #review_form .comment-form-rating,
  #review_form .form-submit,
  #review_form .must-log-in { grid-column: 1; }
  #review_form .form-submit input { width: 100%; }
  .awp-review-form-card { padding: 16px; }
}
@media (max-width: 640px) {
  .awp-reviews-heading { flex-direction: column; align-items: stretch; }
  .awp-reviews-write { width: 100%; }
}

/* Product specifications tab */
.awp-product-specs-tab-head { margin-bottom: 18px; }
.awp-product-specs-tab-head span { color: #9a7a00; font-size: 11.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.awp-product-specs-tab-head h2 { margin: 2px 0 6px; }
.awp-product-specs-tab-head p { margin: 0; color: #858a92; font-size: 13px; }
.awp-product-specs-tab-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.awp-product-specs-tab-grid > div { display: grid; grid-template-columns: minmax(110px,38%) minmax(0,1fr); gap: 12px; align-items: center; min-height: 58px; padding: 11px 13px; border: 1px solid var(--awp-border); border-radius: 10px; background: #fafbfc; }
.awp-product-specs-tab-grid span { color: #8c9198; font-size: 11.5px; }
.awp-product-specs-tab-grid strong { min-width: 0; color: #3d434a; font-size: 12.5px; overflow-wrap: anywhere; }
.awp-product-specs-tab-grid a { color: #315f8d; }

/* Training and support tabs */
.awp-rtl-tab-panel > h2 { margin-top: 0; }
.awp-rtl-tab-copy { margin-bottom: 18px; white-space: pre-line; }
.awp-rtl-tab-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 9px; background: var(--awp-ink); color: #fff; font-size: 12.5px; font-weight: 850; text-decoration: none; }
.awp-rtl-tab-cta svg { width: 17px; height: 17px; }
.awp-rtl-support-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 20px 0; }
.awp-rtl-support-grid > div { display: flex; align-items: center; gap: 10px; min-height: 84px; padding: 13px; border: 1px solid var(--awp-border); border-radius: 10px; background: #fafbfc; }
.awp-rtl-support-grid svg { width: 21px; height: 21px; flex: 0 0 21px; }
.awp-rtl-support-grid span { display: flex; min-width: 0; flex-direction: column; }
.awp-rtl-support-grid small { color: #969ba2; font-size: 11.5px; }
.awp-rtl-support-grid strong { margin-top: 2px; color: #3d434a; font-size: 12.5px; }

/* Changelog, consult and related products */
.awp-rtl-changelog-section { margin-top: 16px; }
.awp-rtl-section-title span { color: #979ca3; font-size: 11.5px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.awp-rtl-section-title h2 { margin: 2px 0 11px; font-size: 23px; }
.awp-rtl-changelog-card { padding: 22px; border-radius: 13px; color: #555b63; font-size: 13.5px; line-height: 1.95; }
.awp-changelog-version { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--awp-border); }
.awp-changelog-version span { color: #30363d; font-size: 14px; font-weight: 900; }
.awp-changelog-version time { color: #989da4; font-size: 11px; }
.awp-rtl-changelog-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.awp-rtl-changelog-card li { display: flex; align-items: flex-start; gap: 8px; }
.awp-rtl-changelog-card li svg { width: 17px; height: 17px; margin-top: 5px; flex: 0 0 17px; color: #7f8c00; }

.awp-rtl-consult-card { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 14px; margin-top: 16px; padding: 19px 20px; border-radius: 13px; }
.awp-rtl-consult-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 11px; background: var(--awp-primary-soft); color: #796500; }
.awp-rtl-consult-icon svg { width: 22px; height: 22px; }
.awp-rtl-consult-card > div:nth-child(2) { display: flex; flex-direction: column; }
.awp-rtl-consult-card strong { font-size: 14.5px; }
.awp-rtl-consult-card span { margin-top: 3px; color: #8c9198; font-size: 11.5px; line-height: 1.8; }
.awp-rtl-consult-card > a { display: flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 15px; border: 1px solid #dfe3e7; border-radius: 9px; color: #3d434a; font-size: 11.5px; font-weight: 850; }

.awp-rtl-product-maincol > .up-sells.products,
.awp-rtl-product-maincol > .related.products { margin-top: 16px; padding: 21px; border-radius: 13px; }
.awp-rtl-product-maincol > .up-sells.products > h2,
.awp-rtl-product-maincol > .related.products > h2 { margin: 0 0 17px; font-size: 22px; }
.awp-rtl-product-maincol > .up-sells.products ul.products,
.awp-rtl-product-maincol > .related.products ul.products { margin: 0; padding: 0; }

/* WooCommerce commerce-logic markup still in use */
.awp-rtl-cart-wrap table.variations { width: 100%; margin: 0 0 10px; border: 0; border-collapse: collapse; grid-column: 1 / -1; }
.awp-rtl-cart-wrap table.variations tr { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 8px; align-items: center; margin-bottom: 8px; }
.awp-rtl-cart-wrap table.variations th,
.awp-rtl-cart-wrap table.variations td { display: block; padding: 0; border: 0; text-align: right; }
.awp-rtl-cart-wrap table.variations label { font-size: 12px; font-weight: 850; color: #555b63; }
.awp-rtl-cart-wrap table.variations select { width: 100%; height: 46px; padding: 0 11px; border: 1px solid #dfe3e7; border-radius: 8px; background: #fff; color: #333940; outline: 0; }
.awp-rtl-cart-wrap .reset_variations { display: inline-flex; margin-top: 5px; color: #8a6e00; font-size: 11px; font-weight: 800; }
.awp-rtl-cart-wrap .single_variation_wrap { grid-column: 1 / -1; }
.awp-rtl-cart-wrap .woocommerce-variation-price { margin: 0 0 8px; }
.awp-rtl-cart-wrap .woocommerce-variation-price .price { font-size: 21px; font-weight: 900; }
.awp-rtl-cart-wrap .woocommerce-variation-add-to-cart { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; width: 100%; }
.single-product .stock { margin: 8px 0; color: #66700c; font-size: 12px; font-weight: 800; }
.single-product .stock.out-of-stock { color: #aa2a2a; }
.single-product .woocommerce-notices-wrapper { margin: 0 0 14px; }
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error { position: relative; margin: 0 0 10px; padding: 13px 15px; border: 1px solid #dfe3e7; border-radius: 9px; background: #fff; list-style: none; color: #51575f; font-size: 12px; line-height: 1.8; }
.single-product .woocommerce-message { border-right: 3px solid #7b8c0c; }
.single-product .woocommerce-error { border-right: 3px solid #b83030; }
.single-product .woocommerce-info { border-right: 3px solid #3f6f9b; }
.single-product .woocommerce-message a.button,
.single-product .woocommerce-info a.button,
.single-product .woocommerce-error a.button { float: left; margin-right: 10px; font-weight: 850; }

/* Mobile purchase drawer */
.awp-mobile-purchase-backdrop,
.awp-rtl-mobile-buybar { display: none; }

/* Tablet */
@media (max-width: 1200px) {
  body.single-product .awp-rtl-product-layout {
    grid-template-columns: min(350px, var(--awp-product-sidebar)) minmax(0, 1fr);
    gap: 22px;
  }

  .awp-rtl-product .product_title { font-size: 27px; }
  .awp-rtl-metrics-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .awp-rtl-metrics-bar > div:nth-child(2) { border-left: 0; }
  .awp-rtl-metrics-bar > div:nth-child(-n+2) { border-bottom: 1px solid var(--awp-border); }
}

/* Mobile / small tablet */
@media (max-width: 900px) {
  body.single-product.awp-has-mobile-bottom-nav { padding-bottom: 0; }
  body.single-product .awp-mobile-bottom-nav { display: none; }
  body.single-product .awp-product-page { padding-block: 16px 104px; }
  body.single-product #awp-market-product-shell > .woocommerce-breadcrumb { margin-bottom: 12px; font-size: 11.5px; }

  .awp-rtl-product-head { align-items: flex-start; margin-bottom: 15px; padding-bottom: 16px; }
  .awp-rtl-product .product_title { font-size: clamp(22px, 5.4vw, 27px); line-height: 1.45; }
  .awp-rtl-product-head-meta { font-size: 11.5px; }

  body.single-product .awp-rtl-product-layout { grid-template-columns: 1fr; gap: 16px; }
  .awp-rtl-product-maincol { order: 1; }
  .awp-rtl-product-sidebar { position: static; order: 2; }

  /* Purchase card becomes an accessible bottom sheet; seller/facts stay in flow. */
  .awp-rtl-product-sidebar .awp-rtl-buy-card {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10020;
    width: 100%;
    max-height: min(86vh, 760px);
    overflow-y: auto;
    border: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 60px rgba(15,20,28,.22);
    transform: translateY(calc(100% + 24px));
    visibility: hidden;
    transition: transform .24s ease, visibility .24s ease;
  }

  body.awp-purchase-open .awp-rtl-product-sidebar .awp-rtl-buy-card {
    transform: translateY(0);
    visibility: visible;
  }

  .awp-mobile-purchase-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-right: auto;
    border: 0;
    border-radius: 10px;
    background: #f1f3f5;
    color: #4f555d;
    cursor: pointer;
  }
  .awp-mobile-purchase-close svg { width: 18px; height: 18px; }
  .awp-rtl-buy-card-head > span { display: none; }

  .awp-mobile-purchase-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: block;
    border: 0;
    background: rgba(10,13,18,.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }
  body.awp-purchase-open .awp-mobile-purchase-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }

  .awp-rtl-mobile-buybar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(145px,42%);
    gap: 10px;
    align-items: center;
    min-height: 78px;
    padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    border-top: 1px solid var(--awp-border);
    background: rgba(255,255,255,.98);
    box-shadow: 0 -8px 28px rgba(17,24,39,.08);
    backdrop-filter: blur(12px);
  }
  .awp-rtl-mobile-buybar > div { min-width: 0; }
  .awp-rtl-mobile-buybar small { display: block; margin-bottom: 2px; color: #8b9097; font-size: 11.5px; }
  .awp-rtl-mobile-buybar .price { display: flex; align-items: baseline; gap: 5px; margin: 0; color: var(--awp-ink); font-size: 18px; font-weight: 950; white-space: nowrap; }
  .awp-rtl-mobile-buybar .price del { display: none; }
  .awp-rtl-mobile-buybar .price ins { text-decoration: none; }
  .awp-rtl-mobile-buybar > button { min-height: 50px; border: 0; border-radius: 10px; background: var(--awp-ink); color: #fff; font-size: 13px; font-weight: 900; cursor: pointer; }

  .awp-rtl-seller-card,
  .awp-rtl-product-facts { display: none; }

  .awp-product-specs-tab-grid { grid-template-columns: 1fr; }

  .awp-rtl-tabs-shell .woocommerce-tabs ul.tabs { top: 82px; }
  .admin-bar .awp-rtl-tabs-shell .woocommerce-tabs ul.tabs { top: 128px; }

  .awp-qa-head { flex-direction: column; }
  .awp-qa-stats { width: 100%; }
  .awp-rtl-support-grid { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  body.single-product .awp-product-page { padding-block: 12px 104px; }
  .awp-rtl-product-head { display: block; }
  .awp-rtl-product-title-row { gap: 8px; }
  .awp-rtl-product-title-row .product_title { flex-basis: 100%; }
  .awp-rtl-product-title-chips { gap: 6px; }
  .awp-rtl-product-kicker { min-height: 27px; padding-inline: 9px; font-size: 11.5px; }
  .awp-rtl-product .product_title { font-size: 21px; }
  .awp-rtl-version-chip { min-height: 29px; padding-inline: 9px; font-size: 11.5px; }
  .awp-rtl-product-head-meta { margin-top: 7px; font-size: 11.5px; line-height: 2; }
  .awp-rtl-product-head-meta > span:not(:last-child)::after { margin-inline: 7px; }

  .awp-amazing-offer { grid-template-columns: 1fr; gap: 12px; margin-bottom: 10px; padding: 14px 13px 17px; }
  .awp-amazing-offer-main { align-items: flex-start; }
  .awp-amazing-offer-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 11px; }
  .awp-amazing-offer-copy > strong { font-size: 12.5px; }
  .awp-amazing-offer-time { justify-content: space-between; gap: 8px; }
  .awp-amazing-offer-time-label { display: none; }
  .awp-amazing-offer-countdown { width: 100%; justify-content: space-between; }
  .awp-amazing-offer-countdown > span { min-width: 0; width: 22%; min-height: 47px; }
  .awp-amazing-offer-countdown > i { margin-inline: 2px; }

  .awp-product-gallery-stage { aspect-ratio: var(--awp-gallery-mobile-aspect); }
  .awp-product-gallery.is-mobile-aspect-auto .awp-product-gallery-stage { aspect-ratio: auto; }
  .awp-product-gallery.is-mobile-aspect-auto .awp-gallery-main,
  .awp-product-gallery.is-mobile-aspect-auto .awp-gallery-main img { height: auto; }
  .awp-product-gallery.is-aspect-auto:not(.is-mobile-aspect-auto) .awp-gallery-main,
  .awp-product-gallery.is-aspect-auto:not(.is-mobile-aspect-auto) .awp-gallery-main img { height: 100%; }
  .awp-gallery-expand { top: 9px; inset-inline-end: 9px; width: 35px; height: 35px; }
  .awp-gallery-nav { width: 37px; height: 37px; margin-top: -18.5px; }
  .awp-gallery-prev { inset-inline-start: 9px; }
  .awp-gallery-next { inset-inline-end: 9px; }
  .awp-gallery-counter { inset-inline-start: 9px; bottom: 9px; }
  .awp-product-gallery-thumbs { gap: 7px; padding: 9px; }
  .awp-gallery-thumb { flex-basis: var(--awp-gallery-mobile-thumb-size); width: var(--awp-gallery-mobile-thumb-size); height: auto; }

  .awp-rtl-metrics-bar > div { min-height: 80px; padding: 10px; }
  .awp-rtl-metric-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .awp-rtl-metrics-bar strong { font-size: 12px; }
  .awp-rtl-metrics-bar small { font-size: 11px; }
  .awp-rtl-product-lead { padding: 16px; font-size: 13.5px; }

  .awp-rtl-tabs-shell .woocommerce-tabs ul.tabs { top: 70px; padding-inline: 5px; }
  .awp-rtl-tabs-shell .woocommerce-tabs ul.tabs li a { padding: 14px 10px 12px; font-size: 12px; }
  .awp-rtl-tabs-shell .woocommerce-tabs .panel { padding: 22px 16px 28px; font-size: 14.5px; line-height: 2.08; }
  .awp-rtl-tabs-shell .woocommerce-tabs .panel > h2:first-child { font-size: 22px; }
  .awp-rtl-tabs-shell .woocommerce-tabs .panel h2 { font-size: 21px; }
  .awp-rtl-tabs-shell .woocommerce-tabs .panel h3 { font-size: 18px; }

  .awp-product-specs-tab-grid > div { grid-template-columns: 1fr; gap: 3px; min-height: 0; }

  .awp-qa-head { margin-bottom: 18px; }
  .awp-qa-head h2 { font-size: 21px; }
  .awp-qa-head p { font-size: 12.5px; }
  .awp-qa-stats { grid-template-columns: repeat(2,1fr); }
  .awp-qa-stats span { min-height: 66px; padding: 9px; }
  .awp-qa-question { grid-template-columns: 36px minmax(0,1fr); gap: 10px; padding: 14px; }
  .awp-qa-avatar { width: 36px; height: 36px; font-size: 14px; }
  .awp-qa-meta { gap: 5px; }
  .awp-qa-meta time { width: 100%; margin: 0; }
  .awp-qa-text { font-size: 13.5px; }
  .awp-qa-answer { grid-template-columns: 36px minmax(0,1fr); gap: 10px; margin: 0 14px 14px; padding: 13px; }
  .awp-qa-answer-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
  .awp-qa-waiting { margin: 0 14px 14px; }
  .awp-qa-compose-head { align-items: flex-start; flex-direction: column; }
  .awp-qa-compose-head small { max-width: none; }
  .awp-qa-form { grid-template-columns: 1fr; padding: 14px; }
  .awp-qa-field.is-wide,
  .awp-qa-form-footer { grid-column: auto; }
  .awp-qa-form-footer { align-items: stretch; flex-direction: column; }
  .awp-qa-form-footer button { width: 100%; }
  .awp-qa-restricted { align-items: flex-start; flex-wrap: wrap; }
  .awp-qa-restricted a { width: 100%; }

  #reviews .comment_container { grid-template-columns: 40px minmax(0,1fr); }
  #reviews img.avatar { width: 40px; height: 40px; }

  .awp-rtl-consult-card { grid-template-columns: 42px minmax(0,1fr); padding: 16px; }
  .awp-rtl-consult-icon { width: 42px; height: 42px; }
  .awp-rtl-consult-card > a { grid-column: 1 / -1; min-height: 44px; }

  .awp-gallery-lightbox { padding: 12px; }
  .awp-gallery-lightbox-close { top: 12px; inset-inline-end: 12px; }
  .awp-gallery-lightbox-nav { width: 42px; height: 42px; }
  .awp-gallery-lightbox-nav.is-prev { inset-inline-start: 10px; }
  .awp-gallery-lightbox-nav.is-next { inset-inline-end: 10px; }

  .awp-rtl-commerce-stats { margin-inline: 14px; }
  .awp-rtl-support-satisfaction,
  .awp-rtl-buy-updated { margin-inline: 14px; }
  .awp-rtl-buy-benefits-wrap,
  .awp-rtl-price-block,
  .awp-rtl-cart-wrap { padding-inline: 14px; }
  .awp-rtl-lifetime-note,
  .awp-rtl-demo-secondary,
  .awp-rtl-secure-note { margin-inline: 14px; }
  .awp-rtl-cart-wrap form.cart { grid-template-columns: minmax(0,1fr); }
  .awp-rtl-cart-wrap .quantity { width: 82px; }

  .awp-rtl-mobile-buybar { grid-template-columns: minmax(0,1fr) minmax(130px,44%); }
  .awp-rtl-mobile-buybar .price { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .awp-gallery-main img,
  .awp-gallery-nav,
  .awp-amazing-offer-progress > span,
  .awp-rtl-cart-wrap .single_add_to_cart_button,
  .awp-rtl-product-sidebar .awp-rtl-buy-card,
  .awp-mobile-purchase-backdrop { transition: none; }
}

/* Product WooCommerce notices: compact floating toast. The original inline notice remains the no-JS fallback. */
.awp-product-toast-region {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 10060;
  display: grid;
  width: min(390px, calc(100vw - 36px));
  gap: 10px;
  pointer-events: none;
}

.awp-product-toast {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  gap: 11px;
  align-items: start;
  padding: 13px 13px 12px;
  overflow: hidden;
  border: 1px solid #e2e5e8;
  border-radius: 13px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 48px rgba(17,19,24,.18), 0 3px 12px rgba(17,19,24,.08);
  color: #32373d;
  pointer-events: auto;
  transform-origin: bottom right;
  animation: awp-toast-in .22s ease-out both;
  backdrop-filter: blur(12px);
}

.awp-product-toast::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  width: 3px;
  border-radius: 999px 0 0 999px;
  background: #8b960f;
  opacity: .85;
}

.awp-product-toast.is-error::after { background: #c63838; }
.awp-product-toast.is-info::after { background: #3973a7; }
.awp-product-toast.is-leaving { animation: awp-toast-out .18s ease-in both; }

.awp-product-toast-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f4f7df;
  color: #6f7906;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.awp-product-toast.is-error .awp-product-toast-icon { background: #fff0f0; color: #b52d2d; }
.awp-product-toast.is-info .awp-product-toast-icon { background: #eef6fc; color: #326b9d; }

.awp-product-toast-body { min-width: 0; padding-top: 1px; }
.awp-product-toast-body .woocommerce-message,
.awp-product-toast-body .woocommerce-info,
.awp-product-toast-body .woocommerce-error {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3d4349;
  font-size: 12.5px;
  line-height: 1.9;
  list-style: none;
}
.awp-product-toast-body .woocommerce-error li { margin: 0; }

.awp-product-toast-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 31px;
  margin-top: 7px;
  padding: 0 10px;
  border: 1px solid #d8dde1;
  border-radius: 8px;
  background: #f8f9fa;
  color: #252a2f;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}
.awp-product-toast-action:hover { border-color: #bcc2c8; background: #f2f3f4; color: #111318; }

.awp-product-toast-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9a9fa5;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  line-height: 1;
}
.awp-product-toast-close:hover,
.awp-product-toast-close:focus-visible { background: #f2f3f4; color: #22272c; outline: 0; }

@keyframes awp-toast-in {
  from { opacity: 0; transform: translate3d(18px, 12px, 0) scale(.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes awp-toast-out {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; transform: translate3d(18px, 8px, 0) scale(.98); }
}

@media (max-width: 900px) {
  .awp-product-toast-region {
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: calc(100vw - 28px);
  }
  .awp-product-toast { grid-template-columns: 36px minmax(0,1fr) 28px; padding: 12px; border-radius: 12px; }
  .awp-product-toast-icon { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .awp-product-toast,
  .awp-product-toast.is-leaving { animation: none; }
}

/* AJAX single-product purchase button */
.awp-rtl-cart-wrap .single_add_to_cart_button.is-ajax-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
  transform: none !important;
}

.awp-rtl-cart-wrap .single_add_to_cart_button.is-ajax-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: awp-product-buy-spin .72s linear infinite;
}

.awp-rtl-cart-wrap .single_add_to_cart_button.is-ajax-success::after {
  content: "✓";
  margin-inline-start: 8px;
  font-size: 16px;
  line-height: 1;
}

@keyframes awp-product-buy-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .awp-rtl-cart-wrap .single_add_to_cart_button.is-ajax-loading::after {
    animation-duration: 1.4s;
  }
}

/* Smooth gallery navigation and desktop pointer dragging. */
.awp-product-gallery-stage,
.awp-gallery-lightbox-panel {
  -webkit-user-select: none;
  user-select: none;
}

.awp-product-gallery-stage {
  touch-action: pan-y pinch-zoom;
}

.awp-gallery-lightbox-panel {
  touch-action: none;
}

.awp-gallery-main img,
.awp-gallery-lightbox-panel > img {
  -webkit-user-drag: none;
  user-select: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.awp-product-gallery.has-gallery-mouse-drag .awp-gallery-main {
  cursor: grab;
}

.awp-product-gallery-stage.is-dragging .awp-gallery-main,
.awp-gallery-lightbox-panel.has-mouse-drag { cursor: grab; }
.awp-product-gallery-stage.is-dragging .awp-gallery-main,
.awp-gallery-lightbox-panel.has-mouse-drag.is-dragging { cursor: grabbing; }

.awp-product-gallery-stage.is-dragging .awp-gallery-main img,
.awp-gallery-lightbox-panel.is-dragging > img {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .awp-gallery-main img,
  .awp-gallery-lightbox-panel > img {
    transition: none !important;
  }
}
