* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bodyBG {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    height: calc(100% - 110px);
    margin: 0;
    padding: 0;
    overflow: auto;
    margin-top: 110px;
    align-items: center;
}

html,
body {
    background: url('/pic/homeback.jpg') center center;
    background-size: cover;
    overflow: hidden;
    width: 100svw;
    height: 100svh;
}

/*body:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Ensure it stretches to the bottom */
/*z-index: -1;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}*/

@media (max-width: 768px) {
    body {
        background: url('/pic/mobilehomeback.png') center center;
        background-size: cover;
    }

    /*body:after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        background: url('/pic/mobilehomeback.png') center center;
        background-size: cover;
    }*/


    .row {
        margin-right: 0;
        margin-left: 0;
    }
}

.row {
    justify-content: center;
}

.btn-primary,
.btn-sm.btn-primary {
    background-color: #ff9900;
    border: 2px solid #333;
    border-radius: 5px;
    color: black;
}

.btn-primary:hover,
.btn-sm.btn-primary:hover {
    background-color: #cc7a00;
    /* sötétebb narancssárga */
    border: 2px solid #111;
    /* sötétebb szegély */
    color: white;
    /* fehér szöveg */
}


.read-more-btn {
    cursor: pointer;
    color: #ff6b6b;
    text-decoration: underline;
    display: block;
    margin-top: 5px;
}

.custom-cart-button {
    background: linear-gradient(45deg, #ff6b6b, #ffcc00);
    /* Egyedi háttérszín */
    color: white;
    /* Szöveg színe */
    border-radius: 25px;
    /* Lekerekített sarkok */
    padding: 10px 20px;
    /* Párnázás */
    font-size: 16px;
    /* Betűméret */
    font-weight: bold;
    /* Betű vastagsága */
    transition: background-color 0.3s ease, transform 0.3s ease;
    /* Áttűnés animáció */
    display: inline-block;
    /* Blokk kijelző, hogy a margók érvényesüljenek */
    text-align: center;
    /* Szöveg középre igazítása */
}

.custom-cart-button:hover {
    background-color: #e64a19;
    color: white;
    text-decoration: none;
    /* Hover állapot színe */
    transform: scale(1.05);
    /* Kicsit nagyobbá válik hover állapotban */
}

.custom-cart-button:active {
    background-color: #d84315;
    /* Aktív állapot színe */
    transform: scale(0.95);
    /* Kicsit kisebbé válik aktív állapotban */
}

/* A gomb középre igazítása */
.btn-group {
    display: flex;
    justify-content: center;
}

.custom-header {
    font-size: 36px;

    font-weight: bold;

    color: #ff6b6b;

    background: linear-gradient(45deg, #ffcc00, #ff6b6b);

    background-clip: text;

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    margin-top: 20px;

    margin-bottom: 20px;

    /*animation: gradientAnimation 5s infinite;*/

    background-size: 200% 200%;
}

/* Gradient animáció keyframe-jei */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}





.product-card {
    transition: transform 0.3s, box-shadow 0.3s, height 0.3s;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    color: black;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    height: auto;
    min-height: 475px;
}

.product-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card.expanded {
    height: auto;
}

.btn-group {
    margin-top: auto;
}

.product-details {
    padding: 5px;
}

.image-container {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    height: 250px;
}



.product-image {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
    aspect-ratio: 4/3;
}


.price-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ffcc00);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2),
        0 6px 20px rgba(255, 255, 255, 0.19),
        0 0 10px rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: rotate(-5deg);
    /*animation: shadow-change 2s infinite;*/
}

@keyframes shadow-change {
    0% {
        box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2),
            0 6px 20px rgba(255, 255, 255, 0.19),
            0 0 10px rgba(255, 255, 255, 0.5);
    }

    50% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
            0 6px 20px rgba(0, 0, 0, 0.19),
            0 0 10px rgba(0, 0, 0, 0.5);
    }

    100% {
        box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2),
            0 6px 20px rgba(255, 255, 255, 0.19),
            0 0 10px rgba(255, 255, 255, 0.5);
    }
}

