/* ---------- 1. Товар: строка сетки ---------- */
.elementor-menu-cart__product {
  display: grid !important;
  grid-template-columns: 76px 1fr auto;
  grid-template-areas:
    "image name   remove"
    "image price  remove";
  grid-template-rows: auto auto;
  align-content: start;
  gap: 0 16px;
  padding: 18px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eef0f3 !important;
}
.elementor-menu-cart__product:last-child { border-bottom: 0 !important; }

/* ---------- 2. Фото ---------- */
.elementor-menu-cart__product .elementor-menu-cart__product-image {
  grid-area: image;
  width: 76px !important;
  height: 76px;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f2f4;
}
.elementor-menu-cart__product .elementor-menu-cart__product-image a,
.elementor-menu-cart__product .elementor-menu-cart__product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ---------- 3. Название ---------- */
.elementor-menu-cart__product .elementor-menu-cart__product-name {
  grid-area: name;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.elementor-menu-cart__product .elementor-menu-cart__product-name a {
  color: #0d1114;
  text-decoration: none;
  font: inherit;
}
.elementor-menu-cart__product .elementor-menu-cart__product-name a:hover { opacity: .7; }

/* ---------- 4. Кол-во × цена ---------- */
.elementor-menu-cart__product .elementor-menu-cart__product-price {
  grid-area: price;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px;
  color: #4a545e;
  align-self: start;
}
.elementor-menu-cart__product .elementor-menu-cart__product-price .quantity,
.elementor-menu-cart__product .elementor-menu-cart__product-price .product-quantity {
  font: inherit;
  color: inherit;
}
.elementor-menu-cart__product .elementor-menu-cart__product-price .woocommerce-Price-amount {
  font-weight: 700;
  font-family: 'Unbounded', 'Manrope', sans-serif;
  color: #0d1114;
  margin-left: 5px;
}

/* ---------- 5. Крестик удаления ---------- */
.elementor-menu-cart__product .elementor-menu-cart__product-remove {
  grid-area: remove;
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 !important;
  border-radius: 999px;
  background: #f1f2f4;
  transition: background .15s ease;
}
.elementor-menu-cart__product .elementor-menu-cart__product-remove:hover { background: #e3e6ea; }

.elementor-menu-cart__product .elementor-menu-cart__product-remove a {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #6b7580 !important;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
/* заменяем eicon-close на ✕ */
.elementor-menu-cart__product .elementor-menu-cart__product-remove a::before {
  content: '\2715';
  font-family: inherit !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: inherit;
}
.elementor-menu-cart__product .elementor-menu-cart__product-remove a:hover { color: #0d1114 !important; }

/* ---------- 6. Подытог ---------- */
.elementor-menu-cart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 20px !important;
  padding: 18px 0 0 !important;
  border: 0 !important;
  text-align: left !important;
}
.elementor-menu-cart__subtotal strong {
  font-size: 16px;
  font-weight: 700;
  color: #0d1114;
}
.elementor-menu-cart__subtotal .woocommerce-Price-amount {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Unbounded', 'Manrope', sans-serif;
  color: #0d1114;
  white-space: nowrap;
}

/* ---------- 7. Кнопки ---------- */
.elementor-menu-cart__footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.elementor-menu-cart__footer-buttons .elementor-button {
  display: block;
  width: 100%;
  padding: 15px 28px !important;
  border-radius: 999px !important;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
/* «Оформление заказа» — основная, чёрная */
.elementor-menu-cart__footer-buttons .elementor-button--checkout {
  background-color: #0d1114 !important;
  color: #fff !important;
}
.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
  background-color: #2a3138 !important;
  color: #fff !important;
}
/* «Просмотр корзины» — вторичная, контурная */
.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
  background-color: transparent !important;
  color: #0d1114 !important;
  border-color: #dfe3e8;
}
.elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover {
  background-color: #f1f2f4 !important;
}

.elementor-menu-cart__product .elementor-menu-cart__product-price .quantity,
.woocommerce .elementor-menu-cart__product .elementor-menu-cart__product-price .quantity {
	background: #fff !important;
}

.elementor-menu-cart__close-button{
    margin-top: 10px;
}

.elementor-menu-cart__main{
    background: #fff;
}