
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');

/* Єдиний шрифт сум на всіх підключених сторінках. */
html body .rx-money-unified{
  font-family:Manrope,Inter,sans-serif!important;
  font-weight:700!important;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.04em!important;
}
html body .rx-search-row strong,
html body .rx-search-row strong .rx-money-unified{
  font-family:Manrope,Inter,sans-serif!important;
  font-size:21px!important;
  font-weight:700!important;
  line-height:1.25!important;
  color:#000ffe!important;
}
html body .cart-price,
html body .cart-price .rx-money-unified{
  font-family:Manrope,Inter,sans-serif!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1.3!important;
  color:#000ffe!important;
}

/* Кошик: чистий білий фон, виразні товари та ціна. */
html body .drawer,
html body .cart-drawer{
  background:#fff!important;
  box-shadow:-18px 0 70px #17265318!important;
}
html body .drawer-head{
  min-height:82px;
  padding:20px 24px!important;
  background:#fff!important;
  border-bottom:1px solid #e9edf6!important;
}
html body .drawer-head h2{
  font-family:Montserrat,Inter,sans-serif!important;
  font-size:24px!important;
  font-weight:700!important;
  letter-spacing:-.04em!important;
}
html body .cart-list{
  padding:20px!important;
  gap:13px!important;
}
html body .cart-item{
  grid-template-columns:78px minmax(0,1fr) 30px!important;
  align-items:center!important;
  gap:14px!important;
  padding:14px!important;
  border:1px solid #e4eaf6!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 5px 18px #16316a05!important;
}
html body .cart-item>div{min-width:0}
html body .cart-item img{
  width:78px!important;
  height:78px!important;
  object-fit:contain!important;
  padding:7px!important;
  border-radius:14px!important;
  background:#f4f7ff!important;
}
html body .cart-name{
  font-family:Montserrat,Inter,sans-serif!important;
  font-size:14px!important;
  font-weight:650!important;
  line-height:1.45!important;
  overflow-wrap:anywhere;
  margin-bottom:7px!important;
}
html body .qty{
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  border:1px solid #e3e9f5!important;
  border-radius:11px!important;
  overflow:hidden;
  margin-top:11px!important;
  background:#f8faff!important;
}
html body .qty button{
  width:33px!important;
  height:32px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#000ffe!important;
  font-size:18px!important;
}
html body .qty b{
  min-width:27px;
  text-align:center;
  font:700 12px Manrope,Inter,sans-serif;
}
html body .remove{
  align-self:start;
  width:30px;
  height:30px;
  padding:0!important;
  border-radius:9px;
  color:#8793a9!important;
  background:#f5f7fb!important;
}
html body .drawer-foot{
  padding:20px 24px max(24px,env(safe-area-inset-bottom))!important;
  background:#fff!important;
  border-top:1px solid #e4eaf6!important;
}
html body .promo-box{
  padding:14px!important;
  margin-bottom:18px!important;
  border:1px solid #e1e8f7!important;
  border-radius:16px!important;
  background:#f7f9ff!important;
}
html body .promo-box label{
  display:block;
  margin-bottom:9px;
  font-size:12px!important;
  font-weight:650!important;
}
html body .promo-row{
  display:flex!important;
  gap:8px!important;
}
html body .promo-row input{
  width:100%;
  min-width:0!important;
  height:44px!important;
  border:1px solid #dfe6f4!important;
  border-radius:11px!important;
  padding:0 12px!important;
  background:#fff!important;
  font-size:16px!important;
}
html body .promo-row button{
  flex-shrink:0;
  border:0!important;
  border-radius:11px!important;
  padding:0 13px!important;
  background:#000ffe!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:700!important;
}
html body .total{
  align-items:center!important;
  font-size:15px!important;
}
html body #cartTotal,
html body #cartTotal .rx-money-unified{
  font:700 26px/1.2 Manrope,Inter,sans-serif!important;
  color:#000ffe!important;
  letter-spacing:-.04em!important;
}
html body .liked-cart-item{
  padding:12px!important;
  border:1px solid #e8edf7!important;
  border-radius:15px!important;
  background:#f8faff!important;
}
html body .liked-cart-item b{
  font-family:Montserrat,Inter,sans-serif!important;
  font-weight:650!important;
  line-height:1.4!important;
}
html body .liked-cart-item .rx-money-unified{
  color:#000ffe!important;
  font-size:13px!important;
}
html body .drawer button{
  transition:background .18s,box-shadow .18s,transform .18s;
}
html body .drawer button:active{transform:scale(.96)}

/* Одна акуратна стрілка. */
html body a.rx-text-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center;
  gap:10px!important;
  white-space:nowrap;
  text-decoration:none!important;
}
html body a.rx-text-link::before{content:none!important}
html body a.rx-text-link::after{
  content:""!important;
  display:block!important;
  flex:0 0 32px!important;
  width:32px!important;
  height:32px!important;
  border-radius:50%!important;
  background:#edf1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000ffe' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/17px no-repeat!important;
  transform:none!important;
  transition:translate .2s;
}
html body a.rx-text-link:hover::after{translate:3px 0}

/* Новинки: повністю видимі фото та читабельні підписи. */
html body .rx-soon-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  overflow:visible!important;
  margin:0!important;
  padding:0!important;
}
html body .rx-soon-card{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  border:1px solid #e3e9f5!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 8px 28px #18345b08!important;
}
html body .rx-soon-media{
  display:grid!important;
  place-items:center;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1!important;
  padding:28px!important;
  background:#f5f7fc!important;
}
html body .rx-soon-media::after{display:none!important}
html body .rx-soon-media img{
  position:static!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  filter:none!important;
}
html body .rx-soon-info{padding:20px!important}
html body .rx-soon-info h3{
  font:700 22px/1.25 Montserrat,Inter,sans-serif!important;
  letter-spacing:-.035em!important;
  margin:8px 0!important;
  overflow-wrap:anywhere;
}
html body .rx-soon-info p{
  font-size:12px!important;
  line-height:1.65!important;
}
@media(max-width:760px){
  html body .rx-search-row strong,
  html body .rx-search-row strong .rx-money-unified{
    font-size:18px!important;
  }
  html body .cart-list{padding:14px!important}
  html body .cart-item{
    grid-template-columns:66px minmax(0,1fr) 28px!important;
    padding:12px!important;
    gap:11px!important;
  }
  html body .cart-item img{
    width:66px!important;height:66px!important;
  }
  html body .cart-name{font-size:12px!important}
  html body .drawer-foot{padding-left:16px!important;padding-right:16px!important}
  html body .rx-soon-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:16px!important;
  }
  html body .rx-soon-card{border-radius:20px!important}
  html body .rx-soon-media{
    aspect-ratio:1.2!important;
    padding:28px!important;
  }
  html body .rx-soon-info{padding:18px!important}
  html body .rx-soon-info h3{font-size:21px!important}
  html body .rx-soon-head h2{
    font-size:29px!important;
    line-height:1.15!important;
    letter-spacing:-.04em!important;
  }
  html body .rx-section-heading{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:14px!important;
  }
  html body .rx-section-heading>div{
    flex:1 1 230px;
    min-width:0;
  }
}
@media(prefers-reduced-motion:reduce){
  html body .drawer button,
  html body a.rx-text-link::after{transition:none!important}
}
