

    /* variables */
    :root {
    --font-size-l : 22px;
    --font-size-m : 14px;
    --font-size-s: 12px;

    --padding-input : 8px 16px;
}  
@media screen and (max-width: 992px) {
:root {
    --font-size-l: 18px;
    --font-size-m: 14px;
    --font-size-s: 10px;
    
    --padding-input : 6px 12px;
}
}

@media screen and (max-width: 599px) {
:root {
    --font-size-l: 16px;
    --font-size-m: 10px;
    --font-size-s: 8px;
    --padding-input : 4px 8px;
}
}
body.no-scroll {
overflow: hidden;
}

.product_popup {
  position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    display: flex
;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    align-items: center;
}


.image_content > button {
    position: absolute;
    right: 10px;
    top: 10px;
}
.image_content > button > svg {
    width: 35px;
    height: 35px;
}
.product_popup > .image_content {
    z-index: 99;
}
.product_popup > .image_content > button > svg {
    width: 25px;
    height: 25px;}
.product_popup > .image_content > button {
    position: fixed;
    top: 3rem;
    right: 3rem;
    width: 50px;
    background: white;
    display: flex
;
    border-radius: 50%;
    z-index: 999;
    max-width: 1000px;
    height: 50px;
    align-items: center;
    justify-content: center;
}
.product_popup::after {
    content: "";
    background: #00000091;
    width: 100%;
    height: 100%;
    display: flex
;
    position: fixed;
    z-index: 1;
}
.product_popup .product_content {
    display: flex
;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    /* padding-bottom: 2rem; */
    justify-content: flex-start;
}
.product_popup-inner {
   background: white;
    width: fit-content;
    max-width: 1000px;
    height: fit-content;
    overflow: auto;
    grid-template-columns: 1fr;
    z-index: 99;
    height: 100%;
    position: relative;
    column-gap: 20px;
    display: grid
;
    grid-template-areas:
        "image"
        "product";
    max-width: 500px;
    animation: slideIn 0.5s ease forwards;
}
.product_popup-inner  header{
    display: flex
;
    grid-area: header;
    flex-direction: row;
    justify-content: flex-end;


}
.product_popup-inner  .image_content{
grid-area: image;


}
.product_popup-inner  .product_content{
grid-area: product;


}




.product_popup-inner  img {
    width: 100%;
    z-index: 9;    object-fit: cover;
    aspect-ratio: 1;
    max-width: 500px;
}
#pagination {
    width: 100%;
    max-height: 80px;
    height: 50px;
    display: flex
;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;

}
.product_popup-inner header {
    position: absolute;
    grid-area: header;
    flex-direction: row;
    justify-content: center;
    right: 0;
    background: white;
    right: 2rem;
    top: 2rem;
    width: 52px;
    height: 52px;
    padding: 10px;
    border-radius: 50%;
    display: flex
;
    align-items: center;
}

@media screen and (max-width:599px) {

    .product_popup-inner header {
     display: flex
;
        grid-area: header;
        position: fixed;
        z-index: 999;
        top: 2rem;
        right: 2rem;
        height: 50px;
        background: white;
        padding: 15px 0;
    }

    .product_popup-inner {
    max-width: 100%;
    }
    
}



button.page-btn.active {
    color:#616161;
}

button.page-btn {
    cursor: pointer;
        color:#3643BA;
}
    .container {
        width: 100%!important;
        padding: 0;
    }

/*
    select {
        appearance: auto;
        color: inherit;
        background-color: rgb(255 255 255 / 0%);

        border-color: black;
        padding: 10px;
        border: 1px solid black;
        border-radius: 500px;
    }
*/
    /* listing style */

    .product_listing {
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 20px;
    }

    div#product_container {
        display: grid
