body {
    font-family: "Nunito", sans-serif;
    color: rgb(28, 28, 28);
    margin-top: 13px;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Zajistí výšku přes celý monitor */
    margin: 0;
    background-size: cover;
    background-attachment: fixed;
    background-image:
        radial-gradient(rgba(0, 0, 0, 0.08) 5%, transparent 16%),
        linear-gradient(to bottom right, #e6ded1, #DBCBB0);
    background-size: 17px 17px, cover;
    margin: 0px;

}

header {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 20px;
    height: 80px;
    justify-content: space-between;
}

main {
    font-family: "Nunito", sans-serif;
}

header #logo {
    background-color: #fff9e5d4;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 1px 40px 0 rgba(68, 68, 68, 0.27);
    border-radius: 15px;

    left: 50%;
    transform: translateX(0%);
    width: calc(100% - 300px);
    z-index: 1;
    width: 100%;
    height: 78px;
    padding-left: 52px;
    margin-left: 20px;
}

header #logo h1 {
    left: 50%;
    transform: translateX(25%);
    margin: 0;
    position: relative;
    left: 50%;
    top: 50%;
    color: #C8102E;
    font-weight: 900;
    transform: translate(-50%, -50%);
    z-index: 101;
    font-family: "Nunito", sans-serif;
    text-align: center;

}

header #logo h1 a {
    text-decoration: none;
    color: #C8102E;
}

#headerLogo {
    width: 68px;
    font-size: 25px;
}

#logoimg {
    width: 120px;
    margin-left: 20px;
}

#userMenu {
    background-color: #fff9e5d4;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 8px 40px 0 rgba(68, 68, 68, 0.27);
    border-radius: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    margin: 0 20px 0 10px;
    align-self: stretch;
    width: auto;
    font-size: 16px;
    position: relative;
    z-index: 1000;
    cursor: pointer;
}

.dropdown-toggle::after {
    color: #C8102E;
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    display: none !important;
}

#userMenu .btn {
    background-color: transparent !important;
    border: none !important;
    color: rgb(28, 28, 28) !important;
    box-shadow: none !important;
    padding: 0 5px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#userMenu .dropdown-menu {
    background-color: #fff9e5 !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    font-family: "Nunito", sans-serif;
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
}

#userMenu .dropdown-item,
#userMenu .dropdown-header {
    color: rgb(0, 0, 0) !important;
    font-size: 15px;
    font-weight: 600;
}

#userMenu .dropdown-item:hover,
#userMenu .dropdown-item:focus {
    background-color: #fff9e5 !important;
    font-size: 15px;
    color: #C8102E !important;

}

header #cart {
    background-color: #fff9e5d4;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 8px 40px 0 rgba(68, 68, 68, 0.27);
    border-radius: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 96px;
    font-size: 25px;
    margin-left: 20px;
    margin-right: 10px;
    align-self: stretch;
    width: 96px;
    font-size: 25px;
    z-index: 100;
    padding: 0 5px;
    cursor: pointer;
}

header #cart i {
    width: 68px;
    cursor: pointer;
}

header #cart:hover i {
    color: #C8102E !important;

}

#formReg {
    padding: 15px 40px !important;
    margin-top: 21px !important;
}

#formReg h2 {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.form-control {
    margin-top: 5px;
}

.form-control:last-child {
    margin-bottom: 10px;
}

.form-control:focus,
#searchBar:focus {
    border-color: #cec3b1 !important;
    box-shadow: 0 0 0 0.2rem rgba(219, 203, 176, 0.25) !important;
}

#formReg a,
#formReg input[type="submit"] {
    color: rgb(28, 28, 28);
    background-color: rgba(255, 255, 255, 0.25);
    transition: 0.4s;
    border: 0px;
    font-size: 20px;
    width: fit-content;
    margin-left: auto !important;
    margin-right: auto;
    display: block;
}

#formReg a,
#formReg input[type="submit"]:hover {
    border-radius: 5px;
    font-size: 19px;
}

#frm-loginForm,
#frm-registerForm {
    display: inline-block;
}

#formReg a,
#formReg,
nav {
    background-color: #fff9e5d4;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 8px 40px 0 rgba(68, 68, 68, 0.27);
    text-align: center;
    border-radius: 15px;
    display: table;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: 15px;
    padding: 16px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.adProDiv {
    margin: 36px !important;
}

#userMenu a,
nav a, .algBtn{
    text-decoration: none;
    color: rgb(28, 28, 28);
    transition: 0.4s;
    padding: 5px 60px;
    font-weight: 600;
    border-radius: 2px;
}

#userMenu:hover i {
    color: #C8102E !important;
}

nav #panel {
    padding: 5px 30px;
}

