/* =========================================================
   MYM PRODUCT FOCUS v1.0.6
========================================================= */

body.mym-product-focus-active {
  --mym-pf-blue: #005DA3;
  --mym-pf-blue-dark: #003d6a;
  --mym-pf-red: #d71920;
  --mym-pf-navy: #071522;
  --mym-pf-text: #111820;
  --mym-pf-muted: #687580;
  --mym-pf-border: #e2e7ea;
  --mym-pf-bg: #f5f7f9;
  --mym-pf-content-width: 1280px;
}

/* Give the single product page a clean, genuinely centred content canvas. */
body.mym-product-focus-active .site-content,
body.mym-product-focus-active .main-page-wrapper {
  overflow: visible;
}

body.mym-product-focus-active.single-product .main-page-wrapper > .container {
  width: calc(100% - 40px) !important;
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.mym-product-focus-active.single-product .content-layout-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Woodmart may still reserve a desktop shop/sidebar column even when the sidebar
   looks empty. Remove that reserved column on MYM product pages so the product
   canvas is genuinely centred across the page. */
body.mym-product-focus-active.single-product .sidebar-container,
body.mym-product-focus-active.single-product .area-sidebar-shop,
body.mym-product-focus-active.single-product aside.sidebar-container,
body.mym-product-focus-active.single-product .wd-sidebar,
body.mym-product-focus-active.single-product .shop-sidebar {
  display: none !important;
  width: 0 !important;
  flex: 0 0 0 !important;
}

body.mym-product-focus-active.single-product .site-content {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.mym-product-focus-active.single-product .site-content > .woocommerce,
body.mym-product-focus-active.single-product .site-content > article,
body.mym-product-focus-active.single-product .woocommerce-notices-wrapper {
  width: 100% !important;
  max-width: none !important;
}

body.mym-product-focus-active.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(420px, 500px) minmax(460px, 520px) !important;
  justify-content: center !important;
  gap: 104px !important;
  align-items: start !important;
  width: min(var(--mym-pf-content-width), 100%) !important;
  max-width: var(--mym-pf-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 34px 18px 0 !important;
}

body.mym-product-focus-active.single-product div.product > .woocommerce-product-gallery,
body.mym-product-focus-active.single-product div.product > .summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.mym-product-focus-active.single-product div.product > .woocommerce-product-gallery {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  min-width: 0 !important;
  max-width: 500px !important;
}

body.mym-product-focus-active.single-product div.product > .summary {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  min-width: 0 !important;
  max-width: 520px !important;
  padding-top: 4px !important;
}

body.mym-product-focus-active .woocommerce-product-gallery {
  position: sticky !important;
  top: 130px;
}

body.mym-product-focus-active .woocommerce-product-gallery__wrapper {
  border: 1px solid var(--mym-pf-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7,21,34,.06);
}

body.mym-product-focus-active .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
}

body.mym-product-focus-active .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

body.mym-product-focus-active .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px !important;
}

body.mym-product-focus-active .flex-control-thumbs li {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.mym-product-focus-active .flex-control-thumbs img {
  border: 1px solid var(--mym-pf-border);
  border-radius: 8px;
  background: #fff;
}

/* =========================================================
   SUMMARY
========================================================= */

.mym-pf-summary {
  width: 100%;
}

.mym-pf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.mym-pf-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mym-pf-badge--condition {
  color: var(--mym-pf-blue);
  background: rgba(0,93,163,.08);
}

.mym-pf-badge--stock {
  color: #217a3b;
  background: rgba(33,122,59,.09);
}

.mym-pf-badge--out {
  color: var(--mym-pf-red);
  background: rgba(215,25,32,.08);
}

.mym-pf-title {
  margin: 0 !important;
  color: var(--mym-pf-navy) !important;
  font-size: clamp(31px, 3.5vw, 48px) !important;
  line-height: 1.02 !important;
  font-weight: 850 !important;
  letter-spacing: -.04em !important;
}

.mym-pf-code {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 20px;
  padding: 13px 15px;
  border-left: 4px solid var(--mym-pf-red);
  background: #f5f8fa;
}

.mym-pf-code span {
  color: #7b8791;
  font-size: 9px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .1em;
}

.mym-pf-code strong {
  color: var(--mym-pf-navy);
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.015em;
}

.mym-pf-application {
  margin-top: 17px;
  color: var(--mym-pf-muted);
  font-size: 14px;
  line-height: 1.65;
}

.mym-pf-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--mym-pf-border);
  border-bottom: 1px solid var(--mym-pf-border);
}

