
/* =========================================================
   CELHERO3 — SCOPE ONLY THIS MODULE
   ========================================================= */
#celhero3root-1{
  --celhero3-ink:#382020;
  --celhero3-bg: transparent;
  --celhero3-max: 1500px;

  --card-w:480px;
  --media-h:480px;
  --info-h:168px;
  --radius:12px;
  --name-offset-y: 0px;
}

#celhero3root-1.celhero3{
  width:100%;
  background: var(--celhero3-bg);
  padding: 18px 0 10px;
  box-sizing:border-box;
}

#celhero3root-1 .celhero3-head{
  max-width: var(--celhero3-max);
  margin: 0 auto 18px;
  padding: 0 18px;
  text-align:center;
}

#celhero3root-1 .celhero3-title{
  margin: 0 0 8px 0;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--celhero3-ink);
}

#celhero3root-1 .celhero3-sub{
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(56,32,32,.86);
}

/* grid */
#celhero3root-1 .celhero3-grid{
  max-width: var(--celhero3-max);
  margin: 0 auto;
  padding: 0 18px 6px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:22px;
  align-items:start;
  justify-items:center;
  box-sizing:border-box;
}

/* ===== CARD DESIGN ===== */
#celhero3root-1 .cellshopimgcard-card{
  width:var(--card-w);
  height:calc(var(--media-h) + var(--info-h));
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  text-decoration:none !important;
  box-shadow:0 10px 26px rgba(0,0,0,.10);
  transition:transform .18s ease, box-shadow .18s ease;
  display:block;
}

#celhero3root-1 .cellshopimgcard-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 38px rgba(0,0,0,.16);
}

#celhero3root-1 .cellshopimgcard-media{
  height:var(--media-h);
  background:#ffffff;
  position:relative;
  isolation:isolate;
}

#celhero3root-1 .cellshopimgcard-img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#ffffff;
  position:relative;
  z-index:1;
  display:block;
}

#celhero3root-1 .cellshopimgcard-pills{
  position:absolute;
  left:10px;
  right:10px;
  bottom:15px;
  display:flex;
  flex-direction:column;
  gap:10px;
  pointer-events:none;
  z-index:10;
  mix-blend-mode:normal;
}

#celhero3root-1 .cellshopimgcard-pillrow{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:nowrap;
}

#celhero3root-1 .cellshopimgcard-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px 6px 12px;
  border-radius:999px;
  border:1.5px solid rgba(56,32,32,.22);
  font-size:14px;
  font-weight:800;
  line-height:1;
  color:var(--celhero3-ink);
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(0,0,0,.10);
  background:transparent;
}

#celhero3root-1 .cellshopimgcard-pill::before{
  content:"";
  width:12px;
  height:12px;
  border-radius:50%;
  border:2px solid rgba(56,32,32,.22);
  background:transparent;
}

#celhero3root-1 .cellshopimgcard-pill[data-mode="wrinkles"]{ background:#f9d6d6 !important; }
#celhero3root-1 .cellshopimgcard-pill[data-mode="wrinkles"]::before{ background:#c62828 !important; }

#celhero3root-1 .cellshopimgcard-pill[data-mode="contour"]{ background:#fbe0d1 !important; }
#celhero3root-1 .cellshopimgcard-pill[data-mode="contour"]::before{ background:#eb673e !important; }

#celhero3root-1 .cellshopimgcard-pill[data-mode="hair"]{ background:#e6f6ea !important; }
#celhero3root-1 .cellshopimgcard-pill[data-mode="hair"]::before{ background:#47de46 !important; }

#celhero3root-1 .cellshopimgcard-pill[data-mode="pain"]{ background:#ece6e2 !important; }
#celhero3root-1 .cellshopimgcard-pill[data-mode="pain"]::before{ background:#382020 !important; }

#celhero3root-1 .cellshopimgcard-pill[data-mode="acne"]{ background:#e3efff !important; }
#celhero3root-1 .cellshopimgcard-pill[data-mode="acne"]::before{ background:#3c82ff !important; }

/* info */
#celhero3root-1 .cellshopimgcard-info{
  height:var(--info-h);
  padding:18px;
  border-top:1px solid rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  gap:12px;
}

#celhero3root-1 .cellshopimgcard-info-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

#celhero3root-1 .cellshopimgcard-name{
  font-size:24px;
  font-weight:900;
  line-height:1.15;
  color:#111;
  transform:translateY(var(--name-offset-y));
}

#celhero3root-1 .cellshopimgcard-pricewrap{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
  white-space:normal;
}
/* mystique-enquiry v1 */
#celhero3root-1 .cellshopimgcard-info-top:has(.cellshopimgcard-saleprice--enquiry){flex-direction:column;align-items:flex-start;gap:5px;}
#celhero3root-1 .cellshopimgcard-info-top:has(.cellshopimgcard-saleprice--enquiry) .cellshopimgcard-pricewrap{width:100%;align-items:flex-start;text-align:left;}
#celhero3root-1 .cellshopimgcard-saleprice--enquiry{white-space:nowrap;font-size:20px;font-weight:800;color:#382020;display:block;text-align:left;}

#celhero3root-1 .cellshopimgcard-saleprice{
  font-size:23px;
  font-weight:900;
  color:#111;
}

#celhero3root-1 .cellshopimgcard-oldprice{
  font-size:17px;
  color:#999;
  text-decoration:line-through;
  font-weight:600;
}

#celhero3root-1 .cellshopimgcard-desc{
  font-size:14.5px;
  line-height:1.45;
  color:rgba(0,0,0,.65);
}

/* responsive */
@media (max-width: 1200px){
  #celhero3root-1 .celhero3-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  #celhero3root-1 .celhero3-title{
    font-size: 34px;
  }

  #celhero3root-1 .celhero3-grid{
    grid-template-columns: 1fr;
    gap:18px;
  }

  #celhero3root-1 .cellshopimgcard-card{
    width:92vw;
    height:auto;
  }

  #celhero3root-1 .cellshopimgcard-media{
    aspect-ratio:1/1;
    height:auto;
  }

  #celhero3root-1 .cellshopimgcard-info{
    height:var(--info-h);
  }
}
