/*
Theme Name: Storefront Precision Pharmacy
Theme URI: http://localhost/precisionmc-ecom
Description: Child theme for Precision Pharmacy — pixel-perfect replication of the static design on top of Storefront + WooCommerce.
Author: Precision Pharmacy
Template: storefront
Version: 2.1.0
Tags: pharmacy, healthcare, woocommerce, storefront
*/

/* ─── DESIGN TOKENS (exact from static site variation-light.css) ─── */
:root {
  --blue: #172eb5;
  --blue-dark: #12249a;
  --blue-deep: #142a9e;
  --green: #3ccc31;
  --green-dark: #00a651;
  --sky: #eef1ff;
  --mint: #effbee;
  --ink: #26335f;
  --muted: #646f8f;
  --line: #dfe4f5;
  --off: #f8f9fe;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(23,46,140,.11);
}

/* ─── HARD RESET — wins over Storefront / WordPress / WooCommerce ── */
*, *::before, *::after { box-sizing: border-box !important; }
html { scroll-behavior: smooth !important; margin-top: 0 !important; }

body {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ink) !important;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  background: #fff !important;
  line-height: 1.5 !important;
  overflow-x: hidden !important;
}
button, input, select, textarea { font: inherit !important; }
a { color: inherit !important; text-decoration: none !important; }
svg { fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }

/* ─── SHELL (max-width container) ───────────────────────────── */
.shell,
.pmc-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ─── ANNOUNCEMENT BAR ───────────────────────────────────────── */
.pmc-announcement {
  height: 36px;
  color: #1f3a9e;
  background: linear-gradient(90deg, #eef1ff, #f0fcee);
  border-bottom: 1px solid #e3e7f6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}
.pmc-announcement-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #3ccc31;
}

/* ─── SITE HEADER ────────────────────────────────────────────── */
.pmc-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid #e8ebf6;
  box-shadow: 0 5px 24px rgba(23,46,140,.05);
  backdrop-filter: blur(16px);
}
.pmc-header-main {
  height: 88px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 30px;
  align-items: center;
}
.pmc-brand img { display: block; width: 212px; height: auto; }

