/*
 Theme Name: Cafe1 Child
 Theme URI: https://cafe1.thegreenwave.one
 Description: Child theme til Cafe1 WooCommerce shop
 Author: Karl Emil Pirok Uhrenholt
 Author URI: https://thegreenwave.one
 Template: astra
 Version: 1.1.0
*/



.shop-header,
.woocommerce-products-header__title {
    text-align: center;
    margin-bottom: -5px;
    font-weight: bold;
}



/* Skjul header-menuen kun på WooCommerce-sider */
.woocommerce-page #masthead,
.woocommerce-page .site-header {
    display: none;
}


/* Sikrer at Tilføj til kurv-knapper forbliver grønne */
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce a.button, 
.woocommerce #respond input#submit {
    background-color: #91B100 !important;
    color: white !important;
}

/* 📌 Skjuler topbaren og mobilmenuen som standard */
.topbar, .mobile-menu {
    display: none;
}

/* 📌 Viser topbaren og mobilmenuen KUN på skærme under 1024px */
@media (max-width: 1024px) {
    .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #91B100;
        padding: 10px 20px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .topbar-left img {
        height: 40px;
    }

    .topbar-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .cart-icon img {
        height: 30px;
    }

    .burger-menu {
        font-size: 24px;
        cursor: pointer;
        color: white;
    }

    /* 📌 Mobilmenu starter skjult */
    .mobile-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

    /* 📌 Når menuen åbnes */
    .mobile-menu.menu-open {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu ul {
        list-style: none;
        padding: 10px;
        margin: 0;
    }

    .mobile-menu ul li {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        text-align: center;
    }

    .mobile-menu ul li a {
        text-decoration: none;
        color: black;
        font-weight: bold;
    }

    /* 📌 Skjuler sidebar og kurv på små skærme */
    .shop-sidebar, .shop-cart {
        display: none;
    }

    /* 📌 Justér produktvisningen, så den fylder hele bredden */
    .shop-main {
        width: 100%;
        max-width: 95%;
        margin-top: 60px; /* Sørg for, at topbaren ikke dækker indholdet */
    }
}


/* 🟢 GENEREL BAGGRUND */
body {
    background: #E6EFE1 !important;
    animation: none !important;
    opacity: 1 !important;
}

body.fade-in {
  animation: fade-in 0.5s ease-in-out;
}


.shop-main {
    /* Lad .shop-main selv styre centreringen. */
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
    padding: 20px;
    /* Hvis “align-items: center;” skubber ting uhensigtsmæssigt,
       kan du evt. ændre til “align-items: flex-start;”
       eller helt fjerne display:flex, hvis du ikke absolut har brug for det. */
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}




/* 📌 CENTRERING AF SHOP LAYOUT */
.shop-container {
    /* Behold grid-layout, men drop margin: 0 auto, 
       for nu håndteres centrering af .shop-main */
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 20px;
    width: 100%;
    /* fjern margin: 0 auto; */
    /* fjern padding: 20px; eller behold hvis du har brug for det 
       - men pas på at det ikke stjæler for meget plads i mindre viewport. */
}






/* 🟢 JUSTÉR VENSTREMENUEN FOR AT MINIMERE TOM PLADS */
.shop-sidebar {
    background: #E6EFE1;
    padding: 15px; /* Reducer padding hvis nødvendigt */
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-left: 0px; /* Fjerner unødvendig margin til venstre */
}

.shop-menu h3 {
    background: #91B100;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.shop-menu ul {
    list-style: none;
    padding: 0;
}

.shop-menu ul li {
    padding: 2px;
    border-bottom: 0px solid rgba(0, 0, 0, 0.1);
    text-align: left;
    margin-left: -30px;    
}

.shop-menu ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}






/* 🟢 SHOP INFO - GØR DEN ENSARTET MED KATEGORIERNE */
.shop-info {
    margin-top: 5px; /* Lidt luft mellem kategorier og info */
    padding-top: 5px;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Tilføj en diskret linje over sektionen */
    text-align: left;
}

.shop-info a {
    display: block; /* Gør links til blok-elementer for pænere visning */
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin-bottom: 5px;
}

/* 🟢 CVR OG NAVN */
.shop-info .business-info {
    margin-top: 15px;
    margin-left: 30px;
    font-size: 14px;
    color: #333;
    text-align: left;
}

.shop-info .business-info p {
    margin: 5px 0;
}

