/* Prime PDP skin: Pharmacy "Dose Strip" (restricted preview). Shared blocks (components/storefront/pdp/*, storefront-prime-pdp.css) in the
   Pharmacy identity: the product sits whole in a soft cool "pocket" (a blister well: rounded, faint inner shade), round thumbnails keys with a
   mint ring and a filled dose on the active one, Plus Jakarta Sans titles, mint pill CTA (text colour chosen by the colour's lightness),
   capsule badges and dose strips under the section titles. Tokens: pharmacy-chrome.css (all derived from the merchant's colours and fonts).
   Phones (< 992px) keep the shared mobile layer (purchase bar, swipe, lightbox). The shared enlarge control draws a magnifier with a plus;
   here it shows a plain magnifier (owner rule: no plus signs outside the quantity stepper). */
.sf-pdp--pharmacy {
    --p-ink: var(--pf-ink);
    --p-muted: var(--pf-mute);
    --p-line: var(--pf-line);
    --p-accent: var(--pf-a-ink);
    --p-action: var(--pf-a);
    --p-on-action: var(--pf-on-a);
    --p-radius: 14px;
    --p-radius-lg: 28px;
    --p-head: var(--pf-head);
    --p-body: var(--pf-body);
    --p-ratio: 1 / 1;
    --p-fit: contain;
    --p-stage: var(--pf-page);
    --p-sticky: calc(var(--sfp-header-h, 134px) + 24px);
    --p-gap: clamp(28px, 4.2vw, 68px);
    padding-block-start: clamp(14px, 1.8vw, 26px);
}
.pf-prime-crumbs { background: linear-gradient(180deg, var(--pf-a-soft), transparent); padding-block: 14px 4px; }
.pf-prime-crumbs .pf-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font: 500 14px/1.5 var(--pf-body); color: var(--pf-mute); }
.pf-prime-crumbs .pf-breadcrumb a { color: var(--pf-a-ink); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-block-size: 32px; }
.pf-prime-crumbs .pf-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pf-prime-crumbs .pf-breadcrumb > span:last-child, .pf-prime-crumbs .pf-breadcrumb [aria-current] { color: var(--pf-mute); }
.pf-prime-crumbs .pf-breadcrumb .sep { color: var(--pf-line-2); font-size: 12px; }
[dir="rtl"] .pf-prime-crumbs .pf-breadcrumb .sep i { display: inline-block; transform: scaleX(-1); }

