:root {
    --z-red: #ef4f5f;
    --z-green: #24963f;
    --z-bg: #f8f8f8;
    --z-text: #1c1c1c;
    --z-light: #696969;
    --z-border: #e8e8e8;
}

.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;
}

.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;
}

.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;
    line-height: 16px;
    margin: 0;
}

.item-price-unit {
    color: var(--z-light);
    font-size: 13px;
    margin-top: 2px;
}

.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;
}

.item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Sab kuch right side dhakelta hai */
    text-align: right;
    margin-left: auto;
    /* Yeh sabse important hai: ye left side se gap bana deta hai */
}

.qty-container {
    display: inline-flex;
    align-items: center;
    background-color: #f1f6f3;
    border: 1px solid #28a745;
    border-radius: 5px;
    height: 26px;
    /* Height thodi kam ki */
    overflow: hidden;
    padding: 0;
    /* Padding bilkul khatam ki width bachane ke liye */
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    color: #28a745;
    font-size: 16px;
    padding: 0 8px;
    /* Side ki padding kam ki */
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-display {
    color: #1c1c1c;
    min-width: 20px;
    /* Width ko 25px se 20px kar diya */
    text-align: center;
    font-size: 14px;
    /* Font thoda chhota kiya */
    font-weight: 600;
}

.qty-input {
    width: 30px;
    border: none;
    text-align: center;
    font-size: 14px;
}

.bill-heading {
    font-size: 14px;
    margin-bottom: 5px;
}

.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: 14px;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.coupon-input-group input {
    border: 1px solid var(--z-border);
    border-radius: 8px;
    padding: 8px 12px;
    flex-grow: 1;
    text-transform: inherit;
}

.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: 15px;
}

.btn-zomato:hover {
    color: #fff;
    opacity: 0.9;
}

@media (min-width: 992px) {
    .z-sticky-footer {
        display: none;
    }
}

.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;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.qty-btn[disabled]:hover {
    background-color: #f8f8f8 !important;
    color: #ccc !important;
}

.bill-line.platform-fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.label-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-wrapper {
    position: relative;
    display: inline-block;
    cursor: help;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    font-size: 10px;
    font-weight: bold;
    color: #666;
    border: 1px solid #666;
    border-radius: 50%;
    background: transparent;
}

.info-popup {
    visibility: hidden;
    width: 220px;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 100;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.info-popup::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.info-wrapper:hover .info-popup {
    visibility: visible;
    opacity: 1;
}

.price-value {
    font-weight: 500;
    color: #000;
}

@media (max-width: 767px) {
    .item-details .d-flex.align-items-center.gap-2 img {
        width: 45px !important;
        height: 45px !important;
        border-radius: 6px;
    }
    .item-name {
        font-size: 14px;
    }
    .item-details .gap-2 {
        gap: 10px !important;
    }
}