.cart-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
    font-family: 'Poppins', sans-serif;
    color: #1f1f1f;
    background: #fff;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.top-row h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #334633;
}

.top-row h1 span {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-left: 6px;
}

.continue {
    font-size: 13.5px;
    color: #1a1a1a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.continue:hover {
    text-decoration: underline;
}

.grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: start;
}

.table-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.table-head {
    display: grid;
    grid-template-columns: 2.6fr 0.8fr 1.2fr 0.8fr 0.3fr;
    padding: 16px 24px;
    font-size: 10.5px;
    letter-spacing: 1px;
    color: #999;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.row-item {
    display: grid;
    grid-template-columns: 2.6fr 0.8fr 1.2fr 0.8fr 0.3fr;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
}

.row-item:last-child {
    border-bottom: none;
}

.prod {
    display: flex;
    align-items: center;
    gap: 14px;
}

.prod img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    background: #f2ede6;
    border: 1px solid #eee;
}

.prod-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: #334633;
}

.prod-color {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.price {
    font-size: 14px;
    color: #334633;
}

.qty {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 92px;
    height: 32px;
    overflow: hidden;
    background: #fff;
}

.qty button {
    border: none;
    background: transparent;
    width: 28px;
    height: 100%;
    font-size: 13px;
    color: #1a1a1a;
    cursor: pointer;
}

.qty button:hover {
    background: #f5f5f5;
}

.qty span {
    flex: 1;
    text-align: center;
    font-size: 13px;
}

.total-cell {
    font-size: 14px;
    font-weight: 600;
    color: #334633;
}

.remove {
    color: #b8b8b8;
    cursor: pointer;
    text-align: right;
    font-size: 14px;
}

.remove:hover {
    color: #e04b4b;
}

.coupon-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 18px 22px;
    margin-top: 20px;
}

.coupon-card p {
    font-size: 13.5px;
    font-weight: 500;
    margin: 0 0 12px 0;
    color: #1a1a1a;
}

.coupon-form {
    display: flex;
    gap: 10px;
}

.coupon-form input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 14px;
    height: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    outline: none;
    background: #fff;
}

.coupon-form input:focus {
    border-color: #334633;
}

.coupon-form button {
    background: #334633;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0 24px;
    height: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.coupon-form button:hover {
    background: #24321f;
}

.summary-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 22px 24px 20px 24px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.summary-line .label {
    color: #1a1a1a;
}

.summary-line .value {
    color: #1a1a1a;
    font-weight: 500;
}

.summary-line .shipping-val {
    color: #999;
    font-weight: 400;
    font-size: 13px;
}

.summary-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 6px 0 16px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.summary-total .label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.summary-total .value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.checkout-btn {
    width: 100%;
    background: #334633;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 15px 0;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.25s ease;
}

.checkout-btn:hover {
    background: #24321f;
}

.trust-strip {
    margin-top: 36px;
    padding: 24px 0;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item i {
    font-size: 16px;
    color: #1a1a1a;
    width: 20px;
    text-align: center;
}

.trust-item h6 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #1a1a1a;
}

.trust-item p {
    font-size: 11px;
    color: #999;
    margin: 0;
}

@media (max-width:820px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:560px) {
    .table-head {
        display: none;
    }

    .row-item {
        grid-template-columns: 1fr;
        row-gap: 10px;
        position: relative;
        padding: 18px 16px;
    }

    .prod {
        grid-column: 1/-1;
    }

    .price:before {
        content: "Price: ";
        color: #999;
        font-size: 11px;
    }

    .total-cell:before {
        content: "Total: ";
        color: #999;
        font-size: 11px;
        font-weight: 400;
    }

    .remove {
        position: absolute;
        top: 18px;
        right: 16px;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }
}