/* Premium Cart & Wishlist Pages Styling */
.premium-page-header {
    background: linear-gradient(135deg, #1e5631 0%, #4c825d 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    color: #fff;
    text-align: center;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 10px 30px rgba(30, 86, 49, 0.2);
}

.premium-page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.premium-page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
}

.premium-page-header .breadcrumb-item,
.premium-page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
}

.premium-page-header .breadcrumb-item.active {
    color: #fff;
}

/* Cart Items List */
.cart-wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 60px;
}

.premium-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 30px;
}

.items-list {
    padding: 20px;
}

.item-row {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
    gap: 20px;
}

.item-row:last-child {
    border-bottom: none;
}

.item-row:hover {
    background: #fcfdff;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    background: #f9f9f9;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-details {
    flex: 1;
}

.item-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.item-meta {
    font-size: 13px;
    color: #94a3b8;
}

.item-price-col {
    width: 150px;
    text-align: center;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.item-qty-col {
    width: 150px;
    display: flex;
    justify-content: center;
}

.item-remove-col {
    padding: 0 10px;
}

.btn-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff1f2;
    color: #f43f5e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-remove:hover {
    background: #f43f5e;
    color: #fff;
}

/* Summery Sidebar */
.cart-summary {
    padding: 30px;
    background: #fdfcf5;
    border-radius: 20px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #64748b;
}

.summary-row.total {
    border-top: 2px dashed #e2e8f0;
    padding-top: 15px;
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: #1e5631;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 25px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(30, 86, 49, 0.2);
}

.btn-checkout:hover {
    background: #4c825d;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(30, 86, 49, 0.3);
    color: #fff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 80px;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.empty-state h2 {
    font-size: 24px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 15px;
}

.btn-shop-now {
    display: inline-block;
    padding: 12px 30px;
    background: #1e5631;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .item-row {
        display: grid;
        grid-template-areas:
            "img details details"
            "img price remove"
            "qty qty qty";
        grid-template-columns: 80px 1fr auto;
        gap: 10px 15px;
        align-items: center;
        padding: 15px;
        text-align: right;
    }

    .item-image {
        grid-area: img;
        width: 80px !important;
        height: 80px !important;
        margin: 0;
    }

    .item-details {
        grid-area: details;
        align-self: start;
        margin-bottom: 5px;
    }

    .item-price-col {
        grid-area: price;
        width: auto !important;
        text-align: right;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin: 0;
    }

    .item-price {
        font-size: 16px;
    }

    .item-remove-col {
        grid-area: remove;
        padding: 0;
        justify-self: end;
    }

    .item-qty-col {
        grid-area: qty;
        width: 100% !important;
        justify-content: center;
        margin-top: 5px;
        padding-top: 12px;
        border-top: 1px dashed #eee;
    }

    .qty-control {
        width: 100%;
        max-width: 200px;
    }
}
