/**
 * -----------------------------------------------------------------
 * 1. CONFIGURATION & BASE STYLES
 * Global variables, font declarations, and default body styles.
 * -----------------------------------------------------------------
 */

:root {
    --primColor: Darkred;
    --bannerColor: #f6f0e2;
    --fontColor: Black;
    --logoSize: 100px;
    --bg-image: #BG_IMAGE#;
    --bg_color: white;
}

/* --- Font Declarations --- */
@font-face {
    font-family: ChunkFive Roman;
    src: url('../fonts/chunkfive.ttf');
}

@font-face {
    font-family: Arial;
    /*src: url('../fonts/FacebookSansRegular.ttf');*/
}

/* --- Body and Global Text --- */
body {
    background-color: var(--bg_color);
    /*background-image: url(Images/bg.jpg);*/
    color: #71281B;
}

/* Duplicate body rule kept as in original */
body {
}

.h2 {
    font-family: 'Chunkfive Roman';
}

#lbltitle {
    color: var(--primColor);
    font-size: 30px;
}

/* --- Links --- */
a:active, a:hover {
    color: #832d1e;
    font-weight: bolder;
    text-decoration: none;
    /*font-size: 15px;*/
}

#topbanner a {
    color: transparent;
}


/**
 * -----------------------------------------------------------------
 * 2. LAYOUT, HEADER & FOOTER
 * Positioning, structural elements, banners, and grid utilities.
 * -----------------------------------------------------------------
 */

/* --- Header / Top Banner --- */
#topbanner, #hamMenu {
    background-color: var(--bannerColor);
    /*background-image: url(Images/topbanner.jpg);*/
    height: 125px;
    background-repeat: no-repeat;
    background-position: center;
    color: var(--fontColor);
}

#logo {
    text-decoration: none;
    width: var(--logoSize);
    margin-bottom: -5px;
}

#lblIsOpen {
    color: var(--fontColor);
}

/* --- Main Containers & Utility --- */
.wzd {
    width: 100%;
    margin-top: 105px;
}

.col-5, .col-2 {
    padding: 0;
}

.language {
    width: 75px;
}

/* --- Sidebars / Fixed Menus --- */
.divSideMenuBar {
    position: fixed;
    top: 215px;
}

#sidemenubar_ddl {
    overflow: auto;
    height: 90%;
}

#accMenu {
    overflow: hidden;
    height: 100%;
}

#mySidebar {
    color: black;
}

.w3-bar-item w3-button {
    font-weight: bold;
}

/* --- Footer --- */
#bottomBanner {
    background-color: ghostwhite;
    height: 50px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: solid;
    border-color: ghostwhite;
}

.footer {
    z-index: 10;
    text-align: center;
    margin: auto;
}


/**
 * -----------------------------------------------------------------
 * 3. FORMS & INPUTS
 * Inputs, textboxes, buttons, and custom radio/checkbox styles.
 * -----------------------------------------------------------------
 */

/* --- General Form Elements --- */
.form-control {
    border-radius: 10px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

/*.form-control {
    width: 90%;
}
*/
.textbox {
    height: 30px;
    margin-bottom: 10px;
    width: 100%;
    border: 1px solid #c4c4c4;
    font-size: 18px;
    padding: 4px 4px 4px 4px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: 0px 0px 8px #d9d9d9;
    -moz-box-shadow: 0px 0px 8px #d9d9d9;
    -webkit-box-shadow: 0px 0px 8px #d9d9d9;
}

    .textbox:focus {
        outline: none;
        border: 1px solid #7bc1f7;
        box-shadow: 0px 0px 8px #7bc1f7;
        -moz-box-shadow: 0px 0px 8px #7bc1f7;
        -webkit-box-shadow: 0px 0px 8px #7bc1f7;
    }

.input-number {
    text-align: center;
}

#MainContent_ddlDeliveryHours {
    font-weight: bold;
}

.input-group {
    position: relative;
}

/*.input-group {
    width: 73%;
}*/

.input-group-text {
    border: none;
    background: transparent;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    color: #666;
}