.mym-pf-price .price,
.mym-pf-price > .woocommerce-Price-amount,
.mym-pf-price ins,
.mym-pf-price del {
  color: var(--mym-pf-navy) !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

.mym-pf-native-stock .stock {
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* =========================================================
   NATIVE ADD TO CART - keep Woo functionality
========================================================= */

.mym-pf-cart-wrap {
  margin-top: 10px;
}

.mym-pf-cart-wrap form.cart {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin: 0 !important;
}

.mym-pf-cart-wrap .quantity {
  flex: 0 0 112px;
  margin: 0 !important;
}

.mym-pf-cart-wrap .quantity input.qty {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  border: 1px solid #dce2e6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--mym-pf-text) !important;
  font-weight: 750 !important;
}

.mym-pf-cart-wrap .single_add_to_cart_button {
  flex: 1 1 auto !important;
  min-height: 54px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--mym-pf-red) !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase !important;
  box-shadow: 0 13px 28px rgba(215,25,32,.18) !important;
}

.mym-pf-cart-wrap .single_add_to_cart_button:hover {
  background: #b9151b !important;
}

.mym-pf-cart-wrap .variations {
  margin-bottom: 15px !important;
}

.mym-pf-cart-wrap .variations tbody,
.mym-pf-cart-wrap .variations tr,
.mym-pf-cart-wrap .variations th,
.mym-pf-cart-wrap .variations td {
  display: block !important;
  width: 100% !important;
}

.mym-pf-cart-wrap .variations select {
  width: 100% !important;
  min-height: 46px;
}

.mym-pf-cart-wrap .woocommerce-variation-add-to-cart {
  display: flex !important;
  gap: 10px;
}

.mym-pf-request-primary {
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  padding: 0 20px;
  border: 0 !important;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--mym-pf-red) !important;
  color: #fff !important;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  cursor: pointer;
}

.mym-pf-request-primary span {
  font-size: 18px;
}

/* =========================================================
   CONTACT ACTION ORDER
   1. WhatsApp branch chooser
   2. Call MYM
   3. Native Add to Cart
========================================================= */

.mym-pf-contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 22px;
}

.mym-pf-action {
  appearance: none;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #dce2e6;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: #fff;
  color: var(--mym-pf-text) !important;
  text-decoration: none !important;
  font: inherit;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .025em;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.mym-pf-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.mym-pf-action > span:not(.mym-pf-action-arrow) {
  flex: 1 1 auto;
}

.mym-pf-action-arrow {
  flex: 0 0 auto !important;
  font-size: 17px;
  line-height: 1;
}

.mym-pf-action:hover {
  transform: translateY(-2px);
  border-color: rgba(0,93,163,.35);
  background: #f7fafc;
}

.mym-pf-action--whatsapp {
  min-height: 54px;
  border-color: rgba(23,123,79,.22);
  background: rgba(23,123,79,.055);
  color: #177b4f !important;
  box-shadow: 0 10px 22px rgba(23,123,79,.06);
}

.mym-pf-action--whatsapp:hover {
  border-color: rgba(23,123,79,.42);
  background: rgba(23,123,79,.09);
}

.mym-pf-action--call {
  color: var(--mym-pf-blue) !important;
}

/* Native cart deliberately comes after WhatsApp + Call. */
.mym-pf-contact-actions + .mym-pf-cart-wrap,
.mym-pf-contact-actions + .mym-pf-out-actions {
  margin-top: 10px;
}

.mym-pf-contact-actions + .mym-pf-cart-wrap {
  margin-top: 10px;
}

/* =========================================================
   WHATSAPP BRANCH CHOOSER MODAL
========================================================= */

body.mym-pf-whatsapp-open {
  overflow: hidden !important;
}

.mym-pf-whatsapp-modal[hidden] {
  display: none !important;
}

.mym-pf-whatsapp-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.mym-pf-whatsapp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,18,31,.67);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.mym-pf-whatsapp-dialog {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(0,93,163,.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(4,18,31,.28);
}

.mym-pf-whatsapp-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.mym-pf-whatsapp-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #177b4f;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .1em;
}

.mym-pf-whatsapp-dialog h2 {
  margin: 0 !important;
  color: var(--mym-pf-navy) !important;
  font-size: 28px !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
}

.mym-pf-whatsapp-dialog-head p {
  margin: 7px 0 0 !important;
  color: var(--mym-pf-muted);
  font-size: 12px;
  line-height: 1.5;
}

