.ec-size .ec-store .product-details__description .mattress-features--horizontal{display:grid;grid-template-columns:minmax(0,55%) minmax(0,45%);align-items:start;gap:24px;margin-top:16px}@media (max-width:900px){.ec-size .ec-store .product-details__description .mattress-features--horizontal{grid-template-columns:1fr}}.ec-size .ec-store .product-details__description .mattress-features__cutaway-container{position:relative;border-radius:12px;overflow:hidden}.ec-size .ec-store .product-details__description .mattress-features__cutaway-image{display:block;width:100%;height:auto}.ec-size .ec-store .product-details__description .mattress-features__cutaway-feature-icon{position:absolute;transform:translate(-50%,-50%);width:60px;height:60px;border:0;background:transparent;cursor:pointer;transition:transform .15s ease,filter .15s ease}.ec-size .ec-store .product-details__description .mattress-features__cutaway-feature-icon img{width:100%;height:auto;display:block;pointer-events:none}.ec-size .ec-store .product-details__description .mattress-features__cutaway-feature-icon:hover{transform:translate(-50%,-50%) scale(1.1)}.ec-size .ec-store .product-details__description .mattress-features__cutaway-feature-icon.mattress-features__cutaway-feature-icon--active{z-index:5;transform:translate(-50%,-50%) scale(1.25);filter:drop-shadow(0 0 6px rgba(0,0,0,.25))}.ec-size .ec-store .product-details__description .mattress-features__feature{display:none;background:#fff;border-radius:12px;padding:24px 20px;box-shadow:0 1px 8px rgba(0,0,0,.08)}.ec-size .ec-store .product-details__description .mattress-features__feature.active{display:block}.ec-size .ec-store .product-details__description .mattress-features__feature .boogiebox{display:flex;align-items:center;gap:16px}.ec-size .ec-store .product-details__description .mattress-features__feature-title-icon{width:72px;height:72px;flex-shrink:0}.ec-size .ec-store .product-details__description .mattress-features__feature h3{margin:0;font-size:1.5rem;font-weight:700}.ec-size .ec-store .product-details__description .mattress-features__feature p{margin-top:6px;line-height:1.55}
/* HealthRest icon swap + spin, scoped to PDP description */
.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-feature-icon .active-icon { display: none; }

.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-feature-icon.mattress-features__cutaway-feature-icon--active .active-icon { display: block; }

.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-feature-icon.mattress-features__cutaway-feature-icon--active .base-icon { display: none; }

/* Optional: make the active icon gently spin */
@keyframes hr-spin { to { transform: rotate(360deg); } }
.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-feature-icon.mattress-features__cutaway-feature-icon--active .active-icon {
    animation: hr-spin 1.2s linear infinite;
  }
/* === HealthRest pin coordinates (desktop) === */
.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-container
  .mattress-features__cutaway-feature-icon[data-feature="feature-0"]{ top:10% !important; left:88% !important; }

.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-container
  .mattress-features__cutaway-feature-icon[data-feature="feature-1"]{ top:22% !important; left:76% !important; }

.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-container
  .mattress-features__cutaway-feature-icon[data-feature="feature-2"]{ top:35% !important; left:69% !important; }

.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-container
  .mattress-features__cutaway-feature-icon[data-feature="feature-3"]{ top:46% !important; left:62% !important; }

.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-container
  .mattress-features__cutaway-feature-icon[data-feature="feature-4"]{ top:57% !important; left:55% !important; }

.ec-size .ec-store .product-details__description
  .mattress-features__cutaway-container
  .mattress-features__cutaway-feature-icon[data-feature="feature-5"]{ top:69% !important; left:48% !important; }

/* Mobile nudge (keeps pins inside the image on narrow screens) */
@media (max-width: 520px){
  .ec-size .ec-store .product-details__description
    .mattress-features__cutaway-container
    .mattress-features__cutaway-feature-icon[data-feature="feature-0"]{ left:84% !important; }

  .ec-size .ec-store .product-details__description
    .mattress-features__cutaway-container
    .mattress-features__cutaway-feature-icon[data-feature="feature-1"]{ left:74% !important; }

  .ec-size .ec-store .product-details__description
    .mattress-features__cutaway-container
    .mattress-features__cutaway-feature-icon[data-feature="feature-2"]{ left:66% !important; }

  .ec-size .ec-store .product-details__description
    .mattress-features__cutaway-container
    .mattress-features__cutaway-feature-icon[data-feature="feature-3"]{ left:58% !important; }

  .ec-size .ec-store .product-details__description
    .mattress-features__cutaway-container
    .mattress-features__cutaway-feature-icon[data-feature="feature-4"]{ left:50% !important; }

  .ec-size .ec-store .product-details__description
    .mattress-features__cutaway-container
    .mattress-features__cutaway-feature-icon[data-feature="feature-5"]{ left:44% !important; }
}
/* ==========================================================
   HEALTHREST — EuroTop Hybrid (page-specific)
   Page wrapper: .ec-store__product-page--768094140
   ========================================================== */

/* Make the EuroTop cutaway the positioning context */
.ec-size .ec-store .ec-store__product-page--768094140
  .product-details__description .mattress-features__cutaway-container{
  position:relative !important;
  display:inline-block !important;
  width:fit-content !important;
  max-width:100% !important;
  margin:0 auto !important;
  overflow:visible !important;
  text-align:left !important;
}

/* Let the EuroTop image flow so % coords map to visible pixels */
.ec-size .ec-store .ec-store__product-page--768094140
  .product-details__description .mattress-features__cutaway-image{
  position:static !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  margin:0 !important;
  float:none !important;
  object-fit:initial !important;
}

/* Neutralize any global "inset/right/bottom" for pins on this page */
.ec-size .ec-store .ec-store__product-page--768094140
  .product-details__description .mattress-features__cutaway-feature-icon{
  position:absolute !important;
  inset:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:translate(-50%, -50%) !important;
  width:clamp(36px,7vw,60px) !important;
  height:clamp(36px,7vw,60px) !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  z-index:5 !important;
}

/* === EuroTop pin coordinates (features 0–5) === */
.ec-size .ec-store .ec-store__product-page--768094140
  .product-details__description
  .mattress-features__cutaway-feature-icon[data-feature="feature-0"]{
  top:12% !important; left:79% !important;
}
.ec-size .ec-store .ec-store__product-page--768094140
  .product-details__description
  .mattress-features__cutaway-feature-icon[data-feature="feature-1"]{
  top:23% !important; left:72% !important;
}
.ec-size .ec-store .ec-store__product-page--768094140
  .product-details__description
  .mattress-features__cutaway-feature-icon[data-feature="feature-2"]{
  top:34% !important; left:65% !important;
}
.ec-size .ec-store .ec-store__product-page--768094140
  .product-details__description
  .mattress-features__cutaway-feature-icon[data-feature="feature-3"]{
  top:43% !important; left:58% !important;
}
.ec-size .ec-store .ec-store__product-page--768094140
  .product-details__description
  .mattress-features__cutaway-feature-icon[data-feature="feature-4"]{
  top:53% !important; left:51% !important;
}
.ec-size .ec-store .ec-store__product-page--768094140
  .product-details__description
  .mattress-features__cutaway-feature-icon[data-feature="feature-5"]{
  top:63% !important; left:46% !important;
}

/* Mobile nudge so icons don’t crowd the edge on narrow screens */
@media (max-width:520px){
  .ec-size .ec-store .ec-store__product-page--768094140
    .product-details__description
    .mattress-features__cutaway-feature-icon[data-feature="feature-0"]{ left:76% !important; }
  .ec-size .ec-store .ec-store__product-page--768094140
    .product-details__description
    .mattress-features__cutaway-feature-icon[data-feature="feature-1"]{ left:70% !important; }
  .ec-size .ec-store .ec-store__product-page--768094140
    .product-details__description
    .mattress-features__cutaway-feature-icon[data-feature="feature-2"]{ left:63% !important; }
  .ec-size .ec-store .ec-store__product-page--768094140
    .product-details__description
    .mattress-features__cutaway-feature-icon[data-feature="feature-3"]{ left:56% !important; }
  .ec-size .ec-store .ec-store__product-page--768094140
    .product-details__description
    .mattress-features__cutaway-feature-icon[data-feature="feature-4"]{ left:49% !important; }
  .ec-size .ec-store .ec-store__product-page--768094140
    .product-details__description
    .mattress-features__cutaway-feature-icon[data-feature="feature-5"]{ left:44% !important; }
}