.form-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.password-toggle {
    cursor: pointer;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* --- Buttons (Generic) --- */
.button {
    width: 100%;
    min-width: 150px;
    min-height: 35px;
    color: White;
    font-weight: bold;
    background-color: var(--primColor);
    Font-Size: 15px;
    font-family: Arial;
    font-weight: bold;
}

.btn-login {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

input[type="submit"] {
    /*border-radius: 5px;*/
    border-style: none;
    border-color: inherit;
    border-width: 0;
    box-shadow: 1px 2px 5px #666;
}

    input[type="submit"]:hover {
        border: 0;
        box-shadow: 1px 2px 5px #999;
    }

.btnComment {
    border: none;
    background-color: inherit;
    font-size: 13px;
    cursor: pointer;
    display: inline-block;
    margin-left: -10px;
    color: var(--primColor);
    font-weight: bold;
}

#btnSave {
    width: 100%;
    margin-top: 10px;
    font-weight: bold;
    color: Black;
    Font-Size: 15px;
    Height: 30px;
}

/* --- Custom Radio Toolbar --- */
.radio-toolbar {
    width: 500px;
}

    .radio-toolbar input[type="radio"] {
        opacity: 0;
        position: fixed;
        width: 300px;
    }

    .radio-toolbar label {
        display: inline-block;
        background-color: #ddd;
        padding: 10px;
        font-family: 'Arial';
        font-size: 16px;
        /*border: 2px solid #444;*/
        border-radius: 4px;
        width: 100%;
        text-align: center;
    }

    .radio-toolbar input[type="radio"]:checked + label {
        background-color: var(--primColor);
        border-color: black;
        color: white;
    }

    .radio-toolbar input[type="radio"]:focus + label {
    }

    .radio-toolbar input[disabled="disabled"] + label {
        color: gray;
    }

/* --- Custom Checkbox/Radio Lists --- */
.checkbox label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-left: 3px;
    margin-right: 10px;
}

    .checkbox label::before {
        content: "";
        display: inline-block;
        position: absolute;
        width: 17px;
        height: 17px;
        left: 0;
        margin-left: -20px;
        border: 1px solid #cccccc;
        border-radius: 3px;
        background-color: #fff;
        -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
        -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
        transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    }

    .checkbox label::after {
        display: inline-block;
        position: absolute;
        width: 16px;
        height: 16px;
        left: 0;
        top: 0;
        margin-left: -20px;
        padding-left: 3px;
        padding-top: 1px;
        font-size: 11px;
        color: #555555;
    }

.checkbox input[type="checkbox"] {
    opacity: 0;
    z-index: 1;
}

    .checkbox input[type="checkbox"]:checked + label::after {
        font-family: "Arial";
        content: "\f00c";
    }

.checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: #337ab7;
    border-color: #337ab7;
}

.checkbox-primary input[type="checkbox"]:checked + label::after {
    color: #fff;
}


.checklist {
    font-size: 15px;
}

    .checklist label {
        font-family: "Arial";
        display: inline-block;
        vertical-align: middle;
        position: relative;
        margin-left: 3px;
        margin-right: 10px;
        color: black
    }


.radiolist {
    font-size: 15px;
}

    .radiolist label {
        font-family: "Arial";
        display: inline-block;
        vertical-align: middle;
        position: relative;
        margin-left: 3px;
        margin-right: 10px;
        color: black
    }


/**
 * -----------------------------------------------------------------
 * 4. ACCORDIONS & CARDS
 * Styling for expandable content areas and product panels.
 * -----------------------------------------------------------------
 */

