:root {
    --z-red: #ef4f5f;
    --z-bg: #f8f8f8;
    --z-text: #1c1c1c;
    --z-light: #696969;
    --z-border: #e8e8e8;
}

.btn-zomato {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    /* Ensure it takes full width of the footer container */
}

/* Minimalist Breadcrumb */

.breadcrumb-section {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid var(--z-border);
    margin-bottom: 25px;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--z-light);
    text-decoration: none;
}

/* Zomato Cards */

.z-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--z-border);
    padding: 10px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.rest-header {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* Item Row Layout */

.cart-item-row {
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 0;
    border-bottom: 1px dashed var(--z-border);
}

.cart-item-row:last-child {
    border-bottom: none;
}

.item-meta {
    display: flex;
    gap: 15px;
}

.veg-icon {
    color: #24963f;
    font-size: 10px;
    border: 1px solid #24963f;
    padding: 1px;
    border-radius: 2px;
    height: fit-content;
    margin-top: 5px;
}

.item-name {
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}

.item-price-unit {
    color: var(--z-light);
    font-size: 13px;
    margin-top: 2px;
}

/* Redesigned Quantity Switcher */

.qty-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--z-red);
    border-radius: 6px;
    height: 32px;
    min-width: 90px;
    justify-content: space-between;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--z-red);
    font-size: 18px;
    padding: 0 10px;
    cursor: pointer;
}

.qty-input {
    width: 30px;
    border: none;
    text-align: center;
    font-size: 14px;
}

/* Summary / Bill Styling */

.bill-heading {
    font-size: 16px;
    margin-bottom: 15px;
}

.bill-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--z-light);
}

.bill-total {
    border-top: 1px solid var(--z-text);
    padding-top: 12px;
    margin-top: 12px;
    color: var(--z-text);
    font-size: 17px;
}

/* Coupon Section */

.coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.coupon-input-group input {
    border: 1px solid var(--z-border);
    border-radius: 8px;
    padding: 8px 12px;
    flex-grow: 1;
    text-transform: inherit;
}

/* Sticky Bottom Button (Mobile Only) */

.z-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
    z-index: 9999;
}

.btn-zomato {
    background: var(--z-red);
    color: #fff;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
}

.btn-zomato:hover {
    color: #fff;
    opacity: 0.9;
}

.bill-total {
    border-top: 2px solid var(--z-text);
    /* Slightly thicker line for the total */
    padding-top: 15px;
    margin-top: 12px;
    color: var(--z-text);
    font-size: 16px;
    display: flex;
    /* Alignment */
    justify-content: space-between;
    /* Pushes text to opposite ends */
    align-items: center;
}

@media (min-width: 992px) {
    .z-sticky-footer {
        display: none;
    }
}

/* Container for the +/- buttons */

.qty-container {
    display: inline-flex;
    align-items: center;
    background-color: #f1f6f3;
    /* Light green tint */
    border: 1px solid #28a745;
    /* Success green */
    border-radius: 5px;
    height: 30px;
    overflow: hidden;
    padding: 2px 8px;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #28a745;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 4px;
}

.qty-display {
    color: #1c1c1c;
    min-width: 25px;
    text-align: center;
    font-size: 16px;
}

.item-name {
    font-size: 16px;
    color: #1c1c1c;
    font-weight: 500;
}

.edit-link {
    text-decoration: none;
    color: #6c757d;
    display: block;
    margin-top: -2px;
}

.item-total-price {
    font-weight: 500;
    color: #1c1c1c;
    font-size: 14px;
    text-align: right;
}