.shop-cart { padding: 42px 0 72px; background: #f5f6f7; min-height: 55vh; color: #002b5c; }
.shop-cart__inner { max-width: 1180px; margin: 0 auto; padding: 0 18px; box-sizing: border-box; }
.shop-cart h1 { margin: 0 0 28px; color: #002b5c; }
.shop-cart__empty, .shop-cart__items, .shop-cart__summary, .shop-cart__legal { background: #fff; border: 1px solid #d7e0e8; border-radius: 8px; }
.shop-cart__empty { padding: 24px; }
.shop-cart__empty a { display: inline-block; margin-top: 10px; color: #80632f; font-weight: 700; }
.shop-cart__form { width: calc(100% - 370px); display: inline-block; vertical-align: top; }
.shop-cart__items { padding: 12px 24px; }
.shop-cart__item { display: grid; grid-template-columns: 132px minmax(0, 1fr) 285px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid #dce4eb; }
.shop-cart__item:last-child { border-bottom: 0; }
.shop-cart__image { display: flex; width: 128px; height: 104px; align-items: center; justify-content: center; border: 1px solid #cbd7e2; background: #f0f0ff; overflow: hidden; }
.shop-cart__image img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.shop-cart__item-main { display: flex; flex-direction: column; gap: 7px; }
.shop-cart__name { color: #002b5c; font-weight: 700; line-height: 1.35; text-decoration: none; }
.shop-cart__name:hover { text-decoration: underline; }
.shop-cart__controls { display: grid; grid-template-columns: 1fr 74px 1fr; gap: 12px; align-items: end; }
.shop-cart__item-main span, .shop-cart__quantity span, .shop-cart__price span, .shop-cart__line-total span { display: block; margin-bottom: 5px; color: #486681; font-size: .75rem; }
.shop-cart__quantity { display: flex; flex-direction: column; }
.shop-cart__quantity input { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid #9fb2c4; border-radius: 3px; color: #002b5c; }
.shop-cart__price, .shop-cart__line-total { color: #002b5c; white-space: nowrap; }
.shop-cart__remove { grid-column: 1 / -1; justify-self: end; border: 0; padding: 4px 0; background: transparent; color: #b72227; cursor: pointer; text-decoration: underline; }
.shop-cart__actions { margin-top: 16px; }
.shop-cart__actions button, .shop-cart__summary button { padding: 12px 18px; border: 0; border-radius: 4px; background: #002b5c; color: #fff; font-weight: 700; cursor: pointer; }
.shop-cart__summary { width: 330px; margin-left: 24px; padding: 24px; display: inline-block; vertical-align: top; box-sizing: border-box; }
.shop-cart__summary > div { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 15px; font-size: 1rem; }
.shop-cart__summary p { color: #486681; line-height: 1.5; font-size: .9rem; }
.shop-cart__country-form { margin: 18px 0; }
.shop-cart__country-form label { display: block; margin-bottom: 7px; font-weight: 700; }
.shop-cart__country-form select { width: 100%; padding: 10px; border: 1px solid #9fb2c4; border-radius: 3px; background: #fff; color: #002b5c; }
.shop-cart__summary .shop-cart__grand-total { padding-top: 15px; border-top: 2px solid #002b5c; font-size: 1.08rem; }
.shop-cart__summary button { width: 100%; background: #9a7b42; color: #ffffff; }
.shop-cart__summary button:disabled { opacity: .55; cursor: not-allowed; }
.shop-cart__legal { clear: both; margin-top: 28px; padding: 24px; line-height: 1.55; }
.shop-cart__legal h2 { margin: 0 0 8px; color: #002b5c; font-size: 1.05rem; }
.shop-cart__legal h2:not(:first-child) { margin-top: 22px; }
.shop-cart__legal p { margin: 0 0 12px; }
.shop-cart__tax-note { padding-top: 16px; border-top: 1px solid #dce4eb; }
.header-action { position: relative; }
.header-action__cart-count { position: absolute; top: -7px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; background: #b72227; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

@media (max-width: 1000px) {
    .shop-cart__form, .shop-cart__summary { width: 100%; display: block; }
    .shop-cart__summary { margin: 22px 0 0; }
    .shop-cart__item { grid-template-columns: 132px minmax(0, 1fr) 300px; }
}

@media (max-width: 700px) {
    .shop-cart { padding: 24px 0 48px; }
    .shop-cart__inner { padding: 0 12px; }
    .shop-cart h1 { margin-bottom: 18px; font-size: 1.75rem; }
    .shop-cart__items { padding: 8px 14px; }
    .shop-cart__item { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
    .shop-cart__image { width: 88px; height: 76px; }
    .shop-cart__controls { grid-column: 1 / -1; grid-template-columns: 1fr 74px 1fr; padding-top: 4px; }
    .shop-cart__remove { justify-self: start; }
    .shop-cart__summary, .shop-cart__legal { padding: 18px; }
    .shop-cart__actions button { width: 100%; }
}

@media (max-width: 440px) {
    .shop-cart__controls { grid-template-columns: 1fr 72px; }
    .shop-cart__line-total { grid-column: 1 / -1; }
    .shop-cart__remove { grid-column: 1 / -1; }
}
