.cart-page {
    background: #f7f7f7;
    min-height: 100vh;
}

.cart-hero {
    text-align: center;
    padding: 75px 20px 45px;
    background: linear-gradient(135deg, #111, #222);
    color: #fff;
}

.cart-hero span {
    color: #ff8a00;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: 4px;
}

.cart-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    margin: 12px 0;
    text-transform: uppercase;
}

.cart-hero p {
    color: #ddd;
    font-size: 18px;
}

.cart-container {
    max-width: 1300px;
    margin: auto;
    padding: 45px 22px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
}

.cart-list-box,
.cart-summary-box {
    background: #fff;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
}

.cart-list-box h2,
.cart-summary-box h3 {
    font-size: 26px;
    font-weight: 950;
    margin-bottom: 22px;
}

.cart-item-page {
    display: grid;
    grid-template-columns: 90px 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 20px;
    margin-bottom: 14px;
    background: #fafafa;
}

.cart-img {
    width: 90px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.cart-img i {
    font-size: 30px;
    color: #bbb;
}

.cart-info strong {
    display: block;
    font-size: 17px;
    font-weight: 950;
    margin-bottom: 6px;
}

.cart-info span {
    color: #666;
    font-size: 14px;
}

.cart-qty-page {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f1f1f1;
    border-radius: 999px;
    padding: 7px 10px;
}

.cart-qty-page button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #ff8a00;
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.cart-qty-page span {
    min-width: 24px;
    text-align: center;
    font-weight: 950;
}

.remove-cart {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 18px;
    border-radius: 18px;
    background: #f7f7f7;
    margin-bottom: 22px;
}

.summary-line strong {
    color: #ff8a00;
    font-size: 22px;
}

.cart-summary-box label {
    display: block;
    font-weight: 900;
    margin-bottom: 8px;
}

.cart-summary-box select {
    width: 100%;
    height: 50px;
    border-radius: 15px;
    border: 1px solid #ddd;
    padding: 0 14px;
    font-weight: 800;
    margin-bottom: 14px;
}

.send-cart-btn,
.clear-cart-btn,
.back-catalog-btn {
    width: 100%;
    height: 52px;
    border-radius: 999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 950;
    margin-top: 12px;
    cursor: pointer;
}

.send-cart-btn {
    background: #25d366;
    color: #fff;
}

.clear-cart-btn {
    background: #111;
    color: #fff;
}

.back-catalog-btn {
    background: #ff8a00;
    color: #fff;
}

.empty-cart {
    text-align: center;
    padding: 70px 20px;
}

.empty-cart i {
    font-size: 48px;
    color: #ff8a00;
    margin-bottom: 18px;
}

.empty-cart h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.empty-cart p {
    color: #666;
    margin-bottom: 20px;
}

.empty-cart a {
    display: inline-flex;
    padding: 14px 26px;
    background: #ff8a00;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
}

@media(max-width: 900px) {
    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-item-page {
        grid-template-columns: 75px 1fr;
    }

    .cart-qty-page,
    .remove-cart {
        grid-column: 2;
    }
}
.cart-box-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
}

.close-cart-x{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#111;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:18px;
    transition:.2s ease;
}

.close-cart-x:hover{
    background:#fb8e00;
    color:#fff;
}

@media(max-width:768px){
    .close-cart-x{
        width:38px;
        height:38px;
        font-size:16px;
    }
}