/* Demonstração Farol Distribuidora (empresa fictícia). Gerado por pharma/kit.py. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}

:root {
  --brand-ink: #fff;
  --bg: #fff;
  --ink: #1f2233;
  --muted: #5a5e75;
  --line: #e2e4ef;
  --line-strong: #c9ccdf;
  --sale: #c8102e;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --icon-radius: 14px;
  --shadow: 0 28px 56px -30px rgba(15, 30, 45, 0.5);
  --shadow-soft: 0 20px 40px -32px rgba(15, 30, 45, 0.5);
  --head-weight: 600;
  --head-tracking: -0.02em;
  --brand-weight: 700;
  --brand-tracking: -0.01em;
  --brand: #262b6e;
  --brand-deep: #191d4f;
  --accent: #3fd0a8;
  --accent-ink: #06291f;
  --accent-hover: #5fdcb9;
  --accent-on-dark: #3fd0a8;
  --soft: #f1f2f9;
  --soft-2: #e5e7f4;
  --heading: #151843;
  --ring: rgba(38, 43, 110, 0.18);
  --btn-radius: 10px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --topbar-bg: #12153d;
  --topbar-icon: #3fd0a8;
  --footer-bg: #12153d;
  --cta-bg: #262b6e;
  --link: #262b6e;
  --focus: #262b6e;
  --font-brand: "Poppins", system-ui, sans-serif;
}

/* ============================================================
   Kit das demonstrações de farmácia (tokens no topo de cada demo)
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--link, var(--brand));
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: var(--head-weight, 700);
  line-height: 1.15;
  letter-spacing: var(--head-tracking, -0.01em);
  color: var(--heading, var(--ink));
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus, var(--accent));
  outline-offset: 2px;
}

.ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--brand-deep);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: var(--btn-radius, var(--radius));
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.btn .ico {
  width: 19px;
  height: 19px;
}

.btn--primary {
  background: var(--brand);
  color: var(--brand-ink);
}

.btn--primary:hover {
  background: var(--brand-deep);
}

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--accent:hover {
  background: var(--accent-hover, var(--accent));
  box-shadow: 0 6px 18px -8px var(--accent);
}

.btn--whats {
  background: #128c4a;
  color: #fff;
}

.btn--whats:hover {
  background: #0d6f3a;
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--brand-deep);
}

.btn--white:hover {
  background: var(--soft);
}

.btn--lg {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 1.04rem;
}

.btn--sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand);
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-arrow .ico {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------ topbar */

.topbar {
  background: var(--topbar-bg, var(--brand-deep));
  color: var(--topbar-ink, rgba(255, 255, 255, 0.88));
  font-size: 0.84rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  min-height: 40px;
  flex-wrap: wrap;
  padding-block: 6px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

a.topbar__item:hover {
  text-decoration: underline;
}

.topbar__item .ico {
  width: 16px;
  height: 16px;
  color: var(--topbar-icon, var(--accent));
}

.topbar__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.topbar__hide-sm,
.topbar__hide-md {
  display: none;
}

@media (min-width: 600px) {
  .topbar__hide-sm {
    display: inline-flex;
  }
}

@media (min-width: 960px) {
  .topbar__inner {
    justify-content: space-between;
  }

  .topbar__hide-md {
    display: inline-flex;
  }
}

/* ------------------------------------------------------------ header */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg, #fff);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}

.header.is-scrolled {
  box-shadow: 0 8px 24px -16px rgba(15, 30, 45, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--heading, var(--ink));
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-brand, var(--font-head));
  font-weight: var(--brand-weight, 800);
  font-size: 1.14rem;
  line-height: 1.05;
  letter-spacing: var(--brand-tracking, -0.01em);
}

.brand__name small {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.nav {
  display: none;
  margin-left: auto;
  gap: 2px;
}

.nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand);
  background: var(--soft);
}

.nav a[aria-current="page"],
.nav a.is-active {
  color: var(--brand);
}