/* 🟢 GØR MENUEN MERE STRUKTURERET */
.shop-menu ul {
    margin-bottom: 5px; /* Giver luft til info-sektionen */
}

.shop-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
}












/* 🟢 PRODUKTRÆKKER */
.products-grid {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 900px; /* Gør den bredere */
    margin-top: 10px;
}


/* 🟢 ENKELT PRODUKTRÆKKE */
/* Justér produktboksene, så de fylder sektionen ordentligt */
.product-row {
    display: flex;
    align-items: stretch; /* Sikrer at alle produktkasser er lige høje */
    justify-content: space-between;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    min-height: 200px; /* Fast minimumshøjde */
    margin-top: 30px;
}



/* 📌 Produktbillede - fast størrelse */
.product-image {
    width: 200px; /* Ensartet bredde */
    height: 150px; /* Ensartet højde */
    object-fit: cover; /* Sikrer at billedet fylder rammen uden at ændre proportioner */
    border-radius: 10px;
    margin-right: 20px;
}


/* 🟢 PRODUKTBILLEDE - ENSARTET STØRRELSE */
.product-image img {
    width: 300px; /* Fast bredde */
    height: 150px; /* Fast højde */
    object-fit: cover; /* Bevarer billedforhold og beskærer */
    border-radius: 10px;
    display: block;
}



/* 🟢 PRODUKTDETALJER */
.product-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Sørger for jævn fordeling */
    width: 100%;
    padding: 10px 0;
}

.product-details h2 {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    flex-grow: 1; /* Sørger for at teksten ikke trykker prisen og knappen op */
}

/* 📌 Pris - fast placering */
.product-details .price {
    font-size: 16px;
    color: #91B100;
    font-weight: bold;
    white-space: nowrap;
}




/* 🟢 TILFØJ TIL KURV KNAP */
.product-details .button {
    background: #91B100;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    align-items: right;
}

.product-details .product-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}


/* Tvinger WooCommerce til at ignorere standard kolonne-layout */
.woocommerce ul.products {
    display: block !important;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    display: block !important;
}





/* 🟢 KURV (HØJRE SIDE) - FORBEDRET */
.shop-cart {
    background: #E6EFE1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
}

/* 🟢 Overskrift i kurven */
.shop-cart h2 {
    font-size: 22px;
    font-weight: bold;
    color: #91B100;
}

/* 🟢 Totalbeløb */
.cart-total {
    font-size: 24px;
    font-weight: bold;
    color: #91B100;
}

/* 🟢 LEVERINGSINFO */
.delivery-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    max-width: 200px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

/* 🟢 LEVERINGSIKONER */
.delivery-info .delivery-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.delivery-info .delivery-icons img {
    width: 25px;
    height: auto;
}

/* 🟢 KURV-TEKST */
.shop-cart p {
    font-size: 14px;
    color: #333;
}

/* 🟢 BETALINGSIKONER */
.payment-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.payment-icons img {
    width: 40px;
    height: auto;
}

















/* 📌 Stil for kurv-widget */
.cart-widget {
    background: #E6EFE1;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left; /* Juster tekst til venstre */
}

/* 📌 Overskrift - "Kurv" */
.cart-widget .widgettitle {
    font-size: 20px;
    font-weight: bold;
    color: #91B100;
    margin-bottom: 10px;
}


/* 📌 Optimer kurv-widgetens layout */
.widget_shopping_cart .cart_list {
    padding: 0;
    margin: 0;
    list-style: none;
}


/* Mini-cart optimering */
.woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    width: 100%;
}


/* Produktnavn fylder hele venstre side */
.woocommerce-mini-cart-item .cart-item-content {
    flex-grow: 1;
    text-align: left;
}


/* Produktnavn skal være venstrejusteret */
.woocommerce-mini-cart-item .product-name {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    display: block;
    color: black;
    margin-left: -70px;    
}




/* Fjern resterende plads til gamle billeder */
.woocommerce-mini-cart-item .product-thumbnail {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* 📌 Produktbillede */
.woocommerce-mini-cart-item img {
    display: none;
}



/* 📌 Sørger for at hele linjen ikke skubbes skævt */
.woocommerce-mini-cart-item .quantity {
    text-align: left;
    font-size: 14px;
    color: #666;
    
}





/* Fjern-knappen */
.woocommerce-mini-cart-item .remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #E74C3C;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none !important;
    transition: background 0.3s;
}

