/* Minimal cart layout styling to approximate the provided design */
.ep-cart-shell {
    max-width: 1160px;
    margin: 32px auto 64px;
    padding: 0 16px;
}
.ep-cart-head h1 {
    font-size: 2rem;
    margin: 0 0 24px;
    color: #0f172a;
}
.ep-cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ep-cart-item {
    display: grid;
    grid-template-columns: 96px 1fr auto auto;
    gap: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    align-items: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.ep-cart-item__media img {
    max-width: 96px;
    max-height: 96px;
    object-fit: contain;
}
.ep-cart-item__body h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.3;
    color: #0f172a;
}
.ep-cart-item__body a { color: inherit; text-decoration: none; }
.ep-cart-item__meta {
    display: flex;
    gap: 10px;
    color: #475569;
    font-size: 0.9rem;
}
.ep-cart-item__controls {
    display: flex;
    gap: 12px;
    align-items: center;
}
.ep-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-radius-sm);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ep-shadow-sm);
}
.ep-qty-btn {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border: none;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #0f172a;
    display: grid;
    place-items: center;
    transition: background 0.15s, transform 0.1s;
}
.ep-qty-input {
    width: 64px;
    border: none;
    text-align: center;
    height: 42px;
    font-weight: 600;
    font-size: 1rem;
    -moz-appearance: textfield;
    appearance: textfield;
}
.ep-qty-input::-webkit-inner-spin-button,
.ep-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ep-qty-input:focus { outline: none; }
.ep-qty-btn:hover { background: #e2e8f0; }
.ep-qty-btn:active { transform: translateY(1px); background: #d9e0ea; }
.ep-btn {
    background: #0f62fe;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
}
.ep-cart-item__price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}
.ep-price { font-size: 1rem; font-weight: 700; color: #0f172a; }
.ep-price-total { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.ep-price-on-request { color: #28a745; }
.ep-remove-form .ep-link-danger,
.ep-remove-form button.ep-link-danger {
    background: #fee2e2;
    color: #b91c1c;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 600;
}
.ep-cart-summary {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.ep-cart-summary__total {
    display: flex;
    gap: 12px;
    align-items: baseline;
}
.ep-cart-summary__label { color: #475569; font-weight: 600; }
.ep-cart-summary__value { font-size: 1.4rem; font-weight: 800; color: #0f172a; }
.ep-cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ep-btn-primary {
    background: #0f62fe;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.ep-link-inline { color: #0f62fe; text-decoration: none; font-weight: 600; }
.ep-cart-badge { position: absolute; top: -6px; right: -10px; background:#0f62fe; color:#fff; border-radius:10px; padding:2px 6px; font-size:11px; font-weight:700; }
@media (max-width: 900px){
    .ep-cart-item { grid-template-columns: 88px 1fr; grid-template-rows: auto auto; }
    .ep-cart-item__controls { grid-column: 1 / -1; }
    .ep-cart-item__price { align-items: flex-start; }
}

