:root {
  --emr-red: #ef2635;
  --emr-ink: #07090c;
  --emr-panel: #10141a;
  --emr-panel-2: #171c24;
  --emr-text: #f6f7f9;
  --emr-muted: #aeb6c1;
  --emr-line: rgba(255, 255, 255, 0.14);
  --emr-green: #61d27c;
  --emr-amber: #f0b44d;
}

.single-product .summary .emr-pdp-fitment {
  display: grid;
  gap: 0.65rem;
  margin: 0.9rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--emr-line);
  border-left: 4px solid var(--emr-amber);
  background: linear-gradient(135deg, rgba(240, 180, 77, 0.11), rgba(255, 255, 255, 0.025));
  color: var(--emr-text);
}

.emr-product-identity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 0.7rem 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--emr-line);
  border-bottom: 1px solid var(--emr-line);
}

.emr-product-identity > span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.emr-product-identity small {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--emr-muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-product .summary .emr-pdp-fitment.is-verified {
  border-left-color: var(--emr-green);
  background: linear-gradient(135deg, rgba(97, 210, 124, 0.12), rgba(255, 255, 255, 0.025));
}

.single-product .summary .emr-pdp-fitment.is-universal {
  border-left-color: #8fa3ba;
  background: linear-gradient(135deg, rgba(143, 163, 186, 0.12), rgba(255, 255, 255, 0.025));
}

.emr-pdp-fitment__badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.emr-pdp-fitment__badge > span {
  color: var(--emr-amber);
  font-size: 1rem;
}

.is-verified .emr-pdp-fitment__badge > span { color: var(--emr-green); }
.is-universal .emr-pdp-fitment__badge > span { color: #b8c6d6; }
.emr-pdp-fitment p { margin: 0; color: var(--emr-muted); font-size: 0.9rem; }
.emr-pdp-fitment a { color: #fff; font-size: 0.82rem; font-weight: 850; }

.single-product .summary .emr-pdp-confidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--emr-line);
  background: var(--emr-line);
}

.emr-pdp-confidence > div {
  min-width: 0;
  padding: 0.9rem;
  background: var(--emr-ink);
}

.emr-pdp-confidence span,
.emr-pdp-confidence strong { display: block; }
.emr-pdp-confidence span { color: var(--emr-muted); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.emr-pdp-confidence strong { margin-top: 0.3rem; color: #fff; font-size: 0.83rem; line-height: 1.25; }

.emr-pdp-assist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--emr-line);
  background: #0b0e13;
}

.emr-pdp-assist.is-prominent {
  border-color: rgba(239, 38, 53, 0.6);
  background: linear-gradient(135deg, rgba(239, 38, 53, 0.14), #0b0e13 52%);
}

.emr-pdp-assist span,
.emr-product-guide__head span,
.emr-product-guide__card > span,
.emr-complete-system__intro > span,
.emr-product-proof section > span {
  display: block;
  color: #ff6f79;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.emr-pdp-assist strong { display: block; margin-top: 0.2rem; color: #fff; }
.emr-pdp-assist p { margin: 0.35rem 0 0; color: var(--emr-muted); font-size: 0.84rem; }
.single-product .emr-pdp-assist .button { white-space: nowrap; }

.emr-product-guide {
  clear: both;
  width: 100%;
  margin: 3.5rem 0 0;
  color: var(--emr-text);
}

.emr-product-guide__head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-top: 2px solid var(--emr-red);
  background: linear-gradient(115deg, #171c24, #080a0e);
}

.emr-product-guide__head h2,
.emr-complete-system__intro h2 {
  margin: 0.45rem 0 0;
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.emr-product-guide__head p,
.emr-complete-system__intro p { margin: 0; color: var(--emr-muted); }

.emr-product-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--emr-line);
}

.emr-product-guide__card {
  min-width: 0;
  min-height: 235px;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--emr-panel);
}

.emr-product-guide__card h3 {
  margin: 0.55rem 0 1rem;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.emr-product-guide__copy,
.emr-product-guide__card p,
.emr-product-guide__card li { color: var(--emr-muted); }
.emr-product-guide__copy p:last-child { margin-bottom: 0; }
.emr-product-guide__copy.is-pending,
.emr-product-guide__card .is-pending { border-left: 2px solid var(--emr-amber); padding-left: 0.85rem; }

.emr-product-guide__card dl { margin: 0; }
.emr-product-guide__card dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) 1fr;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--emr-line);
}
.emr-product-guide__card dt { color: var(--emr-muted); }
.emr-product-guide__card dd { margin: 0; color: #fff; font-weight: 750; }
.emr-product-guide__links { display: grid; gap: 0.75rem; }
.emr-product-guide__links a { color: #fff; font-weight: 850; }

.emr-complete-system {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(239, 38, 53, 0.42);
  background: radial-gradient(circle at 90% 0, rgba(239, 38, 53, 0.15), transparent 35%), #0a0d12;
}

.emr-complete-system__intro h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.emr-complete-system__intro p { margin-top: 1rem; }
.emr-complete-system__products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.emr-complete-system__products article { padding: 1rem; border: 1px solid var(--emr-line); background: #10141a; }
.emr-complete-system__products img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; background: #080a0e; }
.emr-complete-system__products span { display: block; margin-top: 0.75rem; color: #ff7780; font-size: 0.66rem; font-weight: 900; text-transform: uppercase; }
.emr-complete-system__products h3 { margin: 0.35rem 0; color: #fff; font-size: 1rem; }
.emr-complete-system__products strong { color: #fff; }
.emr-complete-system__products p { color: var(--emr-muted); font-size: 0.82rem; }

.emr-product-guide__empty {
  align-self: center;
  padding: 1.25rem;
  border-left: 3px solid var(--emr-amber);
  background: rgba(255, 255, 255, 0.04);
}
.emr-product-guide__empty strong { color: #fff; }
.emr-product-guide__empty p { color: var(--emr-muted); }

.emr-product-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--emr-line);
}
.emr-product-proof section { min-height: 220px; padding: 1.5rem; background: var(--emr-panel-2); }
.emr-product-proof h3 { margin: 0.55rem 0; color: #fff; font-size: 1.2rem; }
.emr-product-proof p { color: var(--emr-muted); }
.emr-product-proof a { color: #fff; font-weight: 850; }

.single-product .related.products > h2 {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--emr-line);
  color: #fff;
}

@media (max-width: 900px) {
  .emr-product-guide__head,
  .emr-complete-system { grid-template-columns: 1fr; }
  .emr-product-proof { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .single-product .summary .emr-pdp-confidence,
  .emr-product-guide__grid,
  .emr-complete-system__products { grid-template-columns: 1fr; }
  .emr-pdp-assist { grid-template-columns: 1fr; }
  .emr-pdp-assist .button { width: 100%; }
  .emr-product-guide__head,
  .emr-complete-system { padding: 1.25rem; }
  .emr-product-guide__card { min-height: 0; }
}

/* 1.3.21: compact, purchase-first product detail layout. */
body.single-product #sidebar {
  display: none !important;
}

body.single-product #primary.content-area {
  box-sizing: border-box;
  float: none !important;
  width: min(calc(100% - 40px), 1280px) !important;
  max-width: 1280px !important;
  margin: 32px auto 52px !important;
}

body.single-product .woocommerce div.product[id^="product-"] {
  padding: 20px !important;
}

body.single-product .woocommerce div.product[id^="product-"] .woocommerce-breadcrumb {
  margin-bottom: 0.75rem !important;
  font-size: 0.76rem;
}

body.single-product .woocommerce div.product[id^="product-"] .product_title {
  margin-bottom: 0.55rem !important;
  font-size: clamp(2.15rem, 4vw, 4rem) !important;
  line-height: 0.9 !important;
}

body.single-product .woocommerce div.product[id^="product-"] div.images img {
  max-height: 430px;
  object-fit: contain;
}

body.single-product .woocommerce div.product[id^="product-"] p.price {
  margin: 0.6rem 0 !important;
}

body.single-product .woocommerce-product-details__short-description p {
  margin: 0.5rem 0 0.65rem;
  font-size: 0.91rem;
  line-height: 1.45;
}

.single-product .summary .emr-product-identity {
  gap: 0.35rem 0.8rem;
  margin: 0.35rem 0;
  padding: 0.45rem 0;
}

.single-product .summary .emr-product-identity > span {
  font-size: 0.76rem;
}

.emr-product-identity__manufacturer a {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
  align-items: baseline;
  color: #fff;
}

.emr-product-identity__manufacturer a em {
  color: #ff727c;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.single-product .summary .emr-pdp-fitment {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.4rem 0.75rem;
  align-items: center;
  margin: 0.45rem 0 0.65rem;
  padding: 0.62rem 0.75rem;
}

.single-product .summary .emr-pdp-fitment p {
  font-size: 0.79rem;
  line-height: 1.35;
}

.single-product .summary .emr-pdp-fitment a {
  white-space: nowrap;
}

body.single-product .woocommerce div.product[id^="product-"] form.cart {
  margin-bottom: 0 !important;
  padding: 0.75rem 0 !important;
}

.single-product .summary .emr-pdp-confidence {
  margin: 0.55rem 0;
}

.single-product .summary .emr-pdp-confidence > div {
  padding: 0.55rem 0.65rem;
}

.single-product .summary .emr-pdp-confidence span {
  font-size: 0.58rem;
}

.single-product .summary .emr-pdp-confidence strong {
  margin-top: 0.18rem;
  font-size: 0.75rem;
}

.single-product .summary .emr-pdp-assist {
  gap: 0.65rem;
  margin: 0.55rem 0;
  padding: 0.68rem 0.75rem;
}

.single-product .summary .emr-pdp-assist p {
  margin-top: 0.2rem;
  font-size: 0.76rem;
  line-height: 1.35;
}

.single-product .summary .emr-pdp-assist .button {
  padding: 0.6rem 0.75rem !important;
  font-size: 0.76rem !important;
}

.single-product .summary .emw-shipping-quote-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.45rem 0.75rem;
  align-items: center;
  margin: 0.55rem 0 !important;
  padding: 0.68rem 0.75rem !important;
}

.single-product .summary .emw-shipping-quote-panel p {
  margin: 0 !important;
  font-size: 0.74rem;
  line-height: 1.35;
}

.single-product .summary .emw-shipping-quote-panel .button {
  padding: 0.6rem 0.75rem !important;
  font-size: 0.74rem !important;
  white-space: nowrap;
}

.single-product .summary .echo-ccf__product-warranty {
  margin: 0.45rem 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 0.75rem;
}

.single-product .product_meta {
  margin-top: 0.65rem;
  font-size: 0.74rem;
}

.single-product .product_meta > .tagged_as,
.single-product .product_meta > .posted_in:has(a[href*="echo_shop_brand="]) {
  display: none;
}

.single-product .woocommerce-tabs {
  padding-top: 0.4rem;
}

.single-product .emr-product-guide {
  margin-top: 1.5rem;
}

.single-product .emr-product-guide__head {
  grid-template-columns: minmax(0, 0.65fr) minmax(260px, 0.35fr);
  gap: 1rem;
  padding: 1rem 1.15rem;
}

.single-product .emr-product-guide__head h2,
.single-product .emr-complete-system__intro h2 {
  margin-top: 0.28rem;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 0.98;
}

.single-product .emr-product-guide__head p,
.single-product .emr-complete-system__intro p {
  font-size: 0.8rem;
  line-height: 1.4;
}

.single-product .emr-product-guide__card {
  min-height: 150px;
  padding: 1rem 1.15rem;
}

.single-product .emr-product-guide__card h3 {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.05rem;
}

.single-product .emr-product-guide__copy,
.single-product .emr-product-guide__card p,
.single-product .emr-product-guide__card li {
  font-size: 0.78rem;
  line-height: 1.4;
}

.single-product .emr-complete-system {
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.1rem;
}

.single-product .emr-complete-system__intro p {
  margin-top: 0.55rem;
}

.single-product .emr-product-guide__empty {
  padding: 0.85rem;
  font-size: 0.8rem;
}

.single-product .emr-product-proof section {
  min-height: 135px;
  padding: 1rem;
}

.single-product .emr-product-proof h3 {
  margin: 0.35rem 0;
  font-size: 1rem;
}

.single-product .emr-product-proof p,
.single-product .emr-product-proof a {
  font-size: 0.76rem;
  line-height: 1.4;
}

@media (min-width: 901px) {
  body.single-product .woocommerce div.product[id^="product-"] div.images {
    width: 40% !important;
    margin-bottom: 0 !important;
  }

  body.single-product .woocommerce div.product[id^="product-"] div.summary {
    width: 56% !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 900px) {
  .single-product .emr-product-guide__head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.single-product #primary.content-area {
    width: calc(100% - 24px) !important;
    margin: 18px auto 36px !important;
  }

  body.single-product .woocommerce div.product[id^="product-"] {
    padding: 13px !important;
  }

  body.single-product .woocommerce div.product[id^="product-"] .product_title {
    font-size: clamp(2rem, 12vw, 3.1rem) !important;
  }

  .single-product .summary .emr-pdp-fitment,
  .single-product .summary .emw-shipping-quote-panel {
    grid-template-columns: 1fr;
  }

  .single-product .summary .emr-pdp-fitment a,
  .single-product .summary .emw-shipping-quote-panel .button {
    justify-self: start;
    white-space: normal;
  }

  .single-product .summary .emr-pdp-confidence > div {
    padding: 0.5rem 0.65rem;
  }

  .single-product .emr-product-guide__head,
  .single-product .emr-complete-system {
    padding: 0.85rem;
  }

  body.single-product .woocommerce-product-gallery.emr-mobile-gallery {
    position: relative !important;
  }

  body.single-product .woocommerce-product-gallery .emr-mobile-gallery-gesture {
    touch-action: pan-y pinch-zoom;
  }

  body.single-product .woocommerce-product-gallery.emr-mobile-gallery--fallback .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
    display: none !important;
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  body.single-product .woocommerce-product-gallery.emr-mobile-gallery--fallback .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image.is-active {
    display: block !important;
  }

  body.single-product .emr-mobile-gallery-nav {
    position: absolute;
    z-index: 12;
    top: clamp(92px, 42vw, 210px);
    right: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 7px;
    pointer-events: none;
    transform: translateY(-50%);
  }

  body.single-product .emr-mobile-gallery-nav[hidden] {
    display: none !important;
  }

  body.single-product .emr-mobile-gallery-nav__button {
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    color: #fff;
    background: rgba(5, 8, 12, 0.86);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.46);
    font: 800 2rem/1 Arial, sans-serif;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
  }

  body.single-product .emr-mobile-gallery-nav__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
}