/* --- Card Base --- */
.card {
    border: hidden;
    background-color: WhiteSmoke;
    border-color: WhiteSmoke;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.card-body {
    background-color: WhiteSmoke;
    font: normal 10px auto "Arial";
    border: 1px gray;
    width: auto;
    max-width: 1200px;
    padding: 4px;
    padding-top: 12px;
    height: 100%;
    overflow: hidden;
    margin-left: 14px;
    margin-right: 7px;
    /*color: white;*/
    margin-top: 1px;
}

/* --- Card Header (Collapsed State) --- */
.card-header[aria-expanded="false"] {
    color: #71281B;
    font: bold 10px Arial;
    cursor: pointer;
    /*max-width: 1200px;*/
    height: auto;
    border: solid;
    border-color: whitesmoke;
    border-spacing: 10px;
    background-color: whitesmoke;
    padding-top: 10px;
    padding-left: 8px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    background-image: url(/Images/more.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 25px;
    background-position-x: 98%;
    border-bottom-color: whitesmoke;
}

.card-header:active[aria-expanded="false"] {
    background-color: #bababa;
}

.accordion > .card:not(:first-of-type) .card-header:first-child[aria-expanded="false"] {
    /* border-top-left-radius: 10px;
    border-top-right-radius: 10px;*/
}

/* --- Card Header (Expanded State) --- */
.card-header[aria-expanded="true"] {
    background-image: url(/Images/less.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position-y: 10px;
    background-position-x: 99%;
    color: white;
    font: bold 10px Arial;
    cursor: pointer;
    /*max-width: 1200px;*/
    height: 65px;
    border: solid;
    background-color: #bababa;
    border-color: #bababa;
    padding-top: 10px;
    padding-left: 8px;
    /* border-top-left-radius: 10px;
    border-top-right-radius: 10px;*/
}


/**
 * -----------------------------------------------------------------
 * 5. PRODUCT & MENU SECTIONS
 * Product selectors, headers, images, and details.
 * -----------------------------------------------------------------
 */

/* --- Menu/Product Headers --- */
.mainProductHeader {
    color: white;
    font: 19px "ChunkFive Roman";
    border-color: white;
    border-spacing: 10px;
    background-color: var(--primColor);
    padding-top: 15px;
    padding-left: 8px;
    padding-bottom: 15px;
    margin-left: 5px;
    margin-right: 5px;
    /*border-radius: 10px;*/
    text-align: center;
}

.divMainProduct {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: var(--primColor);
    padding-left: 10px;
    /*border-radius: 10px;*/
    height: 70px;
    padding-top: 9px;
    color: white;
}

/* --- Product/Item Selectors --- */
.mainProductSelector {
    color: black;
    border-spacing: 10px;
    /* border-radius: 10px;*/
    text-align: center;
    margin-left: 10px;
    width: 210px;
    background-color: whitesmoke;
}

    .mainProductSelector a {
        color: #71281B;
        font-weight: bold;
        text-align: center;
    }

.itemPlaceholderContainer {
    color: black;
    border-spacing: 10px;
    /* border-radius: 10px;*/
    text-align: center;
    margin-left: 10px;
    width: 220px;
    background-color: whitesmoke;
    font-size: 20px;
    line-height: 44px;
}

    .itemPlaceholderContainer a {
        color: #71281B;
        font-weight: bold;
        text-align: center;
    }

/* --- Product Images --- */
.productImage {
    max-width: 150px;
    border-radius: 10px;
    max-height: 150px;
}

    .productImage[aria-expanded="false"] {
        display: block;
    }

    .productImage[aria-expanded="true"] {
        display: none;
    }

.pic {
    width: 100%;
    height: 130px;
    margin-left: 10px;
    padding-right: 10px;
    object-fit: cover;
}

.picMainProduct {
    padding-right: 10px;
    text-align: center;
}


/**
 * -----------------------------------------------------------------
 * 6. CART & CHECKOUT
 * Fixed cart area, checkout pages, and order details.
 * -----------------------------------------------------------------
 */

/* --- Fixed Cart Summary (Desktop) --- */
div.absolute {
    position: fixed;
    /*top: 200px;*/
    right: 30px;
    width: 470px;
    background-color: whitesmoke;
    overflow-x: hidden;
    /*border-radius: 10px;*/
    padding-bottom: 100px;
}

.divCartBar {
    position: fixed;
    top: 215px;
    height: auto;
}

/* --- Cart Content Headers --- */
div.cartHeader {
    color: white;
    font: 23px "ChunkFive Roman";
    font-stretch: ultra-expanded;
    font-weight: bold;
    border-color: white;
    border-spacing: 10px;
    background-color: var(--primColor);
    padding-top: 15px;
    padding-left: 8px;
    padding-bottom: 20px;
    /*border-radius: 10px;*/
    text-align: center;
}

.orderingHeader {
    color: white;
    font: 23px "ChunkFive";
    font-stretch: ultra-expanded;
    font-weight: bold;
    border-color: white;
    border-spacing: 10px;
    background-color: var(--primColor);
    padding-top: 4px;
    padding-left: 8px;
    padding-bottom: 9px;
    /*border-radius: 10px;*/
    text-align: center;
}

/* --- Cart/List Items --- */
div.cart {
    max-height: 250px;
    overflow: auto
}

#basket {
    width: 100%;
}

tr.cartItem:hover {
    /* color: #832d1e;
    background-color: ghostwhite;
    text-decoration: none;*/
}

.list {
    width: auto;
    Height: 40px;
    font-weight: bold;
    font-size: 14px;
    /*max-width: 1200px;*/
    text-align: center;
    margin: auto;
    margin-left: 5px;
    margin-right: 5px;
}

.plusmin {
    font-size: 24px;
    font-weight: bolder;
    margin-left: 4px;
}

.extraList {
    font-size: 14px;
    text-align: left;
    font-weight: normal;
}

.txtComment {
    width: 250px;
    height: 50px;
}

.divComment {
    display: none;
    margin-bottom: 10px;
}

.cartfooter {
    background-color: #f03530;
    color: white;
}

/* --- Cart Totals & Info --- */
.lblHeaderTotPrice {
    font-weight: bolder;
    Font-Size: 20px;
    color: Red;
}

div.solid {
    border-top: 1px solid #bbb;
    margin-top: 5px;
}

div.blacksolid {
    border-top: 3px solid #bbb;
    margin-top: 5px;
    background-color: #bbb;
    margin-left: 15px;
    margin-right: 15px;
}

.informationText {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    background-color: #92101054;
    font-weight: bold;
}

/* --- Checkout Specific --- */
#MainContent_divPlaceOrder {
    margin: auto;
    /*max-width: 1200px;*/
    margin-top: 215px;
    margin-right: 520px;
    margin-left: 20px;
    background-color: whitesmoke;
}

#divRepeater {
    margin: auto;
    /*max-width: 1200px;*/
    margin-bottom: 150px;
    margin-right: 500px;
    margin-left: 220px;
}

