/* Выпадающая мини-корзина: карточка товара с кнопкой удаления */
#vmCartModule .cart_content {
  width: 340px; padding: 6px 18px 18px; border: 0; border-radius: 18px;
  box-shadow: 0 18px 48px rgba(90, 40, 120, .22), 0 3px 10px rgba(0, 0, 0, .08);
  color: #2b2233; box-sizing: border-box;
}
#vmCartModule .cart_content:before { display: none; }
#vmCartModule .vm_cart_products { max-height: 320px; padding-right: 2px; }
#vmCartModule .product_row {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 0;
  border-bottom: 1px solid #f0e6f5; overflow: visible; transition: opacity .2s, transform .2s;
}
#vmCartModule .product_row.is-removing { opacity: .35; pointer-events: none; transform: translateX(8px); }
#vmCartModule .vmcontainer .vmcontainer { display: block; }
#vmCartModule .cart_content .block-left { float: none; width: auto; flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-start; font-size: 15px; line-height: 1.35; }
#vmCartModule span.image { float: none; flex: 0 0 64px; width: 64px; height: 64px; max-height: none; margin: 0 12px 0 0; }
#vmCartModule span.image img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; display: block; }
#vmCartModule .quantity { color: #8a7a96; margin-right: 4px; }
#vmCartModule .product_name { flex: 1; min-width: 0; font-weight: 600; }
#vmCartModule .product_name a { font-weight: 600; }
#vmCartModule .cart_content .block-right {
  float: none; width: auto; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  white-space: nowrap; font-weight: 700; font-size: 15px;
}
#vmCartModule .cart_remove {
  position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #f6eefa; color: #8a5fa3; font-size: 18px; line-height: 28px; text-align: center;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color .15s, color .15s, transform .15s;
}
/* увеличенная зона касания, не меняя вид */
#vmCartModule .cart_remove::after { content: ""; position: absolute; inset: -10px; }
/* :hover только для мыши: на iOS он «съедает» первый тап */
@media (hover: hover) { #vmCartModule .cart_remove:hover { background: #e84a5f; color: #fff; transform: scale(1.08); } }
#vmCartModule .cart_remove:active { background: #e84a5f; color: #fff; }
#vmCartModule .cart_remove:focus-visible { outline: 2px solid #a55ac4; outline-offset: 2px; }
#vmCartModule .cart_content .total {
  display: flex; justify-content: space-between; align-items: baseline; float: none; width: auto;
  padding: 14px 0 4px; font-size: 16px; font-weight: 600;
}
#vmCartModule .cart_content .total:empty { display: none; }
#vmCartModule .cart_content .total strong { float: none; font-size: 20px; font-weight: 700; }
#vmCartModule .cart_content .show_cart { float: none; margin: 8px 0 0; width: auto; }
#vmCartModule .cart_content .show_cart a {
  display: block; padding: 0 12px; height: 48px; line-height: 48px; border-radius: 14px; font-size: 16px; font-weight: 600;
  box-shadow: 0 4px 10px rgba(165, 90, 196, .25); transition: transform .18s, opacity .18s;
}
#vmCartModule .cart_content .show_cart a:hover { opacity: 1; transform: translateY(-1px); filter: brightness(.94); }
#vmCartModule .cart_info { padding: 22px 0 14px; color: #8a7a96; }
#vmCartModule .cart_info:empty { display: none; }
@media (max-width: 480px) { #vmCartModule .cart_content { width: calc(100vw - 24px); } }
