html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0px;
    background-color: rgb(245, 245, 245);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-footer {
    margin-top: auto;
}

.ml-auto {
    margin-left: auto;
}

@media screen and (min-width: 992px) {
    .ml-lg-auto {
        margin-left: auto;
    }
    
    .footer-direction{
        flex-direction: row;
    }

    .footer-nav{
        flex-direction: row;
    }
}

@media screen and (max-width: 476px) {
    .footer-direction{
        flex-direction: column;
        align-items: start;
        justify-content: start;
    }

    .footer-nav{
        flex-direction: column-reverse;
    }
    
    
    .changeLanguageButton{
        padding-bottom: 100px;
        padding-left: 200px;
        padding-right: 200px;
        padding-top: 100px;
    }
}


.main-nav .nav-item .nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

    .main-nav .nav-item .nav-link:hover {
        color: #000;
    }

@media screen and (min-width: 992px) {
    #top-header .navbar-collapse {
        margin-left: 2em;
    }
}

.splide__slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.splide__slide .slider--img {
    width: 100%;
    overflow: hidden;
}

    .splide__slide .slider--img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.splide__slide .slider--caption {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: 0.25em;
}

    .splide__slide .slider--caption .price {
        margin-left: 1em;
        background-color: rgb(250, 250, 250);
        padding: 0.25em 0.5em;
        border: 1px solid rgb(251, 227, 227);
        text-align: center;
        line-height: 1;
    }

        .splide__slide .slider--caption .price span {
            font-weight: 700;
        }

        .splide__slide .slider--caption .price div {
            font-size: 0.8rem;
        }

@media screen and (max-width: 760px) {
    .splide__slide .slider--caption .splide__text-align{
        display: flex;
        align-items: flex-start;
        justify-content: center;
        margin-right: auto;
        flex-direction: column;
    }

    .splide__slide .slider--caption .price{
        margin-top: 0px;
    }
}

@media screen and (min-width: 760px) {
    .splide__slide .slider--caption .splide__text-align{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-top: 0.25em;
        flex-direction: row;
    }

    .splide__slide .slider--caption .price{
        margin-top: 0.3em;
    }
}
        
.section-heading {
    position: relative;
    font-size: 1.2rem;
    display: inline-block;
}

    .section-heading::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background: #ff5858;
        position: absolute;
        top: 100%;
        left: 0;
    }

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 2em;
}

.art-grid-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2em;
}

.art-grid-width-20 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 2em;
}