.lblOrderPlaceDeliveryInfo {
    font-size: 21px;
    font-family: "Arial";
}

.orderDetails {
    margin-left: 20px;
}

#MainContent_fmvAdres {
    margin-left: 20px;
}

.manage {
    background-color: whitesmoke;
    margin-left: 278px;
    margin-top: 180px;
    margin-right: 150px;
    padding-top: 40px;
    padding-left: 40px;
}

#ddl {
    position: fixed;
}


/* --- Checkout Action Buttons --- */
.cartBtn {
    position: absolute;
    width: 50%;
    margin-left: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#cartbar_btnOrder {
    background-color: var(--primColor);
    height: 60px;
    width: 435px;
    font-size: 20px;
}

#cartbar_btnMenuBack {
    height: 60px;
    width: 435px;
    font-size: 20px;
}

#divBtnOrder {
    margin-bottom: 50px;
}

#MainContent_btn {
    text-align: center;
}


/**
 * -----------------------------------------------------------------
 * 7. MODALS & OVERLAYS
 * Pop-ups, spinners, and detailed views.
 * -----------------------------------------------------------------
 */

/* --- Modal Base --- */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header {
    background: var(--bannerColor);
    color: white;
}

.close {
    font-size: 2.5rem;
}

.lnkOptions {
    width: 400px;
}

/* --- Sticky Modal Headers/Footers (#modalProductDetail) --- */
#modalProductDetail .modal-dialog {
    /* Max width/height control for larger screens */
}

#modalProductDetail .modal-body {
    /* Enable vertical scrolling within the body */
    overflow-y: auto;
    /* Set a maximum height to enable scrolling.
               This example is for demonstration; in a real app, you'd use a CSS calc()
               based on header/footer height to prevent overlap. */
    max-height: 70vh; /* Allow body to take up to 70% of viewport height */
}