.woocommerce-mini-cart-item .remove:hover {
    background: #C0392B;
}

/* 📌 Skjul det lille X-ikon, så vi kun har knappen */
.woocommerce-mini-cart-item .remove .ahfb-svg-iconset {
    display: none;
}

/* 📌 Sikre at knappen ikke bliver skjult af andre stilarter */
.woocommerce-mini-cart-item a.remove {
    display: block;
}



/* 📌 Optimer subtotal-sektionen */
.woocommerce-mini-cart__total {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    text-align: center;
}



/* 📌 Knapper: "Se kurv" & "Kasse" */
.woocommerce-mini-cart__buttons .button {
    flex-grow: 1;
    padding: 10px;
    text-align: center;
    background: #91B100;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.woocommerce-mini-cart__buttons .button:hover {
    background: #7A9000;
}

/* 📌 Gør knapper mere konsistente */
.woocommerce-mini-cart__buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}






















/* 📌 MOBILE DESIGN - MAX 1024px */
@media (max-width: 1024px) {
    .shop-container {
        grid-template-columns: 1fr; /* Fjerner sidemenu og kurv */
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 95%;
    }

    .shop-sidebar, .shop-cart {
        display: none; /* Skjuler sidebar og kurv på mobil */
    }

    .shop-sidebar {
        display: none; /* Skjuler sidemenuen på mobil */
    }

    .product-row {
        flex-direction: column; /* Gør produktvisning mere kompakt */
        align-items: center;
        text-align: center;
    }

    .product-image {
        width: 200px; /* Reducer billede på mindre skærme */
    }

    .product-details {
        width: 100%;
        text-align: center;
    }
    

    .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #91B100;
        padding: 10px 20px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .topbar-left img {
        height: 40px;
    }

    .topbar-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .cart-icon img {
        height: 30px;
    }

    .burger-menu {
        font-size: 24px;
        cursor: pointer;
        color: white;
    }

    /* 🟢 Skjul venstre menu og højre kurv på små skærme */
    .shop-sidebar, .shop-cart {
        display: none;
    }

    /* 🟢 Justér produktvisningen, så den fylder hele bredden */
    .shop-main {
        width: 100%;
        max-width: 95%;
        margin-top: 60px; /* Sørg for, at topbaren ikke dækker indholdet */
    }

    .mobile-menu {
        display: none; /* Skjules som standard */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }


    /* Når menuen er åben */
    .mobile-menu.menu-open {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    .mobile-menu ul {
        list-style: none;
        padding: 10px;
        margin: 0;
    }

    .mobile-menu ul li {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        text-align: center;
    }

    .mobile-menu ul li a {
        text-decoration: none;
        color: black;
        font-weight: bold;
    }    
    
    .shop-sidebar {
        display: none; /* Skjuler sidemenuen på mobil */
    }
}

/* 📌 MOBILE DESIGN - MAX 768px */
@media (max-width: 768px) {
    .shop-main {
        width: 100%;
        max-width: 95%;
        text-align: center;
    }

    .shop-sidebar {
        display: none; /* Skjuler sidemenuen på mobil */
    }

    .shop-main {
        width: 100%;
        max-width: 95%;
    }

    .shop-cart {
        display: block;
        width: 100%;
        max-width: 95%;
        margin-top: 20px;
    }

    .product-row {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 95%;
    }

    .product-image {
        width: 200px; /* Mindre billeder på mobil */
    }

    .product-details {
        text-align: center;
        width: 100%;
    }
}

/* 📌 RESPONSIV JUSTERING */
@media (max-width: 1200px) {
    .shop-container {
        grid-template-columns: 250px 1fr 250px; /* Mindre venstre/højre kolonner på mellemstore skærme */
        max-width: 1100px;
    }
}

@media (max-width: 992px) {
    .shop-container {
        grid-template-columns: 1fr; /* Skifter til én kolonne på mindre skærme */
        max-width: 100%;
        padding: 10px;
    }

    .shop-sidebar,
    .shop-cart {
        display: none; /* Skjuler sidebar og kurv på mobil */
    }
}





/* 🎨 Tilpas WooCommerce pagination */
.woocommerce-pagination {
    display: flex;
    justify-content: center; /* Centrer pagination */
    margin-top: 30px; /* Afstand til sidste produkt */
    padding-bottom: 20px; /* Giv lidt luft i bunden */
}

.woocommerce-pagination ul {
    list-style: none;
    display: flex;
    gap: 10px; /* Giver mellemrum mellem knapper */
    padding: 0;
    margin: 0;
}

.woocommerce-pagination ul li {
    display: inline-block;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Fast størrelse på knapper */
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    background-color: white;
    border: 2px solid #91B100; /* Grøn kant som dine knapper */
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Når musen holdes over */
.woocommerce-pagination ul li a:hover {
    background-color: #91B100 !important; /* Grøn baggrund */
    color: white;
}

/* Aktiv side */
.woocommerce-pagination ul li .current {
    background-color: #91B100 !important;
    color: white !important;
    border: 2px solid #91B100 !important;
    box-shadow: none !important;
}



















.ast-mini-cart-empty .woocommerce-mini-cart__empty-message {
    display: none !important;
}

a.wc-forward.ast-continue-shopping {
    display: none !important;
}








.custom-footer {
    text-align: center;
    padding: 15px 0;
    background-color: #E6EFE1; /* Baggrund farve */
}

.custom-footer p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.custom-footer a {
    color: #91B100;
    text-decoration: none;
    font-weight: bold;
}

.custom-footer a:hover {
    text-decoration: underline;
}





/* Popup Baggrund */
.custom-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-align: center;
}

/* Baggrunds-overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
}

/* Knapper */
.primary-button {
    background: #91B100;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    width: 100%;
}

.close-popup {
    background: #E74C3C;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    width: 100%;
}

/* Kurv-popup specifikt */
#cart-popup {
    width: 450px;
    background: #E6EFE1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Fjern de unødvendige knapper */
#cart-popup .woocommerce-mini-cart__buttons {
    display: none !important;
}



