/* Theme aligned with main site (Tilda export): Inter, blue #2563eb, soft shadows, radius 8px */
:root{
  --vz-blue:#2563eb;
  --vz-blue-hover:#1e50d9;
  --vz-text:#151415;
  --vz-muted:#525252;
  --vz-border:#f4f4f4;
  --vz-border-strong:#e2e2e2;
  --vz-shadow:0px 15px 30px -10px rgba(0,11,48,0.2);
  --vz-shadow-hover:0px 10px 20px rgba(0,11,48,0.25);
  --vz-radius:8px;
}

.vz-body{
  font-family:'Inter',Arial,sans-serif;
  color:var(--vz-text);
  background:#fff;
}

/* Tilda export uses .t-body; keep fonts and remove any reserved top padding from old menu */
.t-body{
  font-family:'Inter',Arial,sans-serif !important;
  padding-top:0 !important;
}
.t-records{padding-top:0 !important;}
#allrecords{margin-top:0 !important; padding-top:0 !important;}

.vz-container{max-width:1200px;}
a{color:var(--vz-blue);}
a:hover{color:var(--vz-blue-hover);}

.small-muted{color:var(--vz-muted); font-weight:300;}
.badge-stock{font-size:.85rem}

/* Header */
.vz-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
  box-shadow:var(--vz-shadow);
}
.vz-header__inner{
  max-width:1200px;
  margin:0 auto;
  padding:4px 14px;
  display:flex;
  align-items:center;
  gap:18px;
}
.vz-logo img{display:block; width:100px; height:auto;}
.vz-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:1;
  gap:22px;
}
.vz-nav__link{
  color:var(--vz-text);
  text-decoration:none;
  font-weight:500;
  font-size:20px;
}
.vz-nav__link:hover{color:var(--vz-blue-hover);}