.mym-pf-whatsapp-close {
  appearance: none;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid #dfe6ea !important;
  border-radius: 50% !important;
  display: grid;
  place-items: center;
  background: #fff !important;
  color: var(--mym-pf-navy) !important;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mym-pf-whatsapp-product {
  margin-top: 20px;
  padding: 14px 15px;
  border-left: 3px solid var(--mym-pf-red);
  border-radius: 0 8px 8px 0;
  background: #f6f8fa;
}

.mym-pf-whatsapp-product > span {
  display: block;
  margin-bottom: 5px;
  color: #8a959e;
  font-size: 8px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
}

.mym-pf-whatsapp-product strong {
  display: block;
  color: var(--mym-pf-navy);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
}

.mym-pf-whatsapp-product small {
  display: block;
  margin-top: 5px;
  color: var(--mym-pf-blue);
  font-size: 9px;
  line-height: 1.25;
  font-weight: 850;
}

.mym-pf-whatsapp-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 17px;
}

.mym-pf-whatsapp-branch {
  min-width: 0;
  min-height: 70px;
  padding: 11px 12px;
  border: 1px solid #dfe7eb;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 9px;
  align-items: center;
  background: #fff;
  color: var(--mym-pf-text) !important;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.mym-pf-whatsapp-branch:hover {
  transform: translateY(-2px);
  border-color: rgba(23,123,79,.34);
  box-shadow: 0 10px 24px rgba(7,21,34,.07);
}

.mym-pf-whatsapp-branch-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(23,123,79,.08);
  color: #177b4f;
}

.mym-pf-whatsapp-branch-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mym-pf-whatsapp-branch-copy {
  min-width: 0;
}

.mym-pf-whatsapp-branch-copy strong,
.mym-pf-whatsapp-branch-copy small {
  display: block;
}

.mym-pf-whatsapp-branch-copy strong {
  overflow: hidden;
  color: var(--mym-pf-navy);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 900;
  text-overflow: ellipsis;
}

.mym-pf-whatsapp-branch-copy small {
  margin-top: 4px;
  color: #687780;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 750;
}

.mym-pf-whatsapp-branch-arrow {
  color: #177b4f;
  font-size: 15px;
  line-height: 1;
}

.mym-pf-whatsapp-note {
  margin: 15px 0 0 !important;
  color: #89959e;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 560px) {
  .mym-pf-whatsapp-modal {
    align-items: end;
    padding: 10px;
  }

  .mym-pf-whatsapp-dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 20px 16px 16px;
    border-radius: 18px 18px 14px 14px;
  }

  .mym-pf-whatsapp-dialog h2 {
    font-size: 24px !important;
  }

  .mym-pf-whatsapp-branches {
    grid-template-columns: 1fr;
  }

  .mym-pf-whatsapp-branch {
    min-height: 62px;
  }
}

/* =========================================================
   TRUST / META
========================================================= */

.mym-pf-trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  margin-top: 19px;
}

.mym-pf-trust-item {
  padding: 14px;
  border: 1px solid var(--mym-pf-border);
  border-radius: 8px;
  background: #f8fafb;
}

.mym-pf-trust-item span,
.mym-pf-sku-meta span {
  display: block;
  color: #89939c;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .06em;
}

.mym-pf-trust-item strong {
  display: block;
  margin-top: 5px;
  color: var(--mym-pf-text);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.mym-pf-sku-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

/* =========================================================
   BELOW PRODUCT
========================================================= */

.mym-pf-details,
.mym-pf-related {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
}

.mym-pf-details {
  margin-top: 80px;
  padding: 80px 0;
  background: #f5f7f9;
  border-top: 1px solid #e8ecef;
}

.mym-pf-inner {
  width: min(var(--mym-pf-content-width), calc(100% - 56px));
  margin: 0 auto;
}

.mym-pf-section + .mym-pf-section {
  margin-top: 70px;
}

.mym-pf-section-head {
  max-width: 700px;
  margin-bottom: 28px;
}

.mym-pf-section-head > span {
  display: block;
  margin-bottom: 8px;
  color: var(--mym-pf-blue);
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .12em;
}

.mym-pf-section-head h2 {
  margin: 0 !important;
  color: var(--mym-pf-navy) !important;
  font-size: clamp(30px, 3.5vw, 44px) !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: -.035em !important;
}

.mym-pf-section-head p {
  margin: 10px 0 0;
  color: var(--mym-pf-muted);
  font-size: 14px;
  line-height: 1.6;
}

.mym-pf-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid var(--mym-pf-border);
  border-left: 1px solid var(--mym-pf-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.mym-pf-spec {
  min-height: 92px;
  padding: 17px;
  border-right: 1px solid var(--mym-pf-border);
  border-bottom: 1px solid var(--mym-pf-border);
}

.mym-pf-spec span,
.mym-pf-compat-card small,
.mym-pf-buying-card small {
  display: block;
  color: #83909a;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mym-pf-spec strong {
  display: block;
  margin-top: 8px;
  color: var(--mym-pf-text);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}

.mym-pf-compat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.mym-pf-compat-card {
  padding: 21px;
  border: 1px solid var(--mym-pf-border);
  border-radius: 10px;
  background: #fff;
}

.mym-pf-compat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--mym-pf-navy);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.mym-pf-description-content {
  max-width: 900px;
  color: var(--mym-pf-muted);
  font-size: 15px;
  line-height: 1.8;
}

.mym-pf-description-content p:last-child {
  margin-bottom: 0;
}

.mym-pf-buying-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 70px;
}