.art-item {
    background: #fff;
    padding: 1em;
    display: flex;
    flex-direction: column;
    text-align: center;
}

    .art-item img {
        display: block;
        margin: 0 auto;
        max-height: 20rem;
        object-fit: contain;
    }

    .art-item .art-info {
        margin-top: auto;
    }

        .art-item .art-info a button {
            display: flex;
            flex-direction: column;
            align-items: center;
            line-height: 1.5;
            margin: 0.5em 0;
        }

    .art-item .art-actions {
        display: flex;
        justify-content: space-between;
    }

        .art-item .art-actions button a {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .art-item .art-actions strong {
            font-size: 1.1rem;
        }

.btn--primary {
    display: inline-block;
    position: relative;
    color: #000;
    font-weight: 700;
}

    .btn--primary::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #ff5858;
        transform: scaleX(0.2);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .btn--primary:hover::after {
        transform: scaleX(1);
    }

.footer-nav ul {
    display: flex;
    gap: 2em;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 1em 0;
}

    .footer-nav ul li {
        margin-bottom: 0;
    }

@media screen and (min-width: 990px) {
    .footer-nav ul {
        gap: 2em;
    }
}

@media screen and (max-width: 990px) {
    .footer-nav ul {
        gap: 0.5em;
    }
}

.ltn__footer-area {
    background: rgb(235, 235, 235);
}

.main-nav .nav-item.with-icon .nav-link i {
    margin-right: 0.5em;
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 2em;
}

.author-item {
    background: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
}

    .author-item img {
        display: block;
        object-fit: contain;
        width: 100%;
        max-height: 10rem;
    }

    .author-item .author-info {
        margin: auto 0;
    }

        .author-item .author-info a {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

/* SINGLE PRODUCT */
.product-card {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 990px) {
    .product-card {
        flex-direction: row;
    }
}

@media screen and (max-width: 576px) {

    .minimalHeightImageProduct{
        min-height: 300px;
    }
    
    .priceAlign
    {
        margin-top: 1rem;
        justify-content: start;
    }
    
    .productAlign {
        margin-top: 1rem;
        justify-content: center;
    }
}

@media screen and (min-width: 576px) {

    .minimalHeightImageProduct{
        min-height: auto;
    }
    
    .priceAlign
    {
        margin-top: 1rem;
        justify-content: end;
    }
    
    .productAlign {
        justify-content: end;
    }

    .changeLanguageButton{
        padding-bottom: 50px;
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 50px;
    }
}


.product-card .product-info {
    padding: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 2em;
}

@media screen and (min-width: 990px) {
    .product-card .product-info {
        flex-direction: column;
        margin-left: auto;
    }
}

@media screen and (min-width: 1200px) {
    .product-card .product-info {
        flex-direction: row;
    }
}

.product-card .product-info h2 {
    margin-bottom: 0;
}

.product-card .product-info h3 {
    font-weight: 400;
    font-size: 1.1rem;
}

/*.product-card .product-params {*/
/*    list-style: none;*/
/*    line-height: 1.2;*/
/*    color: #777777;*/
/*    margin: 0 0 0 0;*/
/*    padding: 0;*/
/*}*/
 .product-params {
    list-style: none;
    line-height: 1.2;
    color: #777777;
    margin: 0 0 0 0;
    padding: 0;
}

@media screen and (min-width: 990px) {
    .product-card .product-info {
        margin-left: 3em;
    }
}

/*.product-card .product-params span {*/
/*    color: #000;*/
/*}*/
.product-params span {
    color: #000;
}

    /*.product-card .product-params span a:not(:last-child)::after {*/
    /*    content: ",";*/
    /*}*/
 .product-params span a:not(:last-child)::after {
    content: ",";
}

.product-card .product-price {
    display: flex;
    justify-content: center;
}

    .product-card .product-price .price {
        font-size: 2.5rem;
        font-weight: 700;
        text-align: center;
    }

        .product-card .product-price .price .section-heading {
            font-weight: 700;
            font-size: inherit;
            line-height: 1;
        }

        .product-card .product-price .price .product-actions {
            font-size: 1.1rem;
            margin-top: 1em;
            margin-bottom: 5px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1em;
        }

 .scaleBox1 {
    text-align: center;
    /*margin: auto;*/
    height: 110px;
    width: 170px;
    background: url(../css/Images/scale-bg.png) no-repeat;
    overflow: hidden;
}

.scaleBox2 {
    /*margin: auto;*/
    height: 110px;
    width: 170px;
    background: url(../css/Images/scale-bg2.png) no-repeat;
    overflow: hidden;
}

.scaleBox1 img,
    .scaleBox2 img {
        float: right;
        position: relative;
        top: 12px;
        right: 50px;
        max-height: inherit;
    }

    .scaleBox2 img {
        top: 20px;
        right: 50px;
    }

.product-card .product-price .price .product-actions i {
    margin-right: 0.25em;
}

.btn--secondary {
    background-color: #a3a3a3;
    color: #000;
    padding: 0.2em 0.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.2em;
}

    .btn--secondary:hover {
        background-color: #808080;
        color: #000;
    }

.btn--danger {
    background-color: #ff0000;
    color: white;
    padding: 0.2em 0.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.2em;
}

.btn--danger:hover {
    background-color: #b60505;
    color: navajowhite;
}

.btn--secondary-outline {
    border: 2px solid #a3a3a3;
    border-radius: 0.2em;
    padding: 0.2em 0.9em;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 990px) {
    .product-card img {
        max-height: 20rem;
        /*object-fit: contain;*/
        object-fit: none;
    }
}

/* SINGLE AUTHOR */

.author {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

    .author img {
        object-fit: contain;
        object-position: top left;
        max-height: 15rem;
        max-width: 100%;
    }

    .author .author-info p {
        text-align: justify;
    }

@media screen and (min-width: 990px) {
    .author {
        flex-direction: row;
    }
}

.other-work {
    margin-top: 4em;
}

.table-on-right {
    float: right;
    padding: 5px;
    box-sizing: border-box;
}

.table-on-left {
    float: left;
    padding: 5px;
    box-sizing: border-box;
}

    .table-on-left .table-bordered table,
    .table-on-right .table-bordered table {
        width: 50%;
    }


.inlineListProduct {
    display: flex;
    flex-direction: row;
    /* Below sets up your display method: flex-start|flex-end|space-between|space-around */
    justify-content: flex-start;
    /* Below removes bullets and cleans white-space */
    list-style: none;
    padding: 0;
    /* Bonus: forces no word-wrap */
    white-space: nowrap;
}

.parentOfThInTable{
    display: flex;
    column-gap: 10px;
    flex-direction: row;
    min-width: 200px;
}
.childOfThInTable1{
    margin: auto;
    width: 40%;
    text-align: center;
    align-items:center;
    box-sizing: border-box;
}
.childOfThInTable2{
    width: 60%;
    text-align: start;
    align-items:center;
    box-sizing: border-box;
}

@media screen and (max-width: 560px) {
    .parentOfThInTable {
        flex-direction: column;
    }
}

.childOfThInTable2:hover a {
    color: #ff0000;
}

.text-iconed:hover > * {
    transition: all 0.3s ease 0s;
    color: #ff0000;
}

.boxc {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.boxc-more {
    -webkit-line-clamp: unset !important;
}

.hr3-footer {
    border-top: 3px solid #bbb;
    margin-bottom: 10px;
}

.changeLanguageButton{
    color: black;
    background-color: lightgrey;
    border-radius: 5px;
    padding: 20px 10px;
    margin-left: 1rem
}

.post {
    font-family: 'Poppins', 'Roboto Mono', sans-serif
}

.post p{
    font-size: 14px;
}

.post button{
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1.25rem;
    background-color: red;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.post:not(:last-child)
{
    margin-bottom: 20px;
}

.post p:not(:first-child){
    display: none;
}

.hide {
    display: none;
}

.cart-icon
{
    background: url(img/1_ikona_koszyk.png);
    height: 40px;
    width: 40px;
    display: block;
}

.user-icon
{
    background: url(img/2_ikona_moje+konto_ikona.png);
    height: 20px;
    width: 20px;
    display: block;
}

.minimalHeightImageProduct{
    min-height: 300px;
}

.ndd-uberzoom-content img {
    object-fit: contain;
}

.ndd-zoomable-content img {
    object-fit: scale-down;
}

.post p{
    color: black;
}

.blackColor{
    color:black;
}

.blackColor p{
    color: black;
}