.vz-header__actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.vz-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 14px;
  border-radius:var(--vz-radius);
  text-decoration:none;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-size:12px;
  border:1px solid transparent;
}
.vz-btn--primary{
  background:var(--vz-blue);
  color:#fff;
}
.vz-btn--primary:hover{background:var(--vz-blue-hover); color:#fff;}

.vz-auth-link{
  color:var(--vz-text);
  text-decoration:none;
  font-weight:500;
  font-size:14px;
}
.vz-auth-link:hover{color:var(--vz-blue-hover);}

.vz-burger{
  display:none;
  border:0;
  background:transparent;
  padding:8px;
  border-radius:var(--vz-radius);
}
.vz-burger span{
  display:block;
  width:22px;
  height:2px;
  background:var(--vz-text);
  margin:4px 0;
}

/* Mobile menu */
.vz-mobile{
  border-top:1px solid rgba(0,0,0,.06);
}
.vz-mobile__panel{
  max-width:1200px;
  margin:0 auto;
  padding:12px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.vz-mobile__link{
  color:var(--vz-text);
  text-decoration:none;
  font-weight:500;
  padding:10px 12px;
  border-radius:var(--vz-radius);
}
.vz-mobile__link:hover{background:rgba(37,99,235,.06); color:var(--vz-blue-hover);}
.vz-mobile__sep{height:1px;background:rgba(0,0,0,.06); margin:6px 0;}
.vz-mobile__call{margin-top:6px;}

/* Responsive: hide desktop nav, show burger */
@media (max-width: 980px){
  .vz-nav{display:none;}
  .vz-burger{display:inline-block;}
  .vz-auth-link{display:none;} /* auth links move to mobile menu */
}

/* Bootstrap component theming */
.card{
  border-radius:var(--vz-radius) !important;
  border:1px solid var(--vz-border) !important;
  box-shadow:var(--vz-shadow);
}
.card:hover{box-shadow:var(--vz-shadow-hover);}
.card .card-img-top{border-top-left-radius:var(--vz-radius);border-top-right-radius:var(--vz-radius);}

.btn{
  border-radius:var(--vz-radius) !important;
  font-weight:600;
}
.btn-primary{
  background:var(--vz-blue) !important;
  border-color:var(--vz-blue) !important;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.btn-primary:hover{
  background:var(--vz-blue-hover) !important;
  border-color:var(--vz-blue-hover) !important;
}
.btn-outline-primary{
  color:var(--vz-blue) !important;
  border-color:var(--vz-blue) !important;
}
.btn-outline-primary:hover{
  background:var(--vz-blue) !important;
  color:#fff !important;
}
.btn-outline-danger{font-weight:700;}

.form-label{font-weight:600;}
.form-control, .form-select{
  border-radius:var(--vz-radius) !important;
  border-color:var(--vz-border-strong) !important;
}
.form-control:focus, .form-select:focus{
  border-color:var(--vz-blue) !important;
  box-shadow:0 0 0 .2rem rgba(37,99,235,.15) !important;
}

.alert{
  border-radius:var(--vz-radius) !important;
  border:1px solid var(--vz-border) !important;
}

/* Map block */
.ph-map{
  height:360px;
  border-radius:var(--vz-radius);
  overflow:hidden;
  box-shadow:var(--vz-shadow);
  border:1px solid var(--vz-border);
}

/* Simple modal (pharmacy picker) */
.vz-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(12,10,24,.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  z-index:2000;
}
.vz-modal{
  width:min(720px, 100%);
  max-height:min(80vh, 780px);
  overflow:hidden;
  background:#fff;
  border-radius:calc(var(--vz-radius) + 4px);
  box-shadow:var(--vz-shadow);
  border:1px solid var(--vz-border);
}
.vz-modal__header{
  padding:14px 16px;
  border-bottom:1px solid rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.vz-modal__title{font-weight:700; font-size:18px; margin:0;}
.vz-modal__body{
  padding:12px 16px;
  overflow:auto;
  max-height:calc(80vh - 64px);
}
.vz-modal__search{
  margin-bottom:10px;
}
.vz-modal__list .list-group-item{
  cursor:pointer;
}
.vz-modal__list .list-group-item:hover{
  background:rgba(37,99,235,.06);
}
.vz-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid var(--vz-border-strong);
  border-radius:999px;
  background:#fff;
}


/* Auth modal (like design from reference) */
.vz-modal--auth{
  width:min(480px, 100%);
  max-height:none;
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(242,235,255,.95) 0%, #ffffff 46%);
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 24px 70px rgba(0,0,0,.22);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.vz-modal--auth, .vz-modal--auth *{ box-sizing:border-box; }

.vz-modal--auth .vz-modal__header{
  padding:22px 24px 14px;
  border-bottom:none;
  position:relative;
  background:linear-gradient(180deg, rgba(242,235,255,1) 0%, rgba(255,255,255,0) 100%);
}
.vz-modal--auth .vz-modal__title{
  font-weight:800;
  font-size:24px;
  line-height:1.15;
  margin:0;
  color:#1f2937;
}
.vz-modal--auth .vz-modal__close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 26px rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  color:#111827;
}
.vz-modal--auth .vz-modal__body{
  padding:10px 24px 24px;
  max-height:none;
  overflow:visible;
}

.vz-auth-root{display:block;}
.vz-auth-muted{
  color:rgba(31,41,55,.62);
  font-size:14px;
  line-height:1.35;
  margin:0 0 10px;
}
.vz-auth-error{
  display:none;
  background:rgba(239,68,68,.08);
  border:1px solid rgba(239,68,68,.25);
  color:#b91c1c;
  border-radius:12px;
  padding:10px 12px;
  font-size:14px;
  margin-bottom:12px;
}
.vz-auth-input{
  width:100%;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:16px 18px;
  font-size:16px;
  outline:none;
  background:rgba(255,255,255,.96);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 10px 26px rgba(0,0,0,.06);
}
.vz-auth-input:focus{
  border-color:rgba(37,99,235,.75);
  box-shadow:0 0 0 .22rem rgba(37,99,235,.18), 0 10px 26px rgba(0,0,0,.08);
}

.vz-auth-spacer{height:12px;}

.vz-auth-consents{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.vz-check{
  display:flex;
  gap:12px;
  align-items:flex-start;
  user-select:none;
  cursor:pointer;
  font-size:14px;
  line-height:1.35;
  color:rgba(31,41,55,.82);
}
.vz-check__input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  pointer-events:none;
}
.vz-check__box{
  width:22px;
  height:22px;
  border-radius:6px;
  border:2px solid #ff2a7a;
  background:rgba(255,255,255,.98);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 22px;
  margin-top:2px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.vz-check__input:checked + .vz-check__box{
  border-color:rgba(37,99,235,1);
  background:rgba(37,99,235,1);
}
.vz-check__input:checked + .vz-check__box::after{
  content:'';
  width:10px;
  height:6px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(-45deg);
  margin-top:-1px;
}
.vz-check__text{flex:1;}
.vz-auth-link{
  color:rgba(37,99,235,1);
  text-decoration:none;
}
.vz-auth-link:hover{text-decoration:underline;}

.vz-auth-btn{
  width:100%;
  border:none;
  border-radius:999px;
  padding:16px 18px;
  font-weight:700;
  font-size:16px;
  color:#fff;
  background:rgba(37,99,235,.22);
  cursor:pointer;
  transition:transform .05s ease, filter .15s ease, box-shadow .15s ease;
}
.vz-auth-btn:not(:disabled){
  background:linear-gradient(180deg, rgba(155,132,255,1) 0%, rgba(37,99,235,1) 100%);
  box-shadow:0 14px 30px rgba(37,99,235,.35);
}
.vz-auth-btn:disabled{
  cursor:not-allowed;
  opacity:.75;
  box-shadow:none;
}
.vz-auth-btn:not(:disabled):active{transform:translateY(1px);}

.vz-auth-linkbtn{
  width:100%;
  border:none;
  background:transparent;
  padding:10px 0 0;
  color:rgba(37,99,235,1);
  font-weight:700;
  cursor:pointer;
}
.vz-auth-linkbtn:hover{text-decoration:underline;}


/* --- eapteka-like header (pixel-perfect to provided screenshot) --- */
:root{
  --eap-purple:#2563eb;
  --eap-teal:#08C4A9;
  --eap-green-a:#A0D00A;
  --eap-green-b:#0DAA47;
  --eap-green-c:#16B86E;
  --eap-icon:#1F2937;
}

.eap-header{
  position:relative;
  z-index:2200;
  isolation:isolate;
  box-shadow:none;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.eap-header__inner{
  max-width:1200px;
  margin:0 auto;
  padding:4px 14px;
}
.eap-location{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:var(--eap-purple);
  font-size:15px;
  line-height:18px;
  font-weight:500;
}
.eap-location:hover{opacity:.9;}
.eap-location__icon{color:var(--eap-purple);}

.eap-header__main{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
}

.eap-logo{display:flex; align-items:center; flex:0 0 auto;}

.eap-logo img{
  /* bigger logo as requested */
  height:96px;
  margin:-6px 0;
  width:auto;
  display:block;
}

@media (max-width: 560px){
   .eap-logo img{height:72px; margin:-4px 0;}
}

.eap-catalog{
  height:46px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--eap-purple);
  color:#fff;
  border-radius:9999px;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
  white-space:nowrap;
  border:0;
  cursor:pointer;
}
.eap-catalog__icon{color:#fff;}
.eap-catalog:hover{color:#fff; filter:brightness(.98);}

.eap-catalog-wrap{position:relative; display:inline-flex; align-items:center;}
.eap-catalog-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  width:320px;
  max-width:calc(100vw - 28px);
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  box-shadow:0px 18px 45px -20px rgba(0,0,0,.35);
  padding:10px;
  z-index:1500;
}
.eap-catalog-menu__list{
  max-height:420px;
  overflow:auto;
  padding:4px 0;
}
.eap-catalog-menu__item{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  color:var(--vz-text);
  font-weight:500;
}
.eap-catalog-menu__item:hover{background:rgba(37,99,235,.08); color:var(--vz-text);}
.eap-catalog-menu__all{font-weight:700; border-bottom:1px solid rgba(0,0,0,.06); margin-bottom:6px;}
.eap-catalog-menu__loading,.eap-catalog-menu__empty{padding:10px 12px; color:var(--vz-muted); font-size:14px;}

.eap-search{
  flex:1 1 auto;
  display:flex;
  justify-content:space-between;
  align-items:stretch;
  box-sizing:border-box;
  width:100%;
  height:56px;
  border:2px solid var(--eap-purple);
  border-radius:100px;
  background:#fff;
  position:relative;
}
@media (max-width:991px){
  .eap-search{height:44px;}
}

.eap-search__field{
  position:relative;
  flex-grow:1;
}
.eap-search__input{
  width:100%;
  height:100%;
  box-sizing:border-box;
  /* Keep caret/text vertically centered across browsers */
  padding:0 72px 0 16px;
  font-size:16px;
  font-weight:400;
  line-height:56px;
  border:0;
  border-radius:100px;
  outline:0;
  background:transparent;
  -webkit-appearance:none;
  appearance:none;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}
@media (max-width:991px){
  .eap-search__input{padding:0 60px 0 16px; line-height:44px;}
}
.eap-search__input:focus{border:0; outline:0;}
.eap-search__input:hover,
.eap-search__input:focus{border:0 !important;}

.eap-search__ph{
  position:absolute;
  top:0;
  left:0;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  box-sizing:border-box;
  width:100%;
  height:100%;
  padding:16px;
  pointer-events:none;
}
@media (max-width:991px){
  .eap-search__ph{padding:0 16px;}
}
.eap-search__input:focus ~ .eap-search__ph,
.eap-search__input:not(:placeholder-shown) ~ .eap-search__ph{display:none;}

.eap-search__ph-main,
.eap-search__ph-ex{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.eap-search__ph-main{color:var(--vz-text); display:inline;}
.eap-search__ph-ex{color:var(--eap-purple); margin-left:6px; display:inline;}
@media (max-width:991px){
  .eap-search__ph-ex{display:none;}
}

.eap-search__btn{
  /* Keep the button pinned to the right edge (some 3rd-party CSS may break flex layout) */
  position:absolute;
  top:-2px;
  right:-2px;
  flex-grow:0;
  flex-shrink:0;
  width:56px;
  height:56px;
  padding:0;
  margin:0;
  cursor:pointer;
  border:2px solid var(--eap-purple);
  border-radius:50%;
  background:var(--eap-purple);
  color:#fff;
  display:inline-flex;
  justify-content:center;
  align-items:center;
}
@media (max-width:991px){
  .eap-search__btn{width:44px; height:44px; top:-2px; right:-2px;}
}
.eap-search__btn:hover{
  border-color:#2563eb;
  background:#2563eb;
}
.eap-search__icon{width:32px; height:32px;}
@media (max-width:991px){
  .eap-search__icon{width:24px; height:24px;}
}

/* Search suggestions dropdown */
.vz-suggest-wrap{position:relative;}
.vz-suggest{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 10px);
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
  padding:6px;
  z-index:1600;
}
.vz-suggest__item{
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 12px;
  border:0;
  background:transparent;
  text-align:left;
  border-radius:14px;
  cursor:pointer;
}
.vz-suggest__item:hover{background:rgba(37,99,235,.08);} 
.vz-suggest__icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  opacity:.7;
  background:var(--eap-icon);
  -webkit-mask:url('../images/icons/search.svg') no-repeat center / contain;
  mask:url('../images/icons/search.svg') no-repeat center / contain;
}
.vz-suggest__text{
  flex:1 1 auto;
  min-width:0;
  font-size:16px;
  font-weight:600;
  color:var(--vz-text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.vz-suggest__chev{
  flex:0 0 auto;
  opacity:.35;
  font-size:22px;
  line-height:18px;
}

/* Mobile search overlay (full screen suggestions like marketplaces) */
.vz-no-scroll{overflow:hidden !important;}
.vz-search-overlay{
  position:fixed;
  inset:0;
  background:#fff;
  z-index:2000;
  display:flex;
  flex-direction:column;
}
.vz-search-overlay__bar{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.vz-search-overlay__back{
  width:40px;
  height:40px;
  border:0;
  background:transparent;
  font-size:22px;
  line-height:40px;
  color:var(--vz-text);
  border-radius:999px;
}
.vz-search-overlay__back:hover{background:rgba(37,99,235,.08);} 
.vz-search-overlay__field{
  flex:1 1 auto;
  position:relative;
  height:44px;
  border:2px solid var(--eap-purple);
  border-radius:9999px;
  display:flex;
  align-items:center;
  padding:0 14px;
}
.vz-search-overlay__input{
  width:100%;
  border:0;
  outline:0;
  font-size:16px;
  background:transparent;
}
.vz-search-overlay__clear{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border:0;
  border-radius:999px;
  background:rgba(37,99,235,.12);
  color:var(--eap-purple);
  font-size:18px;
  line-height:28px;
}
.vz-search-overlay__go{
  width:44px;
  height:44px;
  border:0;
  border-radius:999px;
  background:rgba(37,99,235,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}
.vz-search-overlay__go-ico{display:block;}
.vz-search-overlay__list{
  padding:6px 12px 18px;
  overflow:auto;
}
.vz-search-overlay__list .vz-suggest__item{
  padding:14px 10px;
  border-radius:14px;
}

.eap-actions{
  display:flex;
  align-items:center;
  gap:26px;
  /* keep actions pinned to the right edge */
  margin-left:auto;
}
.eap-action{
  width:auto;
  min-height:42px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-decoration:none;
  color:var(--eap-icon);
  font-size:14px;
  line-height:16px;
  font-weight:500;
  position:relative;
}
.eap-action svg{color:var(--eap-icon); display:block;}
.eap-action:hover{opacity:.9; color:var(--eap-icon);}

/* Tilda export sets link color via `.t-body a` which is more specific than `.eap-action`.
   Force dark icons/text on the homepage too. */
.t-body .eap-actions .eap-action{color:var(--eap-icon) !important;}
.t-body .eap-actions .eap-action svg{color:var(--eap-icon) !important;}

/* Hide old header elements if any pages still output them */
.vz-nav, .vz-header__actions, .vz-mobile{display:none !important;}

@media (max-width: 992px){
  .eap-header__inner{max-width:100%;}
  .eap-actions{gap:18px;}
  .eap-action{width:auto; font-size:12px;}
  .eap-search__ph{font-size:14px;}

}

/* Hide text labels under header icons (keep aria-label for accessibility) */
.eap-action__label{display:none;}

/* Mobile bottom navigation */
.vz-bottom-nav{display:none;}
@media (max-width: 768px){
  /* Give space for bottom bar */
  .vz-body{padding-bottom:72px;}
  /* Keep the bonus pill visible on small screens (other icons are hidden above) */
  .eap-actions{display:flex;}

  /* Prevent horizontal scroll that can shift the fixed bottom bar */
  html, body{overflow-x:hidden;}

  .vz-bottom-nav{
    display:flex;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    width:100vw;
    max-width:100vw;
    box-sizing:border-box;
    overflow:hidden;
    transform:translateZ(0);
    z-index:1200;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background:#fff;
    border-top:1px solid rgba(21,20,21,.08);
    box-shadow:0 -10px 30px rgba(0,0,0,.06);
    justify-content:space-around;
    gap:6px;
  }

  .vz-bottom-nav__item{
    position:relative;
    text-decoration:none;
    color:#6b7280;
    font-size:12px;
    line-height:1.1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    flex:1 1 0;
    min-width:0;
    padding:4px 6px;
    border-radius:14px;
  }

  .vz-bottom-nav__icon{display:block;width:22px;height:22px;}

  .vz-bottom-nav__badge{
    position:absolute;
    top:0px;
    right:18px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-weight:700;
    font-size:11px;
    line-height:18px;
    text-align:center;
    box-shadow:0 6px 16px rgba(239,68,68,.25);
  }

  .vz-bottom-nav__item.is-active{
    color:#2563eb;
    background:rgba(37,99,235,.08);
  }
  .vz-bottom-nav__item.is-active .vz-bottom-nav__icon{
    filter: invert(35%) sepia(52%) saturate(2150%) hue-rotate(230deg) brightness(95%) contrast(96%);
  }
}

/* Cart counter badge */
.eap-action__badge{
  position:absolute;
  top:-6px;
  right:-8px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--eap-purple);
  color:#fff;
  font-size:11px;
  line-height:18px;
  font-weight:700;
  text-align:center;
  box-shadow:0 4px 10px rgba(0,0,0,.18);
}


.eap-action__icon{display:block;}


@media (max-width: 640px){
  /* Mobile: keep quick actions (bonuses/cart/...) like in the example */
  .eap-header__inner{padding:10px 12px;}
  .eap-logo,.eap-catalog-wrap{display:none !important;}
  .eap-header__main{gap:10px;}
  .eap-search{flex:1; height:44px;}
  .eap-search__ph-ex{display:none;}
  .eap-search__input{padding-left:16px;}
  .eap-search__btn{width:52px;}

  .eap-actions{display:flex !important; gap:10px; align-items:center;}
  .eap-action__label{display:none;}
  .eap-action{padding:0; min-width:auto;}
  .eap-action__badge{top:-6px; right:-6px;}

}


/* Simple alerts/buttons for modals (works even without Bootstrap) */
.vz-alert{
  padding:12px 14px;
  border-radius:var(--vz-radius);
  border:1px solid rgba(0,0,0,.08);
  margin-bottom:12px;
  font-size:14px;
}
.vz-alert--danger{
  background:rgba(220,38,38,.08);
  border-color:rgba(220,38,38,.25);
  color:#991b1b;
}

.btn-link{
  background:transparent;
  border:none;
  padding:10px 12px;
  color:var(--vz-blue);
  text-decoration:none;
  border-radius:var(--vz-radius);
}
.btn-link:hover{ background:rgba(37,99,235,.08); }
.btn-link:disabled{ opacity:.6; cursor:not-allowed; }

/* Icon images (instead of inline SVG) */
.eap-icon{
  display:inline-block;
  width:22px;
  height:22px;
  object-fit:contain;
  vertical-align:middle;
}
.eap-catalog__icon.eap-icon{ width:18px; height:18px; }
.eap-search__icon.eap-icon{ width:18px; height:18px; }
.eap-action__icon.eap-icon{ width:22px; height:22px; }


/* Product images (cards / thumbs)
   Use contain so the whole product photo is visible (no cropping) */
.vz-product-img{
  width:100%;
  height:180px;
  object-fit:contain;
  object-position:center;
  background:#fff;
  padding:10px;
  box-sizing:border-box;
  display:block;
}
.vz-product-img--lg{ height:320px; }

.vz-thumb-img{
  width:72px;
  height:72px;
  object-fit:contain;
  object-position:center;
  background:#fff;
  border:1px solid #eef0f6;
  border-radius:12px;
  padding:6px;
  box-sizing:border-box;
  flex:0 0 auto;
  display:block;
}


/* Toast notifications */
.vz-toast-wrap{
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(420px, calc(100vw - 32px));
}
.vz-toast{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 12px 12px 12px 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transform: translateY(-6px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}
.vz-toast.is-show{ opacity: 1; transform: translateY(0); }
.vz-toast.is-hide{ opacity: 0; transform: translateY(-6px); }
.vz-toast__body{ font-size: 14px; line-height: 1.25; color: #111; flex: 1; }
.vz-toast__close{
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 18px;
  padding: 4px 6px;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(0,0,0,.55);
}
.vz-toast__close:hover{ background: rgba(0,0,0,.06); color: rgba(0,0,0,.75); }
.vz-toast--success{ border-color: rgba(70,200,120,.35); }
.vz-toast--error{ border-color: rgba(240,80,80,.35); }
.vz-toast--info{ border-color: rgba(110,120,255,.35); }
@media (max-width: 480px){
  .vz-toast-wrap{ left: 12px; right: 12px; top: 12px; }
}

/* =========================
   Bonuses / Loyalty
   ========================= */

/* Header bonus pill (mobile & desktop) */
.eap-action--bonus{
  border:0;
  background:transparent;
  padding:0;
  min-width:auto;
}
.eap-action--bonus.is-hidden{ display:none !important; }
.eap-action--bonus .eap-bonus-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  background:#22c55e;
  color:#fff;
  font-weight:800;
  font-size:13px;
  line-height:1;
  box-sizing:border-box;
  user-select:none;
}
.eap-action--bonus .eap-bonus-pill__val{ font-variant-numeric: tabular-nums; }
.eap-action--bonus .eap-bonus-pill__unit{ opacity:.95; }

.vz-bonus-cart{
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 14px;
}

.vz-bonus-modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.vz-bonus-modal-overlay.is-open{ display:flex; }

.vz-bonus-modal{
  width: min(520px, calc(100vw - 28px));
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

/* ensure nothing "уезжает" из-за box-sizing */
.vz-bonus-modal, .vz-bonus-modal *{ box-sizing: border-box; }

.vz-bonus-modal__hero{
  background: linear-gradient(135deg, #00a651, #7fd200);
  padding: 22px 22px 18px;
  position: relative;
}
.vz-bonus-modal__title{ color:#fff; font-weight:700; font-size:18px; }
.vz-bonus-modal__count{ color:#fff; font-weight:800; font-size:36px; line-height:1.1; margin-top:6px; }
.vz-bonus-modal__close{
  position:absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.95);
  color: rgba(0,0,0,.75);
  font-size: 18px;
  cursor: pointer;
}
.vz-bonus-modal__close:hover{ background:#fff; }

.vz-bonus-modal__body{ padding: 18px 22px 22px; }
.vz-bonus-row{ display:flex; gap: 12px; padding: 10px 0; }
.vz-bonus-row + .vz-bonus-row{ border-top: 1px solid rgba(0,0,0,.06); }
.vz-bonus-ic{
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(0,166,81,.12);
  display:flex; align-items:center; justify-content:center;
  color: #00a651; font-weight:800;
  flex: 0 0 auto;
}
.vz-bonus-row__t{ font-weight:700; }
.vz-bonus-row__d{ color: rgba(0,0,0,.6); font-size: 13px; margin-top:2px; }
.vz-bonus-modal__ok{
  margin-top: 14px;
  width:100%;
  display:block;
  border:0;
  border-radius: 14px;
  padding: 12px 14px;
  background:#00a651;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.vz-bonus-modal__ok:hover{ filter: brightness(.97); }

/* Mobile: bottom sheet */
@media (max-width: 768px){
  .vz-bonus-modal-overlay{ align-items: flex-end; }
  .vz-bonus-modal{ width: 100vw; max-width: 100vw; border-radius: 18px 18px 0 0; }
  .vz-bonus-modal__body{ padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}


/* Cart (screenshot-like) */

:root{
  --vz-purple:#2563eb;
  --vz-purple-hover:#2563eb;
  --vz-bg:#f6f7fb;
  --vz-card:#ffffff;
  --vz-radius-xl:22px;
}

.vz-body.vz-body--cart{ background:var(--vz-bg); }

.vz-cart-page{ padding:22px 0 40px; }
.vz-cart-title{
  font-weight:800;
  letter-spacing:-0.02em;
  font-size:32px;
  margin:0 0 18px;
}

.vz-cart-list-card{
  background:var(--vz-card);
  border-radius:var(--vz-radius-xl);
  box-shadow:0 18px 45px rgba(12, 18, 38, 0.06);
  padding:18px 18px 6px;
}

.vz-cart-list-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:6px 4px 10px;
}

.vz-cart-link{
  appearance:none;
  border:0;
  background:transparent;
  color:var(--vz-purple);
  font-weight:700;
  padding:8px 10px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.vz-cart-link:hover{ background:rgba(37,99,235,0.08); }
.vz-cart-link:disabled{
  opacity:.45;
  pointer-events:none;
}

.vz-cart-selectall{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  user-select:none;
  font-weight:700;
  color:#242424;
}
.vz-cart-selectall input{ display:none; }

.vz-item-check{ display:inline-flex; align-items:center; justify-content:center; cursor:pointer; user-select:none; }
.vz-item-check input{ display:none; }

.vz-cart-selectall .vz-check,
.vz-item-check .vz-check{
  width:22px;
  height:22px;
  border-radius:7px;
  border:2px solid #d7d8e2;
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.vz-cart-selectall .vz-check::after,
.vz-item-check .vz-check::after{
  content:'';
  width:10px;
  height:6px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(-45deg);
  display:none;
  margin-top:-1px;
}
.vz-cart-selectall input:checked + .vz-check,
.vz-item-check input:checked + .vz-check{
  background:var(--vz-purple);
  border-color:var(--vz-purple);
}
.vz-cart-selectall input:checked + .vz-check::after,
.vz-item-check input:checked + .vz-check::after{
  display:block;
}

.vz-cart-items{ padding:0 4px 6px; }

.vz-cart-item{
  display:grid;
  grid-template-columns: 1fr auto auto 28px;
  align-items:center;
  gap:16px;
  padding:16px 0;
  border-top:1px solid #eef0f6;
}
.vz-cart-item.is-first{ border-top:0; }

.vz-cart-item__left{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}

.vz-cart-item__imgwrap{
  position:relative;
  flex:0 0 auto;
  width:74px;
  height:74px;
  border-radius:16px;
  border:1px solid #eef0f6;
  background:#fff;
  overflow:hidden;
}
.vz-cart-item__img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:6px;
  box-sizing:border-box;
  display:block;
}

.vz-discount-badge{
  position:absolute;
  left:8px;
  bottom:8px;
  background:#ff2d6e;
  color:#fff;
  font-weight:800;
  font-size:12px;
  padding:4px 8px;
  border-radius:10px;
}

.vz-cart-item__info{ min-width:0; }
.vz-cart-item__name{
  display:block;
  font-weight:750;
  color:#1a1a1a;
  text-decoration:none;
  line-height:1.25;
}
.vz-cart-item__name:hover{ color:var(--vz-purple); }

.vz-cart-item__meta{ margin-top:6px; }
.vz-delivery{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#6b6b7b;
  font-weight:650;
  font-size:13px;
}

.vz-cart-item__price{
  text-align:right;
  white-space:nowrap;
}
.vz-price-now{
  font-weight:850;
  font-size:22px;
  letter-spacing:-0.02em;
}
.vz-price-old{
  margin-top:2px;
  font-weight:650;
  color:#9b9bb0;
  text-decoration:line-through;
  font-size:13px;
}

.vz-cart-item__qty{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  white-space:nowrap;
}

.vz-qty{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#f2f3fa;
  border-radius:999px;
  padding:6px 10px;
}
.vz-qty__btn{
  width:28px;
  height:28px;
  border:0;
  border-radius:999px;
  background:transparent;
  font-weight:900;
  font-size:18px;
  line-height:1;
  color:#1b1b1b;
}
.vz-qty__btn:hover{ background:#e7e9f7; }
.vz-qty__val{
  min-width:18px;
  text-align:center;
  font-weight:800;
}

.vz-remove-btn{
  border:0;
  background:#f2f3fa;
  color:#242424;
  border-radius:999px;
  padding:10px 14px;
  font-weight:750;
}
.vz-remove-btn:hover{ background:#e7e9f7; }

.vz-cart-sidebar{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.vz-cart-card,
.vz-cart-receipt{
  background:var(--vz-card);
  border-radius:var(--vz-radius-xl);
  box-shadow:0 18px 45px rgba(12, 18, 38, 0.06);
  padding:16px;
}

.vz-cart-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  background:#eef0f6;
  border-radius:18px;
  padding:6px;
}
.vz-tab{
  border:0;
  background:transparent;
  border-radius:14px;
  padding:10px 10px;
  text-align:center;
  font-weight:850;
  color:#222;
}
.vz-tab small{
  display:block;
  font-size:12px;
  font-weight:650;
  color:#7a7a8d;
  margin-top:2px;
}
.vz-tab.is-active{
  background:#fff;
  box-shadow:0 10px 20px rgba(12, 18, 38, 0.10);
}
.vz-tab:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.vz-cart-phmini{ margin-top:12px; }
.vz-phmini__row{ display:flex; gap:10px; align-items:center; justify-content:space-between; }
.vz-phmini__title{ font-weight:800; font-size:14px; }
.vz-phmini__btn{
  border:1px solid #e6e7ee;
  background:#fff;
  border-radius:999px;
  padding:8px 12px;
  font-weight:750;
}

.vz-cart-card__title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:850;
  margin-bottom:12px;
}
.vz-cart-card__icon{
  width:34px;
  height:34px;
  border-radius:12px;
  background:#f2f3fa;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--vz-purple);
}

.vz-promo{ display:flex; gap:10px; }
.vz-input{
  width:100%;
  border:1px solid #e6e7ee;
  border-radius:16px;
  padding:12px 14px;
  font-weight:650;
  outline:none;
}
.vz-input:focus{
  border-color:rgba(37,99,235,0.55);
  box-shadow:0 0 0 4px rgba(37,99,235,0.12);
}

.vz-btn-purple{
  border:0;
  background:var(--vz-purple);
  color:#fff;
  border-radius:16px;
  padding:12px 16px;
  font-weight:850;
  white-space:nowrap;
}
.vz-btn-purple:hover{ background:var(--vz-purple-hover); }
.vz-btn-purple--ghost{
  background:rgba(37,99,235,0.08);
  color:var(--vz-purple);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Ghost variant: on hover just fill (no underline, white text) */
.vz-btn-purple--ghost:hover,
.vz-btn-purple--ghost:focus{
  background:var(--vz-purple-hover);
  color:#fff;
  text-decoration:none;
}

.vz-cart-receipt{
  padding:16px 16px 12px;
}
.vz-receipt-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-weight:650;
  color:#333;
  padding:8px 0;
}
.vz-receipt-row.is-total{
  font-weight:900;
  font-size:16px;
}
.vz-receipt-divider{
  height:1px;
  background:#eef0f6;
  margin:6px 0 2px;
}

.vz-checkout-btn{
  border:0;
  background:var(--vz-purple);
  color:#fff;
  border-radius:999px;
  height:56px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:900;
  box-shadow:0 16px 35px rgba(37,99,235,0.25);
}
.vz-checkout-btn:hover{ background:var(--vz-purple-hover); }
.vz-checkout-btn:disabled{
  opacity:.55;
  box-shadow:none;
}

.vz-cart-terms{
  font-size:12px;
  color:#7a7a8d;
  line-height:1.5;
  padding:0 4px;
}
.vz-cart-terms a{ color:var(--vz-purple); text-decoration:none; }
.vz-cart-terms a:hover{ text-decoration:underline; }

.vz-cart-installments{ padding:14px 16px; }
.vz-installments{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.vz-installments__dots{
  display:grid;
  grid-template-columns:repeat(2, 10px);
  gap:6px;
  margin-top:2px;
}
.vz-installments__dots span{
  width:10px;
  height:10px;
  border-radius:4px;
  background:#52d273;
  opacity:.85;
}
.vz-installments__dots span:nth-child(2){ background:#79e7a1; }
.vz-installments__dots span:nth-child(3){ background:#a6e45c; }
.vz-installments__dots span:nth-child(4){ background:#7fd3ff; }

.vz-installments__body{ flex:1 1 auto; min-width:0; }
.vz-installments__title{
  font-weight:900;
  font-size:14px;
  margin-bottom:2px;
}
.vz-installments__info{
  flex:0 0 auto;
  width:26px;
  height:26px;
  border-radius:999px;
  border:1px solid #e6e7ee;
  background:#fff;
  color:#6b6b7b;
  font-weight:900;
  line-height:1;
  margin-top:2px;
}

.vz-empty{
  padding:18px 10px 22px;
}
.vz-empty__title{
  font-weight:900;
  font-size:18px;
  margin-bottom:4px;
}

.vz-small-muted{ color:#7a7a8d; }
.vz-mt-8{ margin-top:8px; }
.vz-mt-12{ margin-top:12px; }

@media (max-width: 991px){
  .vz-cart-title{ font-size:28px; }
  .vz-cart-item{
    grid-template-columns: 1fr 28px;
    grid-template-rows:auto auto auto;
    align-items:start;
  }
  .vz-cart-item__price,
  .vz-cart-item__qty{
    justify-self:start;
    text-align:left;
    align-items:flex-start;
  }
  .vz-cart-item__qty{ flex-direction:row; gap:12px; }
  .vz-remove-btn{ padding:9px 12px; }
}


/* Promotions slider (Home) */
.vz-promo-section{
  padding: 22px 0 10px;
  background: transparent;
}
.vz-promo-section__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.vz-promo-section__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 14px;
}
.vz-promo-section__title{
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
  margin: 0;
}

.vz-promo-slider{
  position: relative;
}
.vz-promo-slider__track{
  display:flex;
  gap: 18px;
  overflow:auto;
  /* extra side padding so cards don't sit under nav arrows */
  padding: 8px 56px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.vz-promo-slider__track::-webkit-scrollbar{ height: 8px; }
.vz-promo-slider__track::-webkit-scrollbar-thumb{ background:#e8e8f2; border-radius:999px; }

.vz-promo-slider__nav{
  position:absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--vz-border-strong);
  background: #fff;
  box-shadow: var(--vz-shadow);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  color: #3a3a4a;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 2;
}
.vz-promo-slider__nav--prev{ left: 8px; }
.vz-promo-slider__nav--next{ right: 8px; }
.vz-promo-slider__nav:disabled{
  opacity:.35;
  cursor:default;
}

.vz-promo-card{
  width: 240px;
  min-width: 240px;
  background:#fff;
  border: 1px solid var(--vz-border);
  border-radius: 10px;
  box-shadow: var(--vz-shadow);
  display:flex;
  flex-direction:column;
  scroll-snap-align:start;
  overflow:hidden;
  cursor:pointer;
  outline: none;
}
.vz-promo-card:hover{ box-shadow: var(--vz-shadow-hover); }
.vz-promo-card:focus{ box-shadow: var(--vz-shadow-hover); outline: 2px solid rgba(126, 87, 194, .25); outline-offset: 2px; }

.vz-promo-card__top{
  position: relative;
  padding: 10px 10px 0;
}
.vz-promo-card__badge{
  position:absolute;
  left: 10px;
  top: 10px;
  background: #69aefc;
  color:#fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 10px;
}
.vz-promo-card__days{
  position:absolute;
  right: 10px;
  bottom: 10px;
  background: #16a34a;
  color:#fff;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
}
.vz-promo-card__fav{
  position:absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
  /* keep the catalog button look */
  background:#fff;
  cursor:pointer;
}


.vz-promo-card__imgwrap{
  height: 150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}
.vz-promo-card__img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vz-promo-card__body{
  padding: 8px 12px 12px;
  display:flex;
  flex-direction:column;
  gap: 6px;
  flex: 1;
}
.vz-promo-card__name{
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin:0;
  color: var(--vz-text);
  min-height: 38px;
}
.vz-promo-card__muted{
  font-size: 12px;
  color: var(--vz-muted);
  font-weight: 300;
  margin:0;
}

.vz-promo-card__rating{
  display:flex;
  align-items:center;
  gap:6px;
  font-size: 12px;
  color: #f59e0b;
  font-weight: 700;
}
.vz-promo-card__price{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-top: 2px;
}
.vz-promo-card__price-now{
  font-size: 20px;
  font-weight: 900;
  color: var(--vz-text);
}
.vz-promo-card__price-old{
  font-size: 14px;
  color: #8b8b9a;
  text-decoration: line-through;
}

.vz-promo-card__btn{
  margin-top: auto;
  width:100%;
  box-sizing: border-box;
  border-radius: 999px;
  border: 2px solid #2563eb;
  background: #2563eb;
  color:#fff;
  font-weight: 800;
  padding: 10px 12px;
  cursor:pointer;
}
.vz-promo-card__btn.is-outline{
  background: transparent;
  color: #2563eb;
}
.vz-promo-card__btn:disabled{
  opacity:.55;
  cursor:default;
  border-color:#cfcfe8;
  color:#8a8aa3;
  background:#f6f6fb;
}

.vz-promo-slider__skeleton{
  display:flex;
  gap: 18px;
  width: 100%;
}
.vz-promo-skeleton-card{
  width: 240px;
  min-width: 240px;
  height: 320px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f3f4f6, #eaeef5, #f3f4f6);
  background-size: 240% 240%;
  animation: vzShimmer 1.4s ease infinite;
}
@keyframes vzShimmer{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 100% 50%; }
}

@media (max-width: 768px){
  .vz-promo-section__title{ font-size: 28px; }
  .vz-promo-card, .vz-promo-skeleton-card{ width: 210px; min-width: 210px; }
  .vz-promo-slider__nav{ display:none; }
  .vz-promo-slider__track{ padding: 8px 6px 14px; }
}

/* Prescription-only products */
.vz-rx-note{font-size:12px;line-height:1.2;color:#b91c1c;font-weight:600;}
.vz-rx-alert{padding:10px 12px;border-radius:12px;background:rgba(185,28,28,.08);color:#b91c1c;font-weight:600;}


/* Prescription confirmation (cart checkout) */
.vz-rx-confirm{
  margin: 12px 0 10px;
  padding: 12px 14px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.06);
  font-size: 13px;
  line-height: 1.35;
}
.vz-rx-confirm-label{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.vz-rx-confirm-label input{
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  flex: 0 0 auto;
}


/* Admin reservations */
.res-card{border-radius:16px;}
.res-card .badge{font-weight:600;}


/* Admin helpers */
.admin-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.product-image-preview-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 10px;
}

.product-image-preview {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vz-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2050;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(243,247,255,0.98) 100%);
  color: #0f172a;
  border: 1px solid rgba(37,99,235,0.16);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(15,23,42,0.14), 0 8px 24px rgba(37,99,235,0.12);
  backdrop-filter: blur(14px);
}

.vz-cookie-banner__badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  font-size: 24px;
  background: linear-gradient(180deg, rgba(37,99,235,0.16) 0%, rgba(160,208,10,0.18) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.vz-cookie-banner__content {
  min-width: 0;
  flex: 1 1 auto;
}

.vz-cookie-banner__title {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #151415;
  margin-bottom: 4px;
}

.vz-cookie-banner__text {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.vz-cookie-banner__actions {
  flex: 0 0 auto;
  margin-left: auto;
}

.vz-cookie-banner__btn {
  min-width: 120px;
  min-height: 42px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(37,99,235,0.22);
}

@media (max-width: 768px) {
  .vz-cookie-banner,
  .vz-cookie-banner--with-bottom-nav {
    left: 12px;
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }

  .vz-cookie-banner {
    flex-direction: column;
  }

  .vz-cookie-banner__badge {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 14px;
    font-size: 22px;
  }

  .vz-cookie-banner__actions {
    width: 100%;
    margin-left: 0;
  }

  .vz-cookie-banner__btn {
    width: 100%;
  }
}

/* Cashier workspace */
.cashier-shell{display:flex;flex-direction:column;gap:20px}
.cashier-hero{
  display:flex;justify-content:space-between;gap:18px;align-items:stretch;flex-wrap:wrap;
  padding:28px;border-radius:28px;color:#fff;
  background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 40%,#60a5fa 100%);
  box-shadow:0 18px 40px rgba(37,99,235,.25);
}
.cashier-eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;opacity:.8;margin-bottom:8px}
.cashier-title{font-size:clamp(28px,3.2vw,42px);line-height:1.05;font-weight:700;margin:0 0 12px}
.cashier-hero__meta{font-size:15px;opacity:.92;max-width:760px}
.cashier-hero__side{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;min-width:min(100%,380px)}
.cashier-mini-card{background:rgba(255,255,255,.12);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:18px}
.cashier-mini-card__label{font-size:13px;opacity:.78;margin-bottom:8px}
.cashier-mini-card__value{font-size:18px;font-weight:700;line-height:1.25}
.cashier-pharmacy-pill{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);padding:10px 14px;border-radius:999px;margin-bottom:10px;font-weight:600}
.cashier-pharmacy-pill__dot{width:10px;height:10px;border-radius:50%;background:#86efac;box-shadow:0 0 0 4px rgba(134,239,172,.2)}
.cashier-pharmacy-pill__branch{background:rgba(255,255,255,.15);padding:4px 10px;border-radius:999px;font-size:12px;font-weight:500}
.cashier-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cashier-stat{padding:20px 22px;border-radius:24px;background:#fff;border:1px solid rgba(15,23,42,.06);box-shadow:0 10px 24px rgba(15,23,42,.08)}
.cashier-stat__label{font-size:14px;color:#64748b;margin-bottom:6px}
.cashier-stat__value{font-size:34px;font-weight:700;line-height:1}
.cashier-stat--new .cashier-stat__value{color:#2563eb}
.cashier-stat--confirmed .cashier-stat__value{color:#0284c7}
.cashier-stat--ready .cashier-stat__value{color:#16a34a}
.cashier-stat--today .cashier-stat__value{color:#7c3aed}
.cashier-toolbar .card-body{padding:22px}
.cashier-status-tabs{display:flex;gap:10px;flex-wrap:wrap}
.cashier-status-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#f8fafc;color:#0f172a;text-decoration:none;border:1px solid rgba(15,23,42,.08);font-weight:600}
.cashier-status-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#fff;color:#475569;font-size:12px;border:1px solid rgba(15,23,42,.08)}
.cashier-status-tab.is-active{background:#e8f0ff;color:#1d4ed8;border-color:#bfdbfe}
.cashier-grid{display:grid;grid-template-columns:minmax(360px,440px) minmax(0,1fr);gap:18px;align-items:start}
.cashier-list,.cashier-detail{position:sticky;top:96px}
.cashier-orders{display:flex;flex-direction:column;gap:12px;min-height:320px}
.cashier-order-card{display:block;padding:18px;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid rgba(37,99,235,.08);box-shadow:0 8px 22px rgba(15,23,42,.06);text-decoration:none;color:#0f172a;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.cashier-order-card:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(15,23,42,.1);color:#0f172a;border-color:#93c5fd}
.cashier-order-card.is-active{border-color:#2563eb;box-shadow:0 12px 28px rgba(37,99,235,.18)}
.cashier-order-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.cashier-order-card__title{font-size:18px;font-weight:700;line-height:1.2}
.cashier-order-card__customer{font-size:14px;color:#334155;margin-top:4px}
.cashier-order-card__meta,.cashier-order-card__contact{display:flex;gap:10px;flex-wrap:wrap;color:#64748b;font-size:13px;margin-top:12px}
.cashier-detail .card-body{padding:24px}
.cashier-detail__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.cashier-detail__title{font-size:34px;font-weight:800;line-height:1;margin:0}
.cashier-detail__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 20px}
.cashier-detail__summary>div{padding:16px;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.06)}
.cashier-detail__summary span{display:block;font-size:12px;color:#64748b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.08em}
.cashier-detail__summary strong{display:block;font-size:18px;line-height:1.2}
.cashier-detail__info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}
.cashier-info-box{padding:18px;border-radius:20px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 8px 20px rgba(15,23,42,.05)}
.cashier-info-box__label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.cashier-info-box__value{font-size:18px;font-weight:700;line-height:1.25}
.cashier-info-box__meta{margin-top:6px;color:#475569;font-size:14px}
.cashier-comments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cashier-comments__block{padding:16px 18px;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.06)}
.cashier-comments__label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.cashier-comments__value{font-size:14px;color:#0f172a;line-height:1.55}
.cashier-section-title{font-size:16px;font-weight:700;margin-bottom:12px}
.cashier-item-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid rgba(15,23,42,.08)}
.cashier-item-row:first-child{border-top:0}
.cashier-item-row__name{font-weight:600}
.cashier-item-row__meta{font-size:13px;color:#64748b;margin-top:4px}
.cashier-item-row__side{text-align:right;display:flex;flex-direction:column;gap:6px;color:#475569}
.cashier-empty{display:grid;place-items:center;min-height:220px;border:1px dashed rgba(15,23,42,.14);border-radius:22px;color:#64748b;background:#f8fafc;padding:24px;text-align:center}
@media (max-width: 1199px){
  .cashier-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cashier-grid{grid-template-columns:1fr}
  .cashier-list,.cashier-detail{position:static}
}
@media (max-width: 767px){
  .cashier-hero{padding:22px;border-radius:22px}
  .cashier-hero__side{grid-template-columns:1fr;min-width:100%}
  .cashier-stats{grid-template-columns:1fr 1fr}
  .cashier-detail__summary,.cashier-detail__info-grid,.cashier-comments{grid-template-columns:1fr}
  .cashier-detail__title{font-size:28px}
  .cashier-order-card__top,.cashier-detail__header{flex-direction:column;align-items:flex-start}
}

/* =========================
   Header profile / cabinet refresh
   ========================= */
[hidden]{display:none !important;}
.eap-action--bonus-temp-hidden{ display:none !important; }

.eap-profile-menu-wrap{
  position:relative;
  z-index:2300;
  display:flex;
  align-items:center;
}
.eap-profile-menu-wrap.is-open{z-index:2600;}

.eap-action--profile{
  justify-content:center;
}
.eap-profile-menu-wrap .eap-action{height:100%;}
.eap-action--profile.is-logged-in{
  gap:0;
}
.vz-bottom-nav__item.is-logged-in{
  gap:4px;
}
.eap-action--profile.is-logged-in [data-profile-icon],
.vz-bottom-nav__item.is-logged-in [data-profile-icon]{
  display:none !important;
}
.eap-action--profile.is-logged-in [data-profile-initials],
.vz-bottom-nav__item.is-logged-in [data-profile-initials]{
  display:inline-flex !important;
}
.eap-profile-badge,
.vz-bottom-nav__avatar,
.eap-profile-menu__avatar,
.cabinet-user__avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.02em;
}
.eap-profile-badge{
  width:42px;
  height:42px;
  background:#94a3b8;
  color:#fff;
  font-size:14px;
  line-height:1;
  box-shadow:0 8px 18px rgba(15,23,42,.16);
}
.eap-profile-menu{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  width:280px;
  max-width:calc(100vw - 24px);
  background:#fff;
  border-radius:20px;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 22px 55px rgba(15,23,42,.18);
  padding:10px;
  z-index:2600;
  overflow:hidden;
}
.eap-profile-menu-wrap.is-open .eap-profile-menu{display:block;}
.eap-profile-menu__head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 10px 14px;
  margin-bottom:6px;
  border-bottom:1px solid rgba(15,23,42,.06);
}
.eap-profile-menu__avatar{
  width:44px;
  height:44px;
  background:#94a3b8;
  color:#fff;
  font-size:14px;
  flex:0 0 44px;
}
.eap-profile-menu__meta{min-width:0;}
.eap-profile-menu__name{
  font-size:15px;
  font-weight:700;
  color:#0f172a;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.eap-profile-menu__sub{
  font-size:12px;
  color:#64748b;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-top:2px;
}
.eap-profile-menu__item{
  display:flex;
  align-items:center;
  width:100%;
  border:0;
  background:transparent;
  text-decoration:none;
  color:#334155;
  font-weight:500;
  padding:12px 14px;
  border-radius:14px;
  box-sizing:border-box;
}
.eap-profile-menu__item:hover{background:#f1f5f9; color:#0f172a;}
.eap-profile-menu__item--danger{color:#dc2626;}
.eap-profile-menu__item--danger:hover{background:rgba(220,38,38,.08); color:#b91c1c;}
#allrecords .eap-profile-menu,
.t-body .eap-profile-menu{
  background:#fff !important;
}
#allrecords .eap-profile-menu__head,
.t-body .eap-profile-menu__head{
  background:#fff !important;
}
#allrecords .eap-profile-menu__item,
.t-body .eap-profile-menu__item{
  background:transparent !important;
  color:#2563eb !important;
}
#allrecords .eap-profile-menu__item:hover,
.t-body .eap-profile-menu__item:hover{
  background:#eef4ff !important;
  color:#1d4ed8 !important;
}
#allrecords .eap-profile-menu__item--danger,
.t-body .eap-profile-menu__item--danger{
  color:#dc2626 !important;
}
#allrecords .eap-profile-menu__item--danger:hover,
.t-body .eap-profile-menu__item--danger:hover{
  background:rgba(220,38,38,.08) !important;
  color:#b91c1c !important;
}

.vz-bottom-nav__avatar{
  width:22px;
  height:22px;
  background:#94a3b8;
  color:#fff;
  font-size:9px;
  line-height:1;
}

@media (max-width: 992px){
  .eap-actions > *{display:flex !important;}
}
@media (max-width: 640px){
  .eap-actions{gap:12px !important;}
  .eap-actions > *{display:flex !important;}
  .eap-action--bonus-temp-hidden{display:none !important;}
  .eap-profile-badge{width:38px; height:38px; font-size:13px;}
  .eap-profile-menu{right:-6px;}
}

.cabinet-page{
  padding-top:18px;
}
.cabinet-shell{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.cabinet-sidebar{
  position:sticky;
  top:110px;
}
.cabinet-nav,
.cabinet-hero,
.cabinet-panel,
.cabinet-side-note{
  background:#fff;
  border:1px solid rgba(148,163,184,.18);
  border-radius:24px;
  box-shadow:0 18px 44px rgba(15,23,42,.08);
}
.cabinet-nav{
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.cabinet-nav__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 16px;
  border-radius:16px;
  text-decoration:none;
  color:#334155;
  font-weight:500;
  box-sizing:border-box;
}
.cabinet-nav__item:hover{background:#f8fafc; color:#0f172a;}
.cabinet-nav__item.is-active{
  background:#eef4ff;
  color:#1d4ed8;
}
.cabinet-nav__count{
  min-width:24px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  background:#6d5ce7;
  color:#fff;
  font-size:12px;
  line-height:24px;
  text-align:center;
}
.cabinet-side-note{
  margin-top:16px;
  padding:16px 18px;
  color:#475569;
  font-size:14px;
  line-height:1.45;
}
.cabinet-content{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.cabinet-hero{
  padding:28px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.cabinet-hero__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.cabinet-user{
  display:flex;
  align-items:center;
  gap:16px;
}
.cabinet-user__avatar{
  width:64px;
  height:64px;
  background:#94a3b8;
  color:#fff;
  font-size:20px;
  box-shadow:0 14px 30px rgba(15,23,42,.12);
}
.cabinet-user__title{
  font-size:34px;
  line-height:1.05;
  font-weight:800;
  color:#0f172a;
}
.cabinet-user__subtitle{
  font-size:16px;
  color:#64748b;
  margin-top:6px;
}
.cabinet-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}
.cabinet-field{
  padding:16px 18px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid rgba(148,163,184,.18);
  min-height:92px;
}
.cabinet-field--wide{grid-column:1 / -1;}
.cabinet-field__label{
  display:block;
  font-size:13px;
  color:#94a3b8;
  margin-bottom:8px;
}
.cabinet-field__value{
  font-size:18px;
  color:#334155;
  line-height:1.4;
  font-weight:600;
}
.cabinet-pharmacy-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:16px;
}
.cabinet-logout-btn{white-space:nowrap;}
.cabinet-panel{
  padding:24px 24px 22px;
}
.cabinet-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.cabinet-panel__title{
  margin:0;
  font-size:24px;
  font-weight:800;
  color:#0f172a;
}
.cabinet-panel__subtitle{
  margin-top:6px;
  color:#64748b;
  font-size:14px;
}
.cabinet-order-card{
  border-radius:20px;
  border:1px solid rgba(148,163,184,.18);
  background:#f8fafc;
  padding:18px;
}
.cabinet-order-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.cabinet-order-card__number{
  font-weight:800;
  color:#0f172a;
  font-size:18px;
}
.cabinet-order-card__meta,
.cabinet-order-card__date,
.cabinet-order-card__comment{
  color:#64748b;
  font-size:14px;
}
.cabinet-order-card__date{margin-top:10px;}
.cabinet-order-card__items{
  display:grid;
  gap:10px;
  margin-top:16px;
}
.cabinet-order__item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(148,163,184,.14);
}
.cabinet-order__item-muted{color:#64748b;}
.cabinet-order-card__comment{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(148,163,184,.18);
}
.cabinet-history-list{
  display:grid;
  gap:16px;
}
.cabinet-fav-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}
.cabinet-fav-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:14px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid rgba(148,163,184,.18);
}
.cabinet-fav-card__media{
  width:94px;
  height:94px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(148,163,184,.14);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 94px;
}
.cabinet-fav-card__img{
  width:80px;
  height:80px;
  object-fit:contain;
}
.cabinet-fav-card__body{min-width:0; flex:1 1 auto;}
.cabinet-fav-card__name{
  display:block;
  color:#0f172a;
  text-decoration:none;
  font-weight:700;
  line-height:1.35;
}
.cabinet-fav-card__meta{
  color:#64748b;
  font-size:13px;
  margin-top:6px;
}
.cabinet-fav-card__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
}
.cabinet-fav-card__price{
  font-size:18px;
  font-weight:800;
  color:#1d4ed8;
}

@media (max-width: 1100px){
  .cabinet-shell{grid-template-columns:1fr;}
  .cabinet-sidebar{position:static; order:1;}
  .cabinet-content{order:2;}
}
@media (max-width: 768px){
  .cabinet-hero,
  .cabinet-panel{padding:18px; border-radius:20px;}
  .cabinet-user__title{font-size:28px;}
  .cabinet-grid,
  .cabinet-fav-grid{grid-template-columns:1fr;}
  .cabinet-pharmacy-row,
  .cabinet-panel__head,
  .cabinet-hero__top,
  .cabinet-order-card__top,
  .cabinet-fav-card__bottom{
    flex-direction:column;
    align-items:stretch;
  }
  .cabinet-fav-card{flex-direction:column;}
  .cabinet-fav-card__media{width:100%; height:140px; flex-basis:auto;}
  .cabinet-fav-card__img{width:120px; height:120px;}
}

/* =========================
   Fix 4: mobile header cleanup + bottom profile alignment
   ========================= */
@media (max-width: 768px){
  .eap-actions{display:none !important;}
  .eap-header__main{gap:0 !important;}
  .eap-search{flex:1 1 auto; width:100%;}
  .eap-header__inner{padding:8px 10px !important;}
}

.vz-bottom-nav__label{
  display:block;
  min-height:24px;
  line-height:1.1;
  text-align:center;
}

.vz-bottom-nav__icon,
.vz-bottom-nav__avatar{
  width:22px;
  height:22px;
  flex:0 0 22px;
}

.vz-bottom-nav__avatar{
  font-size:9px;
  font-weight:700;
  line-height:1;
  margin:0;
}

.vz-bottom-nav__item{
  gap:4px;
}

.vz-bottom-nav__item[data-bottom-nav="profile"] .vz-bottom-nav__avatar{
  align-self:center;
}

.vz-bottom-nav__item.is-active .vz-bottom-nav__avatar{
  background:#2563eb;
  color:#fff;
}