/* 📌 Gør produktdetaljer mere ensartet */
#cart-popup .woocommerce-mini-cart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* 📌 Subtotal styling */
#cart-popup .woocommerce-mini-cart__total {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

/* 📌 Justér knapperne */
#cart-popup .primary-button {
    background: #91B100;
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    width: 100%;
    margin-top: 10px;
    transition: background 0.3s ease-in-out;
}

#cart-popup .primary-button:hover {
    background: #7A9000;
}

/* 📌 Luk-knap styling */
#cart-popup .close-popup {
    background: #E74C3C;
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    width: 100%;
    margin-top: 5px;
    transition: background 0.3s ease-in-out;
}

#cart-popup .close-popup:hover {
    background: #C0392B;
}






/* Leverings-popup skal være centreret */
#delivery-popup {
    display: none; /* Skjul som standard */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    border-radius: 10px;
    text-align: center;
    width: 400px;
    height: auto;
}





.delivery-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    max-width: 250px; /* Øget max-width for mere klikbart område */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    position: relative; /* Sikrer, at hover-effekten fungerer korrekt */
}



/* 📌 Sørg for at hele boksene er klikbare */
.delivery-method-trigger,
.delivery-date-trigger {
    position: relative;
    z-index: 9999;
    cursor: pointer;
    display: block;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    text-align: center;
    transition: background 0.2s ease-in-out;
}



.delivery-method-trigger:hover,
.delivery-date-trigger:hover {
    background: rgba(0, 0, 0, 0.05);
}




/* 📌 Sørger for at teksten er klikbar */
#chosenDeliveryMethodText,
#chosenDeliveryDateText {
    font-size: 16px;
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}



.edit-cart-link {
    display: block;
    margin: 10px auto;
    text-align: center;
    color: #444;
    font-size: 14px;
    text-decoration: underline;
}


/* HOLDVÆLGER PÅ SHOPFORSIDEN */
.shop-main--selector {
    align-items: stretch;
}

.shift-selector {
    width: 100%;
    max-width: 900px;
    margin: 20px auto 0;
}

.shift-selector__intro {
    margin-bottom: 28px;
    text-align: center;
}

.shift-selector__eyebrow {
    margin: 0 0 8px;
    color: #6b8100;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shift-selector__intro h1 {
    margin: 0 0 10px;
    color: #102343;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
}

.shift-selector__intro > p:last-child {
    max-width: 620px;
    margin: 0 auto;
    color: #445066;
    font-size: 17px;
}

.shift-selector__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.shift-choice {
    display: flex;
    min-height: 230px;
    padding: 30px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 35, 67, 0.09);
    color: #102343;
    text-decoration: none;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shift-choice:hover,