;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
        row-gap: 60px;
    }
    .product_image img {
        width: 100%; height:100%;   object-fit: cover;
        aspect-ratio: 1;
        overflow: hidden;
    }


    .product_description {
        display: flex
;
flex-direction: column;
gap: 10px;
padding-top: 20px;
    }
    .product {
        display: flex
;
cursor: pointer;
    flex-direction: column;
    gap: 5px;
    background: #ffffff;
    height: 100%;
    justify-content: space-between;
}
.product_content {
    display: flex
;
    flex-direction: column;
    gap: 20px;
    /* padding-bottom: 2rem; */
    justify-content: flex-start;}
.product_contact {
    display: flex
;
    flex-direction: column;
    align-items: center;
    align-content: center;
    gap: 10px;
}
.product_contact > p {
    font-size: var(--font-size-m);
    text-decoration: underline;
}
.product_contact > a {
    padding: 0.8rem 2rem;
    background: var(--vp-color-border-brand);
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: var(--font-size-m);
    width: 100%;;
}
.product_contact > a:hover {
    background: #273085;
    color: white;
}
.product_header {
    display: flex
;
    flex-direction: column;
    gap: 5px;

}
.product_details {
display: flex;
flex-direction: column;
gap: 5px;
padding-top: 10px;
}



    .product_store {
        font-size: 16px;

    }
    ._store-item {
        background: var(--vp-color-alpha-brand-m);
border-radius: 0;
padding: 1rem;
display: flex
;
gap: 1rem;
flex-direction: column;
justify-content: center;
flex-wrap: wrap;
}
.sort_item {
display: flex
;
    flex-direction: row;
    align-items: center;
    justify-content: center;


}

.product_filter {
    display: block;
    position: relative;
}
.filter-container{
      position: sticky;
    top: 30px;
    font-size: 1rem;
    font-weight: 500;
}
#storeFilter label {
    display: flex
;
    flex-direction: row;
    gap: 10px;
}
#storeFilter label > input {
    width: 20px;
    height: 20px;
    border-radius: 0;
}
#storeFilter {
        display: flex;
    flex-direction: column;
    gap: 15px;
}
.filter_item {
    display: flex
;
    flex-direction: column;
    gap: 10px;
}
.filter_item>p {
    padding: 20px 0;
}


/* Skryj natívny checkbox */
.custom-checkbox input[type="checkbox"] {
  display: none;
}

/* Vizuálny "falošný" checkbox */
.custom-checkbox .checkmark {
display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #949494;
    border-radius: 0;
    margin-right: 8px;
    position: relative;
    vertical-align: middle;
    background-color: white;
    transition: all 0.2s;
    cursor: pointer;
}

/* Keď je zaškrtnutý */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #3643BA;
  border-color: #3643BA;
}

/* Voliteľne pridaj fajku */
.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Zobraz fajku, keď je zaškrtnuté */
.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  display: block;
}
label.custom-checkbox:hover .checkmark{
    border-color: #3643BA;
    cursor: pointer;
    background-color: #E1E3F5;
            box-shadow: 0 0 6px 1px #E1E3F5;
}



@media screen and (max-width:1200px) {
    div#product_container {
        grid-template-columns: repeat(3, 1fr);
    }

    
}
    @media screen and (max-width:992px) {
        .product_listing {
        grid-template-columns: 1fr;
    }
        div#product_container {
        grid-template-columns: repeat(3, 1fr);
    }
    .product_filter {
        display: none;
    }

    }

    @media screen and (max-width:599px) {

        .sort_item label {
            display: none;
        }
        .sort-left {
    display: flex
;
    flex-direction: column-reverse;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

        .product_sorting {
    display: flex
;
align-items: flex-end;
  justify-content: space-between;
    flex-direction: column;
}
.product_details > p {
      font-size: 1rem;
}

.image_content > button {
    position: relative;
    right: 0;
    top: 0;
}
.image_content {
    gap: 20px;
    display: flex
;
    flex-direction: column;
    align-items: flex-end;
}
        div#product_container {
               grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        row-gap: 60px;
        }
        .product_popup {
            align-items: flex-end;
        }

        .product_popup-inner {
        width: 100%;    
            grid-template-areas:
        "image"
        "product";
        grid-template-columns: 1fr;
       
        overflow: auto;
        height: 100%;
    }
        .product_content{
            gap: 10px;
        }
        
    }

    .product_store-form{
        background: var(--vp-color-alpha-brand-m);
    padding: 1rem;
    width: 100%;
    display: flex
;
    flex-direction: column;
    gap: 10px;
}

