/* Order Summary Page Styles */


:root {
    --primary-color: #2e8b57;
    --primary-light: #e8f5e9;
    --secondary-color: #ff9f1c;
    --accent-color: #ff6b6b;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --gray-color: #636e72;
    --light-gray: #dfe6e9;
    --success-color: #28a745;
    --danger-color: #ff4757;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}



.order-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Progress Steps */
.order-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

    .order-progress::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
        height: 3px;
        background-color: var(--light-gray);
        z-index: 1;
    }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border: 3px solid white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 500;
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: white;
}

.step.active .step-label {
    color: var(--dark-color);
    font-weight: 600;
}

.step.completed .step-number {
    background-color: var(--success-color);
    color: white;
}

/* Order Grid Layout */
.order-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .order-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Order Cards */
.order-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    background-color: var(--primary-light);
    border-bottom: 1px solid var(--light-gray);
}

    .card-header h2 {
        margin: 0;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .card-header i {
        color: var(--primary-color);
    }

.card-body {
    padding: 1.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid green;
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
        outline: none;
    }

.validation-error {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Delivery Options */
.delivery-options {
    margin-top: 2rem;
    border-top: 1px solid var(--light-gray);
    padding-top: 1.5rem;
}

    .delivery-options h4 {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

.delivery-option {
    margin-bottom: 0.75rem;
}

    .delivery-option input {
        display: none;
    }

    .delivery-option label {
        display: block;
        padding: 1rem;
        border: 1px solid var(--light-gray);
        border-radius: 6px;
        cursor: pointer;
        transition: var(--transition);
    }

    .delivery-option input:checked + label {
        border-color: var(--primary-color);
        background-color: var(--primary-light);
    }

    .delivery-option.active label {
        border-color: var(--primary-color);
        background-color: var(--primary-light);
    }

.option-title {
    font-weight: 600;
    display: block;
}

.option-price {
    float: right;
    font-weight: 600;
    color: var(--primary-color);
}

.option-time {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-top: 0.25rem;
}

/* Order Items */
.order-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

.order-item {
    display: flex;
    gap: 0.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

    .order-item:last-child {
        border-bottom: none;
    }

.item-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

    .item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.item-details {
    flex-grow: 1;
}

    .item-details h4 {
        margin: 0 0 0.5rem 0;
        font-size: 1rem;
    }

.item-meta {
    display: flex;
    justify-content: space-between;
}

.item-quantity {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.item-price {
    font-weight: 600;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: var(--gray-color);
}

/* Order Totals */
.order-totals {
    margin: 1.5rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    padding: 1rem 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin: 0.75rem 0;
}

.delivery-row {
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--light-gray);
}

.grand-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Promo Code */
.promo-code {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

    .promo-code input {
        flex-grow: 1;
        padding: 0.75rem 1rem;
        border: 1px solid var(--light-gray);
        border-radius: 6px;
        font-size: 1rem;
    }

.btn-apply {
    background-color: var(--light-gray);
    color: var(--dark-color);
    border: none;
    padding: 0 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-apply:hover {
        background-color: #e0e0e0;
    }

/* Delivery Message */
.delivery-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background-color: var(--light-gray);
    border-radius: 6px;
}

    .delivery-message.free-delivery {
        background-color: #e8f5e9;
        color: var(--success-color);
    }

    .delivery-message i {
        font-size: 1.2rem;
    }

/* Place Order Button */
.btn-place-order {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

    .btn-place-order:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        color:var(--primary-color);
    }

/* Payment Methods */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

    .payment-methods img {
        height: 30px;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: var(--transition);
    }

        .payment-methods img:hover {
            filter: grayscale(0);
            opacity: 1;
        }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .order-progress {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .step {
        flex: 1;
        min-width: 60px;
    }

    .step-label {
        font-size: 0.8rem;
        text-align: center;
    }

    .card-header h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .order-container {
        padding: 0 0.5rem;
    }

    .card-header, .card-body {
        padding: 1rem;
    }

    .item-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .promo-code {
        flex-direction: column;
    }

    .btn-apply {
        padding: 0.75rem;
    }
}


a {
    text-decoration: none;  
}


html, body {
    height: 100%;
    margin: 0;
}


.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

main {
    flex: 1;
}


#privacy-link, #terms-link {
    color: #4CAF50 ; 
    text-decoration: underline; /* Underlined by default */
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Smooth transition on hover */
}

    #privacy-link:hover, #terms-link:hover {
        color: #00bcd4 ; 
        text-decoration: none; /* Remove underline on hover */
    }

    #privacy-link:focus, #terms-link:focus {
        outline: 2px solid #00bcd4; /* Focus outline for accessibility */
        outline-offset: 2px;
    }


footer a {
    color: white; /* Light blue color for all links */
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Smooth transition on hover */
}

    footer a:hover {
        color: #4CAF50; /* Light Green */
        text-decoration: none; /* Remove underline on hover */
    }

    footer a:focus {
        outline: 2px solid #00bcd4; /* Focus outline for accessibility */
        outline-offset: 2px;
    }

footer ul li a:hover {
    color: #4CAF50; /* Light Green */
 
}



body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}


@media (max-width: 991.98px) {
    #navbarContent.show {
        transform: translateX(0) !important;
    }
}

@media (min-width: 992px) {
    #navbarContent {
        position: static !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}