.nav a[aria-current="page"]::after,
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header__cta {
  display: none;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 46px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.cart-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.cart-btn .ico {
  width: 22px;
  height: 22px;
}

.cart-btn__label {
  display: none;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.74rem;
  font-weight: 800;
}

.cart-count[data-zero] {
  display: none;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.menu-btn__bars,
.menu-btn__bars::before,
.menu-btn__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, background-color 0.2s;
}

.menu-btn__bars {
  position: relative;
}

.menu-btn__bars::before,
.menu-btn__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn__bars::before {
  top: -6px;
}

.menu-btn__bars::after {
  top: 6px;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars {
  background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-menu__inner {
  display: grid;
  gap: 4px;
  padding-block: 12px 20px;
}

.mobile-menu a:not(.btn) {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.mobile-menu a[aria-current="page"] {
  color: var(--brand);
}

.mobile-menu .btn {
  margin-top: 12px;
}

@media (min-width: 600px) {
  .cart-btn__label {
    display: inline;
  }

  .cart-btn {
    padding-inline: 16px;
  }
}

@media (min-width: 1100px) {
  .nav {
    display: flex;
  }

  .header__actions {
    margin-left: 12px;
  }

  .header__cta {
    display: inline-flex;
  }

  .menu-btn,
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 379px) {
  .brand img {
    width: 38px;
    height: 38px;
  }

  .header__inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
  }

  .brand__name {
    min-width: 0;
    font-size: 1rem;
  }

  .brand__name small {
    letter-spacing: 0.1em;
  }

  .header__actions {
    gap: 8px;
  }

  .menu-btn {
    padding-inline: 12px;
  }

  .cart-btn {
    padding-inline: 10px;
  }

  .menu-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

/* ------------------------------------------------------------ sections */

.section {
  padding-block: clamp(60px, 8vw, 104px);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section--soft {
  background: var(--soft);
}

.section--brand {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.86);
}

.section--brand h2,
.section--brand h3 {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}

.section-head--row > div {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow, var(--brand));
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section--brand .eyebrow {
  color: var(--accent-on-dark, var(--accent));
}

.section--brand .eyebrow::before {
  background: var(--accent-on-dark, var(--accent));
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  margin-top: 14px;
  font-size: 1.08rem;
  color: var(--muted);
}

.section--brand .lead {
  color: rgba(255, 255, 255, 0.78);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid {
    gap: 24px;
  }
}

/* ------------------------------------------------------------ hero (photo) */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-deep);
  color: #fff;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-overlay, linear-gradient(90deg, rgba(8, 20, 30, 0.86) 0%, rgba(8, 20, 30, 0.62) 48%, rgba(8, 20, 30, 0.12) 100%));
}

.hero__inner {
  display: grid;
  align-content: center;
  min-height: clamp(520px, 74vh, 700px);
  padding-block: 64px 72px;
}

.hero__copy {
  max-width: 640px;
}

.hero h1 {
  color: #fff;
}

.hero__lead {
  margin-top: 18px;
  max-width: 560px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tag-bg, var(--accent));
  color: var(--tag-ink, var(--accent-ink));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tag .ico {
  width: 15px;
  height: 15px;
}

.tag--glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
}

.tag--soft {
  background: var(--soft);
  color: var(--brand-deep);
}

.hero .tag {
  margin-bottom: 18px;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.open-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.25);
}

.open-status[data-closed]::before {
  background: #ffb020;
  box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.25);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__facts .ico {
  color: var(--accent);
}

/* ------------------------------------------------------------ hero (split) */

.hero-split {
  background: var(--hero-bg, var(--soft));
  overflow: hidden;
}

.hero-split__inner {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-block: 48px 64px;
}

.hero-split__copy .hero__lead {
  color: var(--muted);
}

.hero-split h1 {
  color: var(--heading, var(--ink));
}

.hero-split__media {
  position: relative;
}

.hero-split__media > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl, 28px);
  box-shadow: var(--shadow);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  line-height: 1.35;
}

.float-card strong {
  display: block;
  font-size: 0.98rem;
  color: var(--heading, var(--ink));
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--brand);
}

.float-card--a {
  left: -8px;
  bottom: 22px;
}

.float-card--b {
  right: -8px;
  top: 22px;
}

@media (max-width: 599px) {
  .float-card--b {
    display: none;
  }

  .float-card--a {
    left: 12px;
    bottom: -18px;
  }
}

