/* Prime pages: Pharmacy "Dose Strip" (restricted preview). Page-family skins over the EXISTING Pharmacy markup (theme widgets, theme page
   views, platform auth / track / blog / about / contact / 404 views). Tokens come from pharmacy-chrome.css and derive from the merchant
   variables. Scope: body.pharmacy; header / footer and the phone layer (P0–P5) are not restyled here. Logical properties throughout (Arabic RTL
   first). Merchant content (titles, images, texts, prices, widget fields) is restyled, never replaced; page-builder order and the data-vse-field
   hooks are untouched.
   Many Pharmacy page views carry their look in inline style attributes (cart / wishlist / compare mastheads, empty states, cart table and
   summary, compare table). Those are reached through stable structure — ids and classes the scripts use (#cart_tbody, .cart-main-wrapper,
   .coupon-contents, .close-table-cart, .compare-remove-btn, .clear-cart-btn), :has() and the views' own style tokens (e.g.
   [style*="width:100px;height:100px"] for the empty-state pocket) — and overridden with !important where an inline value must lose.
   Hidden on purpose (theme literals, never merchant data): the hero's fixed trust line ("100% Genuine / Pharmacist Verified / Cold Chain
   Assured"), the newsletter's fixed privacy promise, the cart's fixed "secure & encrypted" line (unsupported claims); the newsletter emoji
   (no emoji UI); the banner "Rx" watermark (decoration). The category "N+ items" count and the rating filter's
   "(4+)" labels stay visible ("+" there is information, not a symbol). The Pharmacy stylesheet clamps no paragraphs (no -webkit-line-clamp in style.css / pages.css), so no
   unclamp rule is needed. */

body.pharmacy {
  --pf-ring: 0 0 0 4px var(--pf-a-glow);
  font-family: var(--pf-body);
  color: var(--pf-text);
  background: var(--pf-page);
}
body.pharmacy :is(h1, h2, h3, h4, h5, h6) { font-family: var(--pf-head); }
[dir="rtl"] body.pharmacy :is(h1, h2, h3, h4, h5, h6, button, label, th, td, span, a, div, p, li, input, select) { letter-spacing: 0 !important; }
[dir="rtl"] body.pharmacy :is(.pf-product-brand, .pf-prod-brand, .pf-hero-badge, .pf-banner-badge, .pf-blog-widget-cat, .pf-sidebar-title, th) { text-transform: none !important; }

/* =========================================================================================
   1. Shared primitives
   ========================================================================================= */
/* the dose strip under a title (first pocket filled, the rest empty) */
body.pharmacy :is(.pf-section-h2, .pf-prime-related-title, .pf-page-hero h1, .sign-in-area-wrapper .title, .login-page-wrapper h2, .order-track-contents-title,
  .tn-contact h2, .tn-stats h2, .tn-services h2, .tn-brands h2, .tn-map h2, .tn-about-hero h1)::after,
body.pharmacy > .search-suggestion-overlay + div[style*="pf-teal-light"] h2::after {
  content: ""; display: block; inline-size: 56px; block-size: 12px; margin-block-start: 14px; 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"] body.pharmacy :is(.pf-section-h2, .pf-prime-related-title, .pf-page-hero h1, .sign-in-area-wrapper .title, .login-page-wrapper h2, .order-track-contents-title,
  .tn-contact h2, .tn-stats h2, .tn-services h2, .tn-brands h2, .tn-map h2, .tn-about-hero h1)::after,
[dir="rtl"] body.pharmacy > .search-suggestion-overlay + div[style*="pf-teal-light"] h2::after {
  -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); -webkit-mask-position: 100% 50%; mask-position: 100% 50%; }
body.pharmacy :is(.tn-stats, .tn-services, .tn-brands, .tn-map) h2::after { margin-inline: auto; -webkit-mask-position: 50% 50% !important; mask-position: 50% 50% !important; }

/* buttons: primary = the merchant's main colour as a pill, text colour chosen by its lightness; outline = ink; dark-outline = on navy */
body.pharmacy .pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-block-size: 48px; padding: 0 26px; border-radius: 999px !important;
  font: 700 14.5px/1 var(--pf-body); letter-spacing: 0; text-decoration: none; transform: none !important; box-shadow: none; transition: background var(--sfp-dur) var(--pf-ease), color var(--sfp-dur), border-color var(--sfp-dur); }
