/*
Theme Name: hello-elementor-child
Description: hello-elementor-child
Author: luk@bikerevier
Author URI: https://www.lukograf.ch
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
*/
@font-face {
    font-family: 'roboto-slab-v22-latin';
    font-display: swap !important;
}
@font-face {
    font-family: 'roboto-v29-latin';
    font-display: swap !important;
}
		.custom-products-grid {
		padding:0;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 300px));
}

.special-element {
    grid-column: span 2;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid;
    display: flex;
}
img.shop-pic {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100% !important;
	top:0;
    left:0;
}
p.stock.instock {
    display: none;
}

.special-Text {
    max-width: 500px;
    z-index: 3;
    position: relative;
    padding: 40px;
    height: 100%;
    align-content: center;
}

p.shop-preTitle {
    margin: 0;
    color: #393939;
    font-size: 22px;
}

p.shop-title {
    font-size: 35px;
    line-height: 1.1em;
    font-weight: 600;
}

.pic-over:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 19%, rgba(255,255,255,0.927608543417367) 36%, rgba(255,255,255,0.8911939775910365) 56%, rgba(255,255,255,0.4654236694677871) 85%, rgba(255,255,255,0.38699229691876746) 100%);
    z-index: 1;
}
a.product-image {
    background: #fff;
    border-radius: 5px;
    text-align: center;
    width: 100%;
    display: block;
}

.custom-products-grid li {
    border-radius: 20px;
    box-shadow: 0 2px 10px 0px rgba(0,0,0,.1);
    list-style: none;
    background: #E4E5E7;
    overflow: hidden;
	position: relative;
    min-width: 250px;
    max-width: 300px;
}
.innerProduct {
    padding: 20px;
}
h2.product-title {
    margin: 0;
}
span.origP {
    font-size: 12px;
    padding: 0 0 0 10px;
    color: gray;
}
.product-price {
    display: flex;
    align-items: end;
    line-height: 1em !important;
    min-height: 16px;
}
.product-title a {
    color: #000;
}
.flip-container {
    perspective: 1000px; /* Enables 3D effect */
    width: 100%;
    aspect-ratio: 1/1; /* Ensures a square container */
}

.flipper {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 100%;
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides the back when facing away */
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.front {
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
    opacity: 0;
}

/* Flip Effect Only If \'has-hover\' Class is Present */
.flip-container.has-hover:hover .flipper {
    transform: rotateY(180deg);
}

.flip-container.has-hover:hover .back {
    opacity: 1;
}

footer a:hover {
    color: var(--e-global-color-primary) !important;
    text-decoration: underline;
}

@media(max-width:767px){
    ul.custom-products-grid {
        display: flex;
        flex-wrap: wrap;
        flex: 1 1 33%;
        justify-content: center;
    }
    ul.custom-products-grid > li {
        flex: 1 1 40%;
        max-width: 350px;
    }
    .special-Text {
        padding: 40px 20px;
    }
}
/* shop page btns */
.elementor-251 .elementor-element.elementor-element-5f8c449 .elementor-button:hover {
    background-color: var( --e-global-color-primary );
    color: #fff;
}

.elementor-251 .elementor-element.elementor-element-ca85a11 .elementor-button:hover, .elementor-4535 .elementor-element.elementor-element-4ff6c4e .elementor-button:hover,.elementor-4535 .elementor-element.elementor-element-5fc204b .elementor-button:hover, .elementor-5068 .elementor-element.elementor-element-0eb49c4 .elementor-button:hover, .elementor-5068 .elementor-element.elementor-element-251189e .elementor-button:hover {
    color: var( --e-global-color-primary );
    border: 1px solid var( --e-global-color-primary );
}

button.single_add_to_cart_button.button:hover {
    background: var(--e-global-color-primary) !important;
}
.back-button {
    font-size: .92em;
    padding: 0 5px;
    cursor: pointer;
    color: #767676 !important;
}