@media (min-width: 960px) {
  .hero-split__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: 56px;
    padding-block: 72px 88px;
  }

  .float-card--a {
    left: -28px;
  }

  .float-card--b {
    right: -20px;
  }
}

/* ------------------------------------------------------------ page hero */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-deep);
  color: #fff;
}

.page-hero__inner {
  padding-block: clamp(56px, 8vw, 96px);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3rem);
  max-width: 760px;
}

.page-hero p {
  margin-top: 14px;
  max-width: 620px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--page-hero-overlay, linear-gradient(90deg, rgba(8, 20, 30, 0.88), rgba(8, 20, 30, 0.45)));
}

.page-hero--plain::after {
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.14), transparent 45%);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.crumbs a {
  color: var(--accent-on-dark, var(--accent));
}

.crumbs--dark {
  color: var(--muted);
}

.crumbs--dark a {
  color: var(--brand);
}

/* ------------------------------------------------------------ info strip */

.info-strip {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}

.info-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow);
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 22px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.info-item .ico {
  width: 26px;
  height: 26px;
  color: var(--brand);
}

.info-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--heading, var(--ink));
}

.info-item span {
  font-size: 0.92rem;
  color: var(--muted);
}

a.info-item:hover strong {
  color: var(--brand);
}

@media (min-width: 640px) {
  .info-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .info-strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .info-strip__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------ cards */

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card__media img {
  transform: scale(1.03);
}

.card__media {
  overflow: hidden;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 22px 22px 24px;
}

.card__body p {
  color: var(--muted);
  font-size: 0.96rem;
}

.card__body .link-arrow {
  margin-top: auto;
  padding-top: 6px;
}

.icon-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.icon-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

@media (max-width: 599px) {
  .icon-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    gap: 4px 16px;
    padding: 20px;
  }

  .icon-card > .icon-badge {
    grid-row: span 3;
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .icon-card > :not(.icon-badge) {
    grid-column: 2;
  }
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  border-radius: var(--icon-radius, 14px);
  background: var(--soft);
  color: var(--brand);
}

.icon-badge .ico {
  width: 26px;
  height: 26px;
}

.section--soft .icon-card,
.section--soft .card {
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(15, 30, 45, 0.06);
}

.section--brand .icon-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.section--brand .icon-card p {
  color: rgba(255, 255, 255, 0.74);
}

.section--brand .icon-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

/* ------------------------------------------------------------ split */

.split {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.split__media {
  position: relative;
  margin: 0;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-xl, 24px);
  object-fit: cover;
}

.split__badge {
  position: absolute;
  right: 16px;
  bottom: -20px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  line-height: 1.3;
}

.split__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  line-height: 1.05;
}

.split__copy > p {
  margin-top: 16px;
  color: var(--muted);
}

.split__copy .btn,
.split__copy .link-arrow {
  margin-top: 26px;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

  .split--reverse .split__media {
    order: 2;
  }

  .split__badge {
    right: -18px;
  }
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
}

.checks .ico {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  stroke-width: 2.6;
}

.section--soft .checks .ico {
  background: #fff;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.feature-list li {
  display: flex;
  gap: 16px;
}

.feature-list .ico {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--brand-ink);
}

.feature-list strong {
  display: block;
  font-family: var(--font-head);
  color: var(--heading, var(--ink));
}

.feature-list span {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ steps */

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.section--soft .steps li {
  border-color: transparent;
}

.steps__n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-head);
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .steps--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------ hours / visit */

.visit {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}

.visit__card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.section--soft .visit__card {
  border-color: transparent;
}

.visit__card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.visit__card h3 .ico {
  color: var(--brand);
}

.hours {
  display: grid;
  gap: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-strong);
}

.hours div:last-child {
  border-bottom: 0;
}

.hours dt {
  color: var(--muted);
}

.hours dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.hours .is-today dt,
.hours .is-today dd {
  color: var(--brand);
}

