/*@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Open+Sans&display=swap');*/

:root {
    --publik-violet: #804298;
    --publik-shadow: 0px 0px 4px 2px rgba(0,0,0,0.1);
}



body {
    font-family: 'Merriweather', serif;
    color: black;
    background: white;
}

.header {
    background: white;
}

/*a {
    color: rgba(128, 66, 152, 1);
}

a:visited {
    color: rgba(128, 66, 152, 1);
}*/

.sidebar a, .sidebar a:visited, .sidebar h3 {
    color: black;
}

h1, h2, h3 {
    color: black;
}

.products-image-container img {
    object-fit: contain;
    object-position: center;
    /* position: relative; */
    max-width: 90%;
    max-height: 220px;
    margin: auto;
}

.products-info-container {
    padding: 5px;
}

.products-product-name {
    font-weight: 600;
    font-size: 16px;
    margin-block: 0.4em;
}

.products-product-author {
    color: #666;
    font-weight: 400;
    margin-block: 0;
    font-size: 14px;
}

.products-product-price {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
}

/*.product-full-price{
    font-size: 11px;
    text-decoration: line-through;
    margin-left: 0.5em;
    font-weight: 400;
}*/

.add-to-cart {
/*    visibility: hidden;*/
    color: white;
    border: none;
    background: linear-gradient(rgba(190, 80, 233, 1), rgba(163, 75, 197, 1));
    opacity: 1;
    border-radius: 2em;
    padding: 1em 0.7em;
    text-transform: uppercase;
    width: 90%;
    margin: 0 auto;
}



.products-list li {
    cursor: pointer;
    row-gap: 3em;
}

.products-list li:hover .add-to-cart {
    visibility: visible;
    color: white;
    border: none;
    background: linear-gradient(rgba(190, 80, 233, 1), rgba(163, 75, 197, 1));
    opacity: 1;
}


/* header */



.header-container {
    border-bottom: 1px solid var(--light-grey);
}

#logo {
    height: 3em;
    margin-right: 16em;
    cursor: pointer;
}

/*#user {
    width: 40px;
    cursor: pointer;
}*/







/*#hamburger {
    display: none;
}*/


/* home */

.content {
    /*padding-top: 3em;*/
}

.content.home {
    /*padding-top: 3em;*/
}

/*.page-sidebar{
    width: 20%;
    margin-right: 2em;
}*/



/* knjige */

/* #categories a {
   color: black;
} */

#categories .top-categories > li {
    padding: .8em 1em;
    box-shadow: 2px 4px 8px #c5bebe;
}

#categories .top-categories > li > a {
    font-weight: bold;
}

.top-categories > li {
    background: #fff;
}

.sub-categories li {
    margin: 0.4em 0;
}

.categories-component .category-arrow {
    right: 12px;
}

/* footer */

#footer {
    background-color: rgba(38, 19, 45, 1);
    ;
}

/*.info-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 4em 0;
    /* height: 25em; */
    border-bottom: 1px solid rgba(128, 66, 152, 1);
    margin: 3em;
}*/

.info-container .one-info {
    flex: 1;
    padding: 4em 2em 4em 3em;
}

.pp-logo-container {
    text-align: center;
}

.pp-logo-container img {
    width: 30%;
}

.pp-logo-container p {
    color: rgba(209, 204, 211, 1);
    text-align: center;
    font-style: italic;
    /* font-size: 14px; */
    /* line-height: 18px; */
    /* width: 230px; */
    font-weight: 400;
    display: block;
    width: 100%;
    padding: 0 3em;
    box-sizing: border-box;
    /* margin-top: 2em;
    /*color: rgba(209, 204, 211, 1);
    text-align: left;
    font-style: italic;
    font-size: 14px;
    line-height: 18px;
    width: 230px;
    font-weight: 400;
    margin-top: 2em;*/
}

.pp-logo-container,
.footer-links {
    border-right: 1px solid rgba(128, 66, 152, 1);
}


.info-container .footer-links {
    flex: 2;
    display: flex;
}