.shift-choice:focus-visible {
    border-color: #91B100;
    box-shadow: 0 12px 30px rgba(16, 35, 67, 0.15);
    color: #102343;
    transform: translateY(-3px);
}

.shift-choice--ekstra {
    grid-column: 1 / -1;
    min-height: 150px;
}

.shift-choice__icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #eef5dc;
    color: #789400;
    font-size: 27px;
    font-weight: 800;
    align-items: center;
    justify-content: center;
}

.shift-choice__content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.shift-choice__content strong {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.2;
}

.shift-choice__content > span {
    color: #556173;
    font-size: 15px;
    line-height: 1.55;
}

.shift-choice__action {
    margin-top: 24px;
    color: #789400;
    font-size: 16px;
    font-weight: 800;
}

.active-shift-notice {
    display: flex;
    width: 100%;
    max-width: 900px;
    margin: 14px 0 0;
    padding: 14px 18px;
    border-left: 5px solid #91B100;
    border-radius: 8px;
    background: #fff;
    color: #102343;
    align-items: baseline;
    gap: 8px;
}

.active-shift-notice span {
    color: #657085;
    font-size: 14px;
}

.active-shift-notice strong {
    font-size: 17px;
}

.shop-sidebar-actions {
    display: grid;
    width: 100%;
    margin: 8px 0 14px;
    gap: 8px;
}

.weekly-menu-button {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    background: #91B100;
    color: #fff;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.weekly-menu-button:hover,
.weekly-menu-button:focus-visible {
    background: #789400;
    color: #fff;
    transform: translateY(-1px);
}

.weekly-menu-button--pending {
    background: #789400;
}

.shift-deadline-summary {
    width: 100%;
    max-width: 900px;
    margin: 10px 0 0;
    padding: 12px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    color: #445066;
    font-size: 14px;
}

.shift-deadline-summary a {
    margin-left: 6px;
    color: #6b8100;
    font-weight: 800;
}

.order-date-help {
    margin: 8px 0 4px;
    color: #556173;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

.order-date-help--error {
    color: #b42318;
    font-weight: 700;
}

#order-shift-context {
    margin: -4px 0 16px;
    color: #6b8100;
    font-weight: 800;
}

.deadline-info-popup {
    width: 680px;
    max-height: 88vh;
    overflow-y: auto;
    text-align: left;
}

.deadline-info-popup h3 {
    color: #102343;
    text-align: center;
}

.deadline-section {
    margin-top: 18px;
    padding: 16px;
    border-radius: 10px;
    background: #f4f8ed;
}

.deadline-section h4 {
    margin: 0 0 8px;
    color: #102343;
}

.deadline-section p {
    margin: 0 0 10px;
}

.deadline-table-wrap {
    overflow-x: auto;
}

.deadline-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.deadline-table th,
.deadline-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #dbe5cf;
    text-align: left;
}

.deadline-table th {
    color: #102343;
    font-weight: 800;
}

.deadline-extra-note {
    margin: 18px 4px 4px;
    color: #445066;
    line-height: 1.5;
}

.allergen-info-popup {
    width: 440px;
}

.allergen-info-popup h3 {
    color: #102343;
}

.allergen-info-popup p {
    margin: 18px 0;
    color: #445066;
    font-size: 18px;
}

@media (max-width: 768px) {
    .shift-selector {
        margin-top: 10px;
    }

    .shift-selector__intro {
        margin-bottom: 20px;
        text-align: left;
    }

    .shift-selector__intro h1 {
        font-size: 30px;
    }

    .shift-selector__intro > p:last-child {
        font-size: 15px;
    }

    .shift-selector__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .shift-choice,
    .shift-choice--ekstra {
        grid-column: auto;
        min-height: 0;
        padding: 22px;
    }

    .shift-choice__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
        font-size: 23px;
    }

    .shift-choice__content strong {
        font-size: 21px;
    }

    .shift-choice__action {
        margin-top: 16px;
    }

    .active-shift-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .shift-deadline-summary {
        line-height: 1.5;
    }

    .shift-deadline-summary a {
        display: block;
        margin: 5px 0 0;
    }

    .deadline-info-popup {
        width: calc(100% - 28px);
        padding: 16px;
    }

    .deadline-section {
        padding: 12px;
    }
}




