.blockcart .blockcart__dropdown {
  width: 420px;
  min-width: 0;
  max-width: calc(100vw - 24px);
  overflow: hidden;
  border: 1px solid #e1e5ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(25, 42, 113, .14);
}

.blockcart .cart-dropdown__content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px);
  padding: 8px 16px 16px;
  overflow-y: auto;
}

.blockcart .cart-dropdown__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e9ebf0;
}

.blockcart .cart-dropdown__title .h5 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #303746;
}

.blockcart .cart-dropdown__count {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 12px;
  background: #f0f2f8;
  color: #192a71;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.blockcart .cart-dropdown__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #626977;
}

.blockcart .cart-dropdown__close:hover,
.blockcart .cart-dropdown__close:focus {
  background: #f5f6fa;
  color: #192a71;
}

.blockcart .cart-dropdown__products {
  flex: 1 1 auto;
  min-height: 80px;
  max-height: 320px;
  margin: 0;
  padding: 0 4px 0 0;
  border: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cbd1df transparent;
}

.blockcart .cart-dropdown__products .cart-products {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px 0;
  border: 0;
}

.blockcart .cart-dropdown__products .cart-products + .cart-products {
  border-top: 1px solid #eef0f5;
}

.blockcart .cart-products__thumb {
  display: block;
  width: 60px;
  max-width: 60px;
  padding: 0;
}

.blockcart .cart-products__thumb img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.blockcart .cart-products__desc { min-width: 0; padding: 0; }
.blockcart .cart-products__name { display: block; color: #303746; font-size: 13px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; text-decoration: none; }
.blockcart .cart-products__name:hover { color: #192a71; text-decoration: underline; }
.blockcart .cart-products__attributes { margin: 4px 0 0; padding: 0; list-style: none; }
.blockcart .cart-products__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-top: 7px; }
.blockcart .cart-products__quantity { color: #626977; font-size: 12px; }
.blockcart .cart-products__meta .price { color: #192a71; font-size: 14px; font-weight: 600; white-space: nowrap; }
.blockcart .cart-products__remove { margin: -5px 0 0; }
.blockcart .cart-products__remove a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; color: #626977; text-decoration: none; }
.blockcart .cart-products__remove a:hover { background: #fff0f1; color: #b32638; }
.blockcart .cart-dropdown__close svg,
.blockcart .cart-products__remove svg { pointer-events: none; }

.blockcart .cart-dropdown__close:focus-visible,
.blockcart .cart-products__remove a:focus-visible,
.blockcart .cart-products__name:focus-visible,
.blockcart .cart-products__thumb:focus-visible { outline: 2px solid #192a71; outline-offset: -2px; }

.blockcart .cart-dropdown__footer { flex-shrink: 0; padding-top: 10px; border-top: 1px solid #e9ebf0; }
.blockcart .cart-dropdown__totals { display: grid; gap: 6px; margin: 12px 0; }
.blockcart .cart-dropdown__totals .cart-summary-line { align-items: baseline; gap: 12px; margin: 0; font-size: 13px; line-height: 1.4; color: #626977; }
.blockcart .cart-dropdown__totals .value { flex-shrink: 0; color: #303746; font-variant-numeric: tabular-nums; }
.blockcart .cart-dropdown__totals .cart-dropdown__total-final { font-size: 14px; font-weight: 600; color: #192a71; }
.blockcart .cart-dropdown__total-final .value { font-size: 18px; font-weight: 700; color: #192a71; }
.blockcart .cart-dropdown__footer .cart-dropdown__checkout.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.blockcart .cart-dropdown__empty { padding: 20px 0 8px; color: #626977; font-size: 13px; line-height: 1.5; }