@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        align-items: center;
        /* Ez középre igazítja a kártyákat */
        width: 100%;
        /* Ez biztosítja, hogy a konténer teljes szélességet foglaljon */
    }

    .flex-item {
        flex: 0 0 90%;
        /* Ez kicsit keskenyebbé teszi a kártyákat, hogy legyen némi szélük */
        max-width: 90%;
        /* Ez kicsit keskenyebbé teszi a kártyákat, hogy legyen némi szélük */
        margin: 10px auto;
        /* Ez középre igazítja a kártyákat és növeli a margót */
    }

    .product-card {
        max-width: 90%;
        /* Ez biztosítja, hogy a kártya teljes szélességű legyen */
        margin: 10px auto;
        min-height: 0px;
        /* Ez középre igazítja a kártyákat és növeli a margót */
    }

    .product-card-content {
        padding: 10px;
        /* Ez kicsit növeli a paddingot */
    }

    .price-tag {
        font-size: 16px;
        padding: 5px 10px;
    }

    .product-image {
        max-height: 200px;
    }

    .quantity-selector input {
        width: 50px;
        margin-left: 5px;
    }

    .btn-group a {
        margin: 0 2px;
    }
}

.flexallnav {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.89), rgba(255, 119, 0, 0.893));
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    min-height: 125px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.container-1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1px;
    margin-bottom: 1px;
}

.container-1 .flex-item {
    margin: 1px;
    padding: 5px;
    /* Kevesebb padding, hogy ne lógjanak ki */
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    /* Kisebb betűméret */
}

.container-1 .flex-item i {
    margin-bottom: 4px;
    /* Ikon alatt kis hely */
    font-size: 24px;
    /* Ikon mérete */
}

.container-1 .flex-item.logo {
    flex: 0 0 50%;
    /* A logó a felső sor felét foglalja el */
    text-align: center;
    border-radius: 25px;
}

.container-1 .flex-item.logo img {
    width: 100%;
    /* Növeljük a logó szélességét */
    max-width: 350px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    /* Maximális szélesség */
}

.container-1 .flex-item:not(.logo) {
    flex: 1;
    /* A maradék helyet a három gomb egyenlően osztja el */
}

.container-1 .flex-item.call span.phone-number {
    color: white;
    background: none;
    display: block;
    /* Alapértelmezett láthatóság asztali nézetben */
    text-align: center;
}



.container-1 .flex-item.call::after {
    /* Itt add meg a telefonszámot */
    color: white;
}

.container-1 .flex-item.payment {
    background-color: #FF7828;

    color: white;
    padding: 9px;
    font-size: 13px;
    border-radius: 13px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Speciális stílus a Kosár elemhez */
.container-1 .flex-item.shopping_cart {
    background-color: #4682b4;

    color: white;
    padding: 9px;
    border-radius: 13px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 13px;
}

@media (max-width: 768px) {
    .flexallnav {
        background: linear-gradient(45deg, rgba(0, 0, 0, 0.89), rgba(255, 119, 0, 0.893));
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 15px;
        box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        width: 100%;
        min-height: 125px;
    }

    .flex-container.header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .miniC {
        order: 2;
        width: 100%;
    }

    .flex-item.logo {
        order: 0;
    }

    .flex-item.payment,
    .flex-item.shopping_cart,
    .flex-item.call {
        order: 1;
    }

    .container-1 {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: -1px;
        /* Két flexcontainer közötti rés eltávolítása */
    }

    .container-1 .flex-item {
        font-size: 15px;
        /* Még kisebb betűméret mobil nézetben */
        padding: 1px 1px;
        /* Kevesebb padding mobil nézetben */
        background-color: transparent;
        color: white;
    }

    .container-1 .flex-item i {
        font-size: 20px;
    }

    .container-1 .flex-item.logo img {
        max-width: 194px;
        /* Kép méretének csökkentése mobil nézetben */
    }

    .container-1 .flex-item.call span {
        display: none;
    }

    .container-1 .flex-item.call::after {
        content: "";
    }

    .container-1 .flex-item.call i {
        color: green;
        background: none;

    }

    .container-1 .flex-item.call i {
        background-color: green;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 40px;
        border-radius: 35px;
        padding: 5px 5px;
    }

    .container-1 .flex-item.call span.phone-number {
        display: none;
        /* Elrejti a telefonszámot mobil nézetben */
    }
}



.flex-item_kategoria {
    margin: 3px;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    background-color: #000000b3;
    color: white;
    max-width: 200px;
    cursor: pointer;
}

.flex-item_kategoria i {
    margin-bottom: 4px;
    font-size: 24px;
}

.flex-item_kategoria {
    flex: 1;
}

.container-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1px;


    /* Kevesebb hely a két sor között */
}