.mym-pf-buying-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  padding: 25px;
  border-radius: 10px;
  background: linear-gradient(145deg,#071522,#0a2943);
  color: #fff;
}

.mym-pf-buying-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 16px;
}

.mym-pf-buying-card small {
  color: rgba(255,255,255,.45);
}

.mym-pf-buying-card h3 {
  margin: 5px 0 0 !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.mym-pf-buying-card p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   RELATED PRODUCT SLIDER
========================================================= */

.mym-pf-related {
  padding: 78px 0 86px;
  background: #fff;
  border-top: 1px solid #edf0f2;
}

.mym-pf-related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.mym-pf-related-head .mym-pf-section-head {
  margin-bottom: 0;
}

.mym-pf-related-controls {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.mym-pf-related-arrow {
  appearance: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dce3e7 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--mym-pf-navy) !important;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  transition: .18s ease;
}

.mym-pf-related-arrow:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--mym-pf-blue) !important;
  background: var(--mym-pf-blue) !important;
  color: #fff !important;
}

.mym-pf-related-arrow:disabled {
  opacity: .34;
  cursor: default;
}

.mym-pf-related-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.mym-pf-related-viewport::-webkit-scrollbar {
  display: none;
}

.mym-pf-related-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 13.5px);
  gap: 18px;
  width: 100%;
  min-width: 100%;
  padding: 2px 2px 8px;
}

.mym-pf-related-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--mym-pf-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7,21,34,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mym-pf-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,93,163,.24);
  box-shadow: 0 18px 38px rgba(7,21,34,.085);
}

.mym-pf-related-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / .9;
  overflow: hidden;
  background: #f7f9fa;
  text-decoration: none !important;
}

.mym-pf-related-image {
  width: 100% !important;
  height: 100% !important;
  padding: 14px;
  object-fit: contain !important;
  transition: transform .28s ease;
}

.mym-pf-related-card:hover .mym-pf-related-image {
  transform: scale(1.025);
}

.mym-pf-related-stock {
  position: absolute;
  top: 12px;
  left: 12px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
  box-shadow: 0 5px 14px rgba(7,21,34,.08);
}

.mym-pf-related-stock.is-in {
  background: #eef8f1;
  color: #1b7d3b;
}

.mym-pf-related-stock.is-out {
  background: #fff0f1;
  color: var(--mym-pf-red);
}

.mym-pf-related-body {
  padding: 17px 17px 18px;
}