.product_store-form a:hover {
    transition: all 333ms;
    font-weight: 700;
}
.product_store-form a {
    transition: all 333ms;
}


.product_store-form p:nth-child(3) {
    font-size: 16px;
}
.product_store-form p:nth-child(2) {
    font-size: 16px;
}
.product_store-form p:nth-child(1) {
    font-size: 18px;
    font-weight: 700;
}

.product_popup .product_header > p:nth-child(1) {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}
.product_popup .product_header > p:nth-child(2) {
    font-size: 1rem;
    font-weight: 700;
}

.product_popup .product_details > p:nth-child(3) {
    font-size: 14px;
    width: 100%;
    line-height: 32px;
    background: white;   margin-top: 15px;

}

.product_popup .product_header p.price {
    background: #FFCD4E;
    width: fit-content;
    display: flex
;font-weight: normal;     font-size: 1rem;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    margin: 10px 0;
}

.product_details p.price {
    background: #FFCD4E;
    width: fit-content;
    display: flex
;
font-weight: 500;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    margin-top: 10px
}

.product_popup svg {
    width: 30px;
    /* aspect-ratio: 1; */
    height: 30px
}


.product_sorting {
    display: flex
;
    align-items: center;
    justify-content: space-between;
}

.product_image {
    overflow: hidden;
}
.product_image img {
    transition: all 222ms;
}
.product_image:hover img {
    transform: scale(1.125);
    transition: all 222ms;

    
}
.sort-left > button:hover {
      background-color: #E1E3F5;
            box-shadow: 0 0 6px 1px #E1E3F5;
    transition: all 333ms;
}
.sort-left > button {
    display: none;
padding: 15px 25px;
    border: 1px solid;
    border-radius: 500px;
    font-size: .875rem;
    transition: all 333ms;

}
.sort-left {
    display: flex
;
flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
}
@media screen and (max-width:992px) {
    .sort-left > button {
        display: block;
    }
    
}
.product_header > p:nth-child(1) {
    text-transform: uppercase;
}
.product_header > p:nth-child(2) {
    color:#525252;
}
.product_header .price {
 margin-top: .75rem;
    color: #101010;
    padding: .125rem .25rem;
    background: #ffcd4e;
    width: fit-content;
    font-size: 14px;
}
.product {
    position: relative;
}
.product .sticker {
    pointer-events: none;
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
}


.product_popup .product_header > p:nth-child(1) {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
}

.product_popup .product_header > p:nth-child(2) {
    font-size: 24px;
    font-weight: 700;
    color: black;
}

.product_popup .product_header p.price {
    background: #FFCD4E;
    width: fit-content;
    display: flex
;
    font-weight: normal;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    margin: 10px 0;
}

.product_details p {
    font-size: 14px;
}

.product_details {
    display: flex
;
    flex-direction: column;
    gap: 5px;
    padding-top: 10px;
    gap: 10px;
}


@media screen and (max-width:599px) {

    
.product_popup .product_header > p:nth-child(1) {
    font-size: 18px;
}

.product_popup .product_header > p:nth-child(2) {
       font-size: 18px;
}

.product_popup .product_header p.price {
      font-size: 14px;
}

.product_details p {
    font-size: 14px;
}

.product_popup .product_details > p:nth-child(3) {
    font-size: 14px;
}

    
}

@keyframes slideIn {
  from {
    right: -300px;
  }
  to {
    right: 0;
  }
}