/**
 * ELREDA GROUP — Single Product v1.8 — complete clean replacement.
 * Matches the actual Astra/WooCommerce DOM: body.single-product div.product.
 * Do NOT append CSS from v1.3–v1.7 after this file.
 */
body.single-product {
  --ers-navy:#061A36;
  --ers-blue:#0A55A2;
  --ers-red:#ED0029;
  --ers-border:#E2E7ED;
  --ers-muted:#64748B;
}
body.single-product .site-content {background:linear-gradient(180deg,#F7F9FC 0%,#FFF 65%);}
body.single-product div.product {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);
  gap:20px 32px;
  align-items:start;
  direction:rtl;
}
body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product div.images {
  grid-column:2;
  grid-row:1;
  min-width:0;
  width:100%!important;
  float:none!important;
  margin:0!important;
  padding:18px;
  border:1px solid var(--ers-border);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 42px rgba(6,26,54,.055);
}
body.single-product div.product div.images img {
  display:block;
  max-width:100%;
  height:auto;
  object-fit:contain;
  object-position:center;
}
body.single-product div.product .woocommerce-product-gallery__image {
  background:#fff;
  border-radius:12px;
  overflow:hidden;
}
body.single-product div.product .flex-control-thumbs {
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin-top:12px!important;
  padding:0!important;
}
body.single-product div.product .flex-control-thumbs li {
  width:100%!important;
  float:none!important;
  padding:5px!important;
  border:1px solid var(--ers-border);
  border-radius:10px;
  background:#F7F9FC;
  overflow:hidden;
}
body.single-product div.product .flex-control-thumbs li img {
  aspect-ratio:1;
  object-fit:contain;
}
body.single-product div.product .summary {
  grid-column:1;
  grid-row:1;
  min-width:0;
  width:100%!important;
  float:none!important;
  margin:0!important;
  padding:26px;
  border:1px solid var(--ers-border);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 42px rgba(6,26,54,.055);
}
body.single-product div.product .woocommerce-tabs,
body.single-product div.product .related,
body.single-product div.product .upsells {
  grid-column:1/-1;
  min-width:0;
}
body.single-product div.product .summary h1.product_title.entry-title {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  margin:8px 0 12px!important;
  color:var(--ers-navy)!important;
  font-family:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
  font-size:clamp(25px,2.35vw,35px)!important;
  font-weight:900!important;
  line-height:1.45!important;
}
body.single-product div.product .summary .price {
  color:var(--ers-red)!important;
  font-size:clamp(25px,2.7vw,35px)!important;
  font-weight:900!important;
  line-height:1.4;
  margin:15px 0!important;
}
body.single-product div.product .summary .price del {
  font-size:.61em;
  color:#919CAA!important;
  opacity:1;
}
body.single-product div.product .summary .price ins {
  color:var(--ers-red)!important;
  text-decoration:none;
}
body.single-product div.product .summary .woocommerce-product-details__short-description {
  color:#526176;
  line-height:1.85;
  font-size:14px;
}

/* Compact, lightly outlined BRAND CARD: logo to the right, name BESIDE it. */
body.single-product div.product .summary .elreda-sp-brand-row {
  display:block!important;
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.single-product div.product .summary a.elreda-sp-brand {
  display:inline-flex!important;
  direction:rtl!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:auto!important;
  max-width:260px!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:6px 10px!important;
  border:1px solid #E2EAF3!important;
  border-radius:13px!important;
  background:#F8FAFD!important;
  box-shadow:none!important;
  line-height:1.4!important;
  text-decoration:none!important;
}
body.single-product div.product .summary a.elreda-sp-brand:hover {
  border-color:#B8CDE5!important;
  background:#F1F6FC!important;
}
body.single-product div.product .summary .elreda-sp-brand__media {
  display:flex!important;
  flex:0 0 92px!important;
  align-items:center!important;
  justify-content:center!important;
  width:92px!important;
  max-width:32vw!important;
  min-width:0!important;
  height:37px!important;
  overflow:hidden!important;
  background:transparent!important;
  border:0!important;
}
body.single-product div.product .summary .elreda-sp-brand__media img.elreda-sp-brand__logo {
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.single-product div.product .summary a.elreda-sp-brand .elreda-sp-brand__name {
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:#061A36!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.5!important;
  overflow-wrap:anywhere;
}
body.single-product .elreda-sp-model {
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 9px;
  color:#65758A;
  font-size:11px;
}
body.single-product .elreda-sp-model strong {
  color:#0A55A2;
  font-weight:900;
  direction:ltr;
}

.elreda-sp-highlights {
  margin:19px 0;
  border-top:1px solid var(--ers-border);
  padding-top:17px;
}
.elreda-sp-highlights h2 {
  margin:0 0 12px!important;
  color:var(--ers-navy)!important;
  font-size:17px!important;
  font-weight:900;
}
.elreda-sp-highlights__grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.elreda-sp-spec {
  min-width:0;
  display:grid;
  gap:5px;
  padding:12px 13px;
  border:1px solid #E7EDF4;
  border-radius:12px;
  background:#F7F9FC;
}
.elreda-sp-spec span {color:var(--ers-muted);font-size:11px;line-height:1.55;}
.elreda-sp-spec strong {
  color:var(--ers-navy);
  font-size:13px;
  font-weight:850;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.elreda-sp-buy-anchor {
  display:block;
  position:relative;
  top:-20px;
  scroll-margin-top:100px;
}
body.single-product div.product .summary form.cart {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:16px 0 0!important;
}
body.single-product div.product .summary form.cart .variations {
  width:100%;
  margin-bottom:6px!important;
}
body.single-product div.product .summary form.cart .single_variation_wrap {width:100%;}
body.single-product div.product .summary button.single_add_to_cart_button {
  min-height:49px!important;
  flex:1 1 185px;
  border:0!important;
  border-radius:11px!important;
  padding:12px 22px!important;
  background:var(--ers-red)!important;
  color:#fff!important;
  font-family:inherit;
  font-size:15px!important;
  font-weight:900!important;
  box-shadow:0 7px 18px rgba(237,0,41,.15);
}
body.single-product div.product .summary button.single_add_to_cart_button:hover {background:#C90023!important;}
body.single-product div.product .summary button.single_add_to_cart_button:disabled {opacity:.5;box-shadow:none;}

/* One unified +/- control, + at right in RTL, neutral minus at left. */
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty {
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex:0 0 148px!important;
  width:148px!important;
  max-width:100%!important;
  min-width:0!important;
  height:50px!important;
  min-height:50px!important;
  align-items:stretch!important;
  justify-content:space-between!important;
  gap:2px!important;
  direction:rtl!important;
  padding:4px!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid #DAE4F0!important;
  border-radius:14px!important;
  background:#FFF!important;
  box-shadow:0 3px 11px rgba(6,26,54,.04)!important;
}
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__plus,
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__minus {
  box-sizing:border-box!important;
  display:flex!important;
  flex:0 0 40px!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-family:Arial,sans-serif!important;
  font-size:23px!important;
  font-weight:500!important;
  line-height:1!important;
  cursor:pointer;
}
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__plus {
  order:1!important;
  background:#ED0029!important;
  color:#FFF!important;
}
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty input.qty {
  box-sizing:border-box!important;
  display:block!important;
  order:2!important;
  flex:1 1 0!important;
  width:42px!important;
  min-width:0!important;
  max-width:none!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#061A36!important;
  box-shadow:none!important;
  text-align:center!important;
  direction:ltr!important;
  font-family:inherit!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:40px!important;
  font-variant-numeric:tabular-nums;
  -moz-appearance:textfield;
  appearance:textfield;
}
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty input.qty::-webkit-inner-spin-button,
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty input.qty::-webkit-outer-spin-button {
  margin:0;
  -webkit-appearance:none;
}
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__minus {
  order:3!important;
  background:#F0F4F9!important;
  color:#061A36!important;
}
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__plus:hover:not(:disabled) {background:#C90023!important;}
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__minus:hover:not(:disabled) {background:#E4ECF6!important;}
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__plus:disabled,
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__minus:disabled {opacity:.45!important;cursor:not-allowed;}
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__plus:focus-visible,
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty .elreda-sp-qty__minus:focus-visible,
body.single-product div.product .summary form.cart .quantity.elreda-sp-qty input.qty:focus-visible {
  outline:2px solid #0A55A2!important;
  outline-offset:-3px;
}

/* WPC WISHLIST + COMPARE — one matched visual layer, real native plugin buttons on top.
 * Do not clone plugin buttons or remove their WooCommerce/WPC data attributes.
 */
body.single-product div.product .summary .elreda-sp-actions {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:8px 0 14px!important;
}
body.single-product div.product .summary .elreda-sp-actions__item {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:48px;
  overflow:hidden;
  border:1.5px solid #ED0029;
  border-radius:12px;
  background:#fff;
  color:#061A36;
  box-shadow:0 2px 8px rgba(6,26,54,.025);
  transition:border-color .18s ease,background-color .18s ease;
}
body.single-product div.product .summary .elreda-sp-actions__item:hover {
  border-color:#C90023;
  background:#FFF5F7;
}
body.single-product div.product .summary .elreda-sp-actions__item:focus-within {
  outline:2px solid #0A55A2;
  outline-offset:2px;
}
body.single-product div.product .summary .elreda-sp-action__visual {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:8px;
  min-width:0;
  padding:11px 8px;
  font-family:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
  font-size:13px;
  font-weight:850;
  line-height:1.5;
  white-space:nowrap;
  pointer-events:none;
  color:inherit;
}
body.single-product div.product .summary .elreda-sp-action__icon {
  display:block;
  flex:0 0 20px;
  width:20px;
  height:20px;
  min-width:20px;
  min-height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}
body.single-product div.product .summary .elreda-sp-actions__wishlist.is-added {border-color:#ED0029;background:#FFF6F8;color:#BD0030;}
body.single-product div.product .summary .elreda-sp-actions__wishlist.is-added .elreda-sp-action__icon {fill:rgba(237,0,41,.12);}
body.single-product div.product .summary .elreda-sp-actions__compare.is-added {border-color:#ED0029;background:#FFF6F8;color:#BD0030;}
/* WPC's exact buttons remain click/keyboard targets but cannot distort icon sizes. */
body.single-product div.product .summary .elreda-sp-actions__item .woosw-btn,
body.single-product div.product .summary .elreda-sp-actions__item .woosc-btn {
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:0!important;
  cursor:pointer;
}
body.single-product div.product .summary .elreda-sp-actions__item .woosw-btn:disabled,
body.single-product div.product .summary .elreda-sp-actions__item .woosc-btn:disabled {cursor:not-allowed;}

body.single-product div.product .product_meta {
  padding-top:14px;
  border-top:1px solid var(--ers-border);
  font-size:12px;
  color:var(--ers-muted);
}
body.single-product div.product .product_meta a {color:var(--ers-blue);}
body.single-product div.product .woocommerce-tabs,
body.single-product div.product .related {
  margin-top:8px;
  padding:22px;
  border:1px solid var(--ers-border);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 34px rgba(6,26,54,.045);
}
/* Native Woo tabs in three equal cells, without an added duplicate tab bar. */
body.single-product div.product .woocommerce-tabs ul.tabs {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
  width:100%!important;
  min-height:0!important;
  margin:0 0 20px!important;
  padding:6px!important;
  border:1px solid #DFE7F0!important;
  border-radius:15px!important;
  background:#F3F6FA!important;
  list-style:none!important;
  overflow:visible!important;
  direction:rtl;
}
body.single-product div.product .woocommerce-tabs ul.tabs::before,
body.single-product div.product .woocommerce-tabs ul.tabs::after,
body.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::after {
  content:none!important;
  display:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.single-product div.product .woocommerce-tabs ul.tabs li {
  position:relative;
  display:block!important;
  float:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.single-product div.product .woocommerce-tabs ul.tabs li a {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:44px!important;
  padding:9px!important;
  border-radius:10px;
  background:transparent!important;
  color:#52647B!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.45!important;
  text-align:center!important;
  white-space:normal!important;
  text-decoration:none!important;
}
body.single-product div.product .woocommerce-tabs ul.tabs li:hover {background:#E8F0F8!important;}
body.single-product div.product .woocommerce-tabs ul.tabs li.active,
body.single-product div.product .woocommerce-tabs ul.tabs li.active:hover {
  background:#061A36!important;
  box-shadow:0 4px 12px rgba(6,26,54,.15)!important;
}
body.single-product div.product .woocommerce-tabs ul.tabs li.active a {color:#fff!important;}
body.single-product div.product .woocommerce-tabs ul.tabs li a:focus-visible {
  outline:2px solid #ED0029;
  outline-offset:2px;
}
body.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel {
  margin:0!important;
  padding:4px 4px 10px!important;
  color:#364B63;
  font-size:14px;
  line-height:1.95;
  text-align:start;
  overflow-wrap:anywhere;
}
body.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel>h2:first-child {display:none!important;}
body.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel p {margin:0 0 13px;line-height:1.95;}
body.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel p:last-child {margin-bottom:0;}
body.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes {
  width:100%;
  border:1px solid var(--ers-border)!important;
  border-collapse:separate;
  border-spacing:0;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
body.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes tr:nth-child(even){background:#F7F9FC;}
body.single-product div.product .shop_attributes th,
body.single-product div.product .shop_attributes td {
  padding:12px;
  border-color:var(--ers-border);
  text-align:right;
}
body.single-product div.product .shop_attributes th {
  width:36%;
  color:#061A36;
  font-weight:800;
  vertical-align:top;
}
body.single-product div.product .shop_attributes td {color:#475569;vertical-align:top;}
body.single-product div.product .related h2 {color:var(--ers-navy);font-weight:900;}

/* Mobile purchase reminder; jumps back to Woo's ONE native cart form. */
body.single-product .elreda-sp-buybar {display:none;}
@media (max-width:920px) {
  body.single-product div.product {grid-template-columns:minmax(0,1fr);gap:13px;}
  body.single-product div.product .woocommerce-product-gallery,
  body.single-product div.product div.images,
  body.single-product div.product .summary,
  body.single-product div.product .woocommerce-tabs,
  body.single-product div.product .related,
  body.single-product div.product .upsells {
    grid-column:1!important;
    grid-row:auto!important;
  }
  body.single-product div.product div.images,
  body.single-product div.product .summary {padding:16px;border-radius:16px;}
  body.single-product div.product .woocommerce-tabs,
  body.single-product div.product .related {padding:16px;border-radius:16px;}
}
@media (max-width:767px) {
  body.single-product .site-content {padding-bottom:125px;}
  body.single-product div.product .summary {padding:17px!important;}
  body.single-product div.product .summary .elreda-sp-brand__media {
    flex-basis:78px!important;
    width:78px!important;
    height:33px!important;
  }
  body.single-product div.product .summary a.elreda-sp-brand {gap:7px!important;padding:5px 8px!important;}
  body.single-product div.product .summary a.elreda-sp-brand .elreda-sp-brand__name {font-size:12px!important;}
  body.single-product div.product .summary form.cart .quantity.elreda-sp-qty {
    width:144px!important;
    flex-basis:144px!important;
  }
  body.single-product div.product .summary .elreda-sp-actions {gap:8px;}
  body.single-product div.product .summary .elreda-sp-action__visual {gap:6px;font-size:12px;}
  body.single-product div.product .woocommerce-tabs {padding:12px!important;border-radius:16px!important;}
  body.single-product div.product .woocommerce-tabs ul.tabs {gap:4px!important;padding:4px!important;}
  body.single-product div.product .woocommerce-tabs ul.tabs li a {
    min-height:42px!important;
    padding:7px 4px!important;
    font-size:11px!important;
  }
  body.single-product .elreda-sp-buybar {
    position:fixed;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    bottom:calc(14px + env(safe-area-inset-bottom,0px));
    inset-inline:12px;
    padding:9px 10px;
    max-width:520px;
    margin-inline:auto;
    z-index:980;
    border:1px solid #29456A;
    border-radius:15px;
    background:#061A36;
    color:#fff;
    box-shadow:0 8px 25px rgba(3,19,41,.25);
    transform:translateY(140%);
    opacity:0;
    pointer-events:none;
    transition:transform .22s ease,opacity .22s ease;
  }
  body.single-product.elreda-has-mobile-nav .elreda-sp-buybar {
    bottom:calc(96px + env(safe-area-inset-bottom,0px));
  }
  body.single-product.elreda-sp-show-buybar .elreda-sp-buybar {
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }
  .elreda-sp-buybar__price {min-width:0;display:grid;gap:1px;}
  .elreda-sp-buybar__price small {color:#CAD9EB;font-size:10px;}
  .elreda-sp-buybar__price strong {color:#fff;line-height:1.5;font-size:14px;white-space:normal;}
  .elreda-sp-buybar__price del,
  .elreda-sp-buybar__price ins {font-size:12px;color:#fff;}
  .elreda-sp-buybar__price del {opacity:.6;}
  .elreda-sp-buybar__price ins {text-decoration:none;}
  .elreda-sp-buybar__button {
    flex:0 0 auto;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border-radius:9px;
    background:var(--ers-red);
    color:#fff!important;
    font-size:12px;
    font-weight:900;
    text-decoration:none!important;
  }
  .elreda-sp-highlights__grid {gap:7px;}
  .elreda-sp-spec {padding:10px;}
}
@media (prefers-reduced-motion:reduce) {
  body.single-product .elreda-sp-buybar {transition:none;}
  body.single-product div.product .summary .elreda-sp-actions__item {transition:none;}
}

/* ELREDA - Responsive single product gallery */

body.single-product div.product
.woocommerce-product-gallery__image > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: clamp(330px, 33vw, 430px) !important;
}

body.single-product div.product
.woocommerce-product-gallery__image > a > img:not(.zoomImg) {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 430px !important;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 920px) {
    body.single-product div.product
    .woocommerce-product-gallery__image > a {
        min-height: clamp(250px, 58vw, 340px) !important;
    }

    body.single-product div.product
    .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
        max-height: 340px !important;
    }
}
/* ==========================================================================
   ELREDA — Uniform single-product gallery (desktop / tablet / mobile)
   Keeps the entire product photo visible, including wide air conditioners.
   ========================================================================== */
body.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
  position: relative;
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}

/* A fixed-ratio stage, independent of each source image's proportions. */
body.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image > a {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
}

/* Exclude WooCommerce's separate zoom layer to preserve zoom behavior. */
body.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Breathing room below the mobile/tablet header and search area. */
@media (max-width: 921px) {
  body.single-product div.product.type-product {
    margin-top: 24px !important;
  }
}

@media (max-width: 544px) {
  body.single-product div.product.type-product {
    margin-top: 20px !important;
  }
}