.mym-pf-related-meta {
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mym-pf-related-meta span {
  color: #87939c;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}

.mym-pf-related-meta strong {
  overflow: hidden;
  color: var(--mym-pf-blue);
  font-size: 9px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mym-pf-related-card h3 {
  margin: 9px 0 0 !important;
  min-height: 44px;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
}

.mym-pf-related-card h3 a {
  color: var(--mym-pf-text) !important;
  text-decoration: none !important;
}

.mym-pf-related-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf0f2;
}

.mym-pf-related-price,
.mym-pf-related-price .price,
.mym-pf-related-price .woocommerce-Price-amount {
  color: var(--mym-pf-blue) !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

.mym-pf-related-view {
  flex: 0 0 auto;
  color: var(--mym-pf-navy) !important;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .045em;
  text-decoration: none !important;
  white-space: nowrap;
}

.mym-pf-related-view span {
  color: var(--mym-pf-red);
  font-size: 13px;
}

.mym-pf-related-progress {
  position: relative;
  width: 100%;
  height: 3px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f2;
}

.mym-pf-related-progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--mym-pf-blue);
  transform-origin: left center;
  transition: transform .12s linear;
}

/* Woodmart can output its own Related products block separately from Woo's
   standard hook. MYM Product Focus already renders Similar Engines/Gearboxes,
   so hide the duplicate native related block on single products. */
body.mym-product-focus-active.single-product section.related.products,
body.mym-product-focus-active.single-product .related.products:not(.mym-pf-related),
body.mym-product-focus-active.single-product .wd-products-element.related-products {
  display: none !important;
}

/* =========================================================
   MOBILE STICKY PURCHASE BAR
========================================================= */

.mym-pf-mobile-bar {
  display: none;
}

@media (max-width: 1024px) {
  .mym-pf-related-track {
    grid-auto-columns: calc(46% - 8px);
  }


  body.mym-product-focus-active.single-product div.product {
    grid-template-columns: minmax(0,1fr) minmax(360px,.95fr) !important;
    gap: 52px !important;
    width: calc(100% - 34px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.mym-product-focus-active .woocommerce-product-gallery {
    top: 100px;
  }


  .mym-pf-spec-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 767px) {
  .mym-pf-related {
    padding: 52px 0 58px;
  }

  .mym-pf-related-head {
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .mym-pf-related-head .mym-pf-section-head p {
    display: none;
  }

  .mym-pf-related-controls {
    gap: 6px;
  }

  .mym-pf-related-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .mym-pf-related-track {
    gap: 12px;
  }

  .mym-pf-related-track {
    grid-auto-columns: 84%;
  }

  .mym-pf-related-card {
    max-width: none;
  }

  .mym-pf-related-media {
    aspect-ratio: 1 / .78;
  }

  .mym-pf-related-body {
    padding: 15px;
  }

  .mym-pf-related-card h3 {
    min-height: 0;
    font-size: 13px !important;
  }

  .mym-pf-related-progress {
    margin-top: 12px;
  }


  body.mym-product-focus-active {
    padding-bottom: 78px;
  }

  body.mym-product-focus-active.single-product div.product {
    display: block !important;
    width: calc(100% - 30px) !important;
    padding: 12px 0 0 !important;
  }

  body.mym-product-focus-active .woocommerce-product-gallery {
    position: relative !important;
    top: auto !important;
    margin-bottom: 28px !important;
  }

  .mym-pf-title {
    font-size: clamp(29px, 8vw, 38px) !important;
  }

  .mym-pf-code strong {
    font-size: 20px;
  }

  .mym-pf-application {
    font-size: 13px;
  }

  .mym-pf-price-row {
    margin-top: 21px;
  }

  .mym-pf-cart-wrap form.cart,
  .mym-pf-cart-wrap .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 92px 1fr !important;
  }

  .mym-pf-cart-wrap .quantity {
    width: 92px !important;
  }


  .mym-pf-action {
    min-height: 46px;
    font-size: 9px;
  }

  .mym-pf-trust-row {
    grid-template-columns: 1fr;
  }

  .mym-pf-details {
    margin-top: 52px;
    padding: 52px 0;
  }

  .mym-pf-inner {
    width: calc(100% - 30px);
  }

  .mym-pf-section + .mym-pf-section,
  .mym-pf-buying-grid {
    margin-top: 48px;
  }

  .mym-pf-spec-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .mym-pf-spec {
    min-height: 84px;
    padding: 14px;
  }

  .mym-pf-spec strong {
    font-size: 13px;
  }

  .mym-pf-compat-grid,
  .mym-pf-buying-grid {
    grid-template-columns: 1fr;
  }

  .mym-pf-related {
    padding: 52px 0;
  }

  .mym-pf-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99990;
    min-height: 70px;
    display: grid;
    grid-template-columns: 1fr minmax(145px,.85fr);
    align-items: center;
    gap: 12px;
    padding: 9px 15px;
    border-top: 1px solid rgba(7,21,34,.12);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -12px 35px rgba(7,21,34,.13);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform .22s ease;
  }

  .mym-pf-mobile-bar.is-visible {
    transform: translateY(0);
  }

  .mym-pf-mobile-price {
    min-width: 0;
  }

  .mym-pf-mobile-price small {
    display: block;
    overflow: hidden;
    color: #7a8790;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mym-pf-mobile-price strong,
  .mym-pf-mobile-price .woocommerce-Price-amount {
    display: block;
    margin-top: 3px;
    color: var(--mym-pf-navy) !important;
    font-size: 17px !important;
    line-height: 1.1;
    font-weight: 900 !important;
  }

  .mym-pf-mobile-buy {
    min-height: 50px;
    padding: 0 14px;
    border: 0 !important;
    border-radius: 6px;
    background: var(--mym-pf-red) !important;
    color: #fff !important;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .045em;
    cursor: pointer;
  }
}

@media (max-width: 420px) {

  .mym-pf-spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   v1.0.6 — WOODMART-SAFE PRODUCT HERO LAYOUT
   The JS identifies the actual live gallery/summary wrapper,
   so the desktop layout no longer depends on theme DOM names.
========================================================= */

body.mym-product-focus-active.single-product div.product {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

body.mym-product-focus-active.single-product .mym-pf-live-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 390px) minmax(0, 540px) !important;
  column-gap: 88px !important;
  row-gap: 0 !important;
  align-items: start !important;
  justify-content: center !important;
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  margin: 34px auto 0 !important;
  padding: 0 !important;
}

body.mym-product-focus-active.single-product .mym-pf-live-hero > .mym-pf-live-gallery-col,
body.mym-product-focus-active.single-product .mym-pf-live-hero > .mym-pf-live-summary-col {
  float: none !important;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.mym-product-focus-active.single-product .mym-pf-live-gallery-col {
  grid-column: 1 !important;
}

body.mym-product-focus-active.single-product .mym-pf-live-summary-col {
  grid-column: 2 !important;
}

body.mym-product-focus-active.single-product .mym-pf-live-gallery-col .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 390px !important;
  margin: 0 !important;
}

body.mym-product-focus-active.single-product .mym-pf-live-summary-col .summary,
body.mym-product-focus-active.single-product .mym-pf-live-summary-col .summary-inner,
body.mym-product-focus-active.single-product .mym-pf-live-summary-col .entry-summary {
  width: 100% !important;
  max-width: 540px !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.mym-product-focus-active.single-product .mym-pf-live-summary-col .mym-pf-title {
  max-width: 520px !important;
}

body.mym-product-focus-active.single-product .mym-pf-live-hero .mym-pf-gallery-parent,
body.mym-product-focus-active.single-product .mym-pf-live-hero .mym-pf-summary-parent {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.mym-product-focus-active.single-product .mym-pf-live-gallery-col .woocommerce-product-gallery__wrapper {
  width: 100% !important;
}

/* Add to Cart remains the primary purchase action. */
body.mym-product-focus-active.single-product .mym-pf-summary .mym-pf-quote,
body.mym-product-focus-active.single-product .mym-pf-summary .mym-pf-request-quote,
body.mym-product-focus-active.single-product .mym-pf-summary [data-mym-quote],
body.mym-product-focus-active.single-product .mym-pf-summary button[name*="quote" i] {
  display: none !important;
}

@media (max-width: 1100px) and (min-width: 768px) {
  body.mym-product-focus-active.single-product .mym-pf-live-hero {
    grid-template-columns: minmax(0, 350px) minmax(0, 500px) !important;
    column-gap: 52px !important;
    width: calc(100% - 34px) !important;
  }

  body.mym-product-focus-active.single-product .mym-pf-live-gallery-col .woocommerce-product-gallery {
    max-width: 350px !important;
  }

  body.mym-product-focus-active.single-product .mym-pf-live-summary-col .summary,
  body.mym-product-focus-active.single-product .mym-pf-live-summary-col .summary-inner,
  body.mym-product-focus-active.single-product .mym-pf-live-summary-col .entry-summary {
    max-width: 500px !important;
  }
}

@media (max-width: 767px) {
  body.mym-product-focus-active.single-product .mym-pf-live-hero {
    display: block !important;
    width: calc(100% - 30px) !important;
    max-width: none !important;
    margin: 12px auto 0 !important;
  }

  body.mym-product-focus-active.single-product .mym-pf-live-gallery-col,
  body.mym-product-focus-active.single-product .mym-pf-live-summary-col,
  body.mym-product-focus-active.single-product .mym-pf-live-gallery-col .woocommerce-product-gallery,
  body.mym-product-focus-active.single-product .mym-pf-live-summary-col .summary,
  body.mym-product-focus-active.single-product .mym-pf-live-summary-col .summary-inner,
  body.mym-product-focus-active.single-product .mym-pf-live-summary-col .entry-summary {
    width: 100% !important;
    max-width: none !important;
  }
}