#userMenu a:hover,
nav a:hover, .algBtn:hover{
    color: #fff9e5d4;
    border-radius: 30px;
    background-color: #C8102E;
}

#intro {
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    border-radius: 15px;
    width: 50%;
    height: fit-content;
    text-align: center;
    margin-bottom: 0px;
    position: relative;
    background-color: #fff6dbd4;
    padding: 8% 15px;
    border: 6px solid #000;
    outline: 5px solid #C8102E;
    outline-offset: -15px;
    display: flex;

}

#intro h1 {
    color: #C8102E;
    font-size: 3em;
    margin: 0;
    z-index: 10;
    font-weight: 800;
    margin-left: auto;
    margin-right: auto;

}

#homepage-sections {
    margin: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.uvod-section {
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: #1c1c1c;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #C8102E;
    margin: 10px auto;
    border-radius: 2px;
}

.center-link {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff9e5d4;
    border: 2px solid #000;
    border-radius: 12px;
    color: #C8102E;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.2s;
}

.view-all-btn:hover {
    background-color: #C8102E;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.2);
}

#selectedprods {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 10px 0 rgba(68, 68, 68, 0.27);
    border-radius: 15px;
    display: inline-table;
    padding: 15px;
    height: auto;
    font-size: 30px;
    font-weight: 500;
    text-align: center;
}

#selectedprods .price {
    font-weight: 400;
    font-size: 25px;
}

#selectedprods p {
    margin: 0;
}

.product {
    background-color: #fff9e5d4;
    backdrop-filter: blur(10px);
    border: 2px solid rgb(0, 0, 0);
    box-shadow: 0 4px 15px 0 rgba(68, 68, 68, 0.15);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    width: 320px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin: 0;
}

.product-grid,
#uvodprods>div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    padding: 40px;
    justify-items: center;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.product-grid .product,
#uvodprods>div .product {
    height: 100%;
}

.product:hover {
    box-shadow: 10px 2px 0 0 #C8102E;
    transform: translateY(-5px);


}

.product .name,
.product .price,
.product .brand {
    width: 100%;
    overflow-wrap: break-word;
    text-align: left;
    margin-left: 5px;
    margin-top: 0;
    margin-bottom: 5px;
}

.product .name {
    font-size: 26px;
    font-weight: 700;
    margin-top: 10px;
}

.product .price {
    font-weight: 700;
    font-size: 24px;
    margin-left: 0;
    margin-top: 10px;
    display: inline-flex;
    width: auto;
    color: #C8102E;
}

.product:hover .price {
    color: #C8102E;
    font-weight: 900;
    text-shadow: 1px 1px 0px #fff, 3px 3px 0px rgba(0, 0, 0, 0.1);
    transition: 0.15s;
}

.product .prodphoto {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #fffcf2;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 10px;
    box-sizing: border-box;
}

.product .brand, .allergensP {
    font-weight: 400;
    margin: 0;
    font-size: 16px;
    color: rgba(28, 28, 28, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product .brandbottomnull {
    margin-bottom: 40px;
}

.buyb {
    border-radius: 10px;
    border: none;
    padding: 15px;
    width: 60px;
    aspect-ratio: 1/1;
    background-color: #C8102E;
    color: #fff9e5d4;
    font-size: 20px;
    text-align: center;
    transition: 0.2s;
}

.product:hover .buyb {
    border-radius: 30px;
    transition: 0.2s;
}


.flex {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

#cartdiv {
    display: none;
    background-color: #fff6db;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.771);
    box-shadow: 0 2px 10px 0 rgba(68, 68, 68, 0.27);
    border-radius: 15px;
    height: 80vh;
    width: 80vh;
    z-index: 1000;
    overflow: hidden;
    padding: 45px;
    box-sizing: border-box;
    display: none;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Nunito", sans-serif;
}

#carth {
    font-size: 38px;
    font-weight: 800;
    margin: 0;
    color: #C8102E;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(3px) brightness(0.8);
    backdrop-filter: blur(5px);
}

#cartclose {
    font-size: 28px;
    font-weight: 700;
    border-radius: 15px;
    transition: 0.15s;
    cursor: pointer;
    margin: 0px;
}

#cartclose:hover {
    color: #C8102E;
}

#cartheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 15px;
    border-bottom: 2px solid #C8102E;
    margin-bottom: 10px;
}

#cartcontent {
    border-radius: 15px;
    height: 65vh;
    padding: 0 5px;
    overflow-y: auto;
}

#cartcontent .cartitem {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    gap: 10px;
}

#cartcontent .cartitem:last-child {
    border-bottom: none;
}

#cartcontent .cartitem .name {
    flex: 2;
    font-size: 25px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#cartcontent .cartitem .infobutt {
    flex: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

#cartcontent .cartitem .info {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}



