/*
	CSS file for Pixel Dekor
*/


/*	General	
------------------------------*/
	
	* {
		padding: 0;
		margin: 0;
		outline: none;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
        box-sizing: border-box;
	}

	body {
        color: #1a1a1a;
        font-family: Inter, sans-serif;
        font-size: 16px;
        line-height: 24px;
		background: #efeef1;
        padding-bottom: 48px;
	}

	img,
	svg {
		display: block;
		max-width: 100%;
		height: auto;
	}

	a {
		color: inherit;
		text-decoration: none;
	}

	a img {
		border: 0;
	}

	a,
	svg,
	path,
	button {
		transition: all ease 0.4s;
	}

	.container {
		width: 94%;
		max-width: 1100px;
		margin: 0 auto;
	}

	.wrapper {
		position: relative;
		overflow: hidden;
	}


/*	Common Elements
-------------------------------------------*/


	/*
	 *	Button
	 */
	.btn {

	}


	/*
	 *	Form
	 */
	.gform_ajax_spinner,
	.gform_validation_errors,
	.gform_validation_container,
	.gform_required_legend,
	.validation_error {
		display: none;
	}

	.validation_message {
		color: #fff;
		font-size: 12px;
		padding: 6px 16px;
		background: #D11563;
		border-radius: 4px;
		margin-top: 4px;
	}

	
/*	Header
-------------------------------------------*/
	
	header {

	}

        header .container {
            padding-bottom: 32px;
            border-bottom: 1px solid #ddd;
        }

        header .logo {
            padding: 32px 0;
        }

            header .logo img {
                display: block;
                width: auto;
                height: 100px;
                margin: 0 auto;
            }

        header .intro {
            max-width: 820px;
            margin: 0 auto 20px auto;
            text-align: center;
        }

            header .intro p:first-child {
                margin: 0 auto;
                max-width: 700px;
            }

            header .intro p + p {
                margin-top: 16px;
            }

            header .intro p a {
                color: #f25d9c;
                text-decoration: underline;
            }

                header .intro p a:hover {
                    color: #590d82;
                }

        header .categories {
            display: flex;
            align-items: center;
            justify-content: center;
        }

            header .categories a {
                font-size: 16px;
                line-height: 18px;
                border-radius: 100px;
                background: #ffffff;
                border: 1px solid #fff;
                padding: 9px 12px;
                margin: 4px 6px;
            }

                header .categories a:hover {
                    color: #590d82;
                    border-color: #590d82;
                }



/*	Listing
-------------------------------------------*/

    .category {
        margin-top: 48px;
    }

        .category h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .category .items {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px;
        }

        .category .item {
            display: flex;
            flex-direction: column;
            width: calc(33.33% - 20px);
            margin: 0 10px 20px 10px;
            padding: 14px;
            border-radius: 16px;
            background: #ffffff;
            box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.03);
            position: relative;
        }

            .category .item .image {
                width: 100%;
                border-radius: 10px;
                overflow: hidden;
                position: relative;
                background: #ccc;
            }

                .category .item .image .swiper-slide {
                    aspect-ratio: 325/320;
                    position: relative;
                }

                .category .item .swiper-pagination {

                }

                .category .item .image img {
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    position: absolute;
                }

                .category .item .image .ribbon {
                    top: -5px;
                    right: -5px;
                    z-index: 2;
                    width: 180px;
                    color: #ffffff;
                    font-family: 'Poppins', sans-serif;
                    font-size: 13px;
                    font-weight: 800;
                    line-height: 20px;
                    text-align: center;
                    padding: 10px 15px;
                    background: #dc143c;
                    position: absolute;
                    transform-origin: top right;
                    transform: rotate(45deg) translate(50%, 100%);
                }

                .category .item .swiper-prev,
                .category .item .swiper-next {
                    left: 0;
                    bottom: 0;
                    z-index: 2;
                    display: flex;
                    width: 50px;
                    height: 50px;
                    align-items: center;
                    justify-content: center;
                    position: absolute;
                    cursor: pointer;
                }

                    .category .item .swiper-prev:before,
                    .category .item .swiper-next:before {
                        content: "";
                        left: -60px;
                        bottom: -60px;
                        z-index: -1;
                        width: 120px;
                        height: 120px;
                        position: absolute;
                        /*box-shadow: 0 0 40px 50px rgba(0, 0, 0, 0.2);*/
                        border-radius: 50%;
                        background: rgba(0, 0, 0, 0.5);
                    }

                .category .item .swiper-next {
                    left: auto;
                    right: 0;
                }

                    .category .item .swiper-next:before {
                        left: auto;
                        right: -60px;
                    }

                .category .item .single-image .swiper-prev,
                .category .item .single-image .swiper-next {
                    display: none;
                }

            .category .item .details {
                display: flex;
                flex-grow: 1;
                flex-direction: column;
                justify-content: space-between;
                padding: 16px 8px 8px 8px;
            }

                .category .item .details {
                    flex-grow: 1;
                }

                .category .item h2 {
                    color: #590d82;
                    font-family: 'Poppins', sans-serif;
                    font-size: 26px;
                    font-weight: bold;
                    line-height: 32px;
                    margin-bottom: 8px;
                }

                    .category .item h2 span {
                        display: block;
                        font-weight: 400;
                    }

                .category .item p {
                    font-size: 14px;
                    line-height: 18px;
                }

                .category .item p + p {
                    margin-top: 8px;
                }

                .category .item .price {
                    color: #f25d9c;
                    font-family: 'Poppins', sans-serif;
                    font-size: 24px;
                    font-weight: 800;
                    margin-top: 16px;
                }


    /*
     *  Custom
     */
    .custom {
        display: flex;
        width: 100%;
        margin-top: 40px;
        padding: 40px 40px;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.03);
        position: relative;
        align-items: center;
    }

        .custom .text {
            width: calc(100% - 400px);
            font-size: 16px;
            line-height: 24px;
            padding-right: 40px;
        }

        .custom .text h2 {
            max-width: 400px;
            color: #590d82;
            font-family: 'Poppins', sans-serif;
            font-size: 40px;
            font-weight: bold;
            line-height: 45px;
            margin-bottom: 24px;
        }

        .custom .text .fb {
            display: inline-flex;
            color: #fff;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            margin-top: 24px;
            padding: 12px 20px;
            border-radius: 8px;
            background: #1877f2;
        }

            .custom .text .fb svg {
                fill: #fff;
                margin-right: 12px;
            }

        .custom .image {
            width: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .custom .image img {
                border-radius: 20px;
            }



/*	Responsive
-------------------------------------------*/

@media (max-width: 1180px)
{
    .category { max-width: 800px; margin-left: auto; margin-right: auto; }
    .category h3 { text-align: center; }
    .category .item { width: calc(50% - 20px); }

}

@media (max-width: 1023px)
{
    .custom { display: block; }
    .custom .text { width: 100%; padding-right: 0; max-width: 100%; }
    .custom .image { width: 100%; margin-top: 32px; }
}

@media (max-width: 767px)
{
    header .logo { padding: 24px 0; }
    header .logo img { max-width: 90%; }
    header .intro br { display: none; }
    header .categories { flex-wrap: wrap; }
    header .categories a { margin: 6px; }

    .category h3 { margin-bottom: 32px; font-size: 27px; line-height: 34px; }
    .category .item { width: calc(100% - 20px); }

    .custom { padding: 22px; margin-top: 32px; }
}