body.pharmacy .pf-btn-teal { background: var(--pf-a) !important; color: var(--pf-on-a) !important; border: 1.5px solid var(--pf-a) !important; }
body.pharmacy .pf-btn-teal:hover { background: var(--pf-a-deep) !important; border-color: var(--pf-a-deep) !important; color: var(--pf-on-a) !important; box-shadow: 0 14px 26px -18px var(--pf-a); }
body.pharmacy .pf-btn-outline { background: transparent !important; color: var(--pf-ink) !important; border: 1.5px solid var(--pf-line-2) !important; }
body.pharmacy .pf-btn-outline:hover { background: var(--pf-ink) !important; border-color: var(--pf-ink) !important; color: #fff !important; }
body.pharmacy .pf-btn-ghost { background: #fff !important; color: var(--pf-ink) !important; border: 1.5px solid var(--pf-line) !important; }
body.pharmacy .pf-btn-ghost:hover { border-color: var(--pf-ink) !important; }
body.pharmacy .pf-btn-dark-outline { background: transparent !important; color: #fff !important; border: 1.5px solid color-mix(in srgb, #fff 45%, transparent) !important; }
body.pharmacy .pf-btn-dark-outline:hover { background: #fff !important; color: var(--pf-ink) !important; border-color: #fff !important; }
body.pharmacy .pf-btn-sm { min-block-size: 44px; padding: 0 18px; font-size: 13.5px; }
body.pharmacy .pf-btn-lg { min-block-size: 54px; padding: 0 32px !important; font-size: 15.5px !important; }
body.pharmacy :is(.btn-default, .boxed-btn, .submit-btn, .btn-submit, .anb-404__btn, .newsletter-submit-btn) { background: var(--pf-a) !important; color: var(--pf-on-a) !important;
  border: 1.5px solid var(--pf-a) !important; border-radius: 999px !important; box-shadow: none !important; font-weight: 700 !important; }
body.pharmacy :is(.btn-default, .boxed-btn, .submit-btn, .btn-submit, .anb-404__btn, .newsletter-submit-btn):hover { background: var(--pf-a-deep) !important; border-color: var(--pf-a-deep) !important; color: var(--pf-on-a) !important; }
body.pharmacy :is(.pf-btn, .btn-default, .boxed-btn, .submit-btn, .btn-submit, .anb-404__btn, .newsletter-submit-btn, .pf-add-btn, .pf-wish-btn, .pf-prod-atc, .pf-prod-wish, .pf-page-btn, .pf-link-teal):focus-visible {
  outline: 0 !important; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pf-a-ink) !important; }
body.pharmacy :is(.pf-product-card, .pf-prod-card, .pf-card, .pf-blog-widget-card, .cart-main-wrapper, .sign-in-area-wrapper, .tn-contact) a:focus-visible, body.pharmacy .pf-cat-card-v2:focus-visible {
  outline: 2px solid var(--pf-a-ink); outline-offset: 3px; border-radius: 10px; }
[dir="rtl"] body.pharmacy :is(.pf-btn, .pf-link-teal, .pf-blog-widget-read, .cart-main-wrapper, .pf-hero-btns, .pf-banner-btns) i:is(.mdi-arrow-right, .mdi-arrow-left, .la-arrow-right, .la-arrow-left) { display: inline-block; transform: scaleX(-1); }

/* form fields: 14px corners, firm hairline, mint focus glow */
body.pharmacy :is(.form--control, [id="pf-min-price"], [id="pf-max-price"], [id="pf-sort-select"], .sign-in-area-wrapper .form-control, .login-page-wrapper .form-control, .tn-contact .form-control,
  .order-track-wrapper .form--control, .checkout-form .form--control, .checkout-form select, [id="review-text"], .pf-prime-reviews select) {
  inline-size: 100%; min-block-size: 50px; block-size: auto; border-radius: 14px !important; border: 1.5px solid var(--pf-line-2) !important; background-color: #fff !important;
  padding: 11px 16px !important; font: 500 15px/1.4 var(--pf-body) !important; color: var(--pf-ink) !important; box-shadow: none !important; outline: 0;
  transition: border-color var(--sfp-dur) var(--pf-ease), box-shadow var(--sfp-dur) var(--pf-ease); }
body.pharmacy :is(textarea.form-control, textarea.form--control, [id="review-text"]) { min-block-size: 140px; resize: vertical; }
body.pharmacy :is(.form-control, .form--control, [id="pf-min-price"], [id="pf-max-price"], [id="pf-sort-select"], [id="review-text"], select):focus { outline: 0; border-color: var(--pf-a-ink) !important; box-shadow: var(--pf-ring) !important; }
body.pharmacy :is(input, textarea)::placeholder { color: color-mix(in srgb, var(--pf-mute) 85%, #fff); opacity: 1; }
body.pharmacy :is(.label-title, .sign-in-area-wrapper label:not(.form-check-label), .login-page-wrapper label, .tn-contact label) { display: block; margin: 0 0 8px; font: 700 14px/1.35 var(--pf-body); color: var(--pf-ink); }
body.pharmacy .ds-required { color: var(--pf-bad); }
body.pharmacy :is(.sign-in-area-wrapper, .pf-sidebar, .checkout-form) input[type="checkbox"]:not(.d-none) {
  appearance: none; -webkit-appearance: none; inline-size: 22px !important; block-size: 22px !important; flex: none; margin: 0; border-radius: 7px; border: 1.5px solid var(--pf-line-2);
  background: #fff; display: inline-grid; place-items: center; vertical-align: middle; cursor: pointer; float: none; }
body.pharmacy :is(.sign-in-area-wrapper, .pf-sidebar, .checkout-form) input[type="checkbox"]:checked { background: var(--pf-a); border-color: var(--pf-a); }
body.pharmacy :is(.sign-in-area-wrapper, .pf-sidebar, .checkout-form) input[type="checkbox"]:checked::after { content: ""; inline-size: 10px; block-size: 5px; border: 2px solid var(--pf-on-a); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
body.pharmacy :is(.pf-sidebar, .checkout-form) input[type="radio"] { appearance: none; -webkit-appearance: none; inline-size: 22px; block-size: 22px; margin: 0; flex: none; border: 1.5px solid var(--pf-line-2);
  border-radius: 50%; background: #fff; display: inline-grid; place-items: center; cursor: pointer; }
body.pharmacy :is(.pf-sidebar, .checkout-form) input[type="radio"]:checked { border-color: var(--pf-a-ink); }
body.pharmacy :is(.pf-sidebar, .checkout-form) input[type="radio"]:checked::after { content: ""; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--pf-a); }
body.pharmacy input:is([type="checkbox"], [type="radio"]):focus-visible { outline: 0; box-shadow: var(--pf-ring); }

/* white tiles */
body.pharmacy :is(.sign-in-area-wrapper .sign-in, .sign-in-area-wrapper .sign-up, .login-page-wrapper .login-form-wrapper, .tn-contact-form, .order-track-wrapper) {
  position: relative; background: #fff !important; border: 1px solid var(--pf-line) !important; border-radius: var(--pf-r-l) !important; box-shadow: var(--pf-shadow) !important; }

/* merchant headings in another script keep their own direction (English titles on Arabic pages), alignment pinned per page direction */
body.pharmacy :is(.pf-hero-heading, .pf-hero-sub, .pf-hero-badge, .pf-banner-title, .pf-banner-sub, .pf-banner-badge, .pf-newsletter-title, .pf-newsletter-sub, .pf-section-h2, .pf-section-hint,
  .pf-trust-title, .pf-trust-sub, .pf-page-hero h1, .tn-about-hero h1, .tn-about-hero [data-vse-field="subtitle"], .tn-contact [data-vse-field="subtitle"]) { unicode-bidi: plaintext; }
[dir="rtl"] body.pharmacy :is(.pf-hero-heading, .pf-hero-sub, .pf-banner-title, .pf-banner-sub, .pf-section-h2, .pf-section-hint, .pf-trust-title, .pf-trust-sub, .pf-page-hero h1, .tn-about-hero h1,
  .tn-about-hero [data-vse-field="subtitle"], .tn-contact [data-vse-field="subtitle"]) { text-align: right; }
[dir="ltr"] body.pharmacy :is(.pf-hero-heading, .pf-hero-sub, .pf-banner-title, .pf-banner-sub, .pf-section-h2, .pf-section-hint, .pf-trust-title, .pf-trust-sub, .pf-page-hero h1, .tn-about-hero h1,
  .tn-about-hero [data-vse-field="subtitle"], .tn-contact [data-vse-field="subtitle"]) { text-align: left; }

/* =========================================================================================
   2. Home widgets (containers only; content, order and data-vse-field untouched)
   ========================================================================================= */
/* hero: deep navy with the blister-pack ground, display serif italic, a framed picture carrying a dose strip */
body.pharmacy .pf-hero { background: var(--pf-night) !important; background-image: radial-gradient(60% 80% at 22% 50%, color-mix(in srgb, var(--pf-a) 16%, transparent), transparent 70%), var(--pf-blister-bg) !important;
  color: var(--pf-on-night); position: relative; overflow: hidden; isolation: isolate; }
[dir="ltr"] body.pharmacy .pf-hero { background-image: radial-gradient(60% 80% at 78% 50%, color-mix(in srgb, var(--pf-a) 16%, transparent), transparent 70%), var(--pf-blister-bg) !important; }
body.pharmacy .pf-hero::before { display: none; }
body.pharmacy .pf-hero .row { --bs-gutter-y: 28px; min-block-size: clamp(420px, 40vw, 560px); }
body.pharmacy .pf-hero-badge { display: inline-flex; align-items: center; gap: 9px; min-block-size: 34px; padding: 0 16px; margin-block-end: 22px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--pf-a-on-night) 55%, transparent);
  background: color-mix(in srgb, var(--pf-a) 10%, transparent); color: var(--pf-a-on-night); font: 700 13px/1 var(--pf-body); letter-spacing: .02em; }
body.pharmacy .pf-hero-badge > i { display: none; }
body.pharmacy :is(.pf-hero-badge, .pf-banner-badge)::before { content: ""; flex: none; inline-size: 16px; block-size: 16px; background: currentColor; -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
body.pharmacy .pf-hero-heading { margin: 0 0 20px; color: #fff; font: italic 400 clamp(42px, 4.8vw, 72px)/1.06 var(--pf-display); letter-spacing: -.01em; text-wrap: balance; }
[dir="rtl"] body.pharmacy .pf-hero-heading { line-height: 1.18; }
body.pharmacy .pf-hero-sub { color: var(--pf-on-night-mute); font: 400 17px/1.7 var(--pf-body); max-inline-size: 46ch; margin-block-end: 32px; }
[dir="rtl"] body.pharmacy .pf-hero-sub { margin-inline-start: auto; margin-inline-end: 0; }
body.pharmacy .pf-hero-btns { gap: 12px; margin-block-end: 0; }
/* fixed theme trust line (not merchant data, unsupported claims): hidden */
body.pharmacy .pf-hero :is(.pf-hero-divider, .pf-hero-trust-inline) { display: none !important; }
body.pharmacy .pf-hero-img-wrap { position: relative; display: block; border-radius: 30px; padding: 12px; background: color-mix(in srgb, #fff 6%, transparent); border: 1px solid color-mix(in srgb, #fff 14%, transparent); overflow: visible; }
body.pharmacy .pf-hero-img { inline-size: 100%; max-block-size: 460px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
/* a dose strip tab hanging on the frame */
body.pharmacy .pf-hero-img-wrap::after { content: ""; position: absolute; inset-block-end: -14px; inset-inline-start: 32px; inline-size: 96px; block-size: 28px; border-radius: 999px;
  background: var(--pf-night); border: 1.5px solid color-mix(in srgb, var(--pf-a-on-night) 50%, transparent); box-shadow: 0 10px 22px -12px #000; }
body.pharmacy .pf-hero-img-wrap::before { content: ""; position: absolute; z-index: 1; inset-block-end: -4px; inset-inline-start: 50px; inline-size: 60px; block-size: 12px; background: var(--pf-a-on-night);
  -webkit-mask: var(--pf-dose) center / contain no-repeat; mask: var(--pf-dose) center / contain no-repeat; }
[dir="rtl"] body.pharmacy .pf-hero-img-wrap::before { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); }
body.pharmacy .pf-hero-img-ph { min-block-size: 340px; display: grid; place-items: center; }
body.pharmacy .pf-hero-img-ph i { display: none; }
body.pharmacy .pf-hero-img-ph::before { content: ""; inline-size: 120px; block-size: 120px; background: var(--pf-a-on-night); opacity: .5; -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }

/* trust strip under the hero (merchant fields): white, dotted dividers, round pockets */
body.pharmacy .pf-hero-trust-bar { background: #fff; border: 0; border-block-end: 1px solid var(--pf-line); }
body.pharmacy .pf-trust-item { gap: 14px; padding: 22px 18px; border: 0 !important; position: relative; min-block-size: 92px; }
body.pharmacy .pf-hero-trust-bar .col-6:not(:last-child) .pf-trust-item::after { content: ""; position: absolute; inset-block: 26px; inset-inline-end: 0; inline-size: 2px;
  background: radial-gradient(circle, var(--pf-line-2) 1px, transparent 1.6px) 0 0 / 2px 7px repeat-y; }
body.pharmacy .pf-trust-icon { inline-size: 50px; block-size: 50px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--pf-a-soft); color: var(--pf-a-ink); font-size: 24px; }
body.pharmacy .pf-trust-title { color: var(--pf-ink); font: 700 15px/1.3 var(--pf-head); margin-block-end: 3px; }
body.pharmacy .pf-trust-sub { color: var(--pf-mute); font: 500 13px/1.4 var(--pf-body); }

/* section heads */
body.pharmacy .pf-section-row-head { align-items: flex-end; gap: 16px; margin-block-end: clamp(24px, 2.6vw, 36px); }
body.pharmacy .pf-section-h2, body.pharmacy .pf-display-font { margin: 0; color: var(--pf-ink); font: 800 clamp(28px, 2.6vw, 38px)/1.15 var(--pf-head); letter-spacing: -.02em; }
body.pharmacy .pf-section-h2.pf-display-font { font: italic 400 clamp(32px, 3vw, 44px)/1.15 var(--pf-display); letter-spacing: 0; }
[dir="rtl"] body.pharmacy :is(.pf-section-h2, .pf-display-font) { line-height: 1.35; }
body.pharmacy .pf-section-hint { margin-block-start: 10px !important; color: var(--pf-mute); font: 500 15px/1.5 var(--pf-body); }
body.pharmacy .pf-link-teal { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--pf-line-2); background: #fff;
  color: var(--pf-ink); font: 700 14px/1 var(--pf-body); transition: background var(--sfp-dur), border-color var(--sfp-dur), color var(--sfp-dur); }
body.pharmacy .pf-link-teal:hover { background: var(--pf-ink); border-color: var(--pf-ink); color: #fff; }

/* categories: white tiles, the picture in a round pocket, a dose strip that fills on hover */
body.pharmacy .pf-cat-section { background: var(--pf-page); }
body.pharmacy .pf-cat-card-v2 { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px 32px; block-size: 100%; border: 1px solid var(--pf-line); border-radius: 24px;
  background: #fff; box-shadow: var(--pf-shadow); transform: none !important; transition: border-color var(--sfp-dur) var(--pf-ease), box-shadow var(--sfp-dur) var(--pf-ease); }
body.pharmacy .pf-cat-card-v2:hover { border-color: color-mix(in srgb, var(--pf-a) 60%, var(--pf-line)); box-shadow: var(--pf-shadow-hi); }
body.pharmacy .pf-cat-icon-v2 { inline-size: 92px; block-size: 92px; margin: 0; border-radius: 50%; background: var(--pf-page); box-shadow: inset 0 0 0 1px var(--pf-line); overflow: hidden; }
body.pharmacy .pf-cat-icon-v2 img { inline-size: 100%; block-size: 100%; object-fit: cover; }
body.pharmacy .pf-cat-icon-v2 i { color: var(--pf-a-ink); }
body.pharmacy .pf-cat-name-v2 { margin: 0; color: var(--pf-ink); font: 700 15px/1.3 var(--pf-head); }
/* "N+ items" ("+" = "and more": information, kept) as a quiet line under the name */
body.pharmacy .pf-cat-count-v2 { margin: -6px 0 0; color: var(--pf-mute); font: 500 13px/1.3 var(--pf-body); }
body.pharmacy .pf-cat-card-v2::after { content: ""; position: absolute; inset-block-end: 14px; inset-inline-start: calc(50% - 20px); inline-size: 40px; block-size: 9px; background: var(--pf-line-2);
  -webkit-mask: var(--pf-dose) center / contain no-repeat; mask: var(--pf-dose) center / contain no-repeat; transition: background var(--sfp-dur); }
[dir="rtl"] body.pharmacy .pf-cat-card-v2::after { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); inset-inline-start: auto; inset-inline-end: calc(50% - 20px); }
body.pharmacy .pf-cat-card-v2:is(:hover, :focus-visible)::after { background: var(--pf-a); -webkit-mask-image: var(--pf-dose-full); mask-image: var(--pf-dose-full); animation: pf-dose-fill .5s var(--pf-ease) both; }
[dir="rtl"] body.pharmacy .pf-cat-card-v2:is(:hover, :focus-visible)::after { animation-name: pf-dose-fill-rtl; }
@keyframes pf-dose-fill { from { clip-path: inset(0 75% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pf-dose-fill-rtl { from { clip-path: inset(0 0 0 75%); } to { clip-path: inset(0 0 0 0); } }

/* product cards (best sellers .pf-product-card, featured .pf-prod-card, shop grid .pf-product-card, related .pf-card):
   white card, the photo in a soft pocket, a capsule badge, mint cart key */
body.pharmacy .pf-products-section { background: #fff; }
body.pharmacy :is(.pf-product-card, .pf-prod-card, .pf-card) { position: relative; display: flex; flex-direction: column; block-size: 100%; padding: 10px; border: 1px solid var(--pf-line) !important; border-radius: 24px !important;
  background: #fff; box-shadow: var(--pf-shadow); overflow: visible; transform: none !important; transition: box-shadow var(--sfp-dur) var(--pf-ease), border-color var(--sfp-dur); }
body.pharmacy :is(.pf-product-card, .pf-prod-card, .pf-card):hover { box-shadow: var(--pf-shadow-hi); border-color: color-mix(in srgb, var(--pf-a) 45%, var(--pf-line)) !important; }
body.pharmacy :is(.pf-product-img, .pf-prod-img, .pf-card-img) { position: relative; display: block; block-size: auto !important; aspect-ratio: 1 / 1; border-radius: 17px; overflow: hidden; background: var(--pf-page);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-ink) 5%, transparent); }
body.pharmacy :is(.pf-product-img, .pf-prod-img, .pf-card-img) a { display: block; inline-size: 100%; block-size: 100%; }
body.pharmacy :is(.pf-product-img, .pf-prod-img, .pf-card-img) img { inline-size: 100%; block-size: 100%; object-fit: cover; transform: none !important; transition: none; }
body.pharmacy :is(.pf-product-img, .pf-prod-img) > i { position: absolute; inset: 0; display: grid !important; place-items: center; font-size: 0 !important; }
body.pharmacy :is(.pf-product-img, .pf-prod-img) > i::before { content: ""; inline-size: 56px; block-size: 56px; background: var(--pf-line-2); -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
body.pharmacy .pf-prime-noimg { display: grid !important; place-items: center; }
body.pharmacy .pf-prime-noimg::before { content: ""; inline-size: 56px; block-size: 56px; background: var(--pf-line-2); -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
body.pharmacy :is(.pf-product-badge, .pf-prod-badge) { position: absolute; z-index: 3; inset-block-start: 20px; top: 20px; display: inline-flex; align-items: center; gap: 6px;
  min-block-size: 28px; padding: 0 12px 0 10px; border-radius: 999px; background: #fff !important; color: var(--pf-ink) !important; font: 800 12px/1 var(--pf-body); box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--pf-ink) 45%, transparent); }
[dir="rtl"] body.pharmacy :is(.pf-product-badge, .pf-prod-badge) { right: 20px; left: auto; }
[dir="ltr"] body.pharmacy :is(.pf-product-badge, .pf-prod-badge) { left: 20px; right: auto; }
body.pharmacy .pf-prod-img .pf-prod-badge { inset-block-start: 10px; top: 10px; }
[dir="rtl"] body.pharmacy .pf-prod-img .pf-prod-badge { right: 10px; } [dir="ltr"] body.pharmacy .pf-prod-img .pf-prod-badge { left: 10px; }
body.pharmacy :is(.pf-product-badge, .pf-prod-badge)::before { content: ""; flex: none; inline-size: 13px; block-size: 13px; background: var(--pf-a-ink); -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
body.pharmacy :is(.pf-product-badge, .pf-prod-badge).pf-badge-sale::before { background: var(--pf-bad); }
body.pharmacy :is(.pf-product-badge, .pf-prod-badge).pf-badge-sale { color: var(--pf-bad) !important; }
body.pharmacy :is(.pf-product-body, .pf-prod-body, .pf-card-body) { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 8px 6px !important; }
body.pharmacy :is(.pf-product-brand, .pf-prod-brand) { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--pf-a-ink); font: 700 12px/1.2 var(--pf-body); letter-spacing: .08em; text-transform: uppercase; }
[dir="rtl"] body.pharmacy :is(.pf-product-brand, .pf-prod-brand) { font-size: 12.5px; }
body.pharmacy :is(.pf-product-brand, .pf-prod-brand)::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--pf-a); flex: none; }
body.pharmacy :is(.pf-product-name, .pf-prod-name, .pf-card-name) { margin: 0; color: var(--pf-ink); font: 700 15.5px/1.35 var(--pf-head); }
body.pharmacy :is(.pf-product-name, .pf-prod-name, .pf-card-name) a { color: inherit; text-decoration: none; }
body.pharmacy :is(.pf-product-name, .pf-prod-name, .pf-card-name) a:hover { color: var(--pf-a-ink); }
body.pharmacy :is(.pf-prod-desc, .pf-card-generic) { margin: 0; color: var(--pf-mute); font: 400 13.5px/1.55 var(--pf-body); font-style: normal; }
body.pharmacy .pf-product-meta { margin: 0; color: var(--pf-mute); }
body.pharmacy .pf-product-meta:not(:has(.rating-wrap *)):not(:has(> :not(.rating-wrap))) { display: none; }
body.pharmacy :is(.pf-product-footer, .pf-prod-footer) { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: auto; padding-block-start: 12px; border: 0 !important; border-block-start: 1px dashed var(--pf-line) !important; }
body.pharmacy :is(.pf-price-current, .pf-prod-price-sale, .pf-price-sale) { color: var(--pf-ink); font: 800 18px/1.1 var(--pf-body); font-variant-numeric: tabular-nums; }
body.pharmacy :is(.pf-price-was, .pf-prod-price-orig) { display: inline-block; margin-inline-start: 6px; margin-left: 0; color: var(--pf-mute); font: 500 12.5px/1.2 var(--pf-body); text-decoration: line-through; }
body.pharmacy :is(.pf-add-btn, .pf-prod-atc) { inline-size: 44px; block-size: 44px; flex: none; display: grid; place-items: center; padding: 0; border-radius: 50% !important; border: 0 !important; background: var(--pf-a) !important; color: var(--pf-on-a) !important;
  font-size: 20px; transform: none !important; transition: background var(--sfp-dur) var(--pf-ease); }
body.pharmacy :is(.pf-add-btn, .pf-prod-atc):hover { background: var(--pf-a-deep) !important; }
body.pharmacy :is(.pf-wish-btn, .pf-prod-wish) { inline-size: 44px; block-size: 44px; flex: none; display: grid; place-items: center; padding: 0; border-radius: 50% !important; border: 1.5px solid var(--pf-line) !important; background: #fff !important; color: var(--pf-ink) !important;
  font-size: 19px; transform: none !important; transition: border-color var(--sfp-dur), color var(--sfp-dur); }
body.pharmacy :is(.pf-wish-btn, .pf-prod-wish):hover { border-color: var(--pf-bad) !important; color: var(--pf-bad) !important; }
body.pharmacy .pf-card .pf-card-price { margin-block-end: 10px; }
body.pharmacy .pf-card .pf-prime-view { inline-size: 100%; margin-block-start: auto; }

/* banner (prescription service): navy band, blister ground, framed picture */
body.pharmacy .pf-banner-section { background: var(--pf-night) !important; background-image: radial-gradient(55% 90% at 15% 50%, color-mix(in srgb, var(--pf-a) 14%, transparent), transparent 70%), var(--pf-blister-bg) !important; isolation: isolate; }
[dir="ltr"] body.pharmacy .pf-banner-section { background-image: radial-gradient(55% 90% at 85% 50%, color-mix(in srgb, var(--pf-a) 14%, transparent), transparent 70%), var(--pf-blister-bg) !important; }
body.pharmacy .pf-banner-rx-watermark { display: none !important; }
body.pharmacy .pf-banner-badge { display: inline-flex; align-items: center; gap: 9px; min-block-size: 32px; padding: 0 14px; margin-block-end: 18px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--pf-a-on-night) 55%, transparent);
  background: color-mix(in srgb, var(--pf-a) 10%, transparent); color: var(--pf-a-on-night); font: 700 12px/1 var(--pf-body); letter-spacing: .06em; }
body.pharmacy .pf-banner-badge > i { display: none; }
body.pharmacy .pf-banner-title { color: #fff; font: 800 clamp(28px, 3vw, 44px)/1.2 var(--pf-head); letter-spacing: -.02em; margin-block-end: 16px; text-wrap: balance; }
body.pharmacy .pf-banner-sub { color: var(--pf-on-night-mute); font: 400 16px/1.7 var(--pf-body); max-inline-size: 52ch; }
[dir="rtl"] body.pharmacy .pf-banner-sub { margin-inline-start: auto; }
body.pharmacy .pf-banner-btns { gap: 12px; }
body.pharmacy .pf-banner-img-wrap { padding: 12px; border-radius: 30px; background: color-mix(in srgb, #fff 6%, transparent); border: 1px solid color-mix(in srgb, #fff 14%, transparent); }
body.pharmacy .pf-banner-img { max-block-size: 360px; inline-size: 100%; object-fit: cover; border-radius: 22px; filter: none; }
body.pharmacy .pf-step-icon { border-radius: 50%; background: color-mix(in srgb, var(--pf-a) 16%, transparent); border-color: color-mix(in srgb, var(--pf-a-on-night) 45%, transparent); color: var(--pf-a-on-night); }
body.pharmacy .pf-step-label { color: var(--pf-on-night-mute); letter-spacing: 0; }
body.pharmacy .pf-step-arrow { display: inline-flex; font-size: 0 !important; }
body.pharmacy .pf-step-arrow::before { content: ""; inline-size: 40px; block-size: 8px; background: color-mix(in srgb, #fff 45%, transparent); -webkit-mask: var(--pf-dose) center / contain no-repeat; mask: var(--pf-dose) center / contain no-repeat; }

/* blog widget */
body.pharmacy .pf-blog-widget-section { background: var(--pf-page); }
body.pharmacy .pf-blog-widget-card { padding: 10px; border: 1px solid var(--pf-line) !important; border-radius: 24px !important; box-shadow: var(--pf-shadow); transform: none !important; }
body.pharmacy .pf-blog-widget-card:hover { box-shadow: var(--pf-shadow-hi); }
body.pharmacy .pf-blog-widget-thumb { block-size: auto; aspect-ratio: 16 / 10; border-radius: 17px; background: var(--pf-night); }
body.pharmacy .pf-blog-widget-thumb img { transform: none !important; }
body.pharmacy .pf-blog-widget-thumb-ph i { display: none; }
body.pharmacy .pf-blog-widget-thumb-ph::before { content: ""; inline-size: 64px; block-size: 64px; background: var(--pf-a-on-night); opacity: .55; -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
body.pharmacy .pf-blog-widget-body { padding: 16px 8px 8px; }
body.pharmacy .pf-blog-widget-cat { align-self: flex-start; background: var(--pf-a-soft); color: var(--pf-a-ink); border-radius: 999px; font: 700 12px/1 var(--pf-body); padding: 7px 12px; letter-spacing: .04em; }
body.pharmacy .pf-blog-widget-title { color: var(--pf-ink); font: 700 18px/1.4 var(--pf-head); }
body.pharmacy .pf-blog-widget-title a:hover { color: var(--pf-a-ink); }
body.pharmacy .pf-blog-widget-excerpt { color: var(--pf-mute); font-size: 14.5px; }
body.pharmacy .pf-blog-widget-read { min-block-size: 44px; color: var(--pf-a-ink); font: 700 14px/1 var(--pf-body); }

/* newsletter: navy band, a dose strip instead of the emoji, pill form */
body.pharmacy .pf-newsletter-section { background: var(--pf-night-3) !important; background-image: var(--pf-blister-bg) !important; margin-block-end: 0; }
body.pharmacy .pf-newsletter-section::before { background: radial-gradient(50% 70% at 50% 0%, color-mix(in srgb, var(--pf-a) 18%, transparent), transparent 70%); }
body.pharmacy .pf-newsletter-emoji { display: none !important; }
body.pharmacy .pf-newsletter-inner::before { content: ""; display: block; inline-size: 92px; block-size: 20px; margin: 0 auto 22px; background: var(--pf-a-on-night);
  -webkit-mask: var(--pf-dose) center / contain no-repeat; mask: var(--pf-dose) center / contain no-repeat; }
[dir="rtl"] body.pharmacy .pf-newsletter-inner::before { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); }
body.pharmacy .pf-newsletter-title { color: #fff; font: italic 400 clamp(32px, 3.6vw, 52px)/1.15 var(--pf-display); margin-block-end: 14px; text-wrap: balance; }
body.pharmacy .pf-newsletter-sub { color: var(--pf-on-night-mute); font: 400 16px/1.65 var(--pf-body); }
body.pharmacy .pf-newsletter-input-wrap { max-inline-size: 520px; padding: 5px; gap: 6px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, #fff 22%, transparent); background: color-mix(in srgb, #fff 8%, transparent); backdrop-filter: none; overflow: visible; }
body.pharmacy .pf-newsletter-input-wrap:focus-within { border-color: var(--pf-a-on-night); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pf-a) 25%, transparent); }
body.pharmacy .pf-newsletter-input { min-block-size: 48px; padding: 0 20px; color: #fff; font: 500 15px/1.2 var(--pf-body); }
body.pharmacy .pf-newsletter-input::placeholder { color: color-mix(in srgb, #fff 66%, transparent); }
body.pharmacy .pf-newsletter-submit { min-block-size: 48px; padding: 0 28px; border-radius: 999px !important; }
/* fixed theme privacy promise (unsupported claim): hidden */
body.pharmacy .pf-newsletter-note { display: none !important; }
body.pharmacy .pf-newsletter-section .form-message-show:empty { display: none; }

/* =========================================================================================
   3. Shop, category and search
   ========================================================================================= */
body.pharmacy .pf-page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(40px, 4.4vw, 68px) clamp(34px, 3.6vw, 52px); border: 0;
  background: linear-gradient(180deg, var(--pf-a-soft), color-mix(in srgb, var(--pf-a-soft) 30%, var(--pf-page))); }
body.pharmacy .pf-page-hero::before, body.pharmacy > .search-suggestion-overlay + div[style*="pf-teal-light"]::before { content: ""; position: absolute; z-index: -1; inset-block: -30%; inset-inline-end: clamp(-60px, 4vw, 80px);
  inline-size: clamp(220px, 26vw, 400px); background: color-mix(in srgb, var(--pf-a) 10%, transparent); -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
body.pharmacy .pf-page-hero h1 { margin: 0; color: var(--pf-ink); font: italic 400 clamp(38px, 4vw, 60px)/1.1 var(--pf-display); letter-spacing: 0; }
body.pharmacy .pf-page-hero .pf-breadcrumb { margin-block-start: 14px; }
body.pharmacy .pf-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 500 14px/1.5 var(--pf-body); color: var(--pf-mute); }
body.pharmacy .pf-breadcrumb a { display: inline-flex; align-items: center; min-block-size: 32px; color: var(--pf-a-ink); font-weight: 700; text-decoration: none; }
body.pharmacy .pf-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
body.pharmacy .pf-breadcrumb .sep { color: var(--pf-line-2); }
[dir="rtl"] body.pharmacy .pf-breadcrumb .sep i { display: inline-block; transform: scaleX(-1); }
body.pharmacy .pf-breadcrumb .current { color: var(--pf-mute); }
body.pharmacy .pf-page-hero + div[style*="pf-bg"] { background: var(--pf-page) !important; padding-block: clamp(28px, 3vw, 44px) clamp(56px, 6vw, 88px) !important; }

body.pharmacy .pf-sidebar { padding: 22px; border: 1px solid var(--pf-line); border-radius: var(--pf-r-l); background: #fff; box-shadow: var(--pf-shadow); }
body.pharmacy .pf-sidebar-search { display: flex; align-items: center; gap: 4px; padding: 4px; padding-inline-start: 14px; margin-block-end: 22px; border: 1.5px solid var(--pf-line); border-radius: 999px; background: var(--pf-page); overflow: visible; }
body.pharmacy .pf-sidebar-search:focus-within { border-color: var(--pf-a-ink); box-shadow: var(--pf-ring); background: #fff; }
body.pharmacy .pf-sidebar-search input { min-block-size: 40px; padding: 0 4px; font: 500 14px/1.2 var(--pf-body); color: var(--pf-ink); background: transparent; min-inline-size: 0; }
body.pharmacy .pf-sidebar-search button { inline-size: 40px; block-size: 40px; flex: none; padding: 0; border-radius: 50%; background: var(--pf-a); color: var(--pf-on-a); font-size: 18px; display: grid; place-items: center; }
body.pharmacy .pf-sidebar .pf-sidebar-title { display: flex; flex-direction: column; gap: 10px; margin: 0 0 12px; padding: 0 0 12px; border-block-end: 1px dashed var(--pf-line); color: var(--pf-ink); font: 800 15px/1.3 var(--pf-head);
  letter-spacing: 0; text-transform: none; }
body.pharmacy .pf-sidebar .pf-sidebar-title::after { content: ""; inline-size: 40px; block-size: 9px; 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"] body.pharmacy .pf-sidebar .pf-sidebar-title::after { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); -webkit-mask-position: 100% 50%; mask-position: 100% 50%; }
body.pharmacy .pf-sidebar-section { margin-block-end: 24px; }
body.pharmacy .pf-check-item { min-block-size: 44px; margin: 0; gap: 10px; }
body.pharmacy .pf-check-item label { gap: 12px; min-block-size: 44px; color: var(--pf-ink); font: 600 14.5px/1.3 var(--pf-body); }
body.pharmacy .pf-count-badge { min-inline-size: 28px; padding: 3px 9px; border: 0; border-radius: 999px; background: var(--pf-page); color: var(--pf-mute); font: 700 12px/1.2 var(--pf-body); text-align: center; }
body.pharmacy .pf-price-inputs { gap: 10px; margin-block-end: 14px; }
body.pharmacy .pf-price-inputs input { min-inline-size: 0; flex: 1 1 0; }
body.pharmacy .pf-rating-row { min-block-size: 40px; gap: 10px; margin: 0; color: var(--pf-mute); }
body.pharmacy .pf-rating-stars { color: var(--review-color, #E5A100); letter-spacing: 1px; font-size: 14px; }
/* "(5)", "(4+)", "(3+)" ("+" = "and up": information, kept) */
body.pharmacy .pf-rating-row > span[style*="font-size:12px"] { color: var(--pf-mute) !important; font-weight: 600; unicode-bidi: isolate; direction: ltr; }
body.pharmacy .pf-clear-link { min-block-size: 44px; color: var(--pf-a-ink); font: 700 14px/1 var(--pf-body); text-decoration: none; }
body.pharmacy .pf-clear-link .mdi-close-circle-outline::before { content: "\F0450"; }
body.pharmacy .pf-sort-bar { padding: 8px; padding-inline-start: 20px; margin-block-end: 20px !important; border: 1px solid var(--pf-line); border-radius: 999px; background: #fff; box-shadow: var(--pf-shadow); }
body.pharmacy .pf-sort-bar p, body.pharmacy .pf-sort-bar .showing-results { color: var(--pf-mute); font: 500 14.5px/1.3 var(--pf-body); }
body.pharmacy .pf-sort-bar p span { color: var(--pf-ink); font-weight: 800; }
body.pharmacy #pf-sort-select { inline-size: auto; min-block-size: 44px; border-radius: 999px !important; padding-block: 0 !important; padding-inline: 18px 36px !important; background-color: var(--pf-page) !important; border-color: var(--pf-line) !important; }
body.pharmacy .pf-pagination { gap: 8px; margin-block-start: 28px !important; }
body.pharmacy .pf-page-btn { inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1.5px solid var(--pf-line); background: #fff; color: var(--pf-ink); font: 700 14px/1 var(--pf-body); }
body.pharmacy .pf-page-btn:hover, body.pharmacy .pf-page-btn.active { background: var(--pf-a); border-color: var(--pf-a); color: var(--pf-on-a); }
/* empty result: an empty dose strip in a quiet panel (the "showing 0 of 0" line above says it in words) */
body.pharmacy .grid-product-list:not(:has(*)) { display: flex; align-items: center; justify-content: center; min-block-size: 320px; margin: 0; border: 1.5px dashed var(--pf-line-2); border-radius: var(--pf-r-l); background: #fff; }
body.pharmacy .grid-product-list:not(:has(*))::before { content: ""; inline-size: 168px; block-size: 36px; background: var(--pf-line-2); -webkit-mask: var(--pf-dose) center / contain no-repeat; mask: var(--pf-dose) center / contain no-repeat; }
[dir="rtl"] body.pharmacy .grid-product-list:not(:has(*))::before { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); }

/* =========================================================================================
   4. Cart, wishlist, compare (inline-styled views)
   ========================================================================================= */
/* masthead */
body.pharmacy > .search-suggestion-overlay + div[style*="pf-teal-light"] { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--pf-a-soft), color-mix(in srgb, var(--pf-a-soft) 30%, var(--pf-page))) !important;
  padding-block: clamp(40px, 4.4vw, 68px) clamp(34px, 3.6vw, 52px) !important; }
body.pharmacy > .search-suggestion-overlay + div[style*="pf-teal-light"] h2 { margin: 0 0 14px !important; color: var(--pf-ink) !important; font: 800 clamp(32px, 3.2vw, 46px)/1.25 var(--pf-head) !important; }
body.pharmacy > .search-suggestion-overlay + div[style*="pf-teal-light"] h2 + div { font: 500 14px/1.5 var(--pf-body) !important; color: var(--pf-mute) !important; }
body.pharmacy > .search-suggestion-overlay + div[style*="pf-teal-light"] h2 + div a { display: inline-flex; align-items: center; min-block-size: 32px; color: var(--pf-a-ink) !important; font-weight: 700 !important; }
[dir="rtl"] body.pharmacy > .search-suggestion-overlay + div[style*="pf-teal-light"] h2 + div .mdi-chevron-right { display: inline-block; transform: scaleX(-1); }
/* empty states (cart, wishlist): a white card, a round pocket with the dose strip below it */
body.pharmacy div[style*="text-align:center"][style*="max-width:420px"] { padding: clamp(32px, 4vw, 52px) clamp(22px, 3vw, 40px); border: 1px solid var(--pf-line); border-radius: 30px; background: #fff; box-shadow: var(--pf-shadow); max-inline-size: 520px !important; }
body.pharmacy div[style*="width:100px;height:100px"] { inline-size: 112px !important; block-size: 112px !important; background: var(--pf-page) !important; border: 0 !important; position: relative;
  box-shadow: inset 0 0 0 1px var(--pf-line), inset 0 8px 18px -10px color-mix(in srgb, var(--pf-ink) 30%, transparent); }
body.pharmacy div[style*="width:100px;height:100px"] i { color: var(--pf-a-ink) !important; font-size: 46px !important; }
body.pharmacy div[style*="width:100px;height:100px"]::after { content: ""; position: absolute; inset-block-end: -18px; inset-inline-start: calc(50% - 28px); inline-size: 56px; block-size: 12px; background: var(--pf-a);
  -webkit-mask: var(--pf-dose) center / contain no-repeat; mask: var(--pf-dose) center / contain no-repeat; }
[dir="rtl"] body.pharmacy div[style*="width:100px;height:100px"]::after { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); inset-inline-start: auto; inset-inline-end: calc(50% - 28px); }
body.pharmacy div[style*="text-align:center"][style*="max-width:420px"] h2 { color: var(--pf-ink) !important; font: 800 clamp(22px, 2vw, 28px)/1.35 var(--pf-head) !important; margin-block-start: 14px !important; }
body.pharmacy div[style*="text-align:center"][style*="max-width:420px"] p { color: var(--pf-mute) !important; font: 400 15.5px/1.7 var(--pf-body) !important; }
/* compare empty state (centred, no card in the view) */
body.pharmacy .container > div[style*="text-align:center"]:has(> i.la-exchange-alt) { padding: clamp(32px, 4vw, 52px) clamp(22px, 3vw, 40px); max-inline-size: 520px; margin-inline: auto; border: 1px solid var(--pf-line); border-radius: 30px; background: #fff; box-shadow: var(--pf-shadow); }
body.pharmacy div[style*="text-align:center"] > i.la-exchange-alt { display: inline-grid !important; place-items: center; inline-size: 112px; block-size: 112px; border-radius: 50%; background: var(--pf-page);
  box-shadow: inset 0 0 0 1px var(--pf-line), inset 0 8px 18px -10px color-mix(in srgb, var(--pf-ink) 30%, transparent); color: var(--pf-a-ink) !important; font-size: 46px !important; opacity: 1 !important; }
/* cart steps */
body.pharmacy .cart-main-wrapper > .container > div[style*="margin-bottom:32px"] { margin-block-end: 28px !important; padding: 6px; border: 1px solid var(--pf-line); border-radius: 999px; background: #fff; box-shadow: var(--pf-shadow); }
body.pharmacy .cart-main-wrapper > .container > div[style*="margin-bottom:32px"] > div[style*="flex:1"] { block-size: 2px !important; background: radial-gradient(circle, var(--pf-line-2) 1.2px, transparent 1.8px) 0 0 / 8px 2px repeat-x !important; }
body.pharmacy .cart-main-wrapper > .container > div[style*="margin-bottom:32px"] > div[style*="pf-teal);color:#fff"] { border-radius: 999px !important; background: var(--pf-a) !important; color: var(--pf-on-a) !important; min-block-size: 44px; }
body.pharmacy .cart-main-wrapper > .container > div[style*="margin-bottom:32px"] > div[style*="pf-teal);color:#fff"] > span { background: #fff !important; color: var(--pf-ink) !important; }
body.pharmacy .cart-main-wrapper > .container > div[style*="margin-bottom:32px"] > div:not([style*="flex:1"]) { font: 700 14px/1 var(--pf-body) !important; }
/* cart table */
body.pharmacy .cart-main-wrapper .col-lg-8 > div[style*="border-radius"] { border-radius: var(--pf-r-l) !important; border-color: var(--pf-line) !important; box-shadow: var(--pf-shadow) !important; }
body.pharmacy .cart-main-wrapper thead tr { background: var(--pf-page) !important; }
body.pharmacy .cart-main-wrapper th { text-align: start !important; color: var(--pf-mute) !important; font: 700 12.5px/1.2 var(--pf-body) !important; letter-spacing: .04em; }
body.pharmacy .cart-main-wrapper #cart_tbody tr { border-block-end: 1px dashed var(--pf-line) !important; }
body.pharmacy .cart-main-wrapper #cart_tbody tr:last-child { border-block-end: 0 !important; }
body.pharmacy .cart-main-wrapper #cart_tbody td div[style*="width:64px;height:64px"] { inline-size: 76px !important; block-size: 76px !important; border-radius: 16px !important; border: 0 !important; box-shadow: inset 0 0 0 1px var(--pf-line); }
body.pharmacy .cart-main-wrapper #cart_tbody td div[style*="width:64px;height:64px"] img { inline-size: 100%; block-size: 100%; object-fit: cover; }
body.pharmacy .cart-main-wrapper #cart_tbody td a[style*="font-weight:700"] { color: var(--pf-ink) !important; font: 700 15px/1.35 var(--pf-head) !important; }
body.pharmacy .cart-main-wrapper #cart_tbody td span[style*="pf-teal"] { color: var(--pf-ink) !important; font: 800 15.5px/1.2 var(--pf-body) !important; }
body.pharmacy .cart-main-wrapper #cart_tbody td div:has(> .quantity-input) { border-radius: 999px !important; border-color: var(--pf-line-2) !important; background: #fff; }
body.pharmacy .cart-main-wrapper #cart_tbody :is(.plus, .substract) { inline-size: 44px !important; block-size: 44px !important; background: transparent !important; color: var(--pf-ink); border-radius: 50%; }
body.pharmacy .cart-main-wrapper #cart_tbody :is(.plus, .substract):hover { background: var(--pf-a-soft) !important; }
body.pharmacy .cart-main-wrapper #cart_tbody .quantity-input { block-size: 44px !important; background: transparent; color: var(--pf-ink); font-weight: 800 !important; }
body.pharmacy .close-table-cart button { inline-size: 44px !important; block-size: 44px !important; color: var(--pf-mute) !important; border-color: var(--pf-line) !important; font-size: 18px !important; }
body.pharmacy .close-table-cart button:hover { color: var(--pf-bad) !important; border-color: var(--pf-bad) !important; background: var(--pf-bad-soft) !important; }
/* remove = a bin, not a cross (owner rule) */
body.pharmacy .close-table-cart .mdi-close::before { content: "\F0A7A"; }
body.pharmacy .compare-remove-btn .la-times::before { content: "\f2ed"; }
body.pharmacy .cart-main-wrapper .clear-cart-btn { border-color: color-mix(in srgb, var(--pf-bad) 55%, transparent) !important; color: var(--pf-bad) !important; }
body.pharmacy .cart-main-wrapper .clear-cart-btn:hover { background: var(--pf-bad-soft) !important; }
/* summary */
body.pharmacy .cart-main-wrapper .col-lg-4 > div[style*="border-radius"] { position: sticky; inset-block-start: calc(var(--sfp-header-h, 134px) + 20px); border-radius: var(--pf-r-l) !important; border-color: var(--pf-line) !important; box-shadow: var(--pf-shadow-hi) !important; overflow: hidden; }
body.pharmacy .cart-main-wrapper .col-lg-4 > div[style*="border-radius"]::before { content: ""; display: block; block-size: 6px; margin: -28px -28px 22px; background: linear-gradient(90deg, var(--pf-a) 0 25%, var(--pf-a-soft) 25%); }
[dir="rtl"] body.pharmacy .cart-main-wrapper .col-lg-4 > div[style*="border-radius"]::before { background: linear-gradient(270deg, var(--pf-a) 0 25%, var(--pf-a-soft) 25%); }
body.pharmacy .cart-main-wrapper .col-lg-4 > div > div[style*="font-size:16px"] { color: var(--pf-ink) !important; font: 800 18px/1.3 var(--pf-head) !important; border-block-end-style: dashed !important; }
body.pharmacy .coupon-contents > div { font-family: var(--pf-body) !important; }
body.pharmacy .coupon-contents > div:last-child span:last-child { color: var(--pf-ink) !important; font-size: 20px; }
body.pharmacy .cart-main-wrapper .col-lg-4 .pf-btn-teal { min-block-size: 54px; }
/* the theme's fixed "secure & encrypted checkout" line (unsupported claim): hidden */
body.pharmacy .cart-main-wrapper .col-lg-4 > div > div:has(> .mdi-shield-check) { display: none !important; }
/* compare table */
body.pharmacy .table-responsive:has(.compare-remove-btn) { border: 1px solid var(--pf-line); border-radius: var(--pf-r-l); background: #fff; box-shadow: var(--pf-shadow); }
body.pharmacy .table-responsive:has(.compare-remove-btn) table { background: #fff !important; }
body.pharmacy .table-responsive:has(.compare-remove-btn) td { border: 0 !important; border-block-end: 1px dashed var(--pf-line) !important; border-inline-start: 1px solid var(--pf-line) !important; padding: 18px !important; }
body.pharmacy .table-responsive:has(.compare-remove-btn) tr:last-child td { border-block-end: 0 !important; }
body.pharmacy .table-responsive:has(.compare-remove-btn) td:first-child { border-inline-start: 0 !important; background: var(--pf-page) !important; color: var(--pf-ink) !important; font: 700 14px/1.3 var(--pf-body) !important; }
body.pharmacy .table-responsive:has(.compare-remove-btn) td div[style*="width:90px;height:90px"] { inline-size: 120px !important; block-size: 120px !important; border-radius: 18px !important; background: var(--pf-page) !important; }
body.pharmacy .table-responsive:has(.compare-remove-btn) td div[style*="font-size:14px;font-weight:700"] a { font: 700 15px/1.35 var(--pf-head); color: var(--pf-ink); }
body.pharmacy .table-responsive:has(.compare-remove-btn) td span[style*="pf-teal"] { color: var(--pf-ink) !important; }
body.pharmacy .table-responsive:has(.compare-remove-btn) .compare-remove-btn { min-block-size: 44px; font-size: 13px !important; }

/* =========================================================================================
   5. Checkout gate, sign in, register, forgot password, order tracking
   ========================================================================================= */
body.pharmacy :is(.sign-in-area-wrapper, .login-page-wrapper) { padding-block: clamp(36px, 5vw, 84px) clamp(56px, 7vw, 104px) !important;
  background: linear-gradient(180deg, var(--pf-a-soft), transparent) 0 0 / 100% 300px no-repeat, var(--pf-page) !important; }
body.pharmacy :is(.sign-in-area-wrapper .sign-in, .sign-in-area-wrapper .sign-up, .login-page-wrapper .login-form-wrapper) { padding: clamp(28px, 3.6vw, 52px) !important; margin: 0 !important; overflow: hidden; isolation: isolate; }
body.pharmacy :is(.sign-in-area-wrapper .sign-in, .sign-in-area-wrapper .sign-up, .login-page-wrapper .login-form-wrapper, .order-track-wrapper)::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 6px;
  background: linear-gradient(90deg, var(--pf-a) 0 25%, var(--pf-a-soft) 25%); }
[dir="rtl"] body.pharmacy :is(.sign-in-area-wrapper .sign-in, .sign-in-area-wrapper .sign-up, .login-page-wrapper .login-form-wrapper, .order-track-wrapper)::before { background: linear-gradient(270deg, var(--pf-a) 0 25%, var(--pf-a-soft) 25%); }
body.pharmacy :is(.sign-in-area-wrapper .title, .login-page-wrapper h2) { margin: 0 0 22px !important; color: var(--pf-ink) !important; text-align: start !important; font: 800 clamp(28px, 2.6vw, 38px)/1.3 var(--pf-head) !important; }
body.pharmacy :is(.sign-in-area-wrapper, .login-page-wrapper) .form-group { margin-block-end: 16px; }
body.pharmacy :is(.sign-in-area-wrapper, .login-page-wrapper) .form-wrapper { margin-block-start: 0 !important; }
body.pharmacy .sign-in-area-wrapper .single-input { position: relative; }
body.pharmacy .sign-in-area-wrapper .toggle-password { position: absolute; inset-block-end: 0; inline-size: 48px; block-size: 50px; display: grid; place-items: center; color: var(--pf-mute); font-size: 19px; cursor: pointer; top: auto; transform: none; }
[dir="rtl"] body.pharmacy .sign-in-area-wrapper .toggle-password { left: 2px; right: auto; }
[dir="ltr"] body.pharmacy .sign-in-area-wrapper .toggle-password { right: 2px; left: auto; }
body.pharmacy .sign-in-area-wrapper .single-input .form-control { padding-inline-end: 52px !important; }
body.pharmacy .sign-in-area-wrapper .box-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-block-start: 14px; }
body.pharmacy .sign-in-area-wrapper .box-wrap .left { display: inline-flex; align-items: center; gap: 10px; }
body.pharmacy .sign-in-area-wrapper .box-wrap label { margin: 0; font: 500 15px/1.3 var(--pf-body); color: var(--pf-ink); }
body.pharmacy :is(.sign-in-area-wrapper, .login-page-wrapper) a:not(.btn-default) { color: var(--pf-a-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-block-size: 40px; }
body.pharmacy :is(.sign-in-area-wrapper, .login-page-wrapper) :is(.btn-default, .boxed-btn) { inline-size: 100%; min-block-size: 54px; font: 700 16px/1 var(--pf-body) !important; }
body.pharmacy .sign-in-area-wrapper .btn-wrapper { gap: 10px !important; margin-block-start: 22px !important; }
body.pharmacy .sign-in-area-wrapper .info { margin-block-start: 12px; margin-block-end: 4px; font: 400 15px/1.5 var(--pf-body); color: var(--pf-mute); text-align: start; }
body.pharmacy .sign-in-area-wrapper .generate-password { display: inline-flex; align-items: center; gap: 6px; min-block-size: 40px; }
body.pharmacy :is(.sign-in-area-wrapper, .login-page-wrapper) :is(.title, h2) + p { margin-block-end: 20px; color: var(--pf-mute); }
body.pharmacy .login-page-wrapper .login-form-wrapper { text-align: start !important; }

body.pharmacy .single-page-area:has(.order-track-wrapper) { padding-block: clamp(40px, 5vw, 88px) !important; background: linear-gradient(180deg, var(--pf-a-soft), transparent) 0 0 / 100% 300px no-repeat, var(--pf-page) !important; }
body.pharmacy .order-track-wrapper { max-inline-size: 660px; margin-inline: auto; padding: clamp(28px, 4vw, 52px) !important; overflow: hidden; isolation: isolate; }
body.pharmacy .order-track-contents { padding: 0 !important; text-align: start; }
body.pharmacy .order-track-contents-title { color: var(--pf-ink) !important; font: 800 clamp(28px, 3vw, 40px)/1.3 var(--pf-head) !important; margin: 0 0 12px !important; }
body.pharmacy .order-track-contents-para { color: var(--pf-mute) !important; font: 400 16px/1.7 var(--pf-body) !important; }
body.pharmacy .order-track-wrapper .btn-submit { display: inline-flex; align-items: center; justify-content: center; inline-size: 100%; min-block-size: 54px; font: 700 16px/1 var(--pf-body) !important; }

/* =========================================================================================
   6. Content pages: about / contact (tenant widgets), blog (module), 404
   ========================================================================================= */
body.pharmacy .tn-about-hero { position: relative; isolation: isolate; background: transparent !important; }
body.pharmacy .tn-about-hero::before { content: ""; position: absolute; z-index: -2; inset-block: 0; inset-inline: calc(50% - 50vw); background: linear-gradient(180deg, var(--pf-a-soft), var(--pf-page)); pointer-events: none; }
body.pharmacy .tn-about-hero [data-vse-field="eyebrow"] { display: inline-flex; align-items: center; gap: 9px; color: var(--pf-a-ink) !important; font: 700 13.5px/1.2 var(--pf-body) !important; letter-spacing: .06em; }
body.pharmacy .tn-about-hero [data-vse-field="eyebrow"]::before { content: ""; inline-size: 16px; block-size: 16px; background: currentColor; -webkit-mask: var(--pf-capsule) center / contain no-repeat; mask: var(--pf-capsule) center / contain no-repeat; }
body.pharmacy .tn-about-hero h1 { color: var(--pf-ink) !important; font: 800 clamp(38px, 4vw, 60px)/1.2 var(--pf-head) !important; margin-block: 14px !important; }
body.pharmacy .tn-about-hero [data-vse-field="subtitle"] { color: var(--pf-mute) !important; font: 400 17px/1.7 var(--pf-body) !important; max-inline-size: 48ch; }
[dir="rtl"] body.pharmacy .tn-about-hero [data-vse-field="subtitle"] { margin-inline-start: auto; }
body.pharmacy .tn-about-hero img { border-radius: 30px !important; box-shadow: var(--pf-shadow-hi) !important; outline: 10px solid #fff; }
body.pharmacy :is(.tn-stats, .tn-services, .tn-brands, .tn-map) h2 { color: var(--pf-ink) !important; font: 800 clamp(28px, 2.6vw, 38px)/1.3 var(--pf-head) !important; }
body.pharmacy :is(.tn-stats, .tn-services, .tn-brands) { border-color: var(--pf-line) !important; }
/* merchant values like "10k+" stay in their written order on Arabic pages */
body.pharmacy .tn-stats [data-vse-field$="_value"] { direction: ltr; unicode-bidi: isolate; color: var(--pf-a-ink) !important; font: italic 400 clamp(42px, 4vw, 62px)/1 var(--pf-display) !important; font-variant-numeric: tabular-nums; }
body.pharmacy .tn-stats [data-vse-field$="_label"] { color: var(--pf-ink) !important; font: 600 15px/1.3 var(--pf-body) !important; margin-block-start: 8px; }
body.pharmacy .tn-services .text-center { border: 1px solid var(--pf-line); border-radius: 24px; background: #fff; block-size: 100%; padding: 26px 16px !important; box-shadow: var(--pf-shadow); }
body.pharmacy .tn-services .text-center > div:first-child { inline-size: 64px !important; block-size: 64px !important; margin-inline: auto; border-radius: 50% !important; background: var(--pf-a-soft) !important; color: var(--pf-a-ink) !important; }
body.pharmacy .tn-services h3 { color: var(--pf-ink) !important; font: 700 17px/1.35 var(--pf-head) !important; margin-block-start: 12px !important; }
body.pharmacy .tn-services p { color: var(--pf-mute) !important; }
body.pharmacy .tn-brands img { filter: grayscale(1); opacity: .7; transition: filter var(--sfp-dur), opacity var(--sfp-dur); }
body.pharmacy .tn-brands a:hover img { filter: none; opacity: 1; }
body.pharmacy .tn-contact h2 { color: var(--pf-ink) !important; font: 800 clamp(30px, 2.8vw, 42px)/1.3 var(--pf-head) !important; }
body.pharmacy .tn-contact [data-vse-field="subtitle"] { color: var(--pf-mute) !important; font: 400 16px/1.65 var(--pf-body); }
body.pharmacy .tn-contact ul { list-style: none; padding: 0; display: grid; gap: 10px !important; }
body.pharmacy .tn-contact ul li { display: flex; align-items: center; gap: 14px; color: var(--pf-ink) !important; font: 500 15.5px/1.4 var(--pf-body); min-inline-size: 0; overflow-wrap: anywhere; }
body.pharmacy .tn-contact ul li i { flex: none; inline-size: 46px; block-size: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--pf-a-soft); color: var(--pf-a-ink) !important; font-size: 20px; }
body.pharmacy .tn-contact-form { padding: clamp(24px, 3vw, 40px) !important; }
body.pharmacy .tn-contact .submit-btn { min-block-size: 52px; padding: 0 32px; font: 700 15.5px/1 var(--pf-body) !important; }
body.pharmacy .tn-map iframe { border-radius: var(--pf-r-l) !important; }

body.pharmacy .shop-area:has(form[action$="/blogs/search"]) { padding-block: clamp(32px, 4vw, 64px) clamp(56px, 7vw, 96px) !important; }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) :is(.single-shop-left-search, .single-shop-left-search-input) { border: 0 !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .single-shop-left-search-input form { position: relative; display: flex; align-items: center; gap: 4px; padding: 4px; padding-inline-start: 16px; border: 1.5px solid var(--pf-line); border-radius: 999px; background: #fff; }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .single-shop-left-search-input form:focus-within { border-color: var(--pf-a-ink); box-shadow: var(--pf-ring); }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .single-shop-left-search-input .form--control { flex: 1 1 auto; inline-size: 100%; min-inline-size: 0; min-block-size: 44px; border: 0 !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .single-shop-left-search-input button { position: static; flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 0; background: var(--pf-a); color: var(--pf-on-a); display: grid; place-items: center; }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .shop-left-title .title { display: flex; flex-direction: column; gap: 10px; color: var(--pf-ink); font: 800 18px/1.25 var(--pf-head); padding-block-end: 12px; border-block-end: 1px dashed var(--pf-line); }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .shop-left-title .title::before { display: none; }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .shop-grid-contents > .row:first-child { align-items: center; padding: 8px; padding-inline-start: 20px; border-radius: 999px; background: #fff; border: 1px solid var(--pf-line); margin: 0 0 8px; }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .showing-results { color: var(--pf-mute); font: 500 15px/1.3 var(--pf-body); }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .shop-icons .icon { inline-size: 44px; block-size: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--pf-ink); }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .shop-icons.active .icon { background: var(--pf-a-soft); }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .tab-content-item h4.alert-warning { position: relative; overflow: hidden; isolation: isolate; margin: 24px 0 0; min-block-size: 260px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 22px; text-align: center !important; padding: clamp(32px, 5vw, 64px); border: 1.5px dashed var(--pf-line-2); border-radius: var(--pf-r-l); background: #fff; color: var(--pf-ink); font: 800 clamp(22px, 2.2vw, 30px)/1.4 var(--pf-head); }
body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .tab-content-item h4.alert-warning::before { content: ""; inline-size: 120px; block-size: 26px; background: var(--pf-line-2); -webkit-mask: var(--pf-dose) center / contain no-repeat; mask: var(--pf-dose) center / contain no-repeat; }
[dir="rtl"] body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .tab-content-item h4.alert-warning::before { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); }

body.pharmacy .anb-404 { position: relative; isolation: isolate; overflow: hidden; min-block-size: 64vh; display: flex; align-items: center; justify-content: center; padding: clamp(56px, 7vw, 112px) 16px; background: var(--pf-night) !important; background-image: var(--pf-blister-bg) !important; }
body.pharmacy .anb-404__in { position: relative; max-inline-size: 760px; inline-size: 100%; text-align: center; }
body.pharmacy .anb-404__code { color: #fff !important; font: italic 400 clamp(120px, 18vw, 230px)/.95 var(--pf-display) !important; letter-spacing: -.02em !important; margin: 0 0 6px; }
body.pharmacy .anb-404__code::after { content: ""; display: block; inline-size: 120px; block-size: 26px; margin: 22px auto 0; background: var(--pf-a-on-night); -webkit-mask: var(--pf-dose) center / contain no-repeat; mask: var(--pf-dose) center / contain no-repeat; }
[dir="rtl"] body.pharmacy .anb-404__code::after { -webkit-mask-image: var(--pf-dose-rtl); mask-image: var(--pf-dose-rtl); }
body.pharmacy .anb-404__title { color: #fff !important; font: 800 clamp(26px, 2.6vw, 36px)/1.35 var(--pf-head) !important; margin: 18px 0 12px; }
body.pharmacy .anb-404__text { color: var(--pf-on-night-mute) !important; font: 400 17px/1.65 var(--pf-body) !important; margin: 0 auto 28px !important; max-inline-size: 48ch; }
body.pharmacy .anb-404__btn { display: inline-flex; align-items: center; min-block-size: 54px; padding: 0 32px; font: 700 16px/1 var(--pf-body) !important; text-decoration: none; }

/* misc: back to top as a round mint key */
body.pharmacy .back-to-top { border-radius: 50% !important; background: var(--pf-a) !important; color: var(--pf-on-a) !important; box-shadow: var(--pf-shadow-hi) !important; border: 0 !important; }
body.pharmacy .back-to-top :is(.back-top, i) { background: transparent !important; color: inherit !important; border-radius: 50% !important; }

/* =========================================================================================
   7. Responsive
   ========================================================================================= */
@media (max-width: 991.98px) {
  body.pharmacy .pf-hero .row { min-block-size: 0; }
  body.pharmacy .pf-hero .col-lg-6.text-center { order: -1; }
  body.pharmacy .pf-hero-trust-bar .col-6:nth-child(2n) .pf-trust-item::after { display: none; }
  body.pharmacy .pf-sidebar { padding: 18px; }
  body.pharmacy .cart-main-wrapper .col-lg-4 > div[style*="border-radius"] { position: static; }
}
@media (max-width: 767.98px) {
  body.pharmacy .pf-hero-heading { font-size: clamp(36px, 10vw, 46px); }
  body.pharmacy .pf-hero-sub { font-size: 16px; }
  body.pharmacy .pf-hero-btns .pf-btn { flex: 1 1 auto; }
  body.pharmacy .pf-trust-item { padding: 16px 10px; gap: 10px; min-block-size: 0; align-items: flex-start; }
  body.pharmacy .pf-trust-icon { inline-size: 42px; block-size: 42px; font-size: 20px; }
  body.pharmacy .pf-trust-title { font-size: 14px; }
  body.pharmacy .pf-section-row-head { align-items: flex-start; flex-direction: column; }
  body.pharmacy .pf-cat-card-v2 { padding: 18px 8px 28px; }
  body.pharmacy .pf-cat-icon-v2 { inline-size: 76px; block-size: 76px; }
  body.pharmacy :is(.pf-product-card, .pf-prod-card, .pf-card) { padding: 7px; border-radius: 20px !important; }
  body.pharmacy :is(.pf-product-img, .pf-prod-img, .pf-card-img) { border-radius: 14px; }
  body.pharmacy :is(.pf-product-body, .pf-prod-body, .pf-card-body) { padding: 12px 5px 4px !important; }
  body.pharmacy :is(.pf-product-name, .pf-prod-name, .pf-card-name) { font-size: 14.5px; }
  body.pharmacy :is(.pf-price-current, .pf-prod-price-sale, .pf-price-sale) { font-size: 16px; }
  body.pharmacy :is(.pf-product-footer, .pf-prod-footer) { flex-wrap: wrap; }
  body.pharmacy :is(.pf-product-footer, .pf-prod-footer) > .d-flex { gap: 6px !important; }
  body.pharmacy :is(.pf-product-badge, .pf-prod-badge) { inset-block-start: 14px; top: 14px; min-block-size: 26px; font-size: 11px; padding: 0 9px 0 8px; }
  [dir="rtl"] body.pharmacy .pf-product-card > .pf-product-badge { right: 14px; } [dir="ltr"] body.pharmacy .pf-product-card > .pf-product-badge { left: 14px; }
  body.pharmacy .pf-newsletter-input-wrap { flex-wrap: wrap; border-radius: 26px; }
  body.pharmacy :is(.pf-newsletter-input, .pf-newsletter-submit) { flex: 1 1 100%; }
  body.pharmacy .pf-sort-bar { border-radius: 22px; padding: 12px 14px; }
  body.pharmacy .cart-main-wrapper > .container > div[style*="margin-bottom:32px"] { border-radius: 22px; }
  body.pharmacy .cart-main-wrapper > .container > div[style*="margin-bottom:32px"] > div:not([style*="flex:1"]) { padding: 8px 10px !important; font-size: 12.5px !important; }
  body.pharmacy .shop-area:has(form[action$="/blogs/search"]) .shop-grid-contents > .row:first-child { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  body.pharmacy *, body.pharmacy *::before, body.pharmacy *::after { animation: none !important; transition: none !important; }
}

/* fixes over shared / legacy rules */
/* the platform's password toggle shows both eyes (custom-style.css: `.toggle-password .hide-icon` outranks `.hide-icon { display: none }`): one at a time */
body.pharmacy .toggle-password:not(.show-pass) .hide-icon, body.pharmacy .toggle-password.show-pass .show-icon { display: none !important; }
body.pharmacy .cart-main-wrapper #cart_tbody td span[style*="pf-teal"], body.pharmacy .coupon-contents span { white-space: nowrap; }
