@font-face {
  font-family: Muli;
  src: url("mulish.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 14px; }
body.elementor-kit-5 {
  margin: 0;
  background: #fff;
  color: var(--e-global-color-text, #171616);
  font: 16px/1.5 Muli, Arial, sans-serif;
}
:root { --line: #dce3e7; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
body.elementor-kit-5 a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #1148ad; outline-offset: 4px; }
.skip { position: absolute; top: -100px; left: 24px; z-index: 2; background: white; padding: 8px; }
.skip:focus { top: 8px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { padding-block: 14px; min-height: 80px; }
.brand { display: block; width: min(290px, 100%); }
.brand img { display: block; width: 100%; height: auto; object-fit: contain; }
nav { display: flex; gap: clamp(12px, 2vw, 35px); align-items: center; margin-left: auto; }
nav a, .product a { text-decoration: none; }
nav a:hover, .product a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.cart-trigger { white-space: nowrap; }
#cart-count { display: inline-block; font-weight: 800; min-width: 1.4em; }

.hero { background: var(--e-global-color-4f5b425b, #eff3f3); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(22px, 5vw, 75px);
  padding-block: clamp(28px, 4vw, 58px);
}
.hero h1 {
  color: var(--e-global-color-primary, #000);
  font-size: clamp(38px, 5.1vw, 70px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 0 0 32px;
}
.hero h1 span { background: linear-gradient(transparent 72%, var(--e-global-color-4cad0105, #12edd6) 72%, var(--e-global-color-4cad0105, #12edd6) 93%, transparent 93%); }
.hero-photo {
  width: min(100%, 515px);
  aspect-ratio: 1.16;
  justify-self: end;
  background: #dce6e8 url("hero-pharmacy.jpg") center 45% / cover no-repeat;
}

.button, button.outline, .line-controls button {
  cursor: pointer;
  font-family: Muli, Arial, sans-serif;
}
body.elementor-kit-5 .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: var(--e-global-color-secondary, #1148ad);
  border: 1px solid transparent;
  border-radius: 0;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
body.elementor-kit-5 .button:hover { background: #0c357f; color: #fff; }
body.elementor-kit-5 .outline {
  background: #fff;
  color: #171616;
  border: 1px solid #171616;
  padding: 9px 14px;
}
body.elementor-kit-5 .button.outline { padding: 11px 15px; }
body.elementor-kit-5 .outline:hover { background: #171616; color: #fff; }
button:disabled { opacity: .5; cursor: default !important; }

.favorites, .view { padding-block: clamp(34px, 6vw, 80px); }
.favorites h2, .view h1, .drawer h2 { font-size: clamp(29px, 4vw, 40px); font-weight: 800; line-height: 1.12; margin: 0 0 25px; }
.favorites h2 { text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.product > a { display: flex; flex: 1; flex-direction: column; width: 100%; }
.product h3 { font-size: 18px; line-height: 1.3; margin: 14px 0 4px; }
.product p { margin: 0 0 4px; }
.product-visual {
  aspect-ratio: 1;
  background-color: #eff3f3;
  display: grid;
  align-content: center;
  gap: 3px;
  justify-items: center;
  color: #4e6471;
  text-align: center;
}
.product-visual span { font-size: clamp(23px, 3vw, 40px); font-weight: 800; }
.product-visual small { font-size: 12px; }
.price strong { color: var(--e-global-color-secondary, #1148ad); }
del { color: #575c61; margin-right: 5px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 68px); align-items: center; margin-top: 25px; }
.detail-grid .product-visual { max-width: 440px; }
.product-region, .muted, .back { color: #49565f; }
.detail .muted { font-size: 14px; margin-top: 15px; }
.checkout h1 { margin-top: 20px; }
.checkout { min-height: 54vh; max-width: 800px; }
.notice { padding: 14px; background: #e1f8f4; }

.site-footer { border-top: 1px solid var(--line); background: #f5f7f7; }
.footer-inner { flex-wrap: wrap; padding-block: 30px; }
.footer-inner h2 { font-size: 20px; margin: 0; }
.footer-inner p { margin: 4px 0 0; }
dialog {
  padding: 0;
  border: 0;
  width: min(440px, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0 0 0 auto;
  color: inherit;
}
dialog::backdrop { background: #14223285; }
.drawer { padding: 24px; }
.drawer-header { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.drawer-header h2 { font-size: 28px; }
.close { font-size: 23px; line-height: 1; }
.line { padding-block: 14px; border-top: 1px solid var(--line); }
.line-formula { margin: 2px 0 8px; font-size: 14px; }
.line-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.line-controls button { border: 1px solid var(--line); background: white; color: #171616; padding: 4px 9px; min-width: 28px; }
.line-controls .remove { margin-left: auto; }
.line-quantity { min-width: 1.4em; text-align: center; }
.total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 850px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { flex-wrap: wrap; }
  .header-inner nav { order: 1; width: 100%; margin: 0; }
  .header-inner .brand { width: min(58%, 290px); }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 32px); }
  .hero-inner, .detail-grid, .product-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { grid-row: 1; justify-self: center; }
  .product-visual { width: 100%; }
}

.order-form, .shipping-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-block: 20px;
}
.order-form .full { grid-column: 1 / -1; }
.order-form label, .shipping-form label, .admin-login label { display: grid; gap: 5px; }
input, select { font: inherit; border: 1px solid #788994; background: white; padding: 8px; min-width: 0; }
.admin-layout { padding-block: 36px; }
.admin-layout h1 { margin-top: 10px; }
.admin-login { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.admin-login label { flex: 0 1 420px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.admin-card { border: 1px solid var(--line); padding: 16px; margin-block: 12px; overflow-wrap: anywhere; }
.admin-card h3, .admin-card p { margin-block: 0 8px; }
.admin-card pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-card details { margin-top: 12px; }
.admin-layout .muted { margin-bottom: 16px; }
@media (max-width: 580px) {
  .order-form, .shipping-form { grid-template-columns: minmax(0, 1fr); }
}

.packshot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2%;
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
}
.bottle {
  position: relative;
  height: 92%;
  width: 35%;
  background: #fff url("bottle.jpg") center center / auto 100% no-repeat;
  container-type: size;
}
.bottle-label {
  position: absolute;
  top: 62.2%;
  left: 50%;
  width: min(66%, 23cqh);
  height: 12.5%;
  transform: translateX(-50%);
  display: grid;
  place-content: center;
  gap: 0;
  text-align: center;
  color: #151515;
  font-family: Arial, sans-serif;
  font-size: min(5.4cqw, 1.75cqh);
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
}
.bottle-label strong { font-size: min(6.8cqw, 2.15cqh); }
.detail-grid .packshot { max-width: 470px; }
.order-form .check { display: flex; flex-direction: row; align-items: center; }
.order-form .check input { flex: none; }
.print-label {
  margin-block: 12px;
  width: 49mm;
  min-height: 24mm;
  padding: 4mm;
  border: 1px solid #aaa;
  display: grid;
  align-content: center;
  text-align: center;
  color: #000;
  background: #fff;
  font: 8pt/1.3 Arial, sans-serif;
}
.print-label strong { font-size: 9pt; }
@media print {
  .print-intro { display: none; }
  .print-label { break-inside: avoid; }
  body:has(.print-label:target) .print-label:not(:target) { display: none; }
}


.prescription-note {
  border-left: 3px solid var(--e-global-color-secondary, #1148ad);
  padding-left: 12px;
}
.product-information {
  max-width: 760px;
  margin-block: 36px 0;
}
.product-information details {
  border-top: 1px solid var(--line);
  padding-block: 13px;
}
.product-information details:last-child { border-bottom: 1px solid var(--line); }
.product-information summary {
  font-weight: 800;
  cursor: pointer;
}
.product-information p { margin: 12px 0 0; }

.customer-order { max-width: 760px; }
.customer-order h2 { font-size: 23px; margin-block: 24px 10px; }
.customer-order #order-lines { padding-left: 22px; }
.customer-order #order-lines li { padding-block: 4px; }

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.order-header p { margin: 0; }
.order-action {
  padding: 18px 20px;
  margin-block: 14px 24px;
  background: #eef4fa;
  border-radius: 6px;
}
.customer-order .order-action h2 { margin-top: 0; }
.order-action p:last-child { margin-bottom: 0; }
.order-steps { padding: 0; list-style: none; }
.order-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}
.order-steps li[data-state="current"] { background: #eef4fa; }
.order-steps li p { margin: 3px 0; }
.order-steps li small { color: #4e5d70; }
.step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf0f2;
  font-weight: 800;
}
.order-steps li[data-state="current"] .step-number,
.order-steps li[data-state="done"] .step-number { background: #1148ad; color: white; }

.admin-search {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.admin-search label { display: grid; gap: 5px; }
.admin-search label:first-child { flex: 1 1 280px; }
#order-inspector {
  scroll-margin-top: 20px;
  margin-block: 16px;
  border-left: 4px solid #1148ad;
}
#order-inspector h4 { margin-bottom: 8px; }
#order-inspector summary { cursor: pointer; font-weight: 700; }