.footer-links ul {
    margin: 0 4em 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.footer-links ul li {
    padding-bottom: .8em;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
}

.footer-links ul li:first-child {
    padding-bottom: 2em;
    text-transform: uppercase;
    color: rgba(128, 66, 152, 1);
    font-size: 13px;
    font-weight: 600;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*.contact {
    line-height: 1.5em;
    text-align: left;
    text-transform: uppercase;
    color: rgba(209, 204, 211, 1);
}*/

#footer .social {
    text-align: center;
    margin: 2em 0;
}

/*#footer .social img {
    height: 20px;
    width: 20px;
    object-fit: contain;
    border: 1px solid white;
    padding: 0.8em;
    border-radius: 50%;
    margin-right: .3em;
    cursor: pointer;
}*/

/* .chipcard-payment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3em;
}

.chipcard-payment img {
    max-height: 3em;
    margin-left: 1em;
} */

.chipcard-payment img {
    max-height: 3em;
}

.chipcard-payment-left {
    display: inline-block;
    width: 50%;
}

.chipcard-payment-right {
    display: inline-block;
    width: 50%;
}


/*.form input[type=submit] {
    color: white;
    border: none;
    background: linear-gradient(rgba(190, 80, 233, 1), rgba(163, 75, 197, 1));
    border-radius: 2em;
}
*/
.rateit .rateit-selected, .rateit .rateit-hover {
    color: #be50e9  !important;
}



.products-dev .products-image-container {
/*    position: relative;*/
    aspect-ratio: 3 / 4;
    align-items: end;
    background: transparent;
    display: flex;
    padding: 0;
    border: none;
/*    height: 220px !important;*/
    width: 100%;
    align-items: flex-end;
}

.products-dev .products-image-container img {
    border: none;
    position: relative;
    top: 0;
}

.products-dev .products-image-in {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.products-dev .products-image-container a {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    max-height: 100%;
}

.products-dev .product-stickers-container {
    position: absolute;
    z-index: 1;
    right: -.5em;
    top: .5em;
    text-align: right;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: .2em;
    justify-items: end;
}


.products-image-container {
/*    position: relative;*/
    aspect-ratio: 3 / 4;
    align-items: end;
    background: transparent;
    display: flex;
    padding: 0;
    border: none;
    height: 220px !important;
    align-items: flex-end;
}

.products-image-container img {
    border: none;
    position: relative;
    top: 0;
}

.products-image-in {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.products-image-container a {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
}

.product-stickers-container {
    position: absolute;
    z-index: 1;
    right: -.5em;
    top: .5em;
    text-align: right;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: .2em;
    justify-items: end;
}

.go-to-cart {
    border: none;
    color: white;
    background: rgba(128, 66, 152, 1);
    border-radius: 2em;
    padding: 1em 0.7em;
    transition: .3s;
    text-transform: uppercase;
    width: 90%;
    margin: 0 auto;
}



.top-products-position {
    color: #26132d;
    text-shadow:
        1px 1px 0 white,
       -1px 1px 0 white,
        1px -1px 0 white,
       -1px -1px 0 white; /* White outline */
}

.top-kids-carousel .top-products-position {
    color: var(--publik-violet);
}

.footer-lego-text {
    padding-bottom: 3em;
    font-family: 'Montserrat', sans-serif;
    opacity: .8;
    margin-top: 1em;
    font-size: .8em;
}

.product-segment-image-container {
    aspect-ratio: 1/1;
}

.product-segment-image {
    aspect-ratio: 1/1;
    object-fit: contain;
}

.cart-sum .cart-top-total {
   font-weight: bold;
   color: black;
}
.cart-sum .cart-top-savings {
   font-weight: bold;
}

.header-top .search {
    margin-bottom: 0;
    font-family: 'Merriweather';
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 4px #00000020;
    padding: .7em;
}

.page.product .help-with-purchase span {
    font-family: 'Lato';
}

.help-with-purchase {
    color: black;
}

.page.product .customer-help a {
    font-weight: bold;
    text-decoration: underline;
    color: black;
}

.sidebar-news-single p {
    color: grey;
}

.product-segment-detail span {
    font-size: .7em;
}

.product-segment-info-container {
    text-align: center;
}

#footer .one-info a {
    color: white;
}

.product-comment {
    box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.1);
}

.account-order {
    box-shadow: var(--publik-shadow);
}

.account-address {
   box-shadow: var(--publik-shadow); 
}

.carousel-desktop {
    aspect-ratio: 40/13;
}

.create-order-button-container {
    margin-bottom: 2em;
}

































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

    /* header */

    .header {
        display: block;
    }

    .header-top {
        display: flex;
    }

    .header-top img:first-child {
        width: 53%;
        margin: 0;
        align-self: center;
    }

/*    #user,
    #sign-up,*/




    .nav {
        display: block;
        border: none;
    }

    .nav ul {
        display: none;
    }

    /*.wish-list {
        display: none;
    }*/

    .shoping-list {
        display: flex;
        align-items: center;
        padding: 0;
    }

    .shoping-list img {
        padding-left: 1em;
    }

    .shoping-list span {
        display: none;
    }

    


    /* home */

    .content {
        padding-top: 1em;
    }

    .content.home {
        padding-top: 1em;
        text-align: center;
    }

    .content.home h1 {
        font-size: 2.5em;
    }

    /*.page-sidebar{
        display: none;
     }*/
     
     .page-content {
         width: 100%;
     }
 

    /* footer  */

    #footer {
        background-color: rgba(22, 17, 23, 1);
        padding: 3em;
    }

    .info-container {
        display: block;
        height: auto;
        border: none;
        padding: 0;
        margin: 0;
    }

    .info-container .one-info {
        padding: 1em 0;
    }

    .pp-logo-container {
        display: block;
    }

    .pp-logo-container p {
        display: none;
    }

    .pp-logo-container,
    .footer-links {
        border: none;
    }

    .info-container .footer-links {
        display: block;
    }

    .footer-links ul {
        margin: 2em 0;
        padding-bottom: 1em;
        text-align: center;
        border-bottom: 1px solid rgba(128, 66, 152, 1);
    }

    .footer-links ul li {
        padding-bottom: 1.3em;
    }

    .about {
        display: block;
        border-bottom: 1px solid rgba(128, 66, 152, 1);
    }

    .contact,
    .social {
        text-align: center;
    }

    .chipcard-payment {
        margin: 3em 0;
    }

    .chipcard-payment img {
        margin-bottom: 1em;
    }

    .chipcard-payment-left {
        display: block;
        width: auto;
    }

    .chipcard-payment-right {
        display: block;
        width: auto;
    }

    .products-image-container {
        padding-top: 0;
    }

    .products-info-container {
        font-size: 18px;
        margin-bottom: 1em;
    }

    .add-to-cart {
        visibility: visible;
        color: white;
        border: none;
        background: linear-gradient(rgba(190, 80, 233, 1), rgba(163, 75, 197, 1));
        opacity: 1;
    }

}