.visit__photo {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.visit__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.address {
  display: grid;
  gap: 14px;
}

.address li {
  display: flex;
  gap: 12px;
}

.address .ico {
  margin-top: 3px;
  color: var(--brand);
}

.address strong {
  display: block;
}

.address li > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.address span {
  color: var(--muted);
  font-size: 0.95rem;
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

@media (min-width: 760px) {
  .visit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .visit--3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

/* ------------------------------------------------------------ pharmacist */

.pharmacist {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.pharmacist__avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
}

.pharmacist p {
  color: var(--muted);
  font-size: 0.95rem;
}

.pharmacist strong {
  font-family: var(--font-head);
  font-size: 1.12rem;
  color: var(--heading, var(--ink));
}

@media (min-width: 640px) {
  .pharmacist {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------ reviews */

.reviews {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

.review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.section--soft .review {
  border-color: transparent;
}

.review__stars {
  color: #f5a623;
  letter-spacing: 3px;
}

.review blockquote {
  margin: 0;
  font-size: 1.02rem;
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

.review figcaption strong {
  display: block;
  color: var(--heading, var(--ink));
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .reviews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------ faq */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-wrap {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 960px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
  }
}

/* ------------------------------------------------------------ cta band */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cta-bg, var(--brand));
  color: var(--cta-ink, var(--brand-ink));
}

.cta-band__inner {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(48px, 7vw, 72px);
}

.cta-band h2 {
  color: inherit;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

.cta-band p {
  margin-top: 10px;
  opacity: 0.9;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-band__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cta-band--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 20, 30, 0.86), rgba(8, 20, 30, 0.5));
}

.cta-band--photo {
  color: #fff;
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
  }
}

/* ------------------------------------------------------------ stats */

.stats {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: center;
}

.stats dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--accent);
}

.stats dt {
  margin-top: 8px;
  font-size: 0.95rem;
}

.stats div {
  display: flex;
  flex-direction: column-reverse;
}

@media (min-width: 800px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------ forms */

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft, 0 20px 40px -32px rgba(15, 30, 45, 0.5));
}

.form-card h2,
.form-card h3 {
  margin-bottom: 6px;
}

.form-card > p {
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 22px;
}

.form-grid__full {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

label.field {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--input-radius, var(--radius));
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring, rgba(0, 0, 0, 0.08));
  outline: none;
}

[aria-invalid="true"] {
  border-color: #b42318;
}

.req {
  color: #b42318;
  font-weight: 700;
}

.form-req {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-error {
  margin-top: 16px;
  color: #b42318;
  font-weight: 600;
}

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.form-actions {
  margin-top: 22px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-pill {
  position: relative;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  min-height: 0;
  cursor: pointer;
}

.radio-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
}

.radio-pill input:checked + span {
  border-color: var(--brand);
  background: var(--soft);
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.radio-pill input:focus-visible + span {
  outline: 3px solid var(--focus, var(--accent));
  outline-offset: 2px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ------------------------------------------------------------ products */

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

@media (min-width: 900px) {
  .chips {
    flex-wrap: wrap;
    overflow: visible;
  }
}

.chip {
  flex-shrink: 0;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chip__n {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.chip[aria-pressed="true"] .chip__n {
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}

.chip[aria-pressed="true"],
.chip[aria-current="page"] {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
}

.search {
  position: relative;
}

.search .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.search input {
  padding-left: 44px;
  border-radius: 999px;
}

.toolbar {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 24px;
}

.toolbar__count {
  font-size: 0.92rem;
  color: var(--muted);
}

.prod-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 760px) {
  .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1100px) {
  .prod-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.prod {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.prod:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 36px -28px rgba(15, 30, 45, 0.55);
}

.prod[hidden] {
  display: none;
}

.prod__media {
  display: block;
  background: #fff;
}

.prod__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 6%;
  transition: transform 0.35s;
}

.prod:hover .prod__media img {
  transform: scale(1.04);
}

.prod__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--sale, #d92d20);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.prod__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding: 4px 16px 16px;
}

.prod__brand {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.prod__name {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.prod__name a {
  color: var(--ink);
  text-decoration: none;
}

.prod__name a:hover {
  color: var(--brand);
}

.prod__name a::after {
  content: "";
  position: absolute;
  inset: 0 0 64px;
}

.prod__size {
  font-size: 0.86rem;
  color: var(--muted);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: auto;
  padding-top: 8px;
}

.price__old {
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price__now {
  font-family: var(--font-head);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--price, var(--heading, var(--ink)));
}

.price__note {
  width: 100%;
  font-size: 0.78rem;
  color: var(--muted);
}

.prod__add {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.prod__add.is-added {
  background: var(--brand-deep);
  color: #fff;
}

.valid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.valid .ico {
  width: 15px;
  height: 15px;
}

.empty-state {
  padding: 40px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--muted);
}

/* category tiles */

.cat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 760px) {
  .cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 14px 20px;
  border-radius: var(--radius-lg);
  background: var(--soft);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}

.cat-tile:hover {
  transform: translateY(-3px);
  background: var(--soft-2, var(--soft));
}

.cat-tile img {
  width: min(140px, 80%);
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cat-tile strong {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--heading, var(--ink));
}

.cat-tile span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* banners */

.banner {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  text-decoration: none;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s;
}

.banner:hover img {
  transform: scale(1.04);
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 16, 24, 0.78) 0%, rgba(10, 16, 24, 0.1) 70%);
}

.banner strong {
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1.15;
}

.banner span {
  margin-top: 6px;
  font-size: 0.94rem;
  opacity: 0.88;
}

.banner .link-arrow {
  margin-top: 12px;
  color: var(--accent-on-dark, #fff);
}

/* product detail */

.pdp {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
}

.pdp__media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.pdp__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 6%;
}

.pdp__info h1 {
  margin-top: 8px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.pdp__summary {
  margin-top: 14px;
  font-size: 1.06rem;
  color: var(--muted);
}

.pdp .price__now {
  font-size: 2rem;
}

.pdp__buy {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--soft);
}

.pdp__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
}

.qty button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--brand);
}