/* Ensure sticky header and footer are styled correctly */
.modal-header--sticky, .modal-footer--sticky {
    position: sticky;
    z-index: 1056; /* Above the body content */
    /* Add shadow to emphasize the stickiness */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Stick header to the top */
.modal-header--sticky {
    top: 0;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
}

/* Stick footer to the bottom */
.modal-footer--sticky {
    bottom: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* --- Loading Overlay & Spinner --- */
#overlay {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.more {
    display: none;
}

.is-hide {
    display: none;
}


/**
 * -----------------------------------------------------------------
 * 8. MISCELLANEOUS
 * Promos, legends, and other specific page elements.
 * -----------------------------------------------------------------
 */

/* --- Dividers (Or separator text) --- */
.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 45%;
        height: 1px;
        background: #eee;
    }

    .divider::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 45%;
        height: 1px;
        background: #eee;
    }

    .divider span {
        background: white;
        padding: 0 10px;
        color: #666;
        font-size: 0.9rem;
    }

.lineDivider {
    border: solid;
    border-width: 1.0px;
    border-color: Black;
    margin-bottom: 15px;
}

/* --- Promo/Info Banners --- */
#promobanner {
    margin: auto;
    text-align: center;
    Font-Size: 25px;
    /*max-width: 1200px;*/
    color: Red;
    font-weight: bold;
    padding-top: 26px;
    letter-spacing: 0.192em;
}

/* --- ASP.NET Controls --- */
.pnl {
    margin-left: 10px;
}

    .pnl legend {
        color: Black;
        font-size: 18px;
        font-weight: bold;
        font-stretch: expanded;
        margin-top: 10px;
        border-bottom: solid;
        border-bottom-width: 3px;
        border-bottom-width: inherit;
    }

#MainContent_gvHours {
    margin: auto;
    font-weight: bold;
}

#divHoursHeader {
    margin: auto;
    color: #71281B;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}

#MainContent_gdvDeliveryInfo {
    text-align: center;
    margin: auto;
}

#MainContent_divContact {
    text-align: center;
}

.linkbutton {
    width: 300px;
    font-size: 20px;
    margin-top: 15px;
    letter-spacing: 0.016em;
    cursor: pointer;
    color: #71281B;
}

.ProductNameClass {
    width: 300px;
    font-size: 20px;
    margin-top: 15px;
    letter-spacing: 0.016em;
    cursor: pointer;
    color: #71281B;
}

.hidden {
    color: black;
    font: bold 10px Arial;
    cursor: pointer;
    /*max-width: 1200px;*/
    height: 60px;
    border: solid;
    border-color: white;
    border-spacing: 10px;
    background-repeat: no-repeat;
    background-position: right;
    background-color: whitesmoke;
    padding-top: 10px;
    padding-left: 8px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    /*border-radius: 10px;*/
}

/* --- Timeline Core Structure --- */
.timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timeline-step {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

    .timeline-step:last-child {
        flex-grow: 0;
    }

        .timeline-step:last-child .timeline-line {
            display: none;
        }

/* --- Default (Inactive) State Styling --- */
.timeline-dot {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #e9ecef;
    border: 3px solid #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-line {
    height: 6px;
    background-color: #e9ecef;
    flex-grow: 1;
    margin: 0 10px;
    border-radius: 3px;
    transition: background-color 0.5s ease;
}

.timeline-label {
    color: #6c757d;
    font-weight: 500;
    transition: all 0.5s ease;
}

/* --- Active State Styling & NEW Animations --- */
.timeline-step.active .timeline-dot {
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    border-color: #0d6efd;
    color: white;
    /* NEW: Apply the pulsing animation */
    animation: pulse-dot 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

    /* NEW: Animate the icon inside the dot when it becomes active */
    .timeline-step.active .timeline-dot span {
        display: inline-block; /* Required for transform */
        animation: pop-in-icon 0.5s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
    }

.timeline-step.active .timeline-label {
    font-weight: 700;
    color: #212529;
}

.timeline-step.active .timeline-line {
    background-image: linear-gradient(90deg, #0d6efd, #0dcaf0);
    background-size: 200% 100%;
    animation: fill-line 0.7s forwards cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Keyframe Animations --- */

/* The line-filling animation (same as before) */
@keyframes fill-line {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: 0 0;
    }
}

/* NEW: Keyframe animation for the pulsing dot highlight */
@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* NEW: Keyframe animation for the icon inside the dot */
@keyframes pop-in-icon {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.card {
  /*  border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
*/}

.card-header h2 {
    font-weight: 600;
    color: #333;
}
  