/* Search */
.pmc-search {
  height: 48px;
  border: 1px solid #d6e6ee;
  background: #f8f9fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding-left: 16px;
  overflow: hidden;
  transition: .2s;
}
.pmc-search:focus-within {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,46,181,.10);
}
.pmc-search svg { width: 20px; color: #7b909f; flex: none; }
.pmc-search input {
  min-width: 0; flex: 1;
  border: 0; outline: 0;
  background: transparent;
  padding: 0 14px;
  color: var(--ink);
}
.pmc-search input::placeholder { color: #8799a6; }
.pmc-search button {
  height: 100%;
  border: 0;
  background: #35bf2b;
  color: #fff;
  padding: 0 21px;
  font-weight: 700;
  cursor: pointer;
}

/* Header actions */
.pmc-header-actions { display: flex; align-items: center; gap: 18px; }
.pmc-icon-action {
  position: relative;
  border: 0; background: transparent;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px; font-weight: 600;
}
.pmc-icon-action svg { width: 23px; color: var(--blue); }
.pmc-cart-btn { gap: 10px; }
.pmc-cart-icon {
  position: relative;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--sky);
  transition: background .2s;
}
.pmc-cart-btn:hover .pmc-cart-icon { background: #dcf0fb; }
.pmc-cart-icon svg { width: 22px; }
.pmc-cart-count {
  position: absolute; top: -7px; right: -8px;
  display: grid; place-items: center;
  min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 20px; border: 2px solid #fff;
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 1;
}
.pmc-cart-count[data-count="0"] { display: none; }

/* ─── MAIN NAV ───────────────────────────────────────────────── */
.pmc-nav {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: #f4f6ff;
  border-top: 1px solid #e7f3f7;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pmc-nav-links {
  display: flex; gap: 27px;
  align-items: center;
  font-size: 14px; font-weight: 600;
}
.pmc-nav-links a { transition: .2s; }
.pmc-nav-links a:hover { color: #2bb022; }
.pmc-help-link { font-size: 14px; color: #506a7c; }
.pmc-help-link strong { color: var(--blue-dark); margin-left: 3px; }
.status-dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--green); border-radius: 50%;
  margin-right: 5px;
  box-shadow: 0 0 0 4px rgba(60,204,49,.12);
}
.pmc-menu-btn {
  display: none;
  border: 0; background: transparent;
  color: var(--ink); font-weight: 700;
}
.pmc-menu-btn svg { width: 21px; }

/* ─── MEGA MENU (Shop by Category / Shop by Brand) ───────────── */
.pmc-nav { position: relative; }
.pmc-nav-links a:hover, .pmc-nav-links a.is-active { color: #2bb022 !important; }
.pmc-mega-toggle {
  display: flex !important; align-items: center; gap: 7px;
  height: 47px; padding: 0 !important; margin: 0 !important;
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--ink) !important; font-size: 14px !important; font-weight: 700 !important;
  cursor: pointer; white-space: nowrap;
}
.pmc-mega-toggle svg { width: 19px; color: var(--blue); }
.pmc-mega-toggle .pmc-chev { width: 14px; color: currentColor; transition: transform .2s; }
.pmc-mega.open .pmc-mega-toggle { color: var(--blue) !important; }
.pmc-mega.open .pmc-chev { transform: rotate(180deg); }
.pmc-mega-panel {
  display: none;
  position: absolute; z-index: 40; top: 100%;
  left: max(24px, calc((100vw - 1180px) / 2));
  right: max(24px, calc((100vw - 1180px) / 2));
  background: #fff;
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}
.pmc-mega.open .pmc-mega-panel { display: block; }

/* Category groups (left) + pane (right) */
.pmc-mega-groups {
  list-style: none !important; margin: 0 !important; padding: 10px 0 !important;
  width: 260px; min-height: 460px;
  background: var(--off); border-right: 1px solid var(--line);
}
.pmc-mega-groups > li { margin: 0 !important; list-style: none !important; }
.pmc-mega-group {
  display: flex !important; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 18px 11px 20px;
  border-left: 3px solid transparent;
  font-size: 14px; font-weight: 600;
  color: var(--ink) !important;
}
.pmc-mega-group svg { width: 15px; color: #9aa3bf; flex: none; }
.pmc-mega-groups > li.is-active > .pmc-mega-group {
  background: #fff; border-left-color: var(--green); color: var(--blue) !important;
}
.pmc-mega-groups > li.is-active > .pmc-mega-group svg { color: var(--blue); }
.pmc-mega-pane {
  display: none;
  position: absolute; top: 0; bottom: 0; left: 260px; right: 0;
  padding: 22px 28px; overflow-y: auto;
}
.pmc-mega-groups > li.is-active > .pmc-mega-pane { display: block; }
.pmc-mega-pane-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pmc-mega-pane-head strong { font-family: Manrope, sans-serif; font-size: 17px; color: var(--ink); }
.pmc-mega-pane-head a { font-size: 13px; font-weight: 700; color: var(--blue) !important; white-space: nowrap; }
.pmc-mega-cols { columns: 3 190px; column-gap: 28px; }
.pmc-mega-col { margin-bottom: 18px; }
.pmc-mega-sub {
  display: block; margin-bottom: 5px;
  break-after: avoid; break-inside: avoid;
  font-size: 14px; font-weight: 700; color: var(--blue-dark) !important;
}
.pmc-mega-col ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.pmc-mega-col li { margin: 0 !important; list-style: none !important; break-inside: avoid; }
.pmc-mega-col li a {
  display: block; padding: 3px 0;
  font-size: 13.5px; font-weight: 500; line-height: 1.45;
  color: var(--muted) !important;
}

/* Brands panel */
.pmc-mega-brands .pmc-mega-panel { padding: 22px 28px; }
.pmc-brand-menu {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 4px 22px;
}
.pmc-brand-menu a {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 6px 0; border-bottom: 1px dashed #e7eaf5;
  font-size: 13.5px; font-weight: 600; color: var(--ink) !important;
}
.pmc-brand-menu small { color: #9aa3bf; font-weight: 500; }

/* ─── SIDE CART DRAWER ───────────────────────────────────────── */
.pmc-cart-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(10,18,60,.42);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.pmc-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 9999;
  width: min(420px, 100vw);
  background: #fff;
  box-shadow: -18px 0 48px rgba(14,26,92,.18);
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s ease, visibility .3s;
  outline: 0;
}
body.pmc-cart-open { overflow: hidden !important; }
body.pmc-cart-open .pmc-cart-overlay { opacity: 1; visibility: visible; }
body.pmc-cart-open .pmc-cart-drawer { transform: none; visibility: visible; }
body.admin-bar .pmc-cart-drawer { top: 32px; }

.pmc-cart-drawer-inner { display: flex; flex-direction: column; height: 100%; transition: opacity .2s; }
.pmc-cart-drawer-inner.is-busy { opacity: .55; pointer-events: none; }
.pmc-cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.pmc-cart-head strong { font-family: Manrope, sans-serif; font-size: 19px; color: var(--ink); }
.pmc-cart-head strong span { color: var(--muted); font-weight: 600; }
.pmc-cart-close {
  display: grid !important; place-items: center;
  width: 38px; height: 38px; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 50% !important;
  background: var(--off) !important; color: var(--ink) !important; cursor: pointer;
}
.pmc-cart-close:hover { background: var(--sky) !important; }
.pmc-cart-close svg { width: 18px; }

.pmc-cart-delivery { padding: 14px 22px; background: var(--mint); border-bottom: 1px solid #e1f2da; }
.pmc-cart-delivery p { margin: 0 0 8px !important; font-size: 13.5px; color: var(--ink); }
.pmc-cart-delivery strong { color: var(--green-dark); }
.pmc-cart-progress { display: block; height: 7px; border-radius: 10px; background: #d9eed0; overflow: hidden; }
.pmc-cart-progress i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--green), var(--green-dark)); transition: width .4s; }

.pmc-cart-items { flex: 1; overflow-y: auto; list-style: none !important; margin: 0 !important; padding: 6px 22px !important; }
.pmc-cart-item {
  position: relative;
  display: grid; grid-template-columns: 76px 1fr; gap: 14px;
  padding: 16px 30px 16px 0 !important; margin: 0 !important;
  border-bottom: 1px solid #edf4f7; list-style: none !important;
}
.pmc-cart-item:last-child { border-bottom: 0; }
.pmc-cart-thumb { display: block; width: 76px; height: 76px; border-radius: 12px; background: var(--off); border: 1px solid var(--line); overflow: hidden; }
.pmc-cart-thumb img { width: 100% !important; height: 100% !important; object-fit: contain; margin: 0 !important; }
.pmc-cart-info { min-width: 0; }
.pmc-cart-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink) !important;
}
.pmc-cart-name:hover { color: var(--blue) !important; }
.pmc-cart-unit { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.pmc-cart-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.pmc-cart-line { font-size: 15px; color: #0f1f7a; }
.pmc-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pmc-qty button {
  width: 32px; height: 32px; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important;
  background: var(--off) !important; color: var(--ink) !important;
  font-size: 17px !important; font-weight: 700 !important; line-height: 1 !important; cursor: pointer;
}
.pmc-qty button:hover:not(:disabled) { background: var(--sky) !important; color: var(--blue) !important; }
.pmc-qty button:disabled { opacity: .35; cursor: not-allowed; }
.pmc-qty span { min-width: 34px; text-align: center; font-size: 14px; font-weight: 700; }
.pmc-cart-remove {
  position: absolute; top: 14px; right: 0;
  display: grid !important; place-items: center;
  width: 28px; height: 28px; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 8px !important;
  background: transparent !important; color: #a3b5c0 !important; cursor: pointer;
}
.pmc-cart-remove:hover { background: #fdecef !important; color: #d93650 !important; }
.pmc-cart-remove svg { width: 17px; }

.pmc-cart-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -10px 24px rgba(14,26,92,.05); }
.pmc-cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--ink); }
.pmc-cart-subtotal strong { font-family: Manrope, sans-serif; font-size: 20px; color: #0f1f7a; }
.pmc-cart-note { margin: 4px 0 14px !important; font-size: 12.5px; color: var(--muted); }
.pmc-cart-btn-primary,
.pmc-cart-btn-ghost {
  display: block; padding: 13px 16px; border-radius: 12px;
  font-size: 15px; font-weight: 800; text-align: center; transition: background .2s, color .2s;
}
.pmc-cart-btn-primary { background: var(--green); color: #fff !important; }
.pmc-cart-btn-primary:hover { background: var(--green-dark); }
.pmc-cart-btn-ghost { margin-top: 8px; background: var(--sky); color: var(--blue-dark) !important; }
.pmc-cart-btn-ghost:hover { background: #dcf0fb; }

.pmc-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 30px; text-align: center; }
.pmc-cart-empty-icon { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%; background: var(--sky); }
.pmc-cart-empty-icon svg { width: 38px; color: var(--blue); }
.pmc-cart-empty strong { font-family: Manrope, sans-serif; font-size: 19px; color: var(--ink); }
.pmc-cart-empty p { margin: 6px 0 22px !important; color: var(--muted); font-size: 14px; }
.pmc-cart-empty .pmc-cart-btn-primary { padding-inline: 30px; }

/* ─── HERO ───────────────────────────────────────────────────── */
.pmc-hero {
  position: relative;
  display: block;
  width: 100%; max-width: none;
  min-height: 650px;
  margin: 0;
  border-radius: 0;
  background: #f0f3ff;
  box-shadow: none;
  border-bottom: 1px solid #e4e8f6;
  overflow: hidden;
  isolation: isolate;
}
.pmc-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: -2;
  animation: hero-breathe 9s ease-in-out infinite alternate;
}
@keyframes hero-breathe {
  from { transform: scale(1); }
  to   { transform: scale(1.03); }
}
.pmc-hero-wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 8% 16%, rgba(0,146,255,.18), transparent 26%),
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 32%, rgba(255,255,255,.56) 50%, rgba(255,255,255,.03) 72%);
}
.pmc-hero-copy {
  /* content-box: the growing left gutter must not eat into the text width on wide screens */
  box-sizing: content-box !important;
  width: min(600px, 46vw);
  padding: 94px 0 88px max(24px, calc((100vw - 1180px) / 2));
  color: var(--ink);
}
.pmc-hero-actions { flex-wrap: nowrap; }
.pmc-hero-trust > div { flex: none; }
.pmc-eyebrow {
  display: flex; align-items: center; gap: 9px;
  text-transform: uppercase;
  color: #217cad;
  font-size: 14px; font-weight: 800; letter-spacing: .14em;
}
.pmc-eyebrow span {
  width: 22px; height: 3px;
  border-radius: 4px; background: #3ccc31;
}
.pmc-hero-copy h1 {
  font-family: Manrope, sans-serif !important;
  font-size: clamp(49px, 5.1vw, 73px) !important;
  line-height: 1.04 !important; letter-spacing: -.048em !important;
  margin: 17px 0 22px !important;
  color: #2c6688 !important; max-width: 650px !important;
  font-weight: 800 !important;
}
.pmc-hero-copy h1 span,
.pmc-hero-copy h1 em {
  display: block !important;
  white-space: nowrap !important;
}
.pmc-hero-copy h1 em { font-style: normal !important; color: #3ccc31 !important; }
.pmc-hero-copy > p {
  color: #607e90 !important; font-size: 17px !important; line-height: 1.75 !important;
  max-width: 540px !important; margin: 0 0 28px !important;
}
.pmc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.pmc-btn {
  min-height: 50px !important; border-radius: 11px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  padding: 0 22px !important; font-weight: 700 !important; font-size: 15px !important;
  transition: transform .2s, box-shadow .2s, background .2s !important;
  cursor: pointer !important; border: none !important;
  text-decoration: none !important; line-height: 1 !important;
}
.pmc-btn:hover { transform: translateY(-2px) !important; }
.pmc-btn svg { width: 18px !important; margin-left: 8px !important; fill: none !important; }
.pmc-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #1f3cc7, #0092ff) !important;
  box-shadow: 0 12px 30px rgba(31,60,199,.22) !important;
}
.pmc-btn-primary:hover { background: linear-gradient(135deg, #152ba8, #2f6ff0) !important; }
.pmc-btn-glass {
  color: #287aa6 !important;
  background: rgba(255,255,255,.8) !important;
  border: 1px solid #badcea !important;
  backdrop-filter: blur(9px) !important;
}
.pmc-btn-glass:hover { background: rgba(255,255,255,.95) !important; }
.pmc-btn-outline {
  color: var(--blue) !important;
  background: #fff !important;
  border: 1px solid #bad9ea !important;
}
.pmc-btn-outline:hover { background: var(--sky) !important; }
.pmc-btn-light {
  background: #fff !important; color: var(--blue-dark) !important;
  white-space: nowrap !important;
}

/* Hero trust */
.pmc-hero-trust {
  display: flex; gap: 42px;
  margin-top: 37px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.2);
  max-width: 520px;
}
.pmc-hero-trust > div { display: flex; align-items: center; gap: 11px; }
.pmc-hero-trust svg { width: 28px; color: #a5eb7e; }
.pmc-hero-trust span { display: flex; flex-direction: column; }
.pmc-hero-trust strong { font-size: 14px !important; color: var(--ink) !important; font-weight: 700 !important; }
.pmc-hero-trust small { font-size: 14px !important; color: rgba(38,51,95,.65) !important; }

/* Hero mini card */
.pmc-hero-mini-card {
  position: absolute; z-index: 4;
  right: 28px; bottom: 27px;
  display: flex; align-items: center; gap: 11px;
  min-width: 285px; padding: 12px 14px;
  background: rgba(255,255,255,.91);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(10,20,70,.17);
}
.pmc-hero-mini-card > span {
  width: 39px; height: 39px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), #0092ff);
  color: #fff; font-family: Georgia, serif; font-weight: 700;
}
.pmc-hero-mini-card p {
  display: flex !important; flex: 1 !important; flex-direction: column !important; margin: 0 !important;
}
.pmc-hero-mini-card strong { font-size: 14px !important; color: #14205f !important; font-weight: 700 !important; }
.pmc-hero-mini-card small { font-size: 14px !important; color: #747d99 !important; }
.pmc-hero-mini-card > a {
  display: grid; place-items: center;
  width: 29px; height: 29px;
  border-radius: 50%;
  background: #e6f8e4; color: var(--green-dark); font-weight: 800;
}

/* ─── SERVICE RIBBON ─────────────────────────────────────────── */
.pmc-ribbon {
  display: grid; grid-template-columns: repeat(4,1fr);
  width: 100% !important; max-width: none !important;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  border: 0;
  border-bottom: 1px solid #e2eef3;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  margin-top: 0;
}
.pmc-ribbon > div {
  display: flex; align-items: center; gap: 12px;
  padding: 27px 24px;
  border-right: 1px solid #e7eaf5;
}
.pmc-ribbon > div:last-child { border-right: 0; }
.pmc-ribbon-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%; background: #eef1ff;
  color: var(--blue); flex: none;
}
.pmc-ribbon-icon svg { width: 21px; }
.pmc-ribbon p { display: flex !important; flex-direction: column !important; margin: 0 !important; }
.pmc-ribbon strong { font-size: 14px !important; font-weight: 700 !important; }
.pmc-ribbon small { font-size: 14px !important; color: #80939f !important; }

/* ─── SECTION HEADING ─────────────────────────────────────────── */
.pmc-section-head {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 30px;
  margin-bottom: 27px;
}
.pmc-section-head h2 {
  font-family: Manrope, sans-serif !important;
  font-size: 34px !important; line-height: 1.15 !important;
  letter-spacing: -.035em !important; margin: 5px 0 0 !important;
  color: #0e1a5c !important; font-weight: 800 !important;
}
.pmc-section-head > a { font-size: 14px; font-weight: 700; color: var(--blue); }
.pmc-kicker {
  text-transform: uppercase; color: var(--blue);
  font-size: 14px; font-weight: 800; letter-spacing: .14em;
}

/* ─── CATEGORY SECTION ───────────────────────────────────────── */
.pmc-category-section {
  padding-block: 86px 76px;
  border-top: 0;
}
.pmc-category-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 24px;
}
.pmc-category-card {
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex; align-items: center; gap: 12px;
  transition: transform .25s ease;
}
.pmc-category-card:hover {
  transform: translateX(4px);
  box-shadow: none;
}
.pmc-cat-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
}
.pmc-cat-icon svg { width: 23px; }
.pmc-cat-icon.blue { background: #e7f4fc; color: var(--blue); }
.pmc-cat-icon.green { background: #eef8e8; color: var(--green-dark); }
.pmc-cat-icon.sky { background: #edf8fa; color: #27a7b4; }
.pmc-cat-icon.lime { background: #f5fae9; color: #83a927; }
.pmc-cat-icon.mint { background: #e9f8f1; color: #2e9b70; }
.pmc-category-card > span:last-child { display: flex; flex-direction: column; }
.pmc-category-card strong { font-size: 14px; white-space: nowrap; }
.pmc-category-card small { font-size: 14px; color: #8395a1; }

/* ─── HOT SELLERS ────────────────────────────────────────────── */
.pmc-hot-section .pmc-section-head { align-items: center; }
.pmc-hot-section {
  width: 100% !important; max-width: none !important;
  padding: 82px max(24px, calc((100vw - 1180px) / 2)) 88px !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(60,204,49,.18), transparent 27%),
    linear-gradient(110deg, #f3fbef, #f7fcff 68%);
}
.pmc-hot-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: 18px;
}
/* Base product card (used in hot grid AND products section) */
.pmc-product-card {
  position: relative;
  border: 1px solid #e0ebf0;
  border-radius: 18px; background: #fff;
  padding: 13px 15px 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pmc-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
/* ── Hot grid: editorial card layout ── */
.pmc-hot-grid .pmc-product-card {
  display: grid !important;
  grid-template-columns: 142px 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: 19px;
  align-items: start;
  padding: 25px !important;
  border-radius: 25px !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: 0 12px 32px rgba(0,166,81,.08) !important;
  border-color: #e1eef3 !important;
  overflow: hidden;
}
.pmc-hot-grid .pmc-product-card:hover {
  box-shadow: 0 18px 38px rgba(23,46,140,.13) !important;
  transform: translateY(-4px) !important;
}
/* First hot card: featured full-height vertical */
.pmc-hot-grid .pmc-product-card:nth-child(1) {
  display: block !important;
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(155deg, #fff, #edf9ff) !important;
}
/* Fourth hot card spans 2 columns */
.pmc-hot-grid .pmc-product-card:nth-child(4) {
  grid-column: 2 / 4;
}
/* Media in hot grid (non-featured): left column */
.pmc-hot-grid .pmc-product-card .pmc-product-media {
  grid-column: 1;
  grid-row: 1 / 6;
  width: 142px !important; height: 190px !important;
  margin-bottom: 0 !important;
}
/* Media in featured first card */
.pmc-hot-grid .pmc-product-card:nth-child(1) .pmc-product-media {
  width: 100% !important; height: 300px !important;
  margin-bottom: 20px !important;
}
/* Text content in non-featured cards: right column */
.pmc-hot-grid .pmc-product-card .pmc-cat-label,
.pmc-hot-grid .pmc-product-card h3,
.pmc-hot-grid .pmc-product-card .pmc-rating,
.pmc-hot-grid .pmc-product-card .pmc-product-footer { grid-column: 2; }
.pmc-hot-grid .pmc-product-card .pmc-product-footer { align-self: end; }
/* h3 in hot grid */
.pmc-hot-grid .pmc-product-card h3 {
  font-size: 15px !important; line-height: 1.35 !important; margin-top: 7px !important;
}
.pmc-hot-grid .pmc-product-card:nth-child(1) h3 { font-size: 15px !important; }
/* Rank badge in hot grid */
.pmc-hot-rank {
  position: absolute; top: 21px; left: 22px;
  color: #bdced7; font-family: Manrope, sans-serif;
  font-size: 14px; font-weight: 800; letter-spacing: .1em; z-index: 3;
}
.pmc-hot-grid .pmc-hot-rank {
  top: 16px; left: 16px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff; background: #67b84b;
  box-shadow: 0 8px 18px rgba(84,162,58,.22);
  font-size: 14px;
}
.pmc-product-tag {
  position: absolute; left: 24px; top: 24px;
  background: #e6f3fb; color: var(--blue);
  border-radius: 20px; padding: 4px 8px;
  font-size: 14px; text-transform: uppercase;
  font-weight: 800; letter-spacing: .08em; z-index: 2;
}
.pmc-product-tag.green { background: #ebf7e5; color: #4a9627; }
.pmc-product-tag.soft { background: #f3f8df; color: #7f9c21; }
.pmc-heart {
  position: absolute; right: 21px; top: 19px;
  border: 0; background: #fff;
  width: 31px; height: 31px; border-radius: 50%;
  color: #78909e; font-size: 19px; z-index: 2;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26,75,99,.08);
}
.pmc-heart.active { color: #e64b60; }
.pmc-product-media {
  height: 235px; border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 14px; overflow: hidden;
  background: #f5fafc;
}
.pmc-product-media.bg2 { background: #f0f8fb; }
.pmc-product-media.bg3 { background: #eef8ed; }
.pmc-product-media.bg4 { background: #f7faed; }
.pmc-product-card > .pmc-cat-label {
  font-size: 14px; color: var(--blue) !important; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
}
.pmc-product-card > a.pmc-cat-label:hover { color: var(--green-dark) !important; }
.pmc-product-card h3 a { transition: color .2s; }
.pmc-product-card h3 a:hover { color: var(--blue) !important; }
a.pmc-product-media { cursor: pointer; }
a.pmc-brand-mark:hover { color: var(--blue) !important; }
.pmc-product-card h3 {
  font-family: Manrope, sans-serif !important;
  font-size: 15px !important; margin: 5px 0 6px !important;
  font-weight: 700 !important; color: var(--ink) !important;
}
.pmc-product-desc { font-size: 14px !important; color: #7b8e9b !important; margin: 0 0 14px !important; }
.pmc-rating { font-size: 14px; color: #f3ae32; margin-bottom: 14px; }
.pmc-rating span { color: #8a9ba5; }
.pmc-product-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf2f5; padding-top: 13px;
}
.pmc-product-footer strong { font-size: 16px; color: #0f1f7a; }
.pmc-add-cart {
  border: 0; background: #e8f5e2; color: var(--green-dark);
  border-radius: 8px; padding: 7px 13px;
  font-size: 14px; font-weight: 800; cursor: pointer;
}
.pmc-add-cart:hover { background: var(--green); color: #fff !important; }
a.pmc-add-cart { display: inline-block; color: var(--green-dark) !important; }

/* Actual product-image sections */
.pmc-img-blue { background: #edf7fd; }
.pmc-img-green { background: #f0f8eb; }
.pmc-img-sky { background: #eef9fa; }
.pmc-img-lime { background: #f8faed; }

/* ─── PROMO BANNER ───────────────────────────────────────────── */
.pmc-promo {
  width: 100% !important; max-width: none !important;
  height: 440px; border-radius: 0;
  overflow: hidden; position: relative;
  margin-bottom: 0;
  box-shadow: none;
}
.pmc-promo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pmc-promo-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2)); top: 50%;
  transform: translateY(-50%);
  width: 40%; z-index: 2;
}
.pmc-promo-pill {
  display: inline-flex;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50px; padding: 7px 12px;
  color: var(--blue); text-transform: uppercase;
  font-size: 14px; font-weight: 800; letter-spacing: .12em;
}
.pmc-promo-copy h2 {
  font-family: Manrope, sans-serif !important;
  font-size: 44px !important; line-height: 1.08 !important;
  letter-spacing: -.045em !important; color: #0b4167 !important;
  margin: 14px 0 12px !important; font-weight: 800 !important;
}
.pmc-promo-copy p {
  max-width: 390px !important; color: #45697e !important;
  font-size: 14px !important; line-height: 1.7 !important; margin: 0 0 21px !important;
}

/* ─── PRODUCTS SECTION ───────────────────────────────────────── */
.pmc-products-section {
  background: #fff;
  width: 100% !important; max-width: none !important;
  padding: 92px max(24px, calc((100vw - 1180px) / 2)) !important;
}
.pmc-products-section .pmc-section-head {
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e5f4;
  max-width: none !important;
  margin-inline: 0 !important;
}
.pmc-product-controls {
  display: flex; gap: 7px; flex-wrap: wrap;
  justify-content: flex-end;
}
.pmc-filter {
  border: 1px solid #d7e7ee; background: #fff;
  color: #667d8c; border-radius: 999px;
  padding: 8px 14px; font-size: 14px; font-weight: 700;
  cursor: pointer;
}
.pmc-filter.active {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.pmc-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 46px;
  max-width: none !important;
  margin-inline: 0 !important;
}
/* Horizontal product cards in products section */
.pmc-products-section .pmc-product-card {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: 25px;
  min-height: 215px;
  padding: 28px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e0e5f4 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.pmc-products-section .pmc-product-card:hover {
  transform: translateX(5px) !important;
  box-shadow: none !important;
}
/* Product image in list: left column */
.pmc-products-section .pmc-product-card .pmc-product-media {
  grid-column: 1;
  grid-row: 1 / 6;
  width: 150px !important; height: 158px !important;
  margin-bottom: 0 !important;
  border-radius: 22px;
}
/* Text in list: right column */
.pmc-products-section .pmc-product-card .pmc-cat-label,
.pmc-products-section .pmc-product-card h3,
.pmc-products-section .pmc-product-card .pmc-product-desc,
.pmc-products-section .pmc-product-card .pmc-product-footer { grid-column: 2; }
.pmc-products-section .pmc-product-card h3 {
  font-size: 15px !important; line-height: 1.35 !important; margin-top: 6px !important;
}
.pmc-products-section .pmc-product-card .pmc-product-desc {
  font-size: 14px !important;
}
.pmc-products-section .pmc-product-card .pmc-product-footer {
  align-self: end; padding-top: 12px; border-top: 0;
}
/* Heart position in list card */
.pmc-products-section .pmc-product-card .pmc-heart {
  right: 0; top: 26px;
}

/* ─── BRANDS ─────────────────────────────────────────────────── */
.pmc-brand-section {
  width: 100% !important; max-width: none !important;
  padding: 78px max(24px, calc((100vw - 1180px) / 2)) 10px !important;
  background: #f3fbef;
}
.pmc-centered { justify-content: center; text-align: center; }
.pmc-centered p { color: var(--muted) !important; font-size: 14px !important; margin: 9px auto 0 !important; }
.pmc-brand-row {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 0;
  border-top: 1px solid #dcebd8;
  border-bottom: 1px solid #dcebd8;
}
.pmc-brand-mark {
  min-height: 90px;
  border: 0;
  border-right: 1px solid #dcebd8;
  border-radius: 0; background: transparent;
  display: flex; align-items: center; justify-content: center;
  gap: 9px; color: #75909f; transition: .2s;
}
.pmc-brand-mark:last-child { border-right: 0; }
.pmc-brand-mark:hover {
  box-shadow: none; background: rgba(255,255,255,.6);
  box-shadow: 0 10px 24px rgba(14,26,92,.06);
  color: var(--blue);
}
.pmc-brand-mark b {
  width: 31px; height: 31px; border-radius: 9px;
  display: grid; place-items: center;
  background: #edf7fc; color: var(--blue);
  font-family: Manrope, sans-serif; font-size: 14px;
}
.pmc-brand-mark:nth-child(even) b { background: #f0f8eb; color: var(--green-dark); }
.pmc-brand-mark span {
  font-family: Manrope, sans-serif; font-weight: 800;
  font-size: 14px; letter-spacing: -.03em;
}

/* ─── PRESCRIPTION SECTION ───────────────────────────────────── */
.pmc-prescription {
  width: 100% !important; max-width: none !important;
  margin: 0 !important;
  padding: 65px max(24px, calc((100vw - 1180px) / 2)) !important;
  background: linear-gradient(100deg, #eaf8ff, #f0fcee);
  border: 0; border-radius: 0;
  min-height: 305px;
  display: grid;
  grid-template-columns: 245px minmax(280px, 1fr) minmax(320px, 1fr);
  align-items: center; gap: 34px;
  overflow: hidden;
}
.pmc-rx-illustration { height: 230px; position: relative; }
.pmc-rx-paper {
  position: absolute; left: 45px; top: 12px;
  width: 135px; height: 185px;
  background: #fff; border-radius: 9px;
  box-shadow: 0 18px 35px rgba(19,76,103,.14);
  transform: rotate(-5deg); padding: 20px;
}
.pmc-rx-paper span { font-family: serif; font-size: 33px; color: var(--blue); }
.pmc-rx-paper i {
  display: block; height: 5px; border-radius: 4px;
  background: #d9e9ef; margin-top: 12px;
}
.pmc-rx-paper i:nth-of-type(2) { width: 75%; }
.pmc-rx-paper i:nth-of-type(3) { width: 58%; }
.pmc-rx-paper b {
  position: absolute; right: 17px; bottom: 17px;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--green); border-radius: 50%; color: #fff;
}
.pmc-rx-pill {
  position: absolute; width: 42px; height: 18px;
  border-radius: 20px;
  box-shadow: 0 8px 17px rgba(16,83,115,.12);
  background: linear-gradient(90deg, var(--blue) 50%, #fff 50%);
}
.pmc-rx-pill.p1 { right: 13px; top: 58px; transform: rotate(35deg); }
.pmc-rx-pill.p2 {
  left: 17px; bottom: 11px; transform: rotate(-20deg);
  background: linear-gradient(90deg, var(--green) 50%, #fff 50%);
}
.pmc-prescription-copy h2 {
  font-family: Manrope, sans-serif !important; font-size: 32px !important;
  letter-spacing: -.035em !important; margin: 5px 0 10px !important;
  font-weight: 800 !important; color: #0e1a5c !important;
}
.pmc-prescription-copy p {
  color: var(--muted) !important; font-size: 14px !important; line-height: 1.7 !important; margin: 0 0 18px !important;
}
.pmc-prescription-copy small { display: block !important; color: #8295a1 !important; font-size: 14px !important; margin-top: 8px !important; }
.pmc-upload-btn { cursor: pointer; min-height: 45px; }
.pmc-upload-btn svg { margin: 0 8px 0 0; }
.pmc-steps {
  border-left: 1px solid #d1d8ee; padding-left: 36px;
  display: flex; flex-direction: column; gap: 21px;
}
.pmc-steps > div { display: flex; align-items: center; gap: 13px; }
.pmc-steps > div > span {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--blue);
  font-weight: 800; font-size: 14px;
  box-shadow: 0 6px 18px rgba(20,72,96,.08);
}
.pmc-steps p { display: flex !important; flex-direction: column !important; margin: 0 !important; }
.pmc-steps strong { font-size: 14px !important; font-weight: 700 !important; }
.pmc-steps small { font-size: 14px !important; color: #7b8f9c !important; }

/* ─── PRESCRIPTION UPLOAD DIALOG ─────────────────────────────── */
body.pmc-rx-open { overflow: hidden !important; }
.pmc-rx-modal {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 40px);
  padding: 0; border: 0; border-radius: 22px;
  background: #fff; color: var(--ink);
  box-shadow: 0 30px 80px rgba(12,56,87,.28);
  overflow: hidden;
}
.pmc-rx-modal[open] { display: flex; flex-direction: column; }
.pmc-rx-modal::backdrop { background: rgba(10,18,60,.5); backdrop-filter: blur(3px); }
.pmc-rx-form { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.pmc-rx-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px 28px 6px;
}
.pmc-rx-head .pmc-kicker { font-size: 12px; }
.pmc-rx-head h2 {
  margin: 4px 0 0 !important; font-family: Manrope, sans-serif !important;
  font-size: 24px !important; font-weight: 800 !important; letter-spacing: -.03em !important; color: #0e1a5c !important;
}
.pmc-rx-close {
  flex: none; display: grid !important; place-items: center;
  width: 38px; height: 38px; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 50% !important;
  background: var(--off) !important; color: var(--ink) !important; cursor: pointer;
}
.pmc-rx-close:hover { background: var(--sky) !important; }
.pmc-rx-close svg { width: 18px; }

.pmc-rx-stepper {
  display: flex; gap: 8px; list-style: none !important;
  margin: 16px 28px 4px !important; padding: 0 !important; counter-reset: none;
}
.pmc-rx-stepper li {
  flex: 1; display: flex; align-items: center; gap: 8px;
  margin: 0 !important; padding-top: 10px;
  border-top: 3px solid var(--line);
  font-size: 13px; font-weight: 700; color: #93a6b2;
}
.pmc-rx-stepper li span {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--off); border: 1px solid var(--line); font-size: 12px;
}
.pmc-rx-stepper li.is-current { border-top-color: var(--blue); color: var(--blue); }
.pmc-rx-stepper li.is-current span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pmc-rx-stepper li.is-done { border-top-color: var(--green); color: var(--green-dark); }
.pmc-rx-stepper li.is-done span { background: var(--green); border-color: var(--green); color: #fff; }

.pmc-rx-step { padding: 18px 28px 26px; }
.pmc-rx-step[hidden] { display: none !important; }
.pmc-rx-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 32px 20px; text-align: center; cursor: pointer;
  border: 2px dashed #b9d9ea; border-radius: 16px; background: var(--off);
  transition: border-color .2s, background .2s, padding .2s;
}
.pmc-rx-drop:hover, .pmc-rx-drop.is-over { border-color: var(--blue); background: var(--sky); }
.pmc-rx-drop.is-compact { padding: 16px 20px; }
.pmc-rx-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pmc-rx-drop:focus-within { outline: 3px solid rgba(23,46,181,.25); outline-offset: 2px; }
.pmc-rx-drop-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 4px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(23,46,181,.12); }
.pmc-rx-drop.is-compact .pmc-rx-drop-icon { display: none; }
.pmc-rx-drop-icon svg { width: 24px; color: var(--blue); }
.pmc-rx-drop strong { font-size: 15px; color: var(--ink); }
.pmc-rx-drop u { color: var(--blue); text-underline-offset: 3px; }
.pmc-rx-drop small { font-size: 13px; color: var(--muted); }

.pmc-rx-files { list-style: none !important; margin: 14px 0 0 !important; padding: 0 !important; display: grid; gap: 8px; }
.pmc-rx-files li {
  display: flex; align-items: center; gap: 12px; margin: 0 !important;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px;
}
.pmc-rx-files img, .pmc-rx-pdf {
  flex: none; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--off);
}
.pmc-rx-pdf { display: grid; place-items: center; background: #fdecef; color: #d93650; font-size: 12px; font-weight: 800; }
.pmc-rx-file-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pmc-rx-file-info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmc-rx-file-info small { font-size: 12px; color: var(--muted); }
.pmc-rx-files button {
  flex: none; display: grid !important; place-items: center;
  width: 30px; height: 30px; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 8px !important; background: transparent !important; color: #9aa3bf !important; cursor: pointer;
}
.pmc-rx-files button:hover { background: #fdecef !important; color: #d93650 !important; }
.pmc-rx-files button svg { width: 16px; }
.pmc-rx-tips { margin: 14px 0 0 !important; padding: 0 0 0 18px !important; font-size: 13px; color: var(--muted); }
.pmc-rx-tips li { margin: 2px 0 !important; }

.pmc-rx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pmc-rx-grid label {
  display: flex; flex-direction: column; gap: 5px; margin: 0;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.pmc-rx-grid label b { color: #d93650; }
.pmc-rx-grid .pmc-rx-wide { grid-column: 1 / -1; }
.pmc-rx-grid input:not([type=checkbox]), .pmc-rx-grid select, .pmc-rx-grid textarea {
  width: 100% !important; margin: 0 !important; padding: 10px 13px !important;
  border: 1.5px solid var(--line) !important; border-radius: 10px !important;
  background: #fff !important; color: var(--ink) !important; box-shadow: none !important;
  font: inherit !important; font-weight: 500 !important; font-size: 15px !important;
}
.pmc-rx-grid textarea { resize: vertical; min-height: 64px; }
.pmc-rx-grid input:focus, .pmc-rx-grid select:focus, .pmc-rx-grid textarea:focus {
  border-color: var(--blue) !important; outline: 0; box-shadow: 0 0 0 3px rgba(23,46,181,.12) !important;
}
.pmc-rx-grid .pmc-rx-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--muted); line-height: 1.5; }
.pmc-rx-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0 !important; accent-color: var(--blue); }
.pmc-rx-hp { position: absolute !important; left: -9999px !important; }

.pmc-rx-progress { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.pmc-rx-progress[hidden] { display: none; }
.pmc-rx-progress span { flex: 1; height: 8px; border-radius: 10px; background: var(--line); overflow: hidden; }
.pmc-rx-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #0092ff); transition: width .2s; }
.pmc-rx-progress small { font-size: 13px; color: var(--muted); font-weight: 600; }

.pmc-rx-error {
  margin: 14px 0 0 !important; padding: 10px 14px; border-radius: 10px;
  background: #fdecef; color: #b3263b; font-size: 14px; font-weight: 600;
}
.pmc-rx-error[hidden] { display: none; }
.pmc-rx-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.pmc-rx-foot .pmc-btn { min-height: 46px !important; }
.pmc-rx-foot .pmc-btn:disabled { opacity: .5; cursor: not-allowed !important; transform: none !important; }
.pmc-rx-back { background: var(--off) !important; color: var(--ink) !important; box-shadow: none !important; }
.pmc-rx-back:hover { background: var(--sky) !important; }

.pmc-rx-done { text-align: center; }
.pmc-rx-done-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 6px auto 14px; border-radius: 50%; background: var(--mint); }
.pmc-rx-done-icon svg { width: 36px; color: var(--green-dark); stroke-width: 2.4 !important; }
.pmc-rx-done h3 { margin: 0 !important; font-family: Manrope, sans-serif !important; font-size: 22px !important; font-weight: 800 !important; color: #0e1a5c !important; }
.pmc-rx-done > p { margin: 8px 0 2px !important; color: var(--muted); font-size: 14px; }
.pmc-rx-ref {
  display: inline-block; margin-top: 4px; padding: 8px 18px; border-radius: 10px;
  background: var(--sky); color: var(--blue-dark); font-family: Manrope, sans-serif; font-size: 20px; letter-spacing: .03em;
}
.pmc-rx-next { margin: 20px 0 0 !important; padding: 0 !important; list-style: none !important; text-align: left; display: grid; gap: 8px; counter-reset: rx; }
.pmc-rx-next li {
  counter-increment: rx; position: relative; margin: 0 !important;
  padding: 10px 14px 10px 48px; border-radius: 12px; background: var(--off);
  font-size: 14px; color: var(--muted); line-height: 1.5;
}
.pmc-rx-next li::before {
  content: counter(rx); position: absolute; left: 14px; top: 10px;
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 800;
}
.pmc-rx-next b { color: var(--ink); }
.pmc-rx-mail { margin: 14px 0 0 !important; font-size: 13px; color: var(--muted); }
.pmc-rx-done .pmc-rx-foot { justify-content: center; }

@media (max-width: 600px) {
  .pmc-rx-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .pmc-rx-head, .pmc-rx-step { padding-inline: 18px; }
  .pmc-rx-stepper { margin-inline: 18px !important; }
  .pmc-rx-stepper li { font-size: 12px; }
  .pmc-rx-grid { grid-template-columns: 1fr; }
  .pmc-rx-foot { position: sticky; bottom: 0; margin: 20px -18px -26px; padding: 12px 18px; background: #fff; border-top: 1px solid var(--line); }
  .pmc-rx-foot .pmc-btn { flex: 1; }
}

/* ─── WELLNESS CTA ───────────────────────────────────────────── */
.pmc-wellness {
  width: 100% !important; max-width: none !important;
  margin: 0 !important;
  padding: 58px max(24px, calc((100vw - 1180px) / 2)) !important;
  border-radius: 0;
  color: #2f3c72;
  background: linear-gradient(100deg, #ebefff, #effbed);
  border-top: 1px solid #dfe4f5;
  border-bottom: 1px solid #dfe4f5;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center; gap: 42px;
  position: relative; overflow: hidden;
}
.pmc-wellness::after {
  content: "+"; position: absolute;
  right: 22%; top: -48px;
  font-family: Manrope, sans-serif;
  font-size: 240px; font-weight: 800; line-height: 1;
  color: rgba(23,46,181,.07);
}
.pmc-wellness .pmc-kicker { color: #00a651; }
.pmc-wellness h2 {
  font-family: Manrope, sans-serif !important; font-size: 31px !important;
  line-height: 1.15 !important; letter-spacing: -.035em !important; margin: 7px 0 0 !important;
  font-weight: 800 !important; color: #2e6887 !important;
}
.pmc-wellness > p {
  color: #646f8f !important; font-size: 14px !important; line-height: 1.7 !important;
  position: relative !important; z-index: 1 !important; margin: 0 !important;
}
.pmc-wellness .pmc-btn-light {
  background: #35bf2b !important; color: #fff !important;
  box-shadow: 0 12px 28px rgba(43,176,34,.2) !important;
}

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.pmc-testimonial-section {
  display: block !important;
  width: 100% !important; max-width: none !important;
  padding: 85px max(24px, calc((100vw - 1180px) / 2)) 96px !important;
  background:
    radial-gradient(circle at 12% 28%, rgba(0,146,255,.18), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(60,204,49,.16), transparent 24%),
    #f5fbfe;
}
.pmc-testimonial-intro {
  padding: 0;
  text-align: center;
}
.pmc-testimonial-intro h2 {
  font-family: Manrope, sans-serif !important; font-size: 42px !important;
  line-height: 1.13 !important; letter-spacing: -.04em !important; margin: 8px 0 13px !important;
  font-weight: 800 !important; color: #0e1a5c !important;
}
.pmc-testimonial-intro > p {
  color: var(--muted) !important; font-size: 14px !important;
  line-height: 1.7 !important; max-width: 520px !important; margin: 0 auto !important;
}
.pmc-testimonial-nav {
  display: flex; gap: 8px; margin: 22px 0 30px;
  justify-content: center;
}
.pmc-testimonial-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #cce4ee; background: #fff;
  color: var(--blue); cursor: pointer;
  box-shadow: 0 7px 18px rgba(23,46,140,.08);
}
.pmc-testimonial-nav button:hover { background: var(--blue); color: #fff; }
.pmc-testimonial-track {
  display: block !important;
  max-width: 880px;
  margin-inline: auto;
}
.pmc-review-card { display: none; }
.pmc-review-card.next-visible { display: none !important; }
.pmc-review-card.active {
  display: block !important;
  min-height: 300px;
  padding: 48px 70px !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 24px 60px rgba(23,46,140,.10) !important;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.pmc-review-card.active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(#55add5, #78c756);
}
.pmc-quote {
  font-family: Georgia, serif; color: #d6edf6;
  font-size: 92px; line-height: .8;
  position: absolute; left: 38px; right: auto; top: 32px;
}
.pmc-stars { color: #f5b23c; font-size: 14px; letter-spacing: .08em; }
.pmc-review-card > p {
  font-family: Manrope, sans-serif !important;
  color: #35647c !important; font-size: 19px !important; line-height: 1.65 !important;
  max-width: 700px !important;
  margin: 30px auto 34px !important; position: relative !important; z-index: 1 !important;
}
.pmc-review-person {
  display: flex; align-items: center; gap: 11px;
  position: static !important;
  justify-content: center !important;
}
.pmc-review-person > span {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), #39a8d3);
  color: #fff; font-size: 14px; font-weight: 800;
}
.pmc-review-person > div { display: flex; flex-direction: column; }
.pmc-review-person strong { font-size: 14px !important; font-weight: 700 !important; }
.pmc-review-person small { color: #94a4ad !important; font-size: 14px !important; }

/* ─── ORDER HELP SECTION ─────────────────────────────────────── */
.pmc-order-help {
  padding: 92px 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(0,146,255,.23), transparent 27%),
    radial-gradient(circle at 90% 85%, rgba(60,204,49,.22), transparent 25%),
    #f1faff;
  border-top: 1px solid #dceef4;
}
.pmc-order-help-inner {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 86px; align-items: center;
}
.pmc-order-help-copy h2 {
  font-family: Manrope, sans-serif !important;
  font-size: clamp(34px, 4vw, 52px) !important; letter-spacing: -.045em !important;
  line-height: 1.08 !important; margin: 9px 0 17px !important; color: #2a3a78 !important;
  font-weight: 800 !important; max-width: 510px;
}
.pmc-order-help-copy p {
  color: var(--muted) !important; font-size: 14px !important; line-height: 1.7 !important; margin: 0 0 20px !important;
}
.pmc-support-points {
  display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600;
}
.pmc-support-points b {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%; background: var(--green);
  color: #fff; font-size: 14px; margin-right: 8px;
}
.pmc-assistance-form {
  display: grid; gap: 15px;
  padding: 34px;
  border: 1px solid rgba(214,220,245,.9);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 20px 50px rgba(23,46,140,.10);
  backdrop-filter: blur(10px);
}
.pmc-assistance-form label {
  display: flex !important; flex-direction: column !important;
  font-size: 14px !important; font-weight: 600 !important; gap: 5px !important; color: var(--ink) !important;
}
.pmc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pmc-assistance-form input,
.pmc-assistance-form select,
.pmc-assistance-form textarea {
  border: 1.5px solid var(--line) !important;
  border-radius: 10px !important; padding: 10px 14px !important;
  color: var(--ink) !important; background: #fff !important;
  font: inherit !important; transition: border-color .2s !important;
  box-shadow: none !important; outline: 0 !important;
  width: 100% !important;
}
.pmc-assistance-form input:focus,
.pmc-assistance-form select:focus,
.pmc-assistance-form textarea:focus {
  border-color: var(--blue); outline: none;
  box-shadow: 0 0 0 3px rgba(23,46,181,.10);
}
.pmc-assistance-form .pmc-consent {
  flex-direction: row !important; align-items: center !important; gap: 8px !important;
  font-weight: 500 !important; font-size: 14px !important; color: var(--muted) !important;
}
.pmc-assistance-form .pmc-consent input { width: 16px !important; height: 16px !important; padding: 0 !important; flex: none; }
.pmc-assistance-form small {
  color: #98a8b1 !important; font-size: 14px !important; margin-top: -4px !important;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.pmc-footer {
  margin-top: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(60,204,49,.16), transparent 30%),
    radial-gradient(circle at 6% 90%, rgba(0,146,255,.14), transparent 32%),
    linear-gradient(180deg, #f4f6ff, #f1f9ee);
  border-top: 1px solid var(--line);
}

/* Trust strip */
.pmc-footer-trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0; padding: 26px 0;
  border-bottom: 1px solid #dee3f3;
}
.pmc-footer-trust > div { display: flex; align-items: center; gap: 13px; padding: 0 18px; border-right: 1px solid #dee3f3; }
.pmc-footer-trust > div:first-child { padding-left: 0; }
.pmc-footer-trust > div:last-child { border-right: 0; }
.pmc-footer-trust svg {
  width: 44px; height: 44px; flex: none; padding: 11px; border-radius: 50%;
  background: #fff; color: var(--blue); box-shadow: 0 8px 20px rgba(23,46,140,.10);
}
.pmc-footer-trust p { margin: 0 !important; display: grid; gap: 2px; }
.pmc-footer-trust strong { font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; color: #0e1a5c; }
.pmc-footer-trust span { font-size: 14px; color: var(--muted); }

/* Main columns */
.pmc-footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1.15fr .75fr 1.2fr;
  gap: 48px; padding-block: 50px 46px;
}
.pmc-footer-brand img { width: 190px; height: auto; display: block; }
.pmc-footer-brand > p { font-size: 14px !important; line-height: 1.65 !important; color: #5f6a88 !important; max-width: 280px !important; margin: 14px 0 18px !important; }
.pmc-footer-contact { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 10px; }
.pmc-footer-contact li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #4c5878; margin: 0 !important; }
.pmc-footer-contact svg { width: 16px; height: 16px; flex: none; color: var(--green-dark); }
.pmc-footer-contact a { color: var(--blue) !important; font-weight: 700; }
.pmc-footer-contact a:hover { color: var(--green-dark) !important; }
.pmc-footer-main h3 {
  font-family: Manrope, sans-serif !important;
  font-size: 14px !important; margin: 4px 0 16px !important;
  font-weight: 800 !important; color: #0e1a5c !important;
  text-transform: uppercase; letter-spacing: .12em;
}
.pmc-footer-links { display: grid; gap: 10px; }
.pmc-footer-links--2col { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.pmc-footer-links a {
  font-size: 14px; color: #5f6a88 !important; transition: color .2s, transform .2s;
  width: fit-content;
}
.pmc-footer-links a:hover { color: var(--blue) !important; transform: translateX(3px); }
.pmc-footer-links a strong { color: var(--blue); font-weight: 700; }
.pmc-footer-news > p { font-size: 14px !important; color: #5f6a88 !important; margin: 0 0 14px !important; line-height: 1.6 !important; }
.pmc-footer-news small { display: block; margin-top: 9px; font-size: 14px; color: #8aa0ad; }
.pmc-newsletter {
  height: 48px; padding: 4px; border: 1px solid #d3daf0;
  background: #fff; border-radius: 12px;
  display: flex; gap: 4px; box-shadow: 0 10px 26px rgba(23,46,140,.07);
}
.pmc-newsletter input {
  min-width: 0; flex: 1; border: 0 !important; outline: 0 !important; box-shadow: none !important;
  background: transparent !important; padding: 0 12px !important; font-size: 14px !important; color: var(--ink) !important;
}
.pmc-newsletter button {
  border: 0 !important; border-radius: 9px !important; padding: 0 16px !important; margin: 0 !important;
  background: linear-gradient(135deg, #35bf2b, #00a651) !important; color: #fff !important;
  font-size: 14px !important; font-weight: 800 !important; cursor: pointer; box-shadow: none !important;
}
.pmc-newsletter button:hover { filter: brightness(1.05); }

/* Bottom bar */
.pmc-footer-bottom-wrap { background: #0e1a5c; }
.pmc-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 16px 0; color: #a9c3d3; font-size: 14px;
}
.pmc-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pmc-footer-legal a { color: #d8def4 !important; }
.pmc-footer-legal a:hover { color: #fff !important; }
.pmc-footer-pay { display: flex; align-items: center; gap: 8px; }
.pmc-footer-pay span {
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  color: #d8def4; font-size: 14px; font-weight: 600;
}
.pmc-to-top {
  width: 34px; height: 34px; margin-left: 6px; padding: 0 !important; display: grid; place-items: center;
  border-radius: 50% !important; border: 0 !important; cursor: pointer;
  background: #35bf2b !important; color: #fff !important; box-shadow: none !important;
}
.pmc-to-top svg { width: 18px; height: 18px; stroke-width: 2.4 !important; }
.pmc-to-top:hover { background: #00a651 !important; }

/* ─── TOAST ──────────────────────────────────────────────────── */
.pmc-toast {
  position: fixed; left: 50%; bottom: 25px;
  transform: translate(-50%, 30px);
  background: #0e3c59; color: #fff;
  border-radius: 10px; padding: 12px 18px;
  font-size: 14px; font-weight: 700;
  opacity: 0; pointer-events: none;
  transition: .25s; z-index: 40;
  box-shadow: 0 14px 35px rgba(8,16,60,.25);
}
.pmc-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────── */
body.motion-ready .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s var(--reveal-delay, 0ms),
              transform .55s var(--reveal-delay, 0ms);
}
body.motion-ready .reveal.is-visible {
  opacity: 1; transform: translateY(0);
}

/* ─── WC OVERRIDES (shop, cart, checkout pages) ──────────────── */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  padding: 13px !important;
  box-shadow: none;
  transition: transform .2s, box-shadow .2s !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: Manrope, sans-serif !important;
  font-size: 16px !important; font-weight: 700 !important;
  color: var(--ink) !important;
}
.woocommerce ul.products li.product .price {
  color: var(--blue) !important; font-weight: 700 !important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit {
  background: var(--blue) !important; color: #fff !important;
  border-radius: 10px !important; font-weight: 700 !important;
  border: none !important;
  transition: background .2s, transform .15s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px) !important;
}
.woocommerce a.button.add_to_cart_button,
.woocommerce button.button.add_to_cart_button {
  background: #e8f5e2 !important; color: var(--green-dark) !important;
  font-size: 14px !important; font-weight: 800 !important;
}
.woocommerce a.button.add_to_cart_button:hover {
  background: var(--green) !important; color: #fff !important;
}
/* Sale badge: discount % pinned to the product image */
.woocommerce span.onsale.pmc-sale-badge {
  position: absolute !important; z-index: 3;
  top: 24px !important; left: 26px !important; right: auto !important; bottom: auto !important;
  display: flex !important; flex-direction: column; align-items: center; justify-content: center;
  width: 54px !important; height: 54px !important; min-width: 0 !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important;
  border: 2px solid #fff !important; border-radius: 50% !important;
  background: linear-gradient(140deg, #f2556a, #d93650) !important; color: #fff !important;
  box-shadow: 0 6px 16px rgba(217,54,80,.32);
  line-height: 1 !important; text-align: center;
  pointer-events: none;
}
.pmc-sale-badge b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.pmc-sale-badge small { margin-top: 2px; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.woocommerce div.product { position: relative !important; }
.woocommerce div.product > span.onsale.pmc-sale-badge {
  top: 18px !important; left: 18px !important;
  width: 66px !important; height: 66px !important;
}
.woocommerce div.product > span.onsale.pmc-sale-badge b { font-size: 19px; }
.woocommerce div.product > span.onsale.pmc-sale-badge small { font-size: 10px; }
/* ── Storefront default header/footer hidden — we use our own header.php / footer.php ── */
.storefront-primary-navigation { display: none; }
/* Hide WC demo store notice (we have our own announcement bar) */
.woocommerce-store-notice,
p.demo_store { display: none !important; }

/* ── Inner page header override ── */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  background: rgba(255,255,255,.92) !important;
  border-bottom: 1px solid #e8ebf6 !important;
  box-shadow: 0 5px 24px rgba(23,46,140,.05) !important;
  backdrop-filter: blur(16px) !important;
  padding: 0 !important;
}
.site-header .col-full { padding: 0 !important; max-width: none !important; width: 100% !important; }
.site-branding a { color: var(--blue) !important; font-weight: 800 !important; font-family: Manrope, sans-serif !important; font-size: 22px !important; }
.site-branding .site-description { color: var(--muted) !important; font-size: 14px !important; }

/* ─── INNER PAGES — LAYOUT ───────────────────────────────────── */
/* Content wrapper */
#content.site-content { padding: 0 !important; background: #fff !important; }
#content.site-content .col-full {
  max-width: min(1180px, calc(100% - 48px)) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  display: block !important;
}

#secondary { display: none !important; }

/* Sorting / count / pagination row */
.storefront-sorting {
  display: flex !important; align-items: center !important; justify-content: flex-start !important;
  flex-wrap: wrap !important; gap: 12px !important; margin: 0 0 22px !important; padding: 0 !important;
  font-size: 14px !important;
}
.storefront-sorting::before, .storefront-sorting::after { display: none !important; }
.storefront-sorting .woocommerce-ordering,
.storefront-sorting .woocommerce-result-count { float: none !important; margin: 0 !important; }
.storefront-sorting .woocommerce-result-count { margin-left: auto !important; order: 2; }
.storefront-sorting .woocommerce-pagination { float: none !important; margin: 0 !important; order: 3; }
.storefront-sorting .woocommerce-ordering { order: 1; }
ul.products + .storefront-sorting { margin: 32px 0 0 !important; }
.woocommerce-pagination ul.page-numbers {
  display: flex !important; flex-wrap: wrap !important; gap: 6px !important; border: 0 !important; margin: 0 !important; padding: 0 !important; list-style: none !important;
}
.woocommerce-pagination { max-width: 100% !important; }
.woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none !important; }
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  display: grid !important; place-items: center !important; min-width: 36px !important; height: 36px !important;
  padding: 0 10px !important; border-radius: 10px !important; border: 1px solid var(--line) !important;
  background: #fff !important; color: var(--ink) !important; font-weight: 700 !important; font-size: 14px !important;
}
.woocommerce-pagination .page-numbers .current {
  background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important;
}

/* Primary content — full width, no float */
#primary, .content-area {
  width: 100% !important; float: none !important;
  padding: 40px 0 80px !important;
}
.site-main { padding: 0 !important; }

/* ─── INNER PAGE BREADCRUMB ──────────────────────────────────── */
.pmc-page-breadcrumb {
  background: var(--sky) !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 0 !important;
}
.pmc-page-breadcrumb .pmc-shell { padding: 12px 0 !important; }
.woocommerce-breadcrumb {
  font-size: 14px !important; color: var(--muted) !important;
  margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important;
}
.woocommerce-breadcrumb a { color: var(--blue) !important; font-weight: 600 !important; }
.pmc-bc-sep { margin: 0 6px !important; color: #b0c4ce !important; }

/* ─── INNER PAGE TITLE BANNER ────────────────────────────────── */
.woocommerce-products-header {
  background: linear-gradient(110deg, var(--sky), #f2fdef) !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 34px 36px 30px !important;
  border: 1px solid var(--line) !important; border-radius: 22px !important;
  margin: 0 0 30px !important;
  text-align: left !important;
}
.woocommerce-products-header .col-full { max-width: none !important; padding: 0 !important; }
.woocommerce-products-header__title,
.entry-title,
body:not(.home) .page-title {
  font-family: Manrope, sans-serif !important;
  font-size: clamp(26px, 3.5vw, 38px) !important;
  font-weight: 800 !important;
  color: #0e1a5c !important;
  letter-spacing: -.035em !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

/* ─── INNER PAGE CONTENT PADDING ────────────────────────────── */
body:not(.home) #primary article,
body:not(.home) .woocommerce-page #primary {
  padding-block: 40px 80px !important;
}

/* ─── SHOP PAGE — TOOLBAR ───────────────────────────────────── */
.woocommerce-result-count {
  font-size: 14px !important; color: var(--muted) !important; margin: 0 !important;
}
.woocommerce-ordering {
  float: right !important; margin: 0 0 22px !important;
}
.woocommerce-ordering select {
  border: 1.5px solid var(--line) !important;
  border-radius: 10px !important;
  padding: 8px 32px 8px 14px !important;
  font-size: 14px !important;
  color: var(--ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  appearance: auto !important;
}

/* ─── SHOP PAGE — PRODUCT GRID ──────────────────────────────── */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  list-style: none !important;
  padding: 0 !important; margin: 0 !important;
  clear: both !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 14px 16px 18px !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  transition: transform .2s, box-shadow .2s !important;
  box-shadow: none !important;
  position: relative !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow) !important;
}
.woocommerce ul.products li.product a img {
  border-radius: 12px !important;
  background: var(--off) !important;
  padding: 16px !important;
  height: 190px !important;
  object-fit: contain !important;
  width: 100% !important;
  display: block !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 10px 0 4px !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.woocommerce ul.products li.product .price {
  color: #0f1f7a !important;
  margin: 4px 0 12px !important;
  display: block !important;
}
/* "Add to Cart" button on archive */
.woocommerce ul.products li.product .button.pmc-view-product,
.woocommerce ul.products li.product .button.add_to_cart_button {
  background: #e8f5e2 !important;
  color: var(--green-dark) !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 9px 16px !important;
  font-size: 14px !important; font-weight: 800 !important;
  width: 100% !important; display: block !important;
  text-align: center !important;
  transition: background .2s !important;
}
.woocommerce ul.products li.product .button.pmc-view-product:hover,
.woocommerce ul.products li.product .button.add_to_cart_button:hover {
  background: var(--green) !important; color: #fff !important;
}

/* ─── SINGLE PRODUCT ───────────────────────────────────────── */
.woocommerce div.product,
.woocommerce article.product {
  display: grid !important;
  grid-template-columns: 1fr 1.15fr !important;
  gap: 0 56px !important;
  align-items: start !important;
}
/* Explicitly pin gallery to column 1, summary to column 2 */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce article.product .woocommerce-product-gallery {
  grid-column: 1 !important;
  grid-row: 1 !important;
  background: var(--off) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  border: 1px solid var(--line) !important;
  opacity: 1 !important;
  transition: none !important;
  float: none !important;
  width: auto !important;
}
.woocommerce div.product .woocommerce-product-gallery img,
.woocommerce article.product .woocommerce-product-gallery img {
  border-radius: 14px !important;
  object-fit: contain !important;
  width: 100% !important;
}
.woocommerce-product-gallery__image--placeholder img {
  height: 280px !important;
  padding: 30px !important;
  object-fit: contain !important;
}
.woocommerce div.product .summary,
.woocommerce article.product .summary {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding: 0 !important; float: none !important; width: auto !important;
}
/* Everything else spans both columns */
.woocommerce div.product > *:not(.woocommerce-product-gallery):not(.summary),
.woocommerce article.product > *:not(.woocommerce-product-gallery):not(.summary) {
  grid-column: 1 / -1 !important;
}
.woocommerce div.product .product_title {
  font-family: Manrope, sans-serif !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  font-weight: 800 !important; color: #0e1a5c !important;
  letter-spacing: -.03em !important; line-height: 1.15 !important;
  margin: 0 0 10px !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 28px !important; font-weight: 800 !important;
  color: var(--blue) !important; margin: 0 0 18px !important;
  display: block !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 15px !important; color: var(--muted) !important;
  line-height: 1.75 !important; margin: 0 0 22px !important;
}
.woocommerce div.product form.cart {
  display: flex !important; flex-wrap: wrap !important; gap: 12px !important;
  align-items: center !important; margin: 0 0 18px !important;
}
.woocommerce div.product form.cart .qty {
  border: 1.5px solid var(--line) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  width: 80px !important; text-align: center !important;
  font-size: 16px !important; color: var(--ink) !important;
  background: #fff !important;
}
.woocommerce div.product .single_add_to_cart_button {
  flex: 1 !important;
  background: linear-gradient(135deg, #1f3cc7, #0092ff) !important;
  color: #fff !important; border: 0 !important;
  border-radius: 12px !important;
  min-height: 52px !important; font-weight: 700 !important;
  font-size: 15px !important;
  box-shadow: 0 10px 26px rgba(31,60,199,.22) !important;
  cursor: pointer !important;
  transition: transform .2s !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #152ba8, #2f6ff0) !important;
  transform: translateY(-2px) !important;
}
/* Product tabs margin */
.woocommerce div.product .woocommerce-tabs,
.woocommerce article.product .woocommerce-tabs {
  margin-top: 48px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 2px solid var(--line) !important;
  padding: 0 !important; margin: 0 0 24px !important;
  list-style: none !important;
  display: flex !important; gap: 4px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: 0 !important; border-radius: 0 !important;
  padding: 0 !important; margin: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block !important;
  padding: 10px 20px !important;
  font-family: Manrope, sans-serif !important;
  font-size: 14px !important; font-weight: 700 !important;
  color: var(--muted) !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px !important;
  transition: color .2s !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--blue) !important;
  border-bottom-color: var(--blue) !important;
}
.woocommerce div.product .woocommerce-Tabs-panel h2 {
  font-family: Manrope, sans-serif !important;
  font-size: 18px !important; font-weight: 800 !important;
  color: #0e1a5c !important; margin: 0 0 14px !important;
}

/* ─── CART PAGE ─────────────────────────────────────────────── */
.woocommerce-cart table.cart {
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  width: 100% !important; margin: 0 0 28px !important;
}
.woocommerce-cart table.cart thead th {
  background: var(--sky) !important;
  font-family: Manrope, sans-serif !important;
  font-size: 14px !important; font-weight: 800 !important;
  text-transform: uppercase !important; letter-spacing: .1em !important;
  color: #5b6688 !important; padding: 13px 18px !important;
  border: 0 !important;
}
.woocommerce-cart table.cart td {
  padding: 16px 18px !important;
  border-top: 1px solid var(--line) !important;
  vertical-align: middle !important;
  border-left: 0 !important; border-right: 0 !important;
}
.woocommerce-cart table.cart .product-name a {
  font-family: Manrope, sans-serif !important;
  font-weight: 700 !important; color: var(--ink) !important;
  font-size: 15px !important;
}
.woocommerce-cart table.cart .product-name dl { font-size: 14px !important; color: var(--muted) !important; }
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
  font-weight: 700 !important; color: #0f1f7a !important;
  font-size: 15px !important;
}
.woocommerce-cart table.cart .product-remove a {
  color: #bccad0 !important; font-size: 22px !important;
  font-weight: 400 !important; line-height: 1 !important;
  transition: color .2s !important;
}
.woocommerce-cart table.cart .product-remove a:hover { color: #e64b60 !important; }
/* stacked mobile cart: keep the remove × inside the card corner */
@media (max-width: 767px) {
  .woocommerce-cart table.cart .product-remove a { top: 6px !important; right: 6px !important; left: auto !important; }
}
.woocommerce-cart table.cart img { border-radius: 10px !important; background: var(--off) !important; }
/* Cart actions row — must stay a table cell so colspan spans the full row */
.woocommerce-cart-form td.actions { padding: 16px 18px !important; text-align: right !important; }
.woocommerce-cart-form td.actions .coupon { float: left !important; align-items: center !important; }
.woocommerce-cart-form td.actions .coupon label { display: none !important; }
.woocommerce-cart-form td.actions .button { padding: 12px 20px !important; font-size: 14px !important; border-radius: 10px !important; }
.woocommerce-cart-form td.actions button[name="update_cart"] { background: #fff !important; color: var(--blue) !important; border: 1.5px solid var(--line) !important; }
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th,
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td { background: transparent !important; }
body.woocommerce-cart table.shop_table.cart thead tr th,
body.woocommerce-cart table.shop_table.cart thead tr th * {
  font-family: Manrope, sans-serif !important; font-size: 14px !important; font-weight: 800 !important;
  letter-spacing: .1em !important; color: #5b6688 !important;
}
.woocommerce-cart table.cart td.product-thumbnail img { width: 64px !important; max-width: 64px !important; }
.woocommerce-cart-form .coupon {
  display: flex !important; gap: 10px !important; flex-wrap: wrap !important;
}
.woocommerce-cart-form .coupon input[type="text"] {
  border: 1.5px solid var(--line) !important;
  border-radius: 10px !important; padding: 10px 14px !important;
  font-size: 14px !important; color: var(--ink) !important;
  background: #fff !important;
}
/* Cart totals box */
.woocommerce-cart .cart_totals {
  background: var(--sky) !important;
  border-radius: 18px !important;
  padding: 28px 30px !important;
  border: 1px solid var(--line) !important;
  margin-top: 0 !important;
}
.woocommerce-cart .cart_totals h2 {
  font-family: Manrope, sans-serif !important;
  font-size: 20px !important; font-weight: 800 !important;
  color: #0e1a5c !important; margin: 0 0 18px !important;
}
.woocommerce-cart .cart_totals table {
  width: 100% !important; border-collapse: collapse !important;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  padding: 10px 0 !important; border: 0 !important;
  border-top: 1px solid var(--line) !important;
  font-size: 14px !important;
}
.woocommerce-cart .cart_totals table .order-total th,
.woocommerce-cart .cart_totals table .order-total td {
  font-family: Manrope, sans-serif !important;
  font-size: 17px !important; font-weight: 800 !important;
  color: #0e1a5c !important;
}
.woocommerce-cart .wc-proceed-to-checkout { padding: 18px 0 0 !important; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: block !important; width: 100% !important;
  background: linear-gradient(135deg, #1f3cc7, #0092ff) !important;
  color: #fff !important; border: 0 !important;
  border-radius: 12px !important; min-height: 52px !important;
  font-weight: 700 !important; font-size: 16px !important;
  text-align: center !important; line-height: 52px !important;
  box-shadow: 0 10px 26px rgba(31,60,199,.22) !important;
  transition: transform .2s !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: linear-gradient(135deg, #152ba8, #2f6ff0) !important;
  transform: translateY(-2px) !important;
}

/* ─── CHECKOUT PAGE ─────────────────────────────────────────── */
.woocommerce-checkout form.checkout {
  display: grid !important; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important;
  column-gap: 40px !important; align-items: start !important;
}
.woocommerce-checkout form.checkout > * { grid-column: 1 / -1; }
.woocommerce-checkout form.checkout > #customer_details {
  grid-column: 1 !important; grid-row: 2 !important; width: auto !important; float: none !important;
  padding: 32px !important; border: 1px solid var(--line) !important; border-radius: 22px !important; background: #fff !important;
}
.woocommerce-checkout form.checkout > #order_review_heading { grid-column: 2 !important; grid-row: 2 !important; align-self: start !important; position: relative !important; z-index: 2 !important; }
.woocommerce-checkout #order_review { background: transparent !important; }
.woocommerce-checkout form.checkout > #order_review { grid-column: 2 !important; grid-row: 2 !important; align-self: start !important; padding-top: 58px !important; }
.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li > label { background: transparent !important; }
.woocommerce-checkout form.checkout > #order_review_heading,
.woocommerce-checkout form.checkout > #order_review { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce-checkout form.checkout > #order_review_heading { padding: 0 0 12px !important; margin: 0 0 16px !important; }
.woocommerce-checkout .col2-set { display: block !important; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce-checkout .col2-set .col-2 { margin-top: 28px !important; }
.woocommerce-checkout .woocommerce-additional-fields > h3 {
  font-family: Manrope, sans-serif !important; font-size: 18px !important; font-weight: 800 !important;
  color: #0e1a5c !important; margin: 0 0 16px !important; padding: 0 0 12px !important; border-bottom: 2px solid var(--line) !important;
}
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last { width: calc(50% - 8px) !important; }
/* select2 keeps the real <select> in the DOM; at full width it widened the page on phones */
.select2-hidden-accessible,
.woocommerce-checkout .woocommerce-input-wrapper select.select2-hidden-accessible { width: 1px !important; height: 1px !important; }
@media (max-width: 600px) {
  .woocommerce-checkout form.checkout > #customer_details { padding: 20px !important; }
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last { width: 100% !important; }
}
.woocommerce-checkout label { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; }
.woocommerce-checkout .select2-container .select2-selection--single {
  height: 46px !important; border: 1.5px solid var(--line) !important; border-radius: 10px !important; display: flex !important; align-items: center !important;
}
.woocommerce-checkout .select2-container .select2-selection__arrow { height: 44px !important; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td { background: transparent !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text p { font-size: 14px !important; color: var(--muted) !important; line-height: 1.6 !important; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 0 !important; }
.woocommerce-checkout #payment div.payment_box {
  background: #fff !important; border: 1px solid var(--line) !important; border-radius: 10px !important;
  font-size: 14px !important; color: var(--muted) !important; margin: 10px 0 0 !important;
}
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: Manrope, sans-serif !important;
  font-size: 18px !important; font-weight: 800 !important;
  color: #0e1a5c !important; margin: 0 0 16px !important;
  padding: 0 0 12px !important;
  border-bottom: 2px solid var(--line) !important;
}
.woocommerce-checkout label {
  font-size: 14px !important; font-weight: 700 !important;
  color: var(--ink) !important;
  display: block !important; margin: 0 0 5px !important;
}
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  border: 1.5px solid var(--line) !important;
  border-radius: 10px !important;
  padding: 11px 14px !important; width: 100% !important;
  color: var(--ink) !important; background: #fff !important;
  font-size: 15px !important;
  transition: border-color .2s, box-shadow .2s !important;
  box-shadow: none !important;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(23,46,181,.10) !important;
  outline: 0 !important;
}
/* Order review table on checkout */
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  margin: 0 0 22px !important;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
  background: var(--sky) !important;
  font-family: Manrope, sans-serif !important;
  font-size: 14px !important; font-weight: 800 !important;
  text-transform: uppercase !important; letter-spacing: .1em !important;
  color: #5b6688 !important; padding: 13px 18px !important;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  padding: 14px 18px !important;
  border-top: 1px solid var(--line) !important;
  font-size: 14px !important;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total td {
  font-family: Manrope, sans-serif !important;
  font-size: 16px !important; font-weight: 800 !important; color: #0e1a5c !important;
}
#place_order {
  background: linear-gradient(135deg, #1f3cc7, #0092ff) !important;
  color: #fff !important; border: 0 !important;
  border-radius: 12px !important;
  min-height: 52px !important; font-weight: 700 !important;
  font-size: 16px !important; width: 100% !important;
  box-shadow: 0 10px 26px rgba(31,60,199,.22) !important;
  cursor: pointer !important;
  transition: transform .2s !important;
}
#place_order:hover {
  background: linear-gradient(135deg, #152ba8, #2f6ff0) !important;
  transform: translateY(-2px) !important;
}
/* Payment section */
.woocommerce-checkout #payment {
  background: var(--off) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  padding: 22px !important;
}
.woocommerce-checkout #payment ul.payment_methods {
  padding: 0 0 16px !important;
  border-bottom: 1px solid var(--line) !important;
  margin: 0 0 18px !important;
  list-style: none !important;
}
.woocommerce-checkout #payment ul.payment_methods li label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px !important; font-weight: 600 !important;
  color: var(--ink) !important;
}

/* ─── MY ACCOUNT PAGE ───────────────────────────────────────── */
/* Logged-out: login / register card */
.woocommerce-account:not(.logged-in) .woocommerce > h2,
.woocommerce-account:not(.logged-in) .woocommerce .u-column1 > h2,
.woocommerce-account:not(.logged-in) .woocommerce .u-column2 > h2 {
  font-family: Manrope, sans-serif !important; font-size: 22px !important; font-weight: 800 !important;
  color: #0e1a5c !important; margin: 0 0 18px !important;
}
.woocommerce-account:not(.logged-in) .woocommerce {
  max-width: 480px !important; padding: 34px !important;
  border: 1px solid rgba(214,220,245,.9) !important; border-radius: 22px !important;
  background: #fff !important; box-shadow: 0 20px 50px rgba(23,46,140,.10) !important;
}
.woocommerce-account:not(.logged-in) .woocommerce form.login,
.woocommerce-account:not(.logged-in) .woocommerce form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.woocommerce form .form-row { padding: 0 !important; margin: 0 0 16px !important; }
.woocommerce form .form-row label { font-size: 14px !important; font-weight: 700 !important; color: var(--ink) !important; margin: 0 0 6px !important; display: block; }
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.woocommerce form .input-text,
.woocommerce form .password-input input {
  width: 100% !important; border: 1.5px solid var(--line) !important; border-radius: 10px !important;
  padding: 12px 14px !important; background: #fff !important; box-shadow: none !important; color: var(--ink) !important;
}
.woocommerce form .input-text:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(23,46,181,.10) !important; outline: 0 !important; }
.woocommerce form .password-input { display: block !important; position: relative !important; }
.woocommerce form .show-password-input {
  position: absolute !important; right: 8px !important; top: 50% !important; transform: translateY(-50%) !important;
  background: transparent !important; color: var(--muted) !important; padding: 6px !important;
}
.woocommerce form.login .button,
.woocommerce form.register .button {
  width: 100% !important; min-height: 50px !important; margin-top: 8px !important; border-radius: 12px !important;
  background: linear-gradient(135deg, #1f3cc7, #0092ff) !important; box-shadow: 0 10px 26px rgba(31,60,199,.22) !important;
}
.woocommerce form.login .lost_password { font-size: 14px !important; margin: 14px 0 0 !important; }
.woocommerce form.login .lost_password a { color: var(--blue) !important; font-weight: 600 !important; }

/* Logged-in: sidebar nav + content */
.woocommerce-account.logged-in .woocommerce {
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  gap: 40px !important;
  align-items: start !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--sky) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  border: 1px solid var(--line) !important;
  position: sticky !important; top: 100px !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important; padding: 0 !important; margin: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 14px !important; font-weight: 600 !important;
  color: var(--ink) !important;
  transition: background .2s, color .2s !important;
  margin: 2px 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--is-active a {
  background: rgba(23,46,181,.1) !important;
  color: var(--blue) !important;
}
.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-family: Manrope, sans-serif !important;
  font-size: 22px !important; font-weight: 800 !important;
  color: #0e1a5c !important; margin: 0 0 20px !important;
}
.woocommerce-account .woocommerce-MyAccount-content table {
  width: 100% !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  margin: 0 0 24px !important;
}
.woocommerce-account .woocommerce-MyAccount-content table thead th {
  background: var(--sky) !important;
  font-family: Manrope, sans-serif !important;
  font-size: 14px !important; font-weight: 800 !important;
  text-transform: uppercase !important; letter-spacing: .1em !important;
  color: #5b6688 !important; padding: 12px 16px !important;
}
.woocommerce-account .woocommerce-MyAccount-content table td {
  padding: 14px 16px !important;
  border-top: 1px solid var(--line) !important;
  font-size: 14px !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-account .woocommerce-MyAccount-content a.button {
  display: inline-block !important;
  background: var(--blue) !important; color: #fff !important;
  border: 0 !important; border-radius: 10px !important;
  padding: 8px 16px !important;
  font-size: 14px !important; font-weight: 700 !important;
  transition: background .2s !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.button:hover {
  background: var(--blue-dark) !important;
}
/* Address boxes */
.woocommerce-account address {
  background: var(--sky) !important;
  border-radius: 14px !important;
  padding: 20px !important;
  border: 1px solid var(--line) !important;
  font-size: 14px !important; line-height: 1.7 !important;
  font-style: normal !important;
}

/* ─── WC GLOBAL NOTICES ─────────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px !important;
  border: 0 !important;
  padding: 14px 20px !important;
  font-size: 14px !important;
  margin: 0 0 22px !important;
  list-style: none !important;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding-left: 50px !important; position: relative !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { left: 20px !important; }
/* Page titles (cart, checkout, account) */
body:not(.home) .hentry .entry-header,
body:not(.home) .type-page .entry-header {
  border: 0 !important; padding: 0 !important; margin: 0 0 28px !important; text-align: left !important;
}
body:not(.home) .hentry { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.woocommerce-message { background: #ecfbe6 !important; color: #0f7a2e !important; border-left: 4px solid var(--green) !important; }
.woocommerce-info { background: #e6f3ff !important; color: #154d8c !important; border-left: 4px solid var(--blue) !important; }
.woocommerce-error { background: #fde9ec !important; color: #7a1420 !important; border-left: 4px solid #e64b60 !important; }
.woocommerce-message a.button,
.woocommerce-info a.button {
  background: transparent !important; color: inherit !important;
  text-decoration: underline !important; padding: 0 !important;
  float: none !important; font-size: 14px !important;
}

/* ─── INNER HEADER — match homepage (Storefront form/input styles leak in) ─── */
.pmc-header form.pmc-search { margin: 0 !important; align-self: center !important; }
.pmc-header .pmc-search input[type="search"] {
  border: 0 !important; box-shadow: none !important; background: transparent !important;
  padding: 0 14px !important; margin: 0 !important; height: 100% !important; outline: 0 !important;
  -webkit-appearance: none !important; appearance: none !important; color: var(--ink) !important;
}
.pmc-header .pmc-search button { margin: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.pmc-nav-links a.is-active { color: #2bb022 !important; }

/* ─── INNER PAGE POLISH ─────────────────────────────────────── */
/* Breadcrumb: compact band aligned to shell */
.pmc-page-breadcrumb .storefront-breadcrumb { margin: 0 !important; padding: 0 !important; background: transparent !important; }
.pmc-page-breadcrumb .storefront-breadcrumb .col-full { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.pmc-page-breadcrumb .woocommerce-breadcrumb::before { display: none !important; }

/* Storefront clearfix pseudo-elements become grid items — remove them */
ul.products::before, ul.products::after,
.woocommerce div.product::before, .woocommerce div.product::after,
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none !important; content: none !important; }

/* Storefront fixed prev/next product thumbnails */
.storefront-product-pagination { display: none !important; }

/* Product archive / related cards — image already has its tinted bg */
.woocommerce ul.products li.product a img {
  padding: 0 !important; height: auto !important; aspect-ratio: 1 / 1 !important;
  object-fit: cover !important; border-radius: 14px !important; margin: 0 0 4px !important;
}
.woocommerce ul.products li.product { text-align: left !important; }
.woocommerce ul.products li.product .price { font-size: 17px !important; font-weight: 800 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; min-height: 2.6em; }

/* Gallery: single clean card */
.woocommerce div.product .woocommerce-product-gallery { padding: 0 !important; overflow: hidden !important; }
.woocommerce div.product .woocommerce-product-gallery img { border-radius: 0 !important; aspect-ratio: 1 / 1; object-fit: cover !important; }
.woocommerce div.product .woocommerce-product-gallery__trigger {
  z-index: 3 !important; /* WooCommerce sets 99, which pokes through the open mobile menu */
  top: 16px !important; right: 16px !important; width: 38px !important; height: 38px !important;
  border-radius: 50% !important; background: #fff !important; box-shadow: 0 6px 18px rgba(23,46,140,.15) !important;
}

/* Summary */
.woocommerce div.product .summary { padding-top: 8px !important; }
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary { margin-bottom: 56px !important; }
.woocommerce div.product .summary .stock {
  display: inline-flex !important; align-items: center; gap: 6px;
  padding: 6px 12px !important; border-radius: 999px !important;
  background: var(--mint) !important; color: var(--green-dark) !important;
  font-size: 14px !important; font-weight: 700 !important; margin: 0 0 22px !important;
}
.woocommerce div.product .summary .stock::before { margin: 0 !important; }
.woocommerce div.product form.cart {
  padding: 22px 0 !important; margin: 0 0 18px !important;
  border-top: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important;
}
.woocommerce div.product form.cart .quantity { margin: 0 !important; float: none !important; }
.woocommerce div.product form.cart .qty { height: 52px !important; }
.woocommerce div.product .single_add_to_cart_button { float: none !important; white-space: nowrap !important; }
.woocommerce div.product form.cart > div:not(.quantity) { flex-basis: 100% !important; margin-top: 6px !important; }
.woocommerce div.product .product_meta {
  font-size: 14px !important; color: var(--muted) !important; border: 0 !important; padding: 0 !important;
  display: grid !important; gap: 4px !important;
}
.woocommerce div.product .product_meta a { color: var(--blue) !important; font-weight: 600 !important; }
.woocommerce div.product .yith-add-to-wishlist-button-block { margin: 0 0 16px !important; }

/* Key features + service tiles */
.pmc-rx-only {
  margin: 18px 0; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--sky);
}
.pmc-rx-only p { margin: 0 0 12px; }
.pmc-features {
  margin: 22px 0 0; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(110deg, var(--sky), #f2fdef);
}
.pmc-features h3 {
  font-family: Manrope, sans-serif !important; font-size: 15px !important; font-weight: 800 !important;
  color: #0e1a5c !important; margin: 0 0 10px !important;
}
.pmc-features ul { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 8px; }
.pmc-features li {
  position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: var(--ink);
}
.pmc-features li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-size: 14px; font-weight: 800;
}
.pmc-service-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.pmc-service-tiles > div {
  display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.pmc-service-tiles svg {
  width: 34px; height: 34px; padding: 8px; margin-bottom: 8px; border-radius: 50%;
  background: var(--sky); color: var(--blue); stroke-width: 1.8 !important;
}
.pmc-service-tiles strong { font-size: 14px; font-weight: 800; color: #0e1a5c; }
.pmc-service-tiles span { font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 600px) { .pmc-service-tiles { grid-template-columns: 1fr; } }

/* Variation (pack size) selector */
.woocommerce div.product form.variations_form { display: block !important; border: 0 !important; padding: 0 !important; }
.woocommerce div.product table.variations { border: 0 !important; margin: 0 0 6px !important; width: 100% !important; }
.woocommerce div.product table.variations tr { display: grid; gap: 8px; }
.woocommerce div.product table.variations th,
.woocommerce div.product table.variations td { padding: 0 !important; background: transparent !important; border: 0 !important; text-align: left !important; }
.woocommerce div.product table.variations th label {
  font-size: 14px !important; font-weight: 800 !important; color: #0e1a5c !important; text-transform: uppercase; letter-spacing: .08em;
}
.woocommerce div.product table.variations select {
  width: 100% !important; height: 50px !important; padding: 0 14px !important;
  border: 1.5px solid var(--line) !important; border-radius: 12px !important;
  background-color: #fff !important; color: var(--ink) !important; font-size: 15px !important; font-weight: 600 !important;
}
.woocommerce div.product table.variations .reset_variations { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--muted) !important; }
.woocommerce div.product .single_variation_wrap .woocommerce-variation-price .price { font-size: 22px !important; margin: 10px 0 !important; }
.woocommerce div.product .woocommerce-variation-add-to-cart {
  display: flex !important; gap: 12px !important; align-items: center !important;
  padding: 18px 0 !important; margin-top: 10px !important;
  border-top: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important;
}
.woocommerce div.product .woocommerce-variation-add-to-cart .quantity { margin: 0 !important; float: none !important; }
.woocommerce div.product .woocommerce-variation-add-to-cart .single_add_to_cart_button { flex: 1 !important; }
.woocommerce div.product .woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button { opacity: .55 !important; }

/* Tabs: horizontal, full width, in a card */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 0 !important; padding: 8px 32px 30px !important;
  border: 1px solid var(--line) !important; border-radius: 20px !important; background: #fff !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs { width: 100% !important; float: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { display: block !important; border-bottom: 0 !important; }
.woocommerce div.product .woocommerce-tabs .panel {
  width: 100% !important; float: none !important; margin: 0 !important;
  font-size: 15px !important; line-height: 1.75 !important; color: var(--muted) !important;
}

/* Related / upsells */
.woocommerce div.product section.related,
.woocommerce div.product section.up-sells { margin-top: 64px !important; }
.woocommerce section.related > h2,
.woocommerce section.up-sells > h2,
.cart-collaterals .cross-sells > h2 {
  font-family: Manrope, sans-serif !important; font-size: 26px !important; font-weight: 800 !important;
  color: #0e1a5c !important; letter-spacing: -.03em !important; text-align: left !important; margin: 0 0 22px !important;
}

/* ─── CONTACT PAGE ──────────────────────────────────────────── */
.pmc-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.pmc-contact { padding: 40px 0 80px; }
.pmc-contact-hero {
  padding: 46px 48px; margin: 0 0 34px; border-radius: 24px; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 10%, rgba(60,204,49,.22), transparent 30%),
    linear-gradient(110deg, var(--sky), #f2fdef);
}
.pmc-contact-hero h1 {
  font-family: Manrope, sans-serif !important; font-size: clamp(30px, 4vw, 46px) !important; font-weight: 800 !important;
  color: #2a3a78 !important; letter-spacing: -.04em !important; line-height: 1.1 !important; margin: 8px 0 12px !important;
}
.pmc-contact-hero p { max-width: 560px; font-size: 16px !important; color: var(--muted) !important; line-height: 1.7 !important; margin: 0 !important; }
.pmc-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.pmc-contact-info { display: grid; gap: 12px; }
.pmc-contact-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .2s, box-shadow .2s;
}
a.pmc-contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pmc-contact-card svg { width: 44px; height: 44px; flex: none; padding: 11px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.pmc-contact-card div { display: grid; gap: 2px; }
.pmc-contact-card span { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--green-dark); }
.pmc-contact-card strong { font-size: 15px; font-weight: 700; color: #0e1a5c; line-height: 1.45; }
.pmc-contact-rx {
  margin-top: 6px; padding: 22px; border-radius: 16px; color: #2f3c72;
  background: linear-gradient(100deg, #ebefff, #effbed); border: 1px solid #dfe4f5;
}
.pmc-contact-rx strong { font-family: Manrope, sans-serif; font-size: 17px; font-weight: 800; color: #2e6887; }
.pmc-contact-rx p { font-size: 14px !important; color: var(--muted) !important; margin: 6px 0 14px !important; }
.pmc-contact-form h2 {
  font-family: Manrope, sans-serif !important; font-size: 24px !important; font-weight: 800 !important;
  color: #0e1a5c !important; margin: 0 !important; letter-spacing: -.02em !important;
}
.pmc-contact-form-intro { font-size: 14px !important; color: var(--muted) !important; margin: -8px 0 4px !important; }
.pmc-contact-form .pmc-consent input { width: auto !important; }
.pmc-form-notice { padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.pmc-form-notice.is-success { background: #ecfbe6; color: #0f7a2e; border-left: 4px solid var(--green); }
.pmc-form-notice.is-error { background: #fde9ec; color: #7a1420; border-left: 4px solid #e64b60; }

/* ─── ABOUT PAGE ────────────────────────────────────────────── */
.pmc-about { padding: 40px 0 90px; display: grid; gap: 76px; }
.pmc-about h2 {
  font-family: Manrope, sans-serif !important; font-size: clamp(26px, 3.2vw, 38px) !important; font-weight: 800 !important;
  color: #2a3a78 !important; letter-spacing: -.04em !important; line-height: 1.12 !important; margin: 8px 0 0 !important;
}
.pmc-about-head { margin-bottom: 26px; }
.pmc-about-actions { display: flex; flex-wrap: wrap; gap: 12px; }
body:not(.home) .pmc-btn-outline {
  background: #fff !important; color: var(--blue) !important; border: 1.5px solid #d3daf0 !important; box-shadow: none !important;
}
body:not(.home) .pmc-btn-outline:hover { border-color: var(--blue) !important; }

.pmc-about-hero {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center;
  min-height: 440px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(110deg, #f4f6ff 0%, #eaf6fd 55%, #eef9ea 100%);
}
.pmc-about-hero-copy { position: relative; z-index: 1; padding: 54px 0 54px 56px; }
.pmc-about-hero h1 {
  font-family: Manrope, sans-serif !important; font-size: clamp(36px, 4.6vw, 58px) !important; font-weight: 800 !important;
  letter-spacing: -.05em !important; line-height: 1.04 !important; color: #2a3a78 !important; margin: 12px 0 18px !important;
}
.pmc-about-hero h1 em { font-style: normal; color: #3ccc31; }
.pmc-about-hero-copy p { font-size: 16px !important; line-height: 1.75 !important; color: var(--muted) !important; max-width: 470px; margin: 0 0 26px !important; }
.pmc-about-hero-media { align-self: stretch; position: relative; }
.pmc-about-hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 78% 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

.pmc-about-mission {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: end;
  padding-bottom: 8px;
}
.pmc-about-mission p { font-size: 17px !important; line-height: 1.8 !important; color: #4c5878 !important; margin: 0 !important; }

.pmc-about-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pmc-about-grid > .pmc-about-card { grid-column: span 2; }
.pmc-about-grid > .pmc-about-card:nth-child(n+4) { grid-column: span 3; }
.pmc-about-card {
  padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.pmc-about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pmc-about-card svg {
  width: 50px; height: 50px; padding: 13px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--sky), #eef9ea); color: var(--blue);
}
.pmc-about-card h3 { font-family: Manrope, sans-serif !important; font-size: 17px !important; font-weight: 800 !important; color: #0e1a5c !important; margin: 0 0 8px !important; }
.pmc-about-card p { font-size: 14px !important; line-height: 1.7 !important; color: var(--muted) !important; margin: 0 !important; }

.pmc-about-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pmc-about-cats a {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 16px;
  border: 1px solid var(--line); background: linear-gradient(135deg, #fff, #f6fbfe);
  transition: border-color .2s, transform .2s;
}
.pmc-about-cats a:hover { border-color: var(--blue); transform: translateY(-2px); }
.pmc-about-cats strong { font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; color: #0e1a5c; }
.pmc-about-cats span { font-size: 14px; font-weight: 700; color: var(--green-dark); }

.pmc-about-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 44px 48px; border-radius: 26px; border: 1px solid #dfe4f5;
  background:
    radial-gradient(circle at 90% 0%, rgba(60,204,49,.22), transparent 30%),
    linear-gradient(100deg, #ebefff, #effbed);
}
.pmc-about-cta p { font-size: 15px !important; color: var(--muted) !important; margin: 10px 0 0 !important; }

@media (max-width: 960px) {
  .pmc-about { gap: 56px; }
  .pmc-about-hero { grid-template-columns: 1fr; }
  .pmc-about-hero-copy { padding: 40px 30px 0; }
  .pmc-about-hero-media { min-height: 260px; }
  .pmc-about-hero-media img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%); mask-image: linear-gradient(180deg, transparent 0%, #000 25%); }
  .pmc-about-mission { grid-template-columns: 1fr; gap: 16px; }
  .pmc-about-grid { grid-template-columns: 1fr 1fr; }
  .pmc-about-grid > .pmc-about-card, .pmc-about-grid > .pmc-about-card:nth-child(n+4) { grid-column: auto; }
  .pmc-about-grid > .pmc-about-card:last-child { grid-column: 1 / -1; }
  .pmc-about-cats { grid-template-columns: 1fr 1fr; }
  .pmc-about-cta { padding: 34px 28px; }
}
@media (max-width: 600px) {
  .pmc-about-grid, .pmc-about-cats { grid-template-columns: 1fr; }
}

/* ─── 404 PAGE ──────────────────────────────────────────────── */
.pmc-404 {
  margin: 40px 0 90px; padding: 64px 40px; text-align: center; border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 12%, rgba(60,204,49,.2), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(0,146,255,.16), transparent 32%),
    linear-gradient(110deg, #f4f6ff, #f1f9ee);
}
.pmc-404-code {
  display: block; font-family: Manrope, sans-serif; font-size: clamp(80px, 12vw, 140px); font-weight: 800; line-height: 1;
  letter-spacing: -.06em; color: transparent; background: linear-gradient(135deg, #1f3cc7, #3ccc31); -webkit-background-clip: text; background-clip: text;
  margin-bottom: 14px;
}
.pmc-404 h1 {
  font-family: Manrope, sans-serif !important; font-size: clamp(26px, 3.4vw, 40px) !important; font-weight: 800 !important;
  color: #2a3a78 !important; letter-spacing: -.04em !important; margin: 10px 0 12px !important;
}
.pmc-404 > p { max-width: 520px; margin: 0 auto 28px !important; font-size: 16px !important; color: var(--muted) !important; line-height: 1.7 !important; }
.pmc-404-search {
  display: flex; max-width: 560px; height: 54px; margin: 0 auto 22px; padding: 5px;
  border: 1px solid #d3daf0; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(23,46,140,.08);
}
.pmc-404-search input[type="search"] {
  flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent !important;
  padding: 0 16px !important; font-size: 15px !important; outline: 0 !important;
}
.pmc-404-search button {
  border: 0 !important; border-radius: 10px !important; padding: 0 22px !important; margin: 0 !important;
  background: #35bf2b !important; color: #fff !important; font-weight: 700 !important; cursor: pointer;
}
.pmc-404-actions { justify-content: center; }
.pmc-404-cats { margin-top: 36px; }
.pmc-404-cats strong { display: block; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #0e1a5c; margin-bottom: 14px; }
.pmc-404-cats div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pmc-404-cats a {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink) !important; transition: border-color .2s, color .2s;
}
.pmc-404-cats a:hover { border-color: var(--blue); color: var(--blue) !important; }

/* ─── GENERIC CONTENT PAGES (privacy policy etc.) ───────────── */
body.page:not(.woocommerce-page) .type-page .entry-content {
  max-width: 820px; font-size: 16px; line-height: 1.8; color: #4c5878; padding-bottom: 60px;
}
body.page:not(.woocommerce-page) .type-page .entry-content h2 {
  font-family: Manrope, sans-serif !important; font-size: 22px !important; font-weight: 800 !important;
  color: #0e1a5c !important; margin: 36px 0 10px !important; letter-spacing: -.02em !important;
}
body.page:not(.woocommerce-page) .type-page .entry-content p { margin: 0 0 14px !important; }
body.page:not(.woocommerce-page) .type-page .entry-content ul { margin: 0 0 16px 20px !important; }
body.page:not(.woocommerce-page) .type-page .entry-content li { margin: 0 0 6px !important; }
body.page:not(.woocommerce-page) .type-page .entry-content a { color: var(--blue) !important; font-weight: 600; }
body.page:not(.woocommerce-page) .type-page .entry-header {
  padding: 40px 0 0 !important; margin: 0 0 24px !important;
}
body.page:not(.woocommerce-page) .type-page .entry-content .pmc-updated { font-size: 14px; color: var(--muted); }

/* My account (logged in): Storefront's % widths/floats break inside the grid */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { border: 0 !important; padding: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before { margin-right: 10px !important; opacity: .7; }
.woocommerce-account .woocommerce-MyAccount-content > p { font-size: 15px !important; line-height: 1.7 !important; color: #4c5878 !important; }
.woocommerce-account .woocommerce-MyAccount-content > p a { color: var(--blue) !important; font-weight: 700 !important; }
.woocommerce-account .woocommerce-Addresses { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; }
.woocommerce-account .woocommerce-Addresses::before, .woocommerce-account .woocommerce-Addresses::after { display: none !important; }
.woocommerce-account .woocommerce-Addresses .woocommerce-Address { width: auto !important; float: none !important; }
.woocommerce-account .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; }
.woocommerce-account .woocommerce-Address-title h2 { margin: 0 0 12px !important; font-size: 18px !important; }
.woocommerce-account .woocommerce-Address-title a { font-size: 14px; font-weight: 700; color: var(--blue) !important; }
.woocommerce-account fieldset {
  border: 1px solid var(--line) !important; border-radius: 16px !important; padding: 20px !important; margin: 20px 0 !important; background: var(--off) !important;
}
.woocommerce-account fieldset legend { font-family: Manrope, sans-serif; font-weight: 800; color: #0e1a5c; padding: 0 8px; }

/* Order received / view order */
.woocommerce-order .woocommerce-thankyou-order-received,
.woocommerce-order .woocommerce-notice--success {
  padding: 18px 22px 18px 52px !important; border-radius: 14px; background: #ecfbe6; color: #0f7a2e;
  border-left: 4px solid var(--green); font-size: 16px; font-weight: 700; position: relative; margin: 0 0 24px !important;
}
.woocommerce-order .woocommerce-thankyou-order-received::before { content: "✓"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 14px; }
ul.woocommerce-order-overview {
  display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 12px;
  list-style: none !important; margin: 0 0 30px !important; padding: 0 !important; background: none !important; border: 0 !important;
}
ul.woocommerce-order-overview::before, ul.woocommerce-order-overview::after { display: none !important; }
ul.woocommerce-order-overview li {
  float: none !important; margin: 0 !important; padding: 16px 18px !important; border: 1px solid var(--line) !important; border-radius: 14px;
  background: #fff; font-size: 14px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted) !important;
}
ul.woocommerce-order-overview li strong {
  display: block; margin-top: 6px; font-size: 15px; font-weight: 800; text-transform: none; letter-spacing: 0; color: #0e1a5c;
}
.woocommerce-order > p { font-size: 15px !important; color: #4c5878 !important; }
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-customer-details h2 {
  font-family: Manrope, sans-serif !important; font-size: 20px !important; font-weight: 800 !important; color: #0e1a5c !important; margin: 30px 0 14px !important;
}
.woocommerce table.shop_table.order_details,
.woocommerce table.shop_table.woocommerce-table--order-details {
  border: 1px solid var(--line) !important; border-radius: 16px !important; border-collapse: separate !important; border-spacing: 0 !important; overflow: hidden !important;
}
.woocommerce table.order_details th, .woocommerce table.order_details td { padding: 14px 18px !important; background: transparent !important; border-top: 1px solid var(--line) !important; font-size: 14px !important; }
.woocommerce table.order_details thead th { background: var(--sky) !important; border-top: 0 !important; font-size: 14px !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .1em; color: #5b6688 !important; }
.woocommerce table.order_details tfoot tr:last-child th, .woocommerce table.order_details tfoot tr:last-child td { font-family: Manrope, sans-serif; font-size: 16px !important; font-weight: 800 !important; color: #0e1a5c !important; }
.woocommerce-customer-details address {
  padding: 20px !important; border: 1px solid var(--line) !important; border-radius: 14px !important; background: var(--sky) !important;
  font-style: normal !important; font-size: 14px !important; line-height: 1.7 !important;
}
@media (max-width: 960px) {
  ul.woocommerce-order-overview { grid-template-columns: 1fr 1fr; }
  .woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; }
}

/* Lost / reset password form: full-width field */
.woocommerce form.lost_reset_password { max-width: 480px; }
.woocommerce form.lost_reset_password .form-row-first,
.woocommerce form.lost_reset_password .form-row-last { width: 100% !important; float: none !important; }

/* Buttons used on inner pages (Storefront button styles leak in) */
body:not(.home) .pmc-btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px;
  min-height: 48px !important; padding: 0 24px !important; border-radius: 12px !important; border: 0 !important;
  font-weight: 700 !important; font-size: 15px !important; cursor: pointer; text-decoration: none !important;
}
body:not(.home) .pmc-btn-primary {
  background: linear-gradient(135deg, #1f3cc7, #0092ff) !important; color: #fff !important;
  box-shadow: 0 10px 26px rgba(31,60,199,.22) !important;
}
body:not(.home) .pmc-btn-primary:hover { transform: translateY(-2px); }
@media (max-width: 960px) {
  .pmc-contact-grid { grid-template-columns: 1fr; }
  .pmc-contact-hero { padding: 34px 26px; }
}

/* ─── INNER PAGE RESPONSIVE ─────────────────────────────────── */
@media (max-width: 960px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .woocommerce div.product { grid-template-columns: 1fr !important; gap: 28px !important; }
  .woocommerce div.product .woocommerce-product-gallery { position: static !important; grid-row: auto !important; }
  .woocommerce div.product .summary { grid-column: 1 !important; grid-row: auto !important; padding-top: 28px !important; }
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr !important; }
  .woocommerce-checkout form.checkout > #customer_details,
  .woocommerce-checkout form.checkout > #order_review_heading,
  .woocommerce-checkout form.checkout > #order_review { grid-column: 1 !important; grid-row: auto !important; position: static !important; }
  .woocommerce-checkout form.checkout > #order_review_heading { margin-top: 32px !important; }
  .woocommerce-account.logged-in .woocommerce { grid-template-columns: 1fr !important; gap: 24px !important; }
  .woocommerce-account .woocommerce-MyAccount-navigation { position: static !important; }
}
@media (max-width: 600px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .woocommerce-cart table.cart { border-radius: 0 !important; }
  .woocommerce-cart .cart_totals { padding: 20px !important; }
  .woocommerce div.product form.cart { flex-direction: column !important; }
  .woocommerce div.product .single_add_to_cart_button { min-height: 48px !important; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .pmc-header-main { grid-template-columns: 200px 1fr auto; gap: 16px; }
  .pmc-brand img { width: 185px; }
  .pmc-icon-action > span:not(.pmc-cart-icon) { display: none; }
  .pmc-nav-links { gap: 16px; }
  .pmc-help-link { display: none; }
  .pmc-mega-groups { width: 220px; }
  .pmc-mega-pane { left: 220px; }
  .pmc-hero { min-height: 600px; }
  .pmc-hero-copy { box-sizing: border-box !important; width: 58%; padding-left: 36px; }
  .pmc-hero-copy h1 { font-size: 52px !important; }
  .pmc-category-grid { grid-template-columns: repeat(3,1fr); }
  /* hot grid: 2-col stacked on tablet */
  .pmc-hot-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .pmc-hot-grid .pmc-product-card:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .pmc-hot-grid .pmc-product-card:nth-child(1) .pmc-product-media { height: 285px !important; }
  .pmc-hot-grid .pmc-product-card:nth-child(4) { grid-column: auto; }
  /* products: single col horizontal list on tablet */
  .pmc-product-grid { gap: 0 28px; }
  .pmc-products-section .pmc-product-card { grid-template-columns: 125px 1fr; }
  .pmc-products-section .pmc-product-card .pmc-product-media { width: 125px !important; height: 145px !important; }
  .pmc-prescription { grid-template-columns: 200px 1fr; }
  .pmc-steps { grid-column: 1/-1; border-left: 0; border-top: 1px solid #d1d8ee; padding: 25px 0 0; flex-direction: row; justify-content: space-between; }
  .pmc-wellness { grid-template-columns: 1fr 1fr; }
  .pmc-footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 35px; }
  .pmc-footer-main > div:last-child { grid-column: 1/-1; max-width: 480px; }
  .pmc-footer-trust { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .pmc-footer-trust > div:nth-child(2) { border-right: 0; }
  .pmc-footer-trust > div:nth-child(3) { padding-left: 0; }
  .pmc-brand-row { grid-template-columns: repeat(3,1fr); }
  .pmc-brand-mark:nth-child(3) { border-right: 0; }
  .pmc-brand-mark:nth-child(-n+3) { border-bottom: 1px solid #dcebd8; }
  .pmc-ribbon { grid-template-columns: repeat(2,1fr); }
  .pmc-ribbon > div:nth-child(2) { border-right: 0; }
  .pmc-ribbon > div:nth-child(-n+2) { border-bottom: 1px solid #e7eaf5; }
  .pmc-order-help-inner { gap: 45px; }
  .pmc-testimonial-intro h2 { font-size: 34px !important; }
}
@media (max-width: 760px) {
  .pmc-shell { width: min(100% - 30px, 1180px); }
  .pmc-announcement { font-size: 14px; gap: 10px; }
  .pmc-header-main { height: auto; padding-block: 14px; grid-template-columns: 1fr auto; }
  .pmc-brand img { width: 170px; }
  .pmc-header-actions { gap: 13px; }
  .pmc-search { grid-column: 1/-1; grid-row: 2; margin-top: 4px; }
  /* compact sticky header once scrolled (assets/site.js) */
  .pmc-header.is-compact .pmc-search { display: none; }
  .pmc-header.is-compact .pmc-header-main { padding-block: 8px; }
  .pmc-header.is-compact .pmc-brand img { width: 130px; }
  .pmc-nav { height: 44px; padding-inline: 15px; }
  .pmc-menu-btn { display: flex; align-items: center; gap: 7px; }
  .pmc-nav-links { display: none; position: absolute; left: 15px; right: 15px; top: 100%; background: #fff; padding: 14px; border-radius: 0 0 14px 14px; box-shadow: 0 18px 30px rgba(14,26,92,.13); flex-direction: column; align-items: flex-start; z-index: 30; }
  .pmc-nav-links.open { display: flex; }
  .pmc-nav-links { gap: 2px; max-height: calc(100vh - 170px); overflow-y: auto; }
  .pmc-nav-links > a, .pmc-mega { width: 100%; }
  .pmc-nav-links > a { padding: 9px 0; }
  .pmc-help-link { display: none; }
  .pmc-mega-toggle { width: 100%; height: 42px; }
  .pmc-mega-toggle .pmc-chev { margin-left: auto; }
  .pmc-mega-panel { position: static; border: 0; border-radius: 10px; box-shadow: none; background: var(--off); }
  .pmc-mega-brands .pmc-mega-panel { padding: 14px; }
  .pmc-mega-groups { width: 100%; min-height: 0; border-right: 0; padding: 4px 0 !important; }
  .pmc-mega-groups > li.is-active > .pmc-mega-group { background: transparent; border-left-color: transparent; color: var(--ink) !important; }
  .pmc-mega-groups > li.is-open > .pmc-mega-group { color: var(--blue) !important; }
  .pmc-mega-group svg { transition: transform .2s; }
  .pmc-mega-groups > li.is-open > .pmc-mega-group svg { transform: rotate(90deg); }
  .pmc-mega-pane, .pmc-mega-groups > li.is-active > .pmc-mega-pane { display: none; position: static; padding: 4px 18px 14px 23px; }
  .pmc-mega-groups > li.is-open > .pmc-mega-pane { display: block; }
  .pmc-mega-pane-head { margin-bottom: 10px; }
  .pmc-mega-pane-head strong { display: none; }
  .pmc-mega-cols { columns: 1; }
  .pmc-brand-menu { grid-template-columns: 1fr 1fr; }
  /* Hero stacks: copy first, then the photo cropped to the product group (the photo's left half is empty backdrop) */
  .pmc-hero { min-height: 0; display: flex; flex-direction: column; }
  .pmc-hero-img { position: relative; inset: auto; order: 2; height: auto; aspect-ratio: 5 / 4; object-position: 100% 60%; z-index: 0; animation: none; }
  .pmc-hero-wash { display: none; }
  .pmc-hero-copy { box-sizing: border-box !important; width: 100%; padding: 40px 24px 28px; }
  .pmc-hero-actions { flex-wrap: wrap; }
  .pmc-hero-copy h1 { font-size: clamp(31px, 10vw, 44px) !important; }
  .pmc-hero-trust { display: none; }
  .pmc-hero-mini-card { position: relative; order: 3; left: auto; right: auto; bottom: auto; margin: -34px 18px 18px; min-width: 0; }
  .pmc-category-section { padding-block: 58px; }
  .pmc-hot-section { padding: 60px 15px !important; }
  .pmc-hot-grid { grid-template-columns: 1fr; }
  .pmc-hot-grid .pmc-product-card,
  .pmc-hot-grid .pmc-product-card:nth-child(1),
  .pmc-hot-grid .pmc-product-card:nth-child(4) { grid-column: auto; grid-row: auto; }
  .pmc-hot-grid .pmc-product-card:nth-child(1) .pmc-product-media { height: 245px !important; }
  .pmc-section-head { align-items: flex-start; flex-direction: column; }
  .pmc-section-head h2 { font-size: 29px !important; }
  .pmc-category-grid { grid-template-columns: 1fr 1fr; }
  /* products: single col on mobile */
  .pmc-product-grid { grid-template-columns: 1fr; }
  .pmc-products-section { padding: 62px 15px !important; }
  .pmc-product-controls { justify-content: flex-start; }
  .pmc-prescription { grid-template-columns: 1fr; padding: 42px 25px !important; }
  .pmc-rx-illustration { display: none; }
  .pmc-steps { flex-direction: column; align-items: flex-start; }
  .pmc-wellness { grid-template-columns: 1fr; padding: 50px 25px !important; gap: 20px; }
  .pmc-footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
  .pmc-footer-brand { grid-column: 1/-1; }
  .pmc-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .pmc-footer-trust { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .pmc-footer-trust > div { padding: 0; border-right: 0; }
  .pmc-promo { height: 530px; }
  .pmc-promo-copy { top: 38px; left: 25px; right: auto; width: auto; transform: none; }
  .pmc-promo-copy h2 { font-size: 37px !important; }
  .pmc-brand-section { padding: 60px 15px !important; }
  .pmc-brand-row { grid-template-columns: repeat(2,1fr); }
  .pmc-testimonial-section { padding: 65px 20px 72px !important; }
  .pmc-review-card.active { min-height: 330px; padding: 42px 28px !important; }
  .pmc-review-card > p { font-size: 17px !important; }
  .pmc-order-help-inner { grid-template-columns: 1fr; gap: 34px; }
  .pmc-assistance-form { padding: 26px; }
  .pmc-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  /* one line on phones: keep only the free-delivery message */
  .pmc-announcement > span:not(:last-child) { display: none; }
  .pmc-hero-copy { padding: 32px 20px 24px; }
  .pmc-hero-copy h1 { font-size: 35px !important; }
  .pmc-hero-actions { grid-template-columns: 1fr; width: 100%; }
  .pmc-hero-actions .pmc-btn { width: 100%; }
  .pmc-hero-mini-card { margin: -30px 12px 12px; }
  .pmc-category-grid { grid-template-columns: 1fr; }
  .pmc-ribbon { grid-template-columns: 1fr; }
  .pmc-ribbon > div { border-right: 0; border-bottom: 1px solid #e7eaf5; }
  .pmc-ribbon > div:last-child { border-bottom: 0; }
  .pmc-products-section .pmc-product-card { grid-template-columns: 108px 1fr; column-gap: 17px; }
  .pmc-products-section .pmc-product-card .pmc-product-media { width: 108px !important; height: 130px !important; }
  .pmc-products-section .pmc-product-card h3 { font-size: 15px !important; }
  .pmc-review-card.active { min-height: 350px; }
  .pmc-footer-main { grid-template-columns: 1fr; }
  .pmc-footer-trust { grid-template-columns: 1fr; }
  .pmc-brand-row { grid-template-columns: 1fr 1fr; }
  .pmc-brand-mark { border-bottom: 1px solid #dcebd8; }
  .pmc-brand-mark:nth-child(odd) { border-right: 1px solid #dcebd8; }
  .pmc-brand-mark:nth-child(even) { border-right: 0; }
  .pmc-assistance-form { padding: 20px; }
  .pmc-assistance-form .pmc-field-row { grid-template-columns: 1fr; }
}
