/* =========================================================
   WE CARE PHARMACY V21.8 — HOVER ZOOM
   Desktop: move mouse over product image to zoom toward cursor.
   Mobile: tap still opens full-screen viewer.
   ========================================================= */

/* remove the old text hint */
.wc217-gallery-hint{
  display:none!important;
}

/* premium image showcase */
.wc204-detail-main.wc218-hover-zoom{
  position:relative!important;
  overflow:hidden!important;
  cursor:crosshair!important;
  background:
    radial-gradient(circle at 50% 44%,#ffffff 0%,#fafcfd 48%,#f3f7f9 100%)!important;
  border:1px solid #e1eaef!important;
  box-shadow:
    0 20px 48px rgba(30,68,91,.08),
    inset 0 1px 0 rgba(255,255,255,.9)!important;
}

.wc204-detail-main.wc218-hover-zoom::before{
  content:"";
  position:absolute;
  inset:16px;
  border-radius:18px;
  border:1px solid rgba(219,231,237,.7);
  pointer-events:none;
  z-index:1;
}

.wc204-detail-main.wc218-hover-zoom img{
  position:relative;
  z-index:0;
  transform:scale(1)!important;
  transform-origin:50% 50%;
  transition:
    transform .22s cubic-bezier(.2,.72,.2,1),
    transform-origin .05s linear!important;
  will-change:transform,transform-origin;
}

/* automatic mouse-follow zoom */
@media (hover:hover) and (pointer:fine){
  .wc204-detail-main.wc218-hover-zoom:hover img{
    transform:scale(2)!important;
    transition:
      transform .18s cubic-bezier(.2,.72,.2,1),
      transform-origin .035s linear!important;
  }
}

/* small visual cue, no "zoom" wording */
.wc218-view-cue{
  position:absolute;
  left:16px;
  bottom:16px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(220,232,238,.92);
  box-shadow:0 8px 22px rgba(26,66,89,.08);
  color:#587083;
  font-size:10px;
  font-weight:500;
  pointer-events:none;
  backdrop-filter:blur(8px);
  opacity:.96;
  transition:opacity .18s ease,transform .18s ease;
}

.wc218-view-cue svg{
  width:15px;height:15px;
  stroke:#1188a0;
  stroke-width:1.8;
  fill:none;
}

@media (hover:hover) and (pointer:fine){
  .wc204-detail-main.wc218-hover-zoom:hover .wc218-view-cue{
    opacity:0;
    transform:translateY(3px);
  }
}

/* image count gets a cleaner look */
#wc217ImageCount{
  z-index:4!important;
  top:16px!important;
  right:16px!important;
  background:rgba(25,66,91,.76)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  padding:7px 10px!important;
  backdrop-filter:blur(8px);
}

/* keep gallery arrows usable while the image is zooming */
.wc217-gallery-arrow{
  z-index:5!important;
}

/* make detail area feel less empty */
.wc204-detail-copy{
  position:relative;
}

.wc204-detail-copy::before{
  content:"";
  display:block;
  width:46px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg,#1188a0,#25c17c);
  margin-bottom:14px;
}

/* price becomes a more obvious visual anchor */
.wc204-detail-price{
  display:flex!important;
  align-items:baseline!important;
  gap:10px!important;
  padding:12px 15px!important;
  margin:14px 0 12px!important;
  width:max-content!important;
  max-width:100%!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#eef9fb,#f1fbf6)!important;
  border:1px solid #d9edef!important;
}

.wc204-detail-price strong{
  font-size:30px!important;
  color:#0f8299!important;
  font-weight:700!important;
}

/* information cards: slightly larger and more dimensional */
.wc217-info-card{
  min-height:90px!important;
  border-width:1px!important;
  box-shadow:0 10px 26px rgba(31,72,98,.06)!important;
  transition:transform .18s ease,box-shadow .18s ease;
}

@media (hover:hover) and (pointer:fine){
  .wc217-info-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(31,72,98,.09)!important;
  }
}

/* actions more prominent */
.wc204-detail-actions button,
.wc204-detail-actions a{
  min-height:54px!important;
  font-size:13.5px!important;
}

@media(max-width:720px){
  .wc204-detail-main.wc218-hover-zoom{
    cursor:pointer!important;
  }
  .wc204-detail-main.wc218-hover-zoom img{
    transform:scale(1)!important;
  }
  .wc218-view-cue{
    left:12px;
    bottom:12px;
    padding:7px 9px;
    font-size:9px;
  }
  .wc204-detail-price strong{
    font-size:25px!important;
  }
}