#cartcontent .cartitem .info .count {
    color: #C8102E;
    background: rgba(200, 16, 46, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

#cartcontent .itembutt {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f1f1f1;
    padding: 3px;
    border-radius: 8px;
}

#cartcontent .itembutt button {
    background: white;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#cartcontent .itembutt button:hover {
    background: #C8102E;
    color: white;
}

#cartcontent .itembutt button.del {
    background: transparent;
    box-shadow: none;
    color: #ccc;
    font-size: 14px;
    margin-left: 5px;
}

#cartcontent .itembutt button.del:hover {
    background: #fee2e2;
    color: #C8102E;
}

.cart-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #C8102E;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 800;
}

.total-amount {
    color: #C8102E;
    font-size: 24px;
}

.checkout-btn {
    width: 100%;
    background: #C8102E;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.checkout-btn:hover {
    background: #a00d25;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

#filtrprods {
    text-align: center;
    margin-top: 15vh;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff9e5d4;
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 8px 40px 0 rgba(68, 68, 68, 0.27);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    border-radius: 15px;
    min-width: 30vw;
}
#filtrprods p, #searchBtn, #cancelBtn, #formReg #sendBtn, .btnSuccess{
    margin-bottom: 0px;
    color: #C8102E;
    font-weight: 700;
    font-size: 25px;
    padding: 0px 15px;
    transition: 0.2s;
    text-decoration: none;
}
#filtrprods p:hover, #searchBtn:hover ,#cancelBtn:hover, #formReg #sendBtn:hover, .btnSuccess:hover{
    color: #fff9e5d4;
    border-radius: 30px;
    background-color: #C8102E;
    transition: 0.2s;

}

.filtrbtn,
#searchBtn {
    background-color: transparent;
    border: none;
}

#searchBar {
    border-radius: 15px;
    border: 0.5px solid rgb(27, 27, 27);
    text-align: center;
    margin: 0px 15px;
}

.dropdown-menu li {
    text-align: center;

}

.dropdown-menu li a:hover {
    transition: 0.2s;
    color: #fff9e5d4;
    border-radius: 30px;
    background-color: #C8102E;
}

.dropdown-menu {
    background-color: #fff6dbd4 !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translate3d(7px, 90px, 0px) !important;

}

#filtrprods .dropdown .dropdown-menu {
    background-color: #fff6dbd4 !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translate3d(7px, 60px, 0px) !important;

}

.dropdown-menu .dropdown-item:focus {
    background-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

.dropdown-menu li a {
    color: #C8102E;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    transition: 0.2s;

}

#cartdiv #cartcontent .third #dobirka,
#cartdiv #cartcontent .third #card {
    width: 50%;
    aspect-ratio: 1/1;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 2px solid rgba(0, 0, 0, 0.251);
    flex-direction: column;
    border-radius: 15px;
    padding: 20px;
    font-size: 30px;
    background-color: rgba(240, 240, 240, 0.297);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 40px 0 rgba(68, 68, 68, 0.453);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#cartdiv #cartcontent .second .udajecartb {
    text-align: center;
    width: min-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    border: 1px solid black;
    padding: 10px;
    display: flex;
    color: #2D2D2D;
    text-decoration: none;
}

#cartdiv #cartcontent .confirmstep #confirmall {
    width: 85%;
    aspect-ratio: 2/1;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 2px solid rgba(255, 0, 0, 0.695);
    flex-direction: column;
    border-radius: 15px;
    padding: 20px;
    font-size: 30px;
    background-color: rgba(240, 240, 240, 0.297);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 40px 0 rgba(68, 68, 68, 0.453);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#cartdiv #cartcontent .confirmstep #confirmall p {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}

#cartdiv #cartcontent .confirmstep #confirmall #controls {
    display: flex;
    flex-direction: row;
}

#cartdiv #cartcontent .confirmstep #confirmall #controls button {
    background-color: transparent;
    margin: 0 60px;
    border: 2px solid rgba(0, 0, 0, 0.425);
    border-radius: 10px;
    font-size: 30px;
    padding: 0 10px;
    transition: 0.1s;
}

#cartdiv #cartcontent .confirmstep #confirmall #controls button:hover {
    font-size: 29px;
    background-color: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, 0.338);
    transition: 0.2s;
}