/* ── gallery: a cool pocket with a faint inner shade, round keys, mint ring on the active thumbnail ── */
.sf-pdp--pharmacy .sf-pdp-gallery { gap: 14px; }
@media (min-width: 992px) { .sf-pdp--pharmacy.sf-pdp--rail .sf-pdp-gallery.has-thumbs { grid-template-columns: 88px minmax(0, 1fr); } }
body.pharmacy .sf-pdp--pharmacy .sf-pdp-main.pf-prime-main { background: radial-gradient(70% 70% at 50% 45%, #fff 0 35%, var(--pf-page) 100%) !important; border-radius: var(--p-radius-lg) !important;
    box-shadow: inset 0 0 0 1px var(--pf-line), inset 0 18px 40px -30px color-mix(in srgb, var(--pf-ink) 40%, transparent); }
.sf-pdp--pharmacy .sf-pdp-main .long-img { border-radius: inherit; }
.sf-pdp--pharmacy .sf-pdp-main .long-img img { padding: clamp(16px, 5%, 40px); border-radius: 24px; }
/* DF-71 guard (the shared script injects an id rule `height: auto`): keep every photo whole at its own proportions */
.sf-pdp--pharmacy #shop_details_gallery_slider.sf-pdp-main .long-img img { height: 100%; max-height: none; object-fit: contain; }
.sf-pdp--pharmacy .sf-pdp-main .long-img:focus-visible { box-shadow: inset 0 0 0 3px var(--pf-a-ink), inset 0 0 0 7px var(--pf-a-glow); }
.sf-pdp--pharmacy .sf-pdp-noimg { display: block; inline-size: 120px; block-size: 120px; border-radius: 0; background: var(--pf-line-2); -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
body.pharmacy .sf-pdp--pharmacy .sf-pdp-thumb.pf-pd-thumb { position: relative; border: 0 !important; border-radius: 18px !important; background: var(--pf-page) !important; box-shadow: inset 0 0 0 1px var(--pf-line); opacity: .8;
    transition: box-shadow var(--sfp-dur) var(--pf-ease), opacity var(--sfp-dur); }
body.pharmacy .sf-pdp--pharmacy .sf-pdp-thumb.pf-pd-thumb img { padding: 6px; border-radius: 16px; }
body.pharmacy .sf-pdp--pharmacy .sf-pdp-thumb.pf-pd-thumb:hover { opacity: 1; box-shadow: inset 0 0 0 1.5px var(--pf-line-2); }
body.pharmacy .sf-pdp--pharmacy .sf-pdp-thumb.pf-pd-thumb.gallery-thumb-active { opacity: 1; box-shadow: inset 0 0 0 2px var(--pf-a); }
body.pharmacy .sf-pdp--pharmacy .sf-pdp-thumb.pf-pd-thumb.gallery-thumb-active::after { content: ""; position: absolute; inset-block-start: 7px; inset-inline-end: 7px; inline-size: 9px; block-size: 9px; border-radius: 50%;
    background: var(--pf-a); box-shadow: 0 0 0 2px #fff; }
body.pharmacy .sf-pdp--pharmacy .sf-pdp-thumb.pf-pd-thumb:focus-visible { outline: 0; opacity: 1; box-shadow: inset 0 0 0 2px var(--pf-a-ink), 0 0 0 4px var(--pf-a-glow); }
.sf-pdp--pharmacy .sf-pdp-nav { border-radius: 50%; border: 0; inline-size: 46px; block-size: 46px; background: #fff; color: var(--pf-ink); box-shadow: var(--pf-shadow); font-size: 26px; }
.sf-pdp--pharmacy .sf-pdp-nav:hover { background: var(--pf-a); color: var(--pf-on-a); }
.sf-pdp--pharmacy .sf-pdp-nav:focus-visible { opacity: 1; outline: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pf-a-ink); }
.sf-pdp--pharmacy .sf-pdp-counter { border-radius: 999px; background: #fff; color: var(--pf-ink); box-shadow: var(--pf-shadow); font: 700 12.5px/1 var(--pf-body); padding: 8px 12px; inset-block-end: 16px; inset-inline-end: 16px; }
/* the merchant's badge: a white capsule led by a capsule glyph */
.sf-pdp--pharmacy .sf-pdp-badge { inset-block-start: 18px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 7px; min-block-size: 32px; padding: 0 14px 0 12px; border-radius: 999px;
    background: #fff; color: var(--pf-ink); font: 800 13px/1 var(--pf-body); box-shadow: var(--pf-shadow); max-inline-size: calc(100% - 100px); }
.sf-pdp--pharmacy .sf-pdp-badge::before { content: ""; flex: none; inline-size: 14px; block-size: 14px; background: var(--pf-a-ink); -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
/* visible enlarge control: always shown (touch screens have no hover), a white key with a plain magnifier */
.sf-pdp--pharmacy .sf-pdp-zoom-btn { position: absolute; z-index: 3; inset-block-start: 18px; inset-inline-end: 18px; inline-size: 48px; block-size: 48px; border: 0; padding: 0; border-radius: 50%;
    display: inline-grid; place-items: center; background: #fff; color: var(--pf-ink); cursor: pointer; box-shadow: var(--pf-shadow); transition: background var(--sfp-dur) var(--pf-ease), color var(--sfp-dur); }
.sf-pdp--pharmacy .sf-pdp-zoom-btn svg { display: none; }
.sf-pdp--pharmacy .sf-pdp-zoom-btn::after { content: ""; inline-size: 20px; block-size: 20px; background: currentColor;
    -webkit-mask: url(../../img/prime/icons/search.svg) center / contain no-repeat; mask: url(../../img/prime/icons/search.svg) center / contain no-repeat; }
.sf-pdp--pharmacy .sf-pdp-zoom-btn:hover, .sf-pdp--pharmacy .sf-pdp-zoom-btn:focus-visible { background: var(--pf-a); color: var(--pf-on-a); }
.sf-pdp--pharmacy .sf-pdp-zoom-btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pf-a-ink); }

/* lightbox (shared dialog + opt-in navigation): navy veil, round white keys */
body.pharmacy .sf-pdp-lightbox { background: color-mix(in srgb, var(--pf-night-3) 94%, transparent); }
body.pharmacy .sf-pdp-lightbox img { border-radius: 24px !important; box-shadow: none !important; background: #fff; }
body.pharmacy :is(.sf-pdp-lightbox-close, .sf-pdp-lightbox-nav) { border-radius: 50% !important; background: #fff; color: var(--pf-ink); inline-size: 50px; block-size: 50px; }
body.pharmacy :is(.sf-pdp-lightbox-close, .sf-pdp-lightbox-nav):hover { background: var(--pf-a); color: var(--pf-on-a); }
body.pharmacy :is(.sf-pdp-lightbox-close, .sf-pdp-lightbox-nav):focus-visible { outline: 3px solid var(--pf-a-on-night); outline-offset: 3px; }
body.pharmacy .sf-pdp-lightbox-count { font: 700 14px/1 var(--pf-body); background: #fff; color: var(--pf-ink); border-radius: 999px; padding: 8px 14px; }
@media (max-width: 767.98px) { body.pharmacy .sf-pdp-lightbox-nav { inline-size: 46px; block-size: 46px; } }

/* ── info column ── */
.sf-pdp--pharmacy .sf-pdp-kicker { gap: 6px 16px; }
.sf-pdp--pharmacy .sf-pdp-kicker a { display: inline-flex; align-items: center; gap: 7px; min-block-size: 32px; color: var(--pf-a-ink); font: 700 13px/1 var(--pf-body); letter-spacing: .08em; text-transform: uppercase; }
[dir="rtl"] .sf-pdp--pharmacy .sf-pdp-kicker a { letter-spacing: 0; text-transform: none; font-size: 14px; }
.sf-pdp--pharmacy .sf-pdp-kicker a::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--pf-a); }
.sf-pdp--pharmacy .sf-pdp-kicker a:hover { color: var(--pf-ink); text-decoration: underline; text-underline-offset: 4px; }
.sf-pdp--pharmacy .sf-pdp-title { color: var(--pf-ink); font: 800 clamp(32px, 3vw, 46px)/1.15 var(--pf-head); letter-spacing: -.02em; unicode-bidi: plaintext; }
[dir="rtl"] .sf-pdp--pharmacy .sf-pdp-title { text-align: right; line-height: 1.3; letter-spacing: 0; }
.sf-pdp--pharmacy .sf-pdp-title::after { content: ""; display: block; margin-block-start: 16px; inline-size: 64px; block-size: 13px; background: var(--pf-a);
    -webkit-mask: var(--pf-dose) 0 50% / contain no-repeat; mask: var(--pf-dose) 0 50% / contain no-repeat; }
[dir="rtl"] .sf-pdp--pharmacy .sf-pdp-title::after { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); -webkit-mask-position: 100% 50%; mask-position: 100% 50%; }
.sf-pdp--pharmacy .sf-pdp-rating:not(:has(.rating-wrap *)) { display: none; }
.sf-pdp--pharmacy .sf-pdp-price { color: var(--pf-ink); font: 800 clamp(28px, 2.4vw, 36px)/1 var(--pf-body); font-variant-numeric: tabular-nums; }
.sf-pdp--pharmacy .sf-pdp-compare { color: var(--pf-mute); }
.sf-pdp--pharmacy .sf-pdp-discount { display: inline-flex; align-items: center; gap: 6px; background: var(--pf-bad-soft); color: var(--pf-bad); border-radius: 999px; padding: 7px 12px; font: 800 12.5px/1 var(--pf-body); }
.sf-pdp--pharmacy .sf-pdp-discount::before { content: ""; inline-size: 12px; block-size: 12px; background: currentColor; -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
.sf-pdp--pharmacy .sf-pdp-stock { display: inline-flex; align-items: center; gap: 8px; min-block-size: 32px; padding: 0 14px; border-radius: 999px; background: var(--pf-ok-soft); font: 700 13px/1 var(--pf-body); }
.sf-pdp--pharmacy .sf-pdp-stock .text-success { color: var(--pf-ok) !important; }
.sf-pdp--pharmacy .sf-pdp-stock:has(.text-danger) { background: var(--pf-bad-soft); }
.sf-pdp--pharmacy .sf-pdp-stock .text-danger { color: var(--pf-bad) !important; }
.sf-pdp--pharmacy .sf-pdp-left { color: var(--pf-warn); font-weight: 700; }
.sf-pdp--pharmacy .sf-pdp-summary { color: var(--pf-mute); font-size: 16px; line-height: 1.7; }
.sf-pdp--pharmacy .sf-pdp-campaign { border: 1px solid var(--pf-line); background: var(--pf-page); border-radius: 18px; padding: 14px 16px; }
.sf-pdp--pharmacy .sf-pdp-campaign strong { color: var(--pf-a-ink); }

/* options: pill chips; the chosen one gets a mint ring */
.sf-pdp--pharmacy .sf-pdp-option-label { font: 700 14px/1.4 var(--pf-body); }
.sf-pdp--pharmacy .sf-pdp-option-list > li.sf-pdp-chip, .sf-pdp--pharmacy .sf-pdp-option-list > li.sf-pdp-swatch { border-radius: 999px; border: 1.5px solid var(--pf-line-2); min-block-size: 44px; background: #fff; }
.sf-pdp--pharmacy .sf-pdp-option-list > li.sf-pdp-chip.active, .sf-pdp--pharmacy .sf-pdp-option-list > li.sf-pdp-swatch.active { border-color: var(--pf-a-ink); box-shadow: 0 0 0 3px var(--pf-a-glow); background: var(--pf-a-soft); }
.sf-pdp--pharmacy .sf-pdp-swatch-dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 2px #fff; }

/* purchase: mint pill CTA, ink outline secondary, white quantity capsule */
.sf-pdp--pharmacy .sf-pdp-qty { border: 1.5px solid var(--pf-line-2); background: #fff; border-radius: 999px; block-size: 56px; }
.sf-pdp--pharmacy .sf-pdp-qty button { border-radius: 50%; color: var(--pf-ink); min-inline-size: 44px; }
.sf-pdp--pharmacy .sf-pdp-qty button:hover { background: var(--pf-a-soft); }
.sf-pdp--pharmacy .sf-pdp-qty input { border-inline: 0; background: transparent; color: var(--pf-ink); font-weight: 800; }
.sf-pdp--pharmacy .sf-pdp-btn { border-radius: 999px; font: 700 16px/1 var(--pf-body); min-block-size: 56px; }
.sf-pdp--pharmacy .sf-pdp-btn .sfp-i { font-size: 18px; }
.sf-pdp--pharmacy .sf-pdp-btn-primary { background: var(--pf-a); border-color: var(--pf-a); color: var(--pf-on-a); box-shadow: 0 16px 28px -20px var(--pf-a); }
.sf-pdp--pharmacy .sf-pdp-btn-primary:hover { background: var(--pf-a-deep); border-color: var(--pf-a-deep); color: var(--pf-on-a); filter: none; }
.sf-pdp--pharmacy .sf-pdp-btn-secondary { border-width: 1.5px; border-color: color-mix(in srgb, var(--pf-ink) 75%, transparent); color: var(--pf-ink); background: transparent; }
.sf-pdp--pharmacy .sf-pdp-btn-secondary:hover { background: var(--pf-ink); border-color: var(--pf-ink); color: #fff; }
.sf-pdp--pharmacy .sf-pdp-btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pf-a-ink); }
.sf-pdp--pharmacy .sf-pdp-quiet { gap: 6px 22px; }
.sf-pdp--pharmacy .sf-pdp-link { color: var(--pf-ink); font-weight: 700; min-block-size: 44px; gap: 8px; }
.sf-pdp--pharmacy .sf-pdp-link .sfp-i { color: var(--pf-a-ink); font-size: 18px; }
.sf-pdp--pharmacy .sf-pdp-link:hover { color: var(--pf-a-ink); }
.sf-pdp--pharmacy .sf-pdp-link:focus-visible { outline: 2px solid var(--pf-a-ink); outline-offset: 2px; border-radius: 8px; }
.sf-pdp--pharmacy .sf-pdp-assurance { border: 1px solid var(--pf-line); border-radius: 20px; background: var(--pf-page); }
.sf-pdp--pharmacy .sf-pdp-assure-item i { color: var(--pf-a-ink); inline-size: 42px; block-size: 42px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--pf-line); display: inline-grid; place-items: center; font-size: 20px; flex: none; }
/* facts (unit, SKU, tags) as small capsules */
.sf-pdp--pharmacy .pf-prime-facts { display: flex; flex-wrap: wrap; gap: 8px; padding-block-start: 0; }
.sf-pdp--pharmacy .pf-prime-facts:not(:has(*)) { display: none; }
.sf-pdp--pharmacy .pf-prime-facts > div { display: inline-flex; align-items: center; gap: 8px; min-block-size: 36px; padding: 0 14px; border-radius: 999px; background: var(--pf-page); color: var(--pf-ink); font: 700 13px/1.3 var(--pf-body); max-inline-size: 100%; border: 1px solid var(--pf-line); }
.sf-pdp--pharmacy .pf-prime-facts > div > span:first-child { color: var(--pf-mute); font-weight: 500; margin: 0; }
.sf-pdp--pharmacy .pf-prime-facts > div > span:last-child { overflow-wrap: anywhere; }
.sf-pdp--pharmacy .sf-pdp-share a { border-radius: 50%; border: 1px solid var(--pf-line); background: #fff; min-inline-size: 44px; min-block-size: 44px; color: var(--pf-ink); }
.sf-pdp--pharmacy .sf-pdp-share a:hover { background: var(--pf-a); border-color: var(--pf-a); color: var(--pf-on-a); }
.sf-pdp--pharmacy .sf-pdp-share ul { flex-wrap: wrap; }
.sf-pdp--pharmacy .sf-pdp-pay img { block-size: 26px; }
/* the payment line names the store's active gateways by their logos; when no logo image renders it would be a bare claim: hidden then */
.sf-pdp--pharmacy .sf-pdp-pay:not(:has(img)) { display: none; }

/* ── details: a pill jump bar; the legacy partials are tab panes, here they are always-open sections ── */
.sf-pdp--pharmacy .sf-pdp-jump { border: 1px solid var(--pf-line); padding: 6px; background: #fff; border-radius: 999px; gap: 4px; inline-size: fit-content; max-inline-size: 100%; box-shadow: var(--pf-shadow); }
.sf-pdp--pharmacy .sf-pdp-jump a { display: inline-flex; align-items: center; min-block-size: 42px; padding: 0 18px; border-radius: 999px; color: var(--pf-ink); font: 700 14.5px/1 var(--pf-body); }
.sf-pdp--pharmacy .sf-pdp-jump a:hover, .sf-pdp--pharmacy .sf-pdp-jump a:focus-visible { background: var(--pf-a-soft); color: var(--pf-ink); outline: 0; }
.sf-pdp--pharmacy .sf-pdp-section > h2 { font: 800 clamp(24px, 2vw, 30px)/1.25 var(--pf-head); color: var(--pf-ink); letter-spacing: -.01em; }
[dir="rtl"] .sf-pdp--pharmacy .sf-pdp-section > h2 { line-height: 1.45; letter-spacing: 0; }
.sf-pdp--pharmacy .sf-pdp-section > h2::after { content: ""; display: block; margin-block-start: 12px; inline-size: 52px; block-size: 11px; background: var(--pf-a);
    -webkit-mask: var(--pf-dose) 0 50% / contain no-repeat; mask: var(--pf-dose) 0 50% / contain no-repeat; }
[dir="rtl"] .sf-pdp--pharmacy .sf-pdp-section > h2::after { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); -webkit-mask-position: 100% 50%; mask-position: 100% 50%; }
.sf-pdp--pharmacy .sf-pdp-aside { display: grid; gap: clamp(28px, 3vw, 40px); align-content: start; }
.sf-pdp--pharmacy .sf-pdp-aside > .sf-pdp-section { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--pf-line); border-radius: 24px; background: #fff; box-shadow: var(--pf-shadow); }
.sf-pdp--pharmacy .sf-pdp-spec { border-block-end-color: var(--pf-line); }
.sf-pdp--pharmacy .sf-pdp-spec:last-child { border-block-end: 0; }
.sf-pdp--pharmacy .sf-pdp-section-body :is(.anb-rich-content, div[style]) { color: var(--pf-text) !important; font: 400 16px/1.85 var(--pf-body) !important; }

/* reviews (Pharmacy's own partial: inline-styled boxes) */
.pf-prime-reviews > div[style*="pf-teal-light"] { background: var(--pf-page) !important; border: 1px solid var(--pf-line) !important; border-radius: 22px !important; padding: clamp(20px, 2.4vw, 28px) !important; }
.pf-prime-reviews > div[style*="pf-teal-light"] div[style*="font-size:42px"] { color: var(--pf-ink) !important; font: 800 44px/1 var(--pf-body) !important; }
.pf-prime-reviews > div[style*="pf-teal-light"] div[style*="border-left"] { border-left: 0 !important; padding-left: 0 !important; border-inline-start: 2px dotted var(--pf-line-2); padding-inline-start: 20px; }
.pf-prime-reviews .all-reviews > div:not([style*="dashed"]) { border-radius: 20px !important; border: 1px solid var(--pf-line) !important; background: #fff !important; }
.pf-prime-reviews .all-reviews > div:not([style*="dashed"]) div[style*="border-radius:50%"] { background: var(--pf-a-soft) !important; color: var(--pf-a-ink) !important; }
.pf-prime-reviews .all-reviews p { color: var(--pf-text) !important; font-size: 15px !important; }
.pf-prime-reviews :is(.all-reviews > div[style*="dashed"], > div[style*="dashed"]) { display: flex; flex-direction: column; align-items: center; gap: 14px; border: 1.5px dashed var(--pf-line-2) !important; border-radius: 24px !important; background: #fff !important; padding: clamp(28px, 4vw, 44px) !important; }
.pf-prime-reviews :is(.all-reviews > div[style*="dashed"], > div[style*="dashed"]) > i { display: none !important; }
.pf-prime-reviews :is(.all-reviews > div[style*="dashed"], > div[style*="dashed"])::before { content: ""; inline-size: 96px; block-size: 21px; background: var(--pf-line-2); -webkit-mask: var(--pf-dose) center / contain no-repeat; mask: var(--pf-dose) center / contain no-repeat; }
[dir="rtl"] .pf-prime-reviews :is(.all-reviews > div[style*="dashed"], > div[style*="dashed"])::before { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); }
.pf-prime-reviews :is(.all-reviews > div[style*="dashed"], > div[style*="dashed"]) p { margin: 0 !important; color: var(--pf-text) !important; font: 500 15.5px/1.6 var(--pf-body) !important; }
.pf-prime-reviews > div[style*="var(--pf-bg)"]:not([style*="dashed"]) { background: var(--pf-page) !important; border: 1px solid var(--pf-line) !important; border-radius: 24px !important; }
.pf-prime-reviews #review-text { border-radius: 14px !important; }
.pf-prime-reviews .see-more-review { min-block-size: 44px; }

/* related products: Pharmacy's own cards */
.pf-prime-related { margin-block: 0 clamp(40px, 5vw, 80px); padding-block-start: clamp(8px, 2vw, 24px); }
.pf-prime-related .pf-prime-related-title { margin: 0 0 clamp(20px, 2.4vw, 32px); color: var(--pf-ink); font: 800 clamp(26px, 2.4vw, 36px)/1.2 var(--pf-head); text-align: start; letter-spacing: -.01em; }
[dir="rtl"] .pf-prime-related .pf-prime-related-title { line-height: 1.4; letter-spacing: 0; }

@media (max-width: 991.98px) {
    /* the phone layer makes the swipe surface position: relative (storefront-mobile-foundation.css); keep it filling the frame */
    body.sf-m .sf-pdp--pharmacy .sf-pdp-main .long-img.sf-m-gallery { position: absolute; inset: 0; max-block-size: none; }
    body.sf-m .sf-pdp--pharmacy .sf-pdp-main .long-img[style*="height"] { aspect-ratio: auto; max-block-size: none; min-height: 0 !important; }
    .sf-pdp--pharmacy .sf-pdp-title { font-size: clamp(26px, 7.4vw, 34px); }
    .sf-pdp--pharmacy .sf-pdp-zoom-btn { inset-block-start: 14px; inset-inline-end: 14px; }
    .sf-pdp--pharmacy .sf-pdp-badge { inset-block-start: 16px; inset-inline-start: 16px; }
    .sf-pdp--pharmacy .sf-pdp-jump { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .sf-pdp--pharmacy .sf-pdp-thumb, .sf-pdp--pharmacy .sf-pdp-jump a, .sf-pdp--pharmacy .sf-pdp-zoom-btn { transition: none !important; }
}
