/* Terméklista tartó */
.custom-product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 oszlopos grid */
    gap: 40px;
    width: 100%;
}

/* Termék egyedi elem */
.product-item {
    text-align: center;
    transition: all 0.3s ease;
    background-color: white;
    overflow: hidden;
    border-radius: 15px;
}

.product-variations-list {
    display: flex
;
    gap: 5px;
}

span.variation-option {
    font-family: "mundial", Sans-serif;
    font-weight: 300;
    text-align: left;
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 5px;
    background-color: #f3f3f3;
    padding: 5px 10px;
    border-radius: 10px;
}

.info-text-overlay {
    position: absolute;
    top: 90%;
    left: 35%;
    background: rgb(255, 0, 0);
    color: white;
    padding: 10px 10px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    z-index: 10;
    font-family: "mundial", Sans-serif;
    font-weight: bold;
    width: auto;
  }

  p.variable-product-notice {
    font-family: "mundial", Sans-serif;
    font-weight: 500;
    text-align: left;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 5px;
}


.product-namelista {
    font-family: "Barlow Condensed", Sans-serif;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-style: italic;
    color: #212121;
    text-align: left;
    line-height: 30px;
}

.static-text {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: "mundial", Sans-serif;
    padding: 5px 10px;
    background-color: #840017;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 10;
    transition: all 0.3s ease;
    display: none;
    gap: 6px;
    align-items: center;
  }
  span.sale-price {
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 5px;
    display: inline-block;
    background-color: #840017;
  }

img.static-icon {
    width: 26px;
}

.product-price {
    font-family: "Poppins", Sans-serif;
    font-size: 18px;
    color: #212121;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 20px;
}

.product-info {
    text-align: left;
    margin-top: 5px;
    color: #050327;
    font-family: "mundial", Sans-serif;
    font-size: 15px;
    font-weight: 200;
    line-height: 24px;
}

.product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

.product-image {
    position: relative; /* Fontos, hogy a statikus szöveg pozíciója relatív legyen a szülő elemhez */
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 360px;
    transition: transform 0.3s ease;
}

/* Hover hatás a képre */
/* 

.product-item:hover .product-image {
    transform: scale(1.07);
}

*/

/* Termék neve */
.product-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}



.product-price-add {
    display: flex;
    margin-top: 15px;
    flex-direction: column;
    width: 100%;
}

/* Termék ára */
.product-price {
    font-family: "Barlow Condensed", Sans-serif;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-style: italic;
    color: #212121;
    text-align: left;
    line-height: 30px;
}

.product-item a {
    font-family: "mundial", Sans-serif;
    font-size: 14px;
    color: #212121;
    font-weight: 400;
}

