/* Shared storefront controls and cart. Scoped to the pharmacy theme. */
body.blizko {
  --bz-control-radius: 12px;
  --bz-surface: #f5f8f6;
  --bz-ink: #193d30;
  --bz-soft-ink: #5b7064;
}
.blizko :is(.btn, .bz-primary, .bz-add, .bz-intro-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: var(--bz-control-radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}
.blizko :is(.btn-primary, .bz-primary) {
  color: #fff;
  background: #147855;
  border: 1px solid #147855;
}
.blizko :is(.btn-primary, .bz-primary):hover {
  color: #fff;
  background: #106646;
  border-color: #106646;
  box-shadow: 0 4px 10px #193d3014;
}
.blizko :is(.btn-light, .btn-secondary) {
  color: #254f3c;
  background: #f0f5f2;
  border-color: #e1eae5;
}
.blizko :is(.btn-light, .btn-secondary):hover { color: #193d30; background: #e5eee8; border-color: #cdded3; }
.blizko :is(.btn-outline-primary, .bz-add) { color: #116641; background: #edf5f0; border: 1px solid #dcebe2; }
.blizko :is(.btn-outline-primary, .bz-add):hover { color: #fff; background: #147855; border-color: #147855; }
.blizko .btn-danger { background: #fff1f0; color: #a73535; border-color: #f1d7d5; }
.blizko .btn-danger:hover { background: #fbe2df; color: #8c2424; border-color: #e7b5ae; }
.blizko .btn-sm { min-height: 44px; padding: 9px 14px; font-size: 13px; }
.blizko :is(.btn, .bz-primary, .bz-add):active:not(:disabled) { transform: translateY(1px); }
.blizko :is(.btn, button):disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.blizko .btn:focus-visible { outline: 3px solid #71b692; outline-offset: 3px; }
.blizko .btn-group { gap: 8px; }
.blizko .btn-group > .btn { border-radius: 12px !important; }
.blizko :is(.form-control, .form-select) { min-height: 46px; padding: 11px 14px; border-radius: 12px; border-color: #d9e4dd; background-color: #fff; font-size: 15px; }
.blizko .form-control::placeholder { color: #627467; }
.blizko .input-group > .btn { border-radius: 0 12px 12px 0; }
.blizko .input-group-text { background: #f4f7f5; border-color: #d9e4dd; }
.blizko .bz-add { width: 100%; }
.blizko .bz-add.secondary { color: #416452; background: #f5f8f6; border-color: #dfe9e3; }
.blizko .bz-add.secondary:hover { color: #116641; background: #eaf4ed; border-color: #c7dece; }
.blizko .bz-dialog-head button { width: 44px; height: 44px; flex-shrink: 0; background: #f0f5f2; }
.blizko :is(.bz-top button, .bz-top a) { display: inline-flex; align-items: center; min-height: 28px; }
.blizko .bz-actions > a { min-height: 46px; }
.blizko .bz-pagination a { min-height: 44px; border-radius: 11px; }
.blizko .bz-product-branches .btn { white-space: nowrap; }
.blizko .price-new, .blizko .bz-price { font-variant-numeric: tabular-nums; }
.blizko .breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 16px 0; font-size: 12px; line-height: 1.6; }
.blizko .breadcrumb > li.breadcrumb-item { min-width: 0; max-width: 100%; padding: 0; white-space: normal; text-shadow: none; overflow-wrap: anywhere; }
.blizko .breadcrumb > li.breadcrumb-item::after { display: none; }
.blizko .breadcrumb > li.breadcrumb-item + li::before { content: '/'; float: none; display: inline; margin-right: 8px; padding: 0; color: #879b8d; }

/* Compact quantity picker, shared by product pages and the cart. */
.bz-control-label { display: block; margin: 0 0 9px; color: var(--bz-soft-ink); font-size: 13px; font-weight: 500; }
.bz-purchase { display: flex; gap: 14px; align-items: center; }
.bz-purchase-block { margin-top: 25px; }
.bz-quantity {
  display: inline-grid;
  grid-template-columns: 44px 48px 44px;
  align-items: center;
  height: 48px;
  flex-shrink: 0;
  overflow: visible;
  border: 1px solid #dce7df;
  border-radius: 13px;
  background: #f5f8f6;
}
.bz-quantity > button { display: grid; place-items: center; width: 44px; height: 46px; padding: 0; border: 0; border-radius: 11px; color: #24523d; background: transparent; font-size: 23px; line-height: 1; transition: background-color 140ms ease, color 140ms ease; }
.bz-quantity > button:hover:not(:disabled) { background: #e4eee8; color: #106646; }
.bz-quantity > button:active:not(:disabled) { background: #d4e5da; }
.bz-quantity > input { width: 100%; min-width: 0; height: 40px; padding: 0 2px; border: 0; border-radius: 7px; outline-offset: 0; background: transparent; color: #193d30; text-align: center; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.bz-quantity > input::-webkit-inner-spin-button, .bz-quantity > input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bz-quantity:focus-within { border-color: #72a88c; }
.blizko .bz-purchase-submit { flex: 1; min-height: 48px; max-width: 360px; gap: 12px; }
.bz-purchase-submit i { font-size: 16px; }
.blizko #product-info .nav-tabs { gap: 6px; padding: 5px; width: fit-content; max-width: 100%; margin: 28px 0 23px; border: 0; border-radius: 15px; background: #f1f5f2; }
.blizko #product-info .nav-tabs .nav-link { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 10px 18px; border: 1px solid transparent; border-radius: 11px; color: #587060; font-size: 14px; font-weight: 550; transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease; }
.blizko #product-info .nav-tabs .nav-link:hover { color: #116641; background: #e6eee8; }
.blizko #product-info .nav-tabs .nav-link.active { color: #165b3d; background: #fff; border-color: #e2eae4; box-shadow: 0 2px 5px #193d3008; }
.blizko #product-info .tab-content { padding: 0 2px; line-height: 1.75; }
.blizko #product-info .rating { color: #647a6b; font-size: 13px; }
.blizko #product-info .rating .fa-star { color: #b69049; }

/* Cart: product cards, a separate order summary and clear empty/error states. */
.blizko #checkout-cart { max-width: 1288px; }
.bz-cart-page .breadcrumb { font-size: 12px; color: #687d70; }
.bz-cart-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 0 27px; }
.bz-cart-heading .bz-eyebrow { margin-bottom: 8px; letter-spacing: 1.5px; }
.blizko .bz-cart-heading h1 { display: flex; align-items: center; gap: 13px; margin: 0; font-size: 36px !important; letter-spacing: -1px; font-weight: 700; }
.bz-cart-count { display: inline-grid; place-items: center; min-width: 33px; height: 29px; padding: 0 9px; border-radius: 9px; background: #eaf3ed; color: #357250; font-size: 14px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.bz-cart-back { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #50705d !important; font-size: 13px; }
.bz-cart-back:hover { color: #147855 !important; }
.bz-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 345px; gap: 28px; align-items: start; }
.bz-cart-main { min-width: 0; }
.bz-cart-fulfillment { display: flex; align-items: center; gap: 13px; padding: 19px 21px; margin-bottom: 18px; border: 1px solid #dfebe2; border-radius: 17px; background: #f5f9f6; }
.bz-cart-fulfillment-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #dfece3; border-radius: 12px; background: #fff; color: #147855; }
.bz-cart-fulfillment > div { min-width: 0; flex: 1; }
.bz-cart-caption { display: block; font-size: 11px; color: #62796b; margin-bottom: 3px; }
.bz-cart-fulfillment strong { display: block; font-size: 14px; font-weight: 650; }
.bz-cart-address { display: block; margin-top: 2px; font-size: 12px; color: #62796b; overflow-wrap: anywhere; }
.bz-cart-change { flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: #147855; font-size: 12px; font-weight: 600; }
.bz-cart-change:hover { background: #e5f0e8; }
.bz-cart-items { border: 1px solid #e1e9e4; border-radius: 18px; background: #fff; overflow: hidden; }
.bz-cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) 138px 44px; grid-template-rows: auto auto; column-gap: 17px; row-gap: 6px; align-items: start; padding: 25px 22px; }
.bz-cart-item + .bz-cart-item { border-top: 1px solid #edf1ee; }
.bz-cart-image { display: grid; place-items: center; grid-row: 1 / 3; width: 88px; height: 96px; padding: 8px; border: 1px solid #f0f3f1; border-radius: 12px; background: #fff; }
.bz-cart-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bz-cart-image > i { color: #8ea497; font-size: 28px; }
.bz-cart-product { grid-row: 1 / 3; min-width: 0; }
.bz-cart-name { display: block; padding-top: 3px; font-size: 15px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.bz-cart-name:hover { color: #147855; }
.bz-cart-details { list-style: none; padding: 0; margin: 7px 0 0; color: #627467; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.bz-cart-unit-price { display: block; margin-top: 9px; font-size: 12px; color: #5d7465; font-variant-numeric: tabular-nums; }
.bz-cart-quantity-form { grid-column: 3; grid-row: 2; margin: 0; }
.bz-cart-line-total { grid-column: 3; grid-row: 1; padding: 2px 0 10px; text-align: center; white-space: nowrap; font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.bz-cart-line-total strong { font-weight: 700; }
.bz-cart-remove { grid-column: 4; grid-row: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -8px; border-radius: 12px; color: #7b8c80 !important; font-size: 16px; transition: background-color 150ms ease, color 150ms ease; }
.bz-cart-remove:hover { background: #fff1ef; color: #a73535 !important; }
.bz-cart-update { display: block; min-height: 28px; margin: 3px auto -5px; padding: 3px 8px; border: 0; border-radius: 6px; background: transparent; color: #567361; font-size: 11px; }
.bz-cart-update:hover { color: #147855; background: #f1f6f2; }
.bz-ui-ready .bz-cart-update { display: none; }
.bz-cart-stock-warning { display: flex; gap: 7px; margin: 10px 0 0; color: #a23f37; font-size: 12px; line-height: 1.5; }
.bz-cart-stock-warning i { margin-top: 3px; }
.bz-cart-summary { position: sticky; top: 24px; padding: 27px 25px 21px; border: 1px solid #dfe8e2; border-radius: 19px; background: #f7faf8; box-shadow: 0 5px 20px #193d3005; }
.bz-cart-summary h2 { margin: 0 0 7px; color: #193d30; font-size: 22px; font-weight: 650; letter-spacing: -.4px; }
.bz-cart-summary-count { margin: 0 0 24px; color: #5b7062; font-size: 13px; }
.bz-cart-summary-count span { font-variant-numeric: tabular-nums; }
.bz-cart-totals { margin: 0 0 24px; }
.bz-cart-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 13px; }
.bz-cart-totals dt { color: #62786a; font-size: 13px; font-weight: 400; }
.bz-cart-totals dd { margin: 0; color: #294f3b; font-size: 14px; font-weight: 550; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bz-cart-totals .bz-cart-grand-total { padding-top: 20px; margin-top: 20px; border-top: 1px solid #dfe8e2; }
.bz-cart-totals .bz-cart-grand-total dt { color: #193d30; font-size: 18px; font-weight: 600; }
.bz-cart-totals .bz-cart-grand-total dd { color: #193d30; font-size: 25px; font-weight: 700; letter-spacing: -.6px; }
.blizko .bz-cart-checkout { display: flex; justify-content: space-between; width: 100%; min-height: 51px; padding: 14px 17px; font-size: 14px; }
.bz-cart-summary-note { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; color: #5b7062; font-size: 11px; line-height: 1.6; }
.bz-cart-summary-note i { margin-top: 3px; color: #648670; }
.bz-cart-extras { margin-top: 24px; }
.bz-cart-extras h2 { font-size: 18px; }
.bz-cart-extras > p { font-size: 13px; color: #62796b; }
.bz-cart-empty { display: flex; flex-direction: column; align-items: center; padding: 60px 20px 74px; border: 1px solid #e3eae5; border-radius: 22px; background: #fbfdfb; text-align: center; }
.bz-cart-empty-icon { position: relative; display: grid; place-items: center; width: 90px; height: 90px; margin: 0 0 24px; border: 1px solid #e0ede4; border-radius: 28px; background: #edf6f0; color: #31865d; font-size: 35px; }
.bz-cart-empty-icon > span { position: absolute; right: -4px; bottom: 0; display: grid; place-items: center; width: 27px; height: 27px; border: 3px solid #fbfdfb; border-radius: 50%; background: #dcece1; color: #3a6d4c; font-size: 11px; font-weight: 700; }
.bz-cart-empty h2 { margin: 0 0 12px; color: #193d30; font-size: 25px; font-weight: 650; letter-spacing: -.6px; }
.bz-cart-empty p { margin: 0 0 25px; color: #6a7e70; font-size: 14px; line-height: 1.75; }
.bz-cart-empty .btn { gap: 22px; }
.bz-cart-feedback { padding: 13px 17px; margin: 12px 0 7px; border: 1px solid #dbe9df; border-radius: 12px; background: #edf7f0; color: #246344; font-size: 13px; }
.bz-cart-feedback[data-kind="error"] { color: #98382f; border-color: #f0d8d4; background: #fff4f1; }
.bz-cart-feedback[hidden] { display: none; }
#shopping-cart[aria-busy="true"] .bz-cart-layout { opacity: .6; pointer-events: none; transition: opacity 100ms ease; }
.bz-cart-feedback button { margin-left: 8px; padding: 5px 9px; min-height: 32px; border: 1px solid currentColor; border-radius: 7px; background: transparent; color: inherit; }
@media (max-width: 1100px) {
  .bz-cart-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; }
  .bz-cart-item { grid-template-columns: 70px minmax(0, 1fr) 138px 44px; gap: 12px; padding: 22px 15px; }
  .bz-cart-image { width: 70px; height: 82px; }
  .bz-cart-summary { padding: 23px 19px; }
}
@media (max-width: 900px) {
  .bz-cart-layout { grid-template-columns: 1fr; }
  .bz-cart-summary { position: static; max-width: none; }
  .bz-cart-summary-count { margin-bottom: 19px; }
  .bz-cart-totals { margin-bottom: 20px; }
  .bz-cart-summary-note { justify-content: center; }
}
@media (max-width: 540px) {
  .blizko :is(.btn, .bz-primary, .bz-add) { font-size: 13px; padding: 11px 14px; }
  .blizko .bz-product .bz-add { gap: 7px; padding: 10px 6px; font-size: 11px; }
  .blizko :is(.form-control, .form-select) { font-size: 16px; }
  .blizko #product-info .nav-tabs { flex-wrap: wrap; gap: 3px; width: 100%; padding: 4px; border-radius: 13px; }
  .blizko #product-info .nav-tabs .nav-item { flex: 1; }
  .blizko #product-info .nav-tabs .nav-link { height: 100%; padding: 9px 12px; font-size: 13px; text-align: center; }
  .bz-purchase { gap: 10px; }
  .blizko .bz-purchase-submit { max-width: none; font-size: 14px; }
  .bz-cart-heading { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 0 20px; }
  .blizko .bz-cart-heading h1 { font-size: 30px !important; }
  .bz-cart-heading .bz-eyebrow { font-size: 9px; }
  .bz-cart-back { min-height: 36px; font-size: 12px; }
  .bz-cart-fulfillment { gap: 10px; padding: 14px 12px; margin-bottom: 13px; border-radius: 14px; }
  .bz-cart-fulfillment-icon { width: 34px; height: 38px; border-radius: 10px; }
  .bz-cart-caption { font-size: 10px; }
  .bz-cart-fulfillment strong { font-size: 13px; }
  .bz-cart-address { font-size: 11px; }
  .bz-cart-change { padding: 8px; font-size: 11px; }
  .bz-cart-items { border-radius: 16px; }
  .bz-cart-item { grid-template-columns: 64px minmax(0, 1fr) 44px; grid-template-rows: auto auto; column-gap: 11px; row-gap: 17px; padding: 18px 13px; }
  .bz-cart-image { grid-row: 1; width: 64px; height: 76px; padding: 6px; }
  .bz-cart-product { grid-column: 2; grid-row: 1; }
  .bz-cart-name { padding-top: 1px; font-size: 13px; line-height: 1.5; }
  .bz-cart-details { margin-top: 6px; font-size: 10px; }
  .bz-cart-unit-price { margin-top: 7px; font-size: 11px; }
  .bz-cart-remove { grid-column: 3; grid-row: 1; width: 44px; height: 44px; margin: -8px -6px 0 0; }
  .bz-cart-quantity-form { grid-column: 1 / 3; grid-row: 2; }
  .bz-cart-line-total { grid-column: 2 / 4; grid-row: 2; justify-self: end; align-self: center; padding: 0; font-size: 18px; pointer-events: none; }
  .bz-cart-quantity-form .bz-quantity { grid-template-columns: 44px 44px 44px; }
  .bz-cart-update { margin-left: 27px; margin-right: 0; }
  .bz-cart-summary { padding: 23px 20px 19px; border-radius: 16px; }
  .bz-cart-summary h2 { font-size: 21px; }
  .bz-cart-totals .bz-cart-grand-total dd { font-size: 27px; }
  .blizko .bz-cart-checkout { font-size: 14px; min-height: 52px; }
  .bz-cart-summary-note { font-size: 11px; }
  .bz-cart-empty { padding: 42px 16px 48px; border-radius: 18px; }
  .bz-cart-empty h2 { font-size: 23px; }
  .bz-cart-empty p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .blizko :is(.btn, .bz-primary, .bz-add, .bz-intro-link, .bz-quantity > button, .bz-cart-remove, #product-info .nav-link) { transition: none; }
  .blizko :is(.btn, .bz-primary, .bz-add):active:not(:disabled) { transform: none; }
}
