/* Unimedica: base, components, responsive layouts and accessibility. */
:root {
  --ink:#262137;
  --purple:#443266;
  --red:#ad3947;
  --muted:#736f7d;
  --line:#e7e5ea;
  --pale:#f6f5f8;
  --white:#fff
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:110px
}
body {
  margin:0;
  color:var(--ink);
  font:15px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#fff
}
button,input,select {
  font:inherit
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
a {
  color:inherit;
  text-decoration:none
}
button {
  cursor:pointer
}
button:disabled {
  opacity:.5;
  cursor:not-allowed
}
img {
  max-width:100%;
  display:block
}
h1,h2,h3,p {
  margin-top:0
}
h1,h2,h3 {
  line-height:1.13;
  letter-spacing:-.045em
}
h1 {
  font-size:clamp(42px,4.8vw,72px);
  font-weight:600;
  margin-bottom:25px
}
h2 {
  font-size:clamp(32px,3vw,44px);
  font-weight:550;
  margin-bottom:20px
}
h3 {
  font-size:21px;
  font-weight:600
}
em {
  color:var(--purple);
  font-style:normal
}
p {
  color:var(--muted)
}
.container {
  width:min(1280px,calc(100% - 96px));
  margin:auto
}
.topbar {
  background:#f5f4f7;
  font-size:11px;
  letter-spacing:.035em;
  padding:9px 0
}
.topbar .container {
  display:flex;
  justify-content:space-between
}
.header {
  position:sticky;
  top:0;
  background:#fffffffa;
  z-index:20;
  border-bottom:1px solid var(--line)
}
.nav {
  display:flex;
  align-items:center;
  gap:35px;
  min-height:94px
}
.brand img {
  width:155px;
  height:auto
}
.nav nav {
  display:flex;
  gap:30px;
  margin:auto
}
.nav nav a {
  font-size:13px
}
.nav a:hover,.text-link:hover {
  color:var(--red)
}
.cart-button {
  border:1px solid var(--line);
  border-radius:7px;
  background:white;
  padding:10px 16px;
  font-size:12px;
  white-space:nowrap
}
.cart-button span {
  background:var(--purple);
  color:white;
  border-radius:50%;
  padding:2px 6px;
  margin-left:10px
}
.menu-toggle {
  display:none
}
.hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  padding-top:55px;
  padding-bottom:55px
}
.hero-copy {
  padding:20px 0
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:10px;
  font-weight:700;
  color:var(--purple);
  margin-bottom:25px
}
.dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ad3947;
  margin-right:7px
}
.lead {
  font-size:19px;
  line-height:1.55;
  max-width:400px;
  color:#4d465b
}
.hero-description {
  font-size:14px;
  max-width:410px
}
.actions {
  display:flex;
  align-items:center;
  gap:25px;
  margin:30px 0
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  border:1px solid var(--purple);
  background:var(--purple);
  color:white;
  border-radius:5px;
  padding:14px 21px;
  font-size:12px;
  font-weight:600;
  min-height:46px
}
.button:hover {
  background:#302244
}
.text-link {
  border:0;
  background:none;
  font-size:12px;
  font-weight:650;
  padding:0;
  color:var(--ink)
}
.hero-foot {
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  font-size:10px;
  color:var(--muted);
  padding-top:24px;
  border-top:1px solid var(--line)
}
.hero-foot span+span:before {
  content:'·';
  margin-right:15px;
  color:var(--red)
}
.hero-visual {
  height:530px;
  position:relative;
  border-radius:9px;
  overflow:hidden;
  background:var(--pale)
}
.hero-visual>img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:53% center
}
.hero-visual:after {
  content:'';
  position:absolute;
  inset:50% 0 0;
  background:linear-gradient(transparent,#24203588)
}
.image-label {
  position:absolute;
  z-index:1;
  bottom:28px;
  left:24px;
  right:24px;
  color:white;
  font-size:12px;
  background:#ffffff22;
  backdrop-filter:blur(12px);
  padding:14px;
  border:1px solid #ffffff44;
  border-radius:4px
}
.image-label .dot {
  background:#b4d8cc
}
.visual-number {
  position:absolute;
  top:22px;
  left:24px;
  background:white;
  padding:6px 10px;
  border-radius:3px;
  font-size:9px;
  letter-spacing:.1em
}
.intro-strip {
  border-block:1px solid var(--line);
  padding:25px 0
}
.intro-strip .container {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px
}
.intro-strip p {
  font-size:12px;
  margin:0;
  line-height:1.6
}
.intro-strip strong {
  font-weight:500;
  color:var(--ink)
}
.intro-strip span {
  font-size:13px;
  color:#5b5368
}
.section {
  padding-top:80px;
  padding-bottom:80px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:25px;
  margin-bottom:30px
}
.section-heading .eyebrow {
  margin-bottom:15px
}
.section-heading h2 {
  margin:0
}
.section-heading>p {
  font-size:12px;
  margin:0;
  line-height:1.8
}
.catalog-toolbar {
  display:flex;
  gap:20px;
  justify-content:space-between;
  margin:35px 0 22px
}
.search-wrap {
  position:relative;
  max-width:440px;
  width:100%
}
.search-wrap>span {
  position:absolute;
  left:15px;
  top:7px;
  font-size:25px;
  color:var(--muted)
}
input[type=search] {
  width:100%;
  border:1px solid var(--line);
  border-radius:5px;
  padding:13px 16px 13px 45px;
  font-size:12px;
  background:#fcfcfd;
  color:var(--ink)
}
.sort-label {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:11px;
  color:var(--muted)
}
select {
  border:1px solid var(--line);
  background:white;
  padding:12px;
  font-size:12px;
  border-radius:5px;
  color:var(--ink)
}
.filters {
  display:flex;
  gap:9px;
  flex-wrap:wrap
}
.filter {
  border:1px solid var(--line);
  background:white;
  color:#6a6374;
  padding:9px 16px;
  border-radius:5px;
  font-size:11px
}
.filter[aria-pressed=true] {
  background:var(--purple);
  border-color:var(--purple);
  color:white
}
.results-meta {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  color:var(--muted);
  margin:24px 0 16px
}
.results-meta p {
  margin:0
}
.results-meta>span {
  text-transform:uppercase;
  letter-spacing:.12em
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:23px
}
.product-card {
  border:1px solid var(--line);
  border-radius:7px;
  overflow:hidden;
  background:white;
  transition:transform .2s,box-shadow .2s
}
.product-card:hover {
  transform:translateY(-3px);
  box-shadow:0 8px 28px #3022440b
}
.product-image {
  background:#f8f8fa;
  height:235px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border:0;
  padding:25px
}
.product-image img {
  width:100%;
  height:100%;
  object-fit:contain;
  mix-blend-mode:multiply
}
.product-badge {
  position:absolute;
  top:14px;
  left:15px;
  background:#fff;
  padding:3px 8px;
  border:1px solid #eeedf1;
  border-radius:3px;
  font-size:9px;
  letter-spacing:.03em;
  color:var(--muted)
}
.product-body {
  padding:22px
}
.product-category {
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--red);
  margin-bottom:8px
}
.product-body h3 {
  margin:0 0 10px;
  font-size:22px
}
.product-body>p:not(.product-category) {
  font-size:12px;
  min-height:40px
}
.product-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  padding-top:17px;
  gap:10px
}
.product-bottom span {
  font-size:10px;
  color:var(--muted)
}
.add-button {
  background:var(--pale);
  border:0;
  border-radius:4px;
  color:var(--purple);
  font-size:11px;
  font-weight:650;
  padding:9px 12px
}
.add-button:hover {
  background:#e8e2f1
}
.catalog-note {
  font-size:11px;
  line-height:1.7;
  margin-top:22px
}
.services {
  background:var(--pale)
}
.service-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:35px;
  margin-top:45px
}
.service-icon {
  display:inline-flex;
  border:1px solid #d9d4e2;
  border-radius:50%;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  color:var(--purple);
  font-size:11px;
  margin-bottom:22px
}
.service-grid h3 {
  font-size:18px
}
.service-grid p {
  font-size:12px;
  line-height:1.8
}
.about {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px
}
.about>div>p {
  font-size:14px
}
.about .about-lead {
  font-size:23px;
  color:var(--ink);
  line-height:1.5
}
.contact {
  background:#302440;
  border-radius:9px;
  color:white;
  display:grid;
  grid-template-columns:1.5fr 1fr;
  padding:55px 60px;
  gap:60px
}
.contact .eyebrow {
  color:#c9b9db
}
.contact h2 {
  font-size:40px
}
.contact p {
  color:#d2c9dc;
  font-size:13px
}
.contact-details {
  border-left:1px solid #ffffff25;
  padding-left:55px
}
.contact-details>span {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#b6a9c5;
  display:block;
  margin-bottom:6px
}
.contact-details>a {
  font-size:20px;
  display:block;
  margin-bottom:24px
}
.light {
  background:white;
  color:var(--purple);
  border-color:white
}
.light:hover {
  background:#e8e2f1
}
.footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:45px;
  padding-bottom:35px;
  gap:30px
}
.footer p {
  font-size:10px;
  margin:10px 0 0
}
.footer-links {
  display:flex;
  gap:22px;
  font-size:11px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip {
  position:fixed;
  top:-100px;
  left:15px;
  background:white;
  padding:12px;
  z-index:100
}
.skip:focus {
  top:10px
}
:focus-visible {
  outline:3px solid #a37cd6;
  outline-offset:4px
}
dialog {
  border:1px solid var(--line);
  border-radius:12px;
  padding:38px;
  color:var(--ink);
  max-height:90dvh;
  overflow:auto;
  box-shadow:0 25px 100px #0003
}
dialog::backdrop {
  background:#17102399;
  backdrop-filter:blur(4px)
}
.product-dialog {
  width:min(820px,94vw)
}
.close {
  border:0;
  background:var(--pale);
  width:36px;
  height:36px;
  min-width:36px;
  border-radius:50%;
  font-size:25px;
  line-height:1;
  display:grid;
  place-items:center;
  color:var(--ink)
}
.product-dialog>.close {
  margin-left:auto
}
.detail-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:30px;
  margin-top:20px
}
.detail-layout img {
  width:100%;
  height:280px;
  object-fit:contain
}
.detail-layout h2 {
  font-size:32px
}
.detail-layout p {
  font-size:13px
}
.detail-actions {
  display:flex;
  align-items:center;
  gap:15px;
  flex-wrap:wrap
}
.cart-dialog {
  width:min(600px,94vw)
}
.cart-heading {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:20px
}
.cart-heading .eyebrow {
  margin-bottom:10px
}
.cart-intro {
  font-size:13px
}
.cart-row {
  display:grid;
  grid-template-columns:65px 1fr auto;
  gap:16px;
  align-items:center;
  padding:20px 0;
  border-top:1px solid var(--line)
}
.cart-row img {
  width:65px;
  height:65px;
  object-fit:contain
}
.cart-row h3 {
  font-size:16px;
  margin-bottom:5px
}
.cart-row p {
  font-size:11px;
  margin:0
}
.quantity {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:10px
}
.quantity button {
  border:1px solid var(--line);
  background:white;
  width:30px;
  height:30px;
  border-radius:4px
}
.quantity span {
  font-size:12px
}
.remove {
  color:var(--red);
  font-size:11px;
  border:0;
  background:none;
  padding:8px
}
.cart-actions {
  display:grid;
  gap:12px;
  margin-top:20px
}
.secondary {
  background:white;
  color:var(--purple)
}
.secondary:hover {
  background:var(--pale)
}
#cart-summary {
  font-size:13px;
  border-top:1px solid var(--line);
  padding-top:18px
}
.empty {
  grid-column:1/-1;
  padding:45px 20px;
  text-align:center;
  background:var(--pale);
  border-radius:7px
}
.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translate(-50%,20px);
  background:var(--ink);
  color:white;
  box-shadow:0 5px 25px #0002;
  border-radius:7px;
  padding:12px 22px;
  font-size:12px;
  opacity:0;
  pointer-events:none;
  z-index:100;
  transition:.2s;
  max-width:90vw
}
.toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}
body.modal-open {
  overflow:hidden
}
@media(min-width:1600px) {
  .hero {
    gap:85px
  }
}
@media(max-width:1050px) {
  .container {
    width:calc(100% - 48px)
  }
  .hero {
    gap:30px
  }
  .hero-visual {
    height:470px
  }
  .nav {
    gap:20px
  }
  .nav nav {
    gap:18px
  }
  .service-grid {
    gap:22px
  }
  .contact {
    padding:40px
  }
  .contact-details {
    padding-left:30px
  }
  .product-grid {
    gap:15px
  }
  .product-body {
    padding:16px
  }
}
@media(max-width:760px) {
  .topbar .container>span {
    display:none
  }
  .topbar .container {
    justify-content:center
  }
  .nav {
    min-height:78px;
    gap:12px;
    flex-wrap:wrap;
    position:relative
  }
  .brand {
    margin-right:auto
  }
  .brand img {
    width:125px
  }
  .menu-toggle {
    display:block;
    border:0;
    background:none;
    font-size:12px;
    padding:10px 0
  }
  .nav nav {
    display:none;
    order:4;
    flex-basis:100%;
    padding-bottom:18px
  }
  .nav nav.open {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap
  }
  .cart-button {
    padding:9px;
    font-size:10px
  }
  .cart-button span {
    margin-left:5px
  }
  .hero {
    grid-template-columns:1fr;
    padding-top:25px;
    padding-bottom:30px;
    gap:15px
  }
  .hero-copy {
    padding:10px 0
  }
  .hero .eyebrow {
    margin-bottom:20px
  }
  .hero-visual {
    height:350px
  }
  .hero-foot {
    padding-top:16px
  }
  .intro-strip .container {
    display:grid;
    grid-template-columns:1fr 1fr
  }
  .intro-strip p {
    grid-column:1/-1
  }
  .intro-strip span {
    font-size:12px
  }
  .section {
    padding-top:50px;
    padding-bottom:50px
  }
  .section-heading {
    align-items:start;
    flex-direction:column;
    gap:15px
  }
  .catalog-toolbar {
    margin-top:25px;
    flex-direction:column;
    gap:13px
  }
  .search-wrap {
    max-width:none
  }
  .sort-label {
    justify-content:flex-end
  }
  .filters {
    gap:7px
  }
  .filter {
    padding:8px 11px;
    font-size:10px
  }
  .product-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .product-image {
    height:185px;
    padding:20px 12px
  }
  .product-body h3 {
    font-size:19px
  }
  .product-bottom {
    flex-direction:column;
    align-items:start;
    gap:12px
  }
  .service-grid {
    grid-template-columns:repeat(2,1fr);
    gap:25px
  }
  .about {
    grid-template-columns:1fr;
    gap:10px
  }
  .contact {
    grid-template-columns:1fr;
    padding:30px;
    gap:20px
  }
  .contact h2 {
    font-size:33px
  }
  .contact-details {
    border-left:0;
    border-top:1px solid #ffffff25;
    padding-left:0;
    padding-top:25px
  }
  .footer {
    flex-wrap:wrap
  }
  .footer-links {
    gap:15px
  }
  .detail-layout {
    grid-template-columns:1fr
  }
  .detail-layout img {
    height:190px
  }
  dialog {
    padding:24px
  }
  .cart-row {
    grid-template-columns:45px 1fr auto;
    gap:10px
  }
  .cart-row img {
    width:45px;
    height:45px
  }
}
@media(max-width:420px) {
  .container {
    width:calc(100% - 32px)
  }
  h1 {
    font-size:43px
  }
  .actions {
    gap:18px
  }
  .button {
    padding:12px 16px
  }
  .product-grid {
    grid-template-columns:1fr
  }
  .product-image {
    height:245px;
    padding:25px
  }
  .product-bottom {
    flex-direction:row;
    align-items:center
  }
  .product-body>p:not(.product-category) {
    min-height:0
  }
  .service-grid {
    gap:18px
  }
  .cart-row {
    grid-template-columns:40px 1fr
  }
  .cart-row .remove {
    grid-column:2;
    justify-self:start
  }
  .results-meta>span {
    font-size:8px
  }
  .hero-visual {
    height:300px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important
  }
}
.product-name {
  font:inherit;
  letter-spacing:inherit;
  line-height:inherit;
  text-align:left
}
.product-dialog .detail-layout img {
  height:auto;
  max-height:300px
}
button {
  color:inherit
}
.button {
  color:white
}
.button.light,.button.secondary {
  color:var(--purple)
}
.add-button {
  color:var(--purple)
}
.filter[aria-pressed=true] {
  color:white
}
.remove {
  color:var(--red)
}