.container-2 .flex-item {
    margin: 3px;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    background-color: #000000b3;
    color: white;
    max-width: 200px;
}

.container-2 .flex-item i {
    margin-bottom: 4px;
    font-size: 24px;
}

.container-2 .flex-item:not(.logo) {
    flex: 1;
}

@media (max-width: 600px) {
    .container-2 {
        flex-direction: row;
        justify-content: space-between;
    }

    .container-2 .flex-item {
        font-size: 14px;
        padding: 3px;
    }

    .container-2 .flex-item i {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .container-1 {
        justify-content: space-between;
        padding: 0 20px;
    }

    .container-1 .flex-item.logo {
        flex: 0 0 auto;
        margin-right: auto;
    }

    .container-1 .flex-item.payment,
    .container-1 .flex-item.shopping_cart,
    .container-1 .flex-item.call {
        flex: 0 0 auto;
        margin-left: 10px;
    }

    .container-1 .flex-item.payment {
        margin-left: auto;
    }
}

.miniC {
    display: flex;
    flex-direction: row;
    height: fit-content;
}

@media (min-width: 768px) {
    .flex-container.header {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }

    .miniC {
        order: 1;
        gap: 20px;
    }

    .flex-item.logo {
        order: 0;
    }

    .flex-item.payment,
    .flex-item.shopping_cart,
    .flex-item.call {
        order: 2;
    }

    .flex-item_kategoria {
        padding: 9px;
        font-size: 13px;
    }

    .flex-item_kategoria i,
    .flex-item.flex-item.shopping_cart,
    .flex-item.payment {
        min-width: 87px;
    }
}

.mybox-container {
    display: flex;
    flex-direction: column;
    /* Mobilnézetben oszlopos elrendezés */
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px;
}

.mybox {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    /* Nem nyúlik túl */
}

.mybox-item {
    max-width: 100%;
    height: auto;
}

#circle_bw {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 200px;
    /* Alapméret nagyobb kijelzőkre */
    height: auto;
}

/* Mobilnézet finomhangolása */
@media screen and (max-width: 768px) {
    .mybox-container {
        flex-direction: column;
        padding: 5px;
    }

    .mybox {
        width: 90%;
        /* Nem nyúlik teljes szélességre */
    }

    .mybox-item {
        max-width: 80%;
    }

    #circle_bw {
        width: 150px;
        /* Kisebb méret mobilra */
    }

    .circle_bw_name_txt,
    .circle_bw_nom_txt {
        font-size: 12px;
        /* Kisebb szövegméret */
    }
}




.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.89), rgba(255, 119, 0, 0.893));
    color: white;
    margin-top: 25px;
}

.footer .section {
    flex: 1;
    padding: 10px;
}

.footer .section h2 {
    font-size: 15px;
    margin-bottom: 10px;
}

.footer .section p,
.footer .section a {
    font-size: 14px;
    margin: 5px 0;
    color: #fff;
    text-decoration: none;
}

.footer .section a:hover {
    text-decoration: underline;
}

.footer .section .privacy a {
    color: #ff6a00;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        padding: 10px;
    }

    .footer .section {
        padding: 5px;
        text-align: center;
    }

    .footer .section h2 {
        font-size: 16px;
    }

    .footer .section p,
    .footer .section a {
        font-size: 12px;
    }
}