/* Kosárba gomb */
.product-add-to-cart .button {
    background-color: #AFD9AD;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Barlow Condensed", Sans-serif;
    font-size: 19px;
    font-weight: 700;
    border-radius: 15px;
    text-transform: uppercase;
    color: #000000;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    padding: 11px;
    font-style: italic;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

/* Kosárba gomb specifikus stílus */
.product-add-to-cart .add_to_cart_button {
    background-color: #AFD9AD;
}

.product-add-to-cart .add_to_cart_button:hover {
    background-color: #F2ACBF;
}

/* Részletek gomb specifikus stílus */
.product-add-to-cart .view_product {
    background-color: #AFD9AD;
}

.product-add-to-cart .view_product:hover {
    background-color: #F2ACBF;
}

/* SVG ikon stílus */
.product-add-to-cart .button .svgkosar {
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

/* Kosárba gomb */
.product-add-to-cart .button.add_to_cart_button,
.product-add-to-cart .add-to-cart-button {
    background-color: #AFD9AD !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-family: "Barlow Condensed", Sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    border-radius: 15px !important;
    text-transform: uppercase !important;
    color: #000000 !important;
    width: 100% !important;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
    padding: 11px !important;
    font-style: italic !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* Hover állapot */
.product-add-to-cart .button.add_to_cart_button:hover,
.product-add-to-cart .add-to-cart-button:hover {
    background-color: #F2ACBF !important;
}

/* Loading állapot */
.product-add-to-cart .button.add_to_cart_button.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Loading állapot */
.product-add-to-cart .button.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Kosárba helyezve állapot */
.product-add-to-cart .button.added {
    background-color: #90C08D;
}


/* Kosár ikon hover */
.product-add-to-cart .add-to-cart-button:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/* Rácsos elrendezés szűrők és termékek */
.custom-product-container {
    display: flex;
    gap: 40px;
}

/* Szűrő tartó szélessége */
.custom-filter-container {
    width: 20%;
    font-family: "mundial", Sans-serif;
    padding: 10px 0;
    border-right: 0.5px solid #b4b4b4;
}

/* Termékek tartó szélessége */
.custom-products-wrapper {
    width: 80%;
}

.product-add-to-cart {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.added_to_cart.wc-forward {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.added_to_cart.wc-forward:hover {
    background-color: #e0e0e0;
    color: #000;
}

.cart-message {
    margin-top: 10px;
    padding: 12px 12px;
    border-radius: 4px;
    font-family: "mundial", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    animation: fadeInMessage 0.3s ease-in-out;
}

.cart-message-success {
    background-color: #4CAF50;
    color: white;
    border-radius: 15px;
}

.cart-message-error {
    background-color: #f44336;
    color: white;
}

h2.product-title {
    margin-bottom: 0px;
    line-height: 24px;
    text-align: left;
}



@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.discount-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: none;
    align-items: center;
    gap: 5px;
    z-index: 20;
    color: #000000;
    font-size: 22px;
    font-weight: bold;
    background-color: #ffffff63;
    padding: 0px 10px;
    border-radius: 5px;
}
.discount-badge img.discount-image {
    width: 55px;
    height: auto;
    display: inline-block;
    margin-top: -18px;
}

.count-text {
    font-weight: bold;
    margin-top: 10px;
}


.custom-product-list.akcio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 1200px;
}


.custom-product-list.akcio .product-item {
    text-align: center;
    transition: all 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
    border-radius: 15px;
    display: flex;


}

.custom-product-list.akcio .product-item a {
    font-family: "mundial", Sans-serif;
    font-size: 14px;
    color: #212121;
    font-weight: 400;
    height: 360px;
    width: 100%;
}

.custom-product-list.akcio .product-info {
    text-align: left;
    margin-top: 5px;
    color: #050327;
    font-family: "mundial", Sans-serif;
    font-size: 15px;
    font-weight: 200;
    line-height: 24px;
    display: none;
}

.custom-product-list.akcio .product-image {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 280px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.custom-product-list.akcio .product-item a {
    font-family: "mundial", Sans-serif;
    font-size: 14px;
    color: #212121;
    font-weight: 400;
    height: 280px;
    width: 45%;
}


.custom-product-list.akcio .product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    width: 60%;
}

.custom-product-list.akcio .product-add-to-cart .button.add_to_cart_button, .product-add-to-cart .add-to-cart-button {
    background-color:#840017 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-family: "Barlow Condensed", Sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    border-radius: 15px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    width: 100% !important;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
    padding: 11px !important;
    font-style: italic !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
}
.custom-product-list.akcio .product-namelista {
    color: #212121;
}

.custom-product-list.akcio .product-price {

    color: #212121;
}


.custom-product-list.akcio .product-item a {
    color: #212121;
}

.custom-product-list.akcio .product-add-to-cart .view_product {
    background-color: #ff000063;
    color: white;
}

.custom-product-list.akcio .discount-texter {
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    display: none;
}

#fi_9004824 {
    width: 35px;
    height: auto;
  }


.custom-product-list.akcio .static-text {
    position: relative;
    top: 10px;
    left: 10px;
    font-family: "mundial", Sans-serif;
    padding: 0;
    margin-bottom: 10px;
    background-color: rgb(255 0 0 / 0%);
    color: #840017;
    font-size: 17px;
    font-weight: bold;
    border-radius: 25px;
    text-transform: uppercase;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    gap: 6px;
    align-items: center;
}


svg#fi_9004955 {
    width: 37px;
    height: auto;
    margin-right: 7px;
}

.custom-product-list.akcio span.sale-price {
    background-color: #840017;
    color: #ffffff;
    padding: 0px 10px;
    border-radius: 5px;
    display: inline-block;
    font-size: 35px;
}


.info-product-card {
    font-family: "mundial", Sans-serif;
    font-weight: 600;
    text-align: left;
    background-color: #ececec;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 25px;
    margin-top: 5px;
  }

@media (max-width: 767px) {
    .custom-product-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .info-product-card {
        font-family: "mundial", Sans-serif;
        font-weight: 600;
        text-align: left;
        background-color: #ececec;
        padding: 3px 8px;
        border-radius: 5px;
        font-size: 14px;
        line-height: 25px;
        margin-top: 5px;
      }

    .info-text-overlay {
        position: absolute;
        top: 90%;
        left: 5%;
        background: rgb(255, 0, 0);
        color: white;
        padding: 10px 10px;
        border-radius: 5px;
        font-size: 14px;
        text-align: center;
        z-index: 10;
        font-family: "mundial", Sans-serif;
        font-weight: bold;
        width: 250px;
      }

    .product-namelista {
        font-size: 23px;
    }
    
    .product-image {
        width: 100%;
        height: auto;
    }

    .product-image {
        position: relative; /* Fontos, hogy a statikus szöveg pozíciója relatív legyen a szülő elemhez */
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 250px;
        transition: transform 0.3s ease;
    }

    .custom-product-list.akcio {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
        width: 100%;
    
    
}

.custom-product-list.akcio .product-item {
    text-align: center;
    transition: all 0.3s ease;
    background-color: #000000;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.custom-product-list.akcio .product-item a {
    font-family: "mundial", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    height: 280px;
    width: 100%;
}

.custom-product-list.akcio .product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    width: 100%;
}
}