/* MedXtore product hero 1.1 — all selectors scoped to the plugin. */
.mgh-hero {
  --mgh-ink: var(--mgh-text, #122e3b);
  position: relative; isolation: isolate; box-sizing: border-box;
  width: 100%; max-width: 1480px; min-height: 610px;
  margin: 0 auto; overflow: hidden;
  padding: clamp(32px, 4vw, 64px) clamp(24px, 5.4vw, 88px);
  color: var(--mgh-ink); background: var(--mgh-bg, #f7fbfb);
  border-radius: clamp(0px, 2vw, 30px);
  box-shadow: 0 25px 75px rgba(18, 51, 72, .065);
}
.mgh-hero *, .mgh-hero *::before, .mgh-hero *::after { box-sizing: border-box; }
.mgh-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 80% at 77% 55%, color-mix(in srgb, var(--mgh-accent, #d8f0ee) 78%, white) 0%, transparent 78%),
  linear-gradient(115deg, #fff 0%, var(--mgh-bg, #f7fbfb) 58%, color-mix(in srgb, var(--mgh-primary, #0f6e6e) 7%, white)); }
.mgh-hero--empty { min-height: 0; text-align: center; padding: 60px 20px; }
.mgh-hero__header { position: relative; z-index: 2; max-width: 520px; margin: 0 0 20px; }
.mgh-hero .mgh-hero__heading { margin: 0 0 10px; font-size: clamp(2.1rem, 4vw, 4.3rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 750; color: var(--mgh-ink); }
.mgh-hero .mgh-hero__intro { margin: 0; font-size: clamp(.98rem, 1.2vw, 1.16rem); line-height: 1.6; color: color-mix(in srgb, var(--mgh-ink) 69%, white); }
.mgh-hero__body { display: grid; grid-template-columns: minmax(290px, .88fr) minmax(0, 1.25fr); align-items: center; gap: clamp(20px, 4vw, 70px); min-height: 440px; }
.mgh-hero__info { grid-column: 1; grid-row: 1; position: relative; z-index: 6; align-self: center; max-width: 520px; padding: 12px 0 26px; }
.mgh-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mgh-primary, #0f6e6e); text-transform: uppercase; font-size: .75rem; font-weight: 800; letter-spacing: .18em; }
.mgh-hero__eyebrow::before { content: ''; width: 27px; height: 2px; background: currentColor; }
.mgh-hero .mgh-hero__count { margin: 26px 0 12px; font-size: .9rem; letter-spacing: .08em; font-weight: 700; color: color-mix(in srgb, var(--mgh-ink) 43%, white); }
.mgh-hero__current { font-size: 1.5rem; color: var(--mgh-primary, #0f6e6e); }
.mgh-hero__count-separator { margin: 0 7px; opacity: .5; }
.mgh-hero .mgh-hero__product-name { margin: 0 0 16px; max-width: 12ch; color: var(--mgh-ink); font-size: clamp(2.15rem, 3.8vw, 4.1rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 760; overflow-wrap: anywhere; }
.mgh-hero .mgh-hero__product-excerpt { margin: 0 0 20px; max-width: 46ch; font-size: clamp(.96rem, 1.14vw, 1.12rem); line-height: 1.65; color: color-mix(in srgb, var(--mgh-ink) 68%, white); }
.mgh-hero .mgh-hero__product-price { min-height: 38px; margin: 0 0 24px; font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 800; line-height: 1.3; color: var(--mgh-primary, #0f6e6e); }
.mgh-hero__product-price del { color: #7e929b; font-weight: 500; font-size: .75em; margin-inline-end: 10px; }
.mgh-hero__product-price ins { color: var(--mgh-primary, #0f6e6e); text-decoration: none; }
.mgh-hero__product-price .woocommerce-Price-amount { color: inherit; }
.mgh-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 36px; }
.mgh-hero .mgh-hero__btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 25px; border-radius: 14px; font-size: .97rem; line-height: 1.2; font-weight: 750; text-decoration: none; white-space: nowrap; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.mgh-hero .mgh-hero__btn:hover { transform: translateY(-3px); text-decoration: none; }
.mgh-hero .mgh-hero__btn--primary { background: var(--mgh-primary, #0f6e6e); color: #fff; border: 1px solid var(--mgh-primary, #0f6e6e); box-shadow: 0 15px 30px color-mix(in srgb, var(--mgh-primary, #0f6e6e) 24%, transparent); }
.mgh-hero .mgh-hero__btn--primary:hover { color: #fff; box-shadow: 0 19px 34px color-mix(in srgb, var(--mgh-primary, #0f6e6e) 32%, transparent); }
.mgh-hero .mgh-hero__btn--secondary { background: rgba(255,255,255,.78); border: 1px solid color-mix(in srgb, var(--mgh-primary, #0f6e6e) 28%, transparent); color: var(--mgh-primary, #0f6e6e); }
.mgh-hero .mgh-hero__btn--secondary:hover { background: #fff; color: var(--mgh-primary, #0f6e6e); }
.mgh-hero .mgh-hero__btn.is-loading { opacity: .65; pointer-events: none; }
.mgh-hero__dots { display: flex; align-items: center; gap: 8px; max-width: 100%; overflow-x: auto; padding: 6px 1px; scrollbar-width: thin; }
.mgh-hero .mgh-hero__dot { flex: 0 0 8px; width: 8px; height: 8px; margin: 0; padding: 0; border: 0; border-radius: 20px; background: #b9cecf; cursor: pointer; transition: width .25s, background .25s; }
.mgh-hero .mgh-hero__dot.is-active { flex-basis: 28px; width: 28px; background: var(--mgh-primary, #0f6e6e); }
.mgh-hero__stage { grid-column: 2; grid-row: 1; position: relative; width: 100%; height: clamp(390px, 42vw, 570px); overflow: hidden; touch-action: pan-y; }
.mgh-hero__stage::before { content: ''; position: absolute; width: min(86%, 510px); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid color-mix(in srgb, var(--mgh-primary, #0f6e6e) 13%, transparent); border-radius: 50%; background: radial-gradient(circle at 42% 38%, rgba(255,255,255,.96), rgba(255,255,255,.13) 66%, transparent); box-shadow: 0 26px 90px color-mix(in srgb, var(--mgh-primary, #0f6e6e) 11%, transparent); pointer-events: none; }
.mgh-hero__stage::after { content: ''; position: absolute; width: min(98%, 600px); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid color-mix(in srgb, var(--mgh-primary, #0f6e6e) 9%, transparent); border-radius: 50%; pointer-events: none; }
.mgh-hero__track { position: relative; width: 100%; height: 100%; z-index: 2; }
.mgh-hero__slide { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: min(65%, 440px); height: min(85%, 500px); transform: translate(-50%,-50%); text-decoration: none; cursor: pointer; will-change: transform, opacity, filter; }
.mgh-hero__slide.is-center { z-index: 5; opacity: 1; filter: blur(0); }
.mgh-hero__slide.is-prev { z-index: 3; transform: translate(-115%,-50%) scale(.72); opacity: .55; filter: blur(3px); }
.mgh-hero__slide.is-next { z-index: 3; transform: translate(15%,-50%) scale(.72); opacity: .55; filter: blur(3px); }
.mgh-hero__slide.is-hidden { opacity: 0; pointer-events: none; }
.mgh-hero .mgh-hero__img { display: block; width: 100%; height: 100%; padding: 15px; background: transparent; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; filter: drop-shadow(0 24px 20px rgba(21, 55, 67, .16)); }
.mgh-hero--fit-cover .mgh-hero__img { object-fit: cover; border-radius: 18px; background: #fff; }
.mgh-hero .mgh-hero__nav { position: absolute; z-index: 9; bottom: 16px; top: auto; transform: none; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(18,51,72,.11); border-radius: 50%; background: #fff; color: var(--mgh-primary, #0f6e6e); box-shadow: 0 10px 24px rgba(18,51,72,.09); font-size: 31px; line-height: 1; cursor: pointer; transition: transform .2s, opacity .2s; }
.mgh-hero .mgh-hero__nav:hover:not(:disabled) { transform: translateY(-3px); }
.mgh-hero .mgh-hero__nav:disabled { opacity: .35; cursor: default; }
.mgh-hero__nav--prev { left: calc(50% - 58px); }
.mgh-hero__nav--next { right: calc(50% - 58px); }
.mgh-hero :is(a,button,[tabindex]):focus-visible { outline: 3px solid var(--mgh-secondary, #1c3faa); outline-offset: 3px; }
.mgh-hero__sr-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mgh-hero__noscript-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 20px; margin-top: 28px; }
.mgh-hero__noscript-item { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; color: inherit; text-decoration: none; }
.mgh-hero__noscript-item img { width: 100%; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 980px) { .mgh-hero { min-height: 0; } .mgh-hero__body { gap: 12px; grid-template-columns: minmax(245px,.9fr) minmax(0,1fr); } .mgh-hero__stage { height: 430px; } .mgh-hero__slide { width: 74%; } }
@media (max-width: 720px) { .mgh-hero { padding: 35px 20px 30px; border-radius: 0; } .mgh-hero__header { margin-bottom: 0; } .mgh-hero .mgh-hero__heading { font-size: clamp(2.1rem, 8vw, 3.3rem); } .mgh-hero__body { display: flex; flex-direction: column; gap: 4px; min-height: 0; } .mgh-hero__stage { order: 1; width: 100%; height: clamp(300px, 90vw, 440px); } .mgh-hero__info { order: 2; width: 100%; padding: 0; } .mgh-hero .mgh-hero__count { margin: 14px 0 5px; } .mgh-hero .mgh-hero__product-name { font-size: clamp(2rem, 8vw, 3.2rem); max-width: 100%; } .mgh-hero__slide { width: min(76%, 350px); height: 86%; } .mgh-hero__stage::before { width: min(88%, 390px); } .mgh-hero .mgh-hero__nav { bottom: 3px; width: 42px; height: 42px; font-size: 26px; } .mgh-hero__nav--prev { left: calc(50% - 49px); } .mgh-hero__nav--next { right: calc(50% - 49px); } .mgh-hero__actions { margin-bottom: 20px; } }
@media (max-width: 420px) { .mgh-hero { padding-inline: 16px; } .mgh-hero__stage { height: 310px; } .mgh-hero .mgh-hero__btn { flex: 1 1 auto; padding-inline: 14px; min-height: 50px; font-size: .88rem; } }
@media (prefers-reduced-motion: reduce) { .mgh-hero *, .mgh-hero *::before, .mgh-hero *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Reference composition: one layout shared by the static and animated carousel. */
.mgh-hero {
  width: var(--mgh-viewport, 100vw); max-width: none; min-height: 0;
  margin: 0; margin-inline-start: calc((100% - var(--mgh-viewport, 100vw)) / 2);
  padding: 44px max(28px, calc((100vw - 1524px) / 2)) 34px;
  border-radius: 0; box-shadow: none; background: #edfaff;
}
.mgh-hero::before { background: radial-gradient(ellipse 60% 110% at 76% 40%, #b9eafa 0%, #e4f8ff 62%, transparent 80%), linear-gradient(110deg, #fbfeff, #e8faff); }
.mgh-hero::after { content: ''; position: absolute; z-index: -1; width: 75%; height: 50%; left: -10%; bottom: -33%; border-radius: 50%; background: #cceffc; }
.mgh-hero__body { position: relative; grid-template-columns: minmax(0, 530fr) minmax(0, 934fr); grid-template-rows: auto auto; gap: 34px 60px; min-height: 654px; align-items: start; }
.mgh-hero__copy { grid-column: 1; grid-row: 1 / 3; position: relative; z-index: 4; padding-top: 40px; }
.mgh-hero__copy-eyebrow { display: flex; align-items: center; gap: 24px; margin-bottom: 38px; color: #089fe1; text-transform: uppercase; font-size: 13px; font-weight: 800; letter-spacing: .25em; }
.mgh-hero__copy-eyebrow::after { content: ''; width: 58px; height: 2px; background: #67b4dd; }
.mgh-hero .mgh-hero__heading { max-width: 11ch; margin: 0 0 20px; color: #090f49; font-size: clamp(48px, 4vw, 78px); line-height: 1.01; letter-spacing: -.05em; font-weight: 800; }
.mgh-hero .mgh-hero__intro { max-width: 38ch; margin: 0 0 24px; color: #58738d; font-size: clamp(17px, 1.15vw, 22px); line-height: 1.4; }
.mgh-hero__copy-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.mgh-hero .mgh-hero__btn { min-height: 60px; padding: 14px 28px; border-radius: 15px; font-size: 18px; }
.mgh-hero__btn span { margin-inline-start: 20px; font-size: 1.3em; }
.mgh-hero__trust { display: flex; gap: 26px; color: #648098; font-size: 15px; line-height: 1.2; }
.mgh-hero__trust span { display: flex; align-items: center; gap: 12px; flex: 1; }
.mgh-hero__trust b { display: grid; flex: 0 0 34px; place-items: center; height: 34px; border: 2px solid #09a5e2; border-radius: 9px; color: #009fe2; font-size: 24px; }
.mgh-hero__stage { grid-column: 2; grid-row: 1; height: 430px; overflow: visible; }
.mgh-hero__stage::before { width: 82%; max-width: none; top: 62%; border: 0; background: rgba(236,250,255,.55); box-shadow: 0 0 0 90px rgba(114,210,244,.13), 0 0 0 230px rgba(114,210,244,.10); }
.mgh-hero__stage::after { width: 108%; max-width: none; top: 62%; border-color: rgba(255,255,255,.65); }
.mgh-hero__slide { width: 43%; height: 100%; top: 50%; }
.mgh-hero .mgh-hero__img { width: 100%; height: 100%; max-height: none; padding: 8px; object-fit: contain; background: #edf4f3; border: 5px solid #fff; border-radius: 22px; filter: none; box-shadow: 0 24px 34px rgba(39,93,117,.18); }
.mgh-hero--fit-cover .mgh-hero__img { object-fit: cover; }
.mgh-hero__slide.is-prev { transform: translate(-123%,-50%) scale(.72); opacity: .5; filter: blur(3px); }
.mgh-hero__slide.is-next { transform: translate(23%,-50%) scale(.72); opacity: .5; filter: blur(3px); }
.mgh-hero .mgh-hero__nav { top: 63%; bottom: auto; transform: translateY(-50%); width: 60px; height: 60px; border: 0; color: #076cac; }
.mgh-hero .mgh-hero__nav:hover:not(:disabled) { transform: translateY(-50%) scale(1.05); }
.mgh-hero__nav--prev { left: 0; }
.mgh-hero__nav--next { right: 0; }
.mgh-hero__info { position: relative; grid-column: 2; grid-row: 2; align-self: start; justify-self: end; width: 80%; max-width: none; margin-inline-end: 5%; padding: 22px 28px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: end; border: 1px solid #fff; border-radius: 19px; background: rgba(255,255,255,.94); box-shadow: 0 16px 30px rgba(50,109,134,.08); z-index: 8; }
.mgh-hero__info .mgh-hero__eyebrow { grid-column: 1; font-size: 12px; letter-spacing: .16em; color: #0777bb; }
.mgh-hero .mgh-hero__count { position: static; grid-column: 2; grid-row: 1; margin: 0; text-align: end; font-size: 14px; }
.mgh-hero__current { font-size: 21px; color: #0777bb; }
.mgh-hero .mgh-hero__product-name { grid-column: 1; grid-row: 2; max-width: none; min-width: 0; margin: 0; color: #0b2636; font-size: clamp(23px, 1.75vw, 34px); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: break-word; }
.mgh-hero__info .mgh-hero__actions { grid-column: 2; grid-row: 2; position: static; margin: 0; }
.mgh-hero__info .mgh-hero__btn { min-height: 58px; padding-inline: 30px; }
.mgh-hero .mgh-hero__product-excerpt, .mgh-hero .mgh-hero__product-price, .mgh-hero__info .mgh-hero__add-to-cart { display: none; }
.mgh-hero__dots { position: absolute; z-index: 8; bottom: -14px; left: 50%; transform: translateX(-50%); gap: 9px; }
.mgh-hero .mgh-hero__dot, .mgh-hero .mgh-hero__dot.is-active { width: 11px; height: 11px; flex-basis: 11px; }
.mgh-hero .mgh-hero__dot.is-active { background: #008bda; }
@media (min-width: 981px) and (max-width: 1500px) {
  .mgh-hero__body { gap: 28px 34px; min-height: 610px; }
  .mgh-hero__stage { height: 390px; }
  .mgh-hero__copy { padding-top: 24px; }
  .mgh-hero__copy-eyebrow { font-size: 11px; margin-bottom: 28px; }
  .mgh-hero .mgh-hero__btn { font-size: 15px; padding-inline: 20px; min-height: 54px; }
  .mgh-hero__trust { font-size: 12px; gap: 16px; }
  .mgh-hero__info { width: 94%; margin-inline-end: 0; gap: 16px; padding: 22px; }
}
@media (max-width: 980px) {
  .mgh-hero { padding: 36px 24px; }
  .mgh-hero__body { display: flex; flex-direction: column; gap: 28px; min-height: 0; }
  .mgh-hero__copy { order: 0; padding: 0; width: 100%; max-width: 600px; align-self: center; }
  .mgh-hero__copy-eyebrow { margin-bottom: 24px; font-size: 11px; }
  .mgh-hero .mgh-hero__heading { font-size: clamp(42px, 7.5vw, 64px); }
  .mgh-hero__copy-actions { margin-bottom: 26px; }
  .mgh-hero__trust { font-size: 13px; gap: 16px; }
  .mgh-hero__stage { order: 1; width: 100%; height: clamp(280px, 58vw, 430px); margin: 0; }
  .mgh-hero__slide { width: 46%; height: 100%; }
  .mgh-hero__info { order: 2; width: 100%; max-width: 700px; align-self: center; margin: 0; padding: 22px; }
  .mgh-hero__dots { order: 3; position: static; transform: none; align-self: center; }
  .mgh-hero .mgh-hero__nav { width: 44px; height: 44px; }
  .mgh-hero .mgh-hero__btn { font-size: 15px; min-height: 52px; padding-inline: 20px; }
}
@media (max-width: 520px) {
  .mgh-hero { padding-inline: 18px; }
  .mgh-hero__copy-actions { gap: 10px; }
  .mgh-hero .mgh-hero__btn { padding-inline: 14px; font-size: 14px; }
  .mgh-hero__btn span { margin-inline-start: 10px; }
  .mgh-hero__trust { font-size: 11px; gap: 10px; }
  .mgh-hero__trust span { gap: 6px; }
  .mgh-hero__trust b { flex-basis: 25px; height: 25px; font-size: 18px; border-radius: 6px; }
  .mgh-hero__slide { width: 57%; }
  .mgh-hero .mgh-hero__img { border-width: 3px; border-radius: 16px; }
  .mgh-hero__info { gap: 16px 10px; padding: 20px 16px; }
  .mgh-hero__info .mgh-hero__eyebrow { font-size: 9px; letter-spacing: .1em; }
  .mgh-hero__info .mgh-hero__eyebrow::before { width: 16px; }
  .mgh-hero .mgh-hero__product-name { grid-column: 1 / -1; font-size: 26px; }
  .mgh-hero__info .mgh-hero__actions { grid-column: 1 / -1; grid-row: 3; }
}
.mgh-hero--empty { width: 100%; margin: 0; padding: 60px 20px; }