@media (max-width: 768px) {

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        min-height: 100vh;
        margin: 0;
        padding: 0;
    }

    body {
        background-attachment: fixed;
        background-image:
            radial-gradient(rgba(0, 0, 0, 0.08) 5%, transparent 16%),
            linear-gradient(to bottom right, #e6ded1, #DBCBB0);
        background-size: 17px 17px, cover;
    }

    header {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
        justify-content: center;
        gap: 10px;
    }

    #logoimg {
        width: 60px;
        margin: 0;
    }

    header #logo {
        width: calc(100%);
        height: 60px;
        margin: 0;
        padding: 0 10px;
    }

    header #logo h1 {
        font-size: 1.2rem;
        width: 100%;
    }

    header #cart,
    header #userMenu {
        flex: 1;
        min-width: 80px;
        height: 50px;
        margin: 0;
    }
    nav, .algBtn{
        width: 95%;
        display: flex;
        padding: 5px;
        gap: 5px;
    }

    nav a,
    .algBtn a {
        padding: 10px 5px;
        font-size: 0.9rem;
        flex: 1;
    }

    .product {
        width: 90% !important;
        max-width: 320px;
        margin: 15px auto !important;
        display: block;
        padding: 10px;
    }

    .product .name {
        font-size: 24px !important;
    }

    .product .prodphoto {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    #intro {
        width: 90%;
        margin-top: 20px;
        padding: 20px 10px;
        margin-bottom: 20px;
    }

    #intro h1 {
        font-size: 2rem !important;
    }

    #cartdiv {
        width: 90vw;
        height: 80vh;
    }

    #logoimg {
        display: none;
    }
}

.error-text,
.text-danger {
    color: #C8102E;
    font-weight: 600;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
}

.flash {
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    font-size: 30px;
    font-weight: 600;
    font-family: "Nunito", sans-serif;
    border-radius: 15px;
    padding: 20px 40px;
    border: 2px solid rgb(0, 0, 0);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: rozplynuti 3s ease-in-out forwards;
}

.flash.success {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    border-color: #166534 !important;
}

.flash.error {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border-color: #991b1b !important;
}

.flash.info {
    background-color: #fff9e5 !important;
    color: #C8102E !important;
    border-color: #C8102E !important;
}

@keyframes rozplynuti {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -40%) scale(1.1);
        visibility: hidden;
    }
}


#paneldiv,
#paneldiv a {
    background-color: #fff9e5d4;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 8px 40px 0 rgba(68, 68, 68, 0.27);
    text-align: center;
    border-radius: 15px;
    display: table;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: 15px;
    padding: 16px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    text-decoration: none;
    color: #000;
    transition: 0.2s;

}

.panelbutt p {
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: inline-table;
    padding: 15px;
    height: auto;
    font-size: 30px;
    font-weight: 500;
    width: 300px;
    transition: 0.2s;
}

.panelbutt:hover {
    transform: translateY(-5px);

}

.panelbutt:hover p {
    color: #C8102E;
    font-weight: 700;

}

#ordersdiv .orders {
    background-color: #fff9e5d4;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 8px 40px 0 rgba(68, 68, 68, 0.27);
    border-radius: 15px;
    padding: 15px;
    height: auto;
    font-size: 30px;
    font-weight: 500;
    transition: 0.2s;
    margin: 30px 15px;
}

#ordersdiv .orders:hover {
    transform: translateY(-5px);
    color: #C8102E;
}

#ordersdiv .orders .numorders {
    padding: 10px;
    margin-bottom: 0;
}

#ordersdiv {
    background-color: #fff9e5d4;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 0 8px 40px 0 rgba(68, 68, 68, 0.27);
    text-align: center;
    border-radius: 15px;
    display: table;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: 15px;
    padding: 16px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: 90%;
}

.orderprods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.allergensP{
    font-size: 12px;
}

#admin-products {
    padding: 40px;
}

.admin-card {
    position: relative;
    border: 2px dashed #ccc !important;
    box-shadow: none !important;
}

.admin-card:hover {
    border-color: #C8102E !important;
    transform: none !important;
}

.add-new-card {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #C8102E !important;
    background-color: rgba(200, 16, 46, 0.05) !important;
    cursor: pointer;
    min-height: 400px;
}

.add-new-card .add-btn {
    text-decoration: none;
    color: #C8102E;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-weight: 800;
}

.add-new-card .add-btn i {
    font-size: 50px;
}

.admin-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

.edit-link,
.delete-link {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.edit-link {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.delete-link {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

.edit-link:hover {
    background: #e5e5e5;
}

.delete-link:hover {
    background: #fecaca;
}

.edit-preview-img {
    max-width: 150px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.current-photo-edit {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
}

#formReg .form-group {
    text-align: left;
    margin-bottom: 15px;
}

#formReg label {
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
    color: #555;
    font-size: 14px;
}

.no-photo {
    height: 220px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #aaa;
    font-style: italic;
    margin-bottom: 15px;
}

.product {
    margin-bottom: 20px;
}

#newProDiv {
    height: 363px;
}

#overlayid {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    footer {
    flex-shrink: 0;
    background-color: #fff9e5d4;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    border: black 1px solid;
    }

.no-results{
    font-weight: bolder;
}