.qty input {
  width: 48px;
  min-height: 44px;
  padding: 0;
  border: 0;
  text-align: center;
  font-weight: 700;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp__perks {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.94rem;
}

.pdp__perks li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pdp__perks .ico {
  color: var(--brand);
}

@media (min-width: 900px) {
  .pdp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .pdp__media {
    position: sticky;
    top: 110px;
  }
}

/* ------------------------------------------------------------ cart drawer */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(10, 18, 26, 0.5);
}

.drawer[hidden] {
  display: none;
}

.drawer__panel {
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -20px 0 40px -20px rgba(0, 0, 0, 0.4);
  animation: drawer-in 0.25s ease-out;
}

@keyframes drawer-in {
  from {
    transform: translateX(40px);
    opacity: 0.4;
  }
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer__head h2 {
  font-size: 1.3rem;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.drawer__foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.cart-lines {
  display: grid;
  gap: 4px;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.cart-line__ph {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
}

.cart-line__name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
}

.cart-line__price {
  font-size: 0.86rem;
  color: var(--muted);
}

.cart-line .qty button {
  width: 34px;
  height: 34px;
}

.cart-line .qty input {
  width: 32px;
  min-height: 34px;
}

.cart-line__remove {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

.cart-sum {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.cart-sum div {
  display: flex;
  justify-content: space-between;
}

.cart-sum .cart-sum__total {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
}

.cart-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
}

/* ------------------------------------------------------------ units */

.units {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .units {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .units--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.unit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.unit[hidden] {
  display: none;
}

.unit h3 {
  font-size: 1.12rem;
}

.unit__city {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.unit__meta {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

.unit__meta li {
  display: flex;
  gap: 8px;
}

.unit__meta .ico {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--brand);
}

.unit__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 700;
}

.pill--hot {
  background: var(--accent);
  color: var(--accent-ink);
}

.unit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

/* ------------------------------------------------------------ legal + footer */

.legal {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
}

.footer {
  background: var(--footer-bg, #0f1720);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
  padding-block: 56px 36px;
}

.footer .brand {
  color: #fff;
}

.footer .brand__name small {
  color: var(--accent-on-dark, var(--accent));
}

.footer__about {
  margin-top: 16px;
  max-width: 340px;
}

.footer h2 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-on-dark, var(--accent));
}

.footer ul {
  display: grid;
  gap: 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__contact li {
  display: flex;
  gap: 10px;
}

.footer__contact .ico {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent-on-dark, var(--accent));
}

.footer__legal {
  padding-bottom: 20px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom a {
  color: var(--accent-on-dark, var(--accent));
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }

  .footer__bottom {
    padding-bottom: 24px;
  }
}

/* ------------------------------------------------------------ whatsapp float */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  background: #128c4a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.45);
}

.wa-float .ico {
  width: 24px;
  height: 24px;
}

.wa-float:hover {
  background: #0d6f3a;
}

@media (max-width: 599px) {
  .wa-float {
    width: 56px;
    padding: 0;
    justify-content: center;
  }

  .wa-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- steps on dark sections ---------- */
.section--brand .steps li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.section--brand .steps p {
  color: rgba(255, 255, 255, 0.76);
}
.section--brand .steps__n {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- fixes ---------- */
figure {
  margin: 0;
}
.address li > span {
  color: var(--ink);
}
.address strong {
  color: var(--heading, var(--ink));
}
.address span span {
  color: var(--muted);
}
.visit__card {
  padding: 28px 26px;
}
.footer li {
  min-width: 0;
  overflow-wrap: anywhere;
}
.info-item strong,
.feature-list strong,
.pharmacist strong,
.cat-tile strong,
.banner strong,
.split__badge strong {
  font-weight: var(--head-weight, 700);
}
.split--top {
  align-items: start;
}
@media (min-width: 960px) {
  .split--top .split__copy {
    position: sticky;
    top: 120px;
  }
}

.nowrap {
  white-space: nowrap;
}

.section--brand .split__copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- próprio desta demonstração ---------- */
.header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 16px;
  padding-block: 12px;
  min-height: 0;
}
.hsearch {
  position: relative;
  grid-column: 1 / -1;
  order: 3;
}
.hsearch input {
  min-height: 46px;
  padding-left: 46px;
  border-radius: 999px;
  background: var(--soft);
  border-color: transparent;
}
.hsearch input:focus {
  background: #fff;
}
.hsearch button {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.header__link {
  display: none;
  padding: 10px 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.header__link:hover {
  color: var(--brand);
}
@media (min-width: 900px) {
  .header__inner { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 80px; }
  .hsearch { grid-column: auto; order: 0; max-width: 520px; width: 100%; justify-self: center; }
}
@media (max-width: 520px) {
  .header .brand__name small { font-size: 0.6rem; letter-spacing: 0.08em; }
  .menu-btn { padding-inline: 12px; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 379px) {
  .header .brand__name small { max-width: 6.6rem; white-space: normal; line-height: 1.25; font-size: 0.56rem; letter-spacing: 0.06em; }
}
@media (min-width: 1100px) {
  .header__link { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ---------- hero */
.hero-farol {
  background:
    radial-gradient(circle at 90% 0%, rgba(63, 208, 168, 0.2), transparent 40%),
    var(--brand-deep);
  color: #fff;
}
.hero-farol__inner {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(36px, 5vw, 64px);
}
.hero-farol h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  max-width: 16ch;
}
.hero-farol h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-farol__lead {
  margin-top: 16px;
  max-width: 54ch;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.84);
}
.hero-farol .tag {
  margin-bottom: 16px;
}
.bigsearch {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 26px;
  max-width: 580px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
}
.bigsearch .ico {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.bigsearch input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding-left: 44px;
  border: 0;
  background: transparent;
}
.bigsearch input:focus {
  outline: none;
}
.bigsearch:focus-within {
  box-shadow: 0 0 0 3px var(--accent);
}
.hero-farol__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 22px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}
.hero-farol__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-farol__facts .ico {
  color: var(--accent);
}
.hero-farol figure {
  position: relative;
  margin: 0;
}
.hero-farol figure img {
  width: 100%;
  border-radius: var(--radius-xl);
}
.hero-farol figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.3;
  box-shadow: var(--shadow);
}
.hero-farol figcaption strong {
  display: block;
  color: var(--heading);
  font-size: 0.95rem;
}
.hero-farol figcaption .ico {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--brand);
}
@media (min-width: 960px) {
  .hero-farol__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
}

/* ---------- lançamentos */
.news {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) { .news { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.new {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.new:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-soft);
}
.new strong {
  display: block;
  color: var(--heading);
  line-height: 1.3;
}
.new span {
  font-size: 0.86rem;
  color: var(--muted);
}
.new .badge {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- miniatura */
.thumb {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--brand);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.new .thumb {
  width: 64px;
  height: 64px;
}

/* ---------- catálogo */
.cat-tools {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 14px;
}
.cat-tools .field {
  margin: 0;
}
.cat-tools .field span {
  font-size: 0.8rem;
}
@media (min-width: 760px) {
  .cat-tools { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; }
}
.cat-tools .search input {
  min-height: 48px;
}
.reset {
  min-height: 48px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cat-chips {
  margin-bottom: 14px;
}
.ptable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  font-size: 0.92rem;
}
.ptable caption {
  padding: 0 0 10px;
  text-align: left;
  font-size: 0.9rem;
  color: var(--muted);
}
.ptable th {
  padding: 12px 16px;
  background: var(--soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ptable td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.ptable tr[hidden] {
  display: none;
}
.p-code {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--brand);
}
.p-main {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.p-name {
  font-weight: 700;
  color: var(--heading);
}
.p-pres {
  color: var(--muted);
  font-size: 0.86rem;
}
.p-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.rx {
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}
.rx--rx { background: #fde8e8; color: #9b1c1c; }
.rx--ret { background: #fff1d6; color: #7a4a00; }
.rx--mip { background: #e3f6ee; color: #0b6a4b; }
.rx--new { background: var(--accent); color: var(--accent-ink); }
.ficha {
  margin-top: 8px;
}
.ficha summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}
.ficha summary::-webkit-details-marker {
  display: none;
}
.ficha summary::after {
  content: "+";
  font-weight: 800;
}
.ficha[open] summary::after {
  content: "−";
}
.ficha dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--soft);
  font-size: 0.84rem;
}
.ficha dt {
  color: var(--muted);
}
.ficha dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.p-buy {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.qty--sm button {
  width: 34px;
  height: 40px;
}
.qty--sm input {
  width: 46px;
  min-height: 40px;
}
.cart-line .qty input {
  width: 44px;
}
@media (max-width: 899px) {
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; }
  .ptable { border: 0; background: none; overflow: visible; }
  .ptable thead { display: none; }
  .ptable tbody { display: grid; gap: 12px; }
  .ptable tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
  }
  .ptable tr[hidden] { display: none; }
  .ptable td { padding: 0; border: 0; }
  .ptable td.p-cell-main { grid-column: 1 / -1; order: -1; }
  .ptable td[data-label] { margin-top: 10px; font-size: 0.86rem; }
  .ptable td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .ptable td.p-cell-buy { grid-column: 1 / -1; margin-top: 14px; }
  .p-buy { justify-content: stretch; }
  .p-buy .btn { flex: 1; }
}

/* ---------- como cotar e contato */
.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-size: 0.92rem;
}
.note .ico {
  flex-shrink: 0;
  color: var(--brand);
}
.desk {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
}
.desk figure {
  margin: 0;
  min-height: 240px;
  position: relative;
}
.desk figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.desk__body {
  padding: clamp(24px, 4vw, 44px);
}
.desk__body h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.desk__body > p {
  margin-top: 10px;
  color: var(--muted);
}
.desk .address {
  margin-top: 20px;
}
.desk__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
@media (min-width: 900px) {
  .desk { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

/* ---------- cotação */
.page-head {
  padding-block: 34px 30px;
  background: var(--soft);
}
.page-head h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.page-head p {
  margin-top: 8px;
  max-width: 660px;
  color: var(--muted);
}
.bag {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.bag__list {
  padding: 8px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.bag__list .cart-empty a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}
.bag__sum,
.drawer__sum {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  color: var(--heading);
}
.bag__sum {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.drawer__sum {
  margin-bottom: 14px;
}
@media (min-width: 960px) {
  .bag { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
}
h1, h2, h3 {
  font-variant-numeric: lining-nums;
}
