.articles {
    box-sizing: border-box;
    margin:20px 10px;
    border-radius:10px;
    box-shadow: var(--shadow-strong);
    padding:10px;
    background-color: rgba(255, 255, 255, 0.05);
    height: max-content;
    min-width:220px;
    max-width:250px;
    cursor: pointer;
    text-decoration: none !important;
    border:1px solid rgba(0, 0, 0, 0.1);
}
.articles:hover {
    transform:scale(1.02);
    box-shadow:1px 1px 15px darkgray;
    transition: all 0.25s ease-out;
}
.articles table{
    margin:auto auto;
    height:max-content;
    width:100%;
}
.articles form {
    margin-bottom: 5px;
}
.articles .product_not_available {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 10px auto;
    text-align: center;
}
.pre_order::before {
    font-size:11px;
    content:"Pre-Order";
    background-color: rgba(71, 71, 71, 0.945);
    font-weight:bold;
    color:rgb(248, 248, 248);
    padding:5px 15px;
    border-width: 0;
    border-radius:3px;
    position:relative;
    left:5px;
    display: block;
    width:max-content;
    text-align: left;
    white-space: nowrap;
    z-index: 10;

}
.show_discount::before {
    font-size:11px;
    content:attr(data-discount);
    background-color: rgba(36, 36, 36, 0.774);
    font-weight:bold;
    color:rgb(241, 173, 0);
    padding:5px 15px;
    border-width: 0;
    border-radius:3px;
    width:max-content;
    margin-left:55%;
    position:relative;
    top:10px;
    white-space: nowrap;
    z-index: 10;

}

.product_image_container{
    min-width:125px;
    width:18vw;
    max-width: 210px;
    
    /*height:13vw;
    max-height:210px ;
    min-height:110px;*/
    overflow: hidden;
    text-align: center;
    margin: auto;
}
.article_image ,.product_image_container img {
    max-width:98%;
    max-height: 210px;
    border-radius:7px;
    margin:auto;
    margin-top: 5px;
}
.article_image a ,.product_image_container a {
    display: block;
    box-sizing: border-box;
    width: 100%;

}
.book_image {
    border-radius: unset !important;
    border-bottom-right-radius: 7px !important;
    border-top-right-radius: 7px !important;
}
.tocart, .checkdetails {
    border-width:0;
    width:100%;
    padding: 8px;
    border-radius:25px;
    margin: auto;
    margin-bottom: 5px;
    margin-top:5px;
    box-shadow:0 2px 3px 0 dimgray;
    color: black;
}
.tocart {
    background-color: rgb(0, 153,  230);
    color:white;
    font-weight: bold;
}
.checkdetails {
    background-color: lightgray;
}
.tocart:hover {
    background-color: rgb(0, 140, 230);
    cursor:pointer;
    /*box-shadow:0 1px 0 0 darkgray;*/
}
.checkdetails:hover {
    background-color: rgb(153, 153, 153);
    cursor:pointer;
    /*box-shadow:0 1px 0 0 darkgray;*/
}
.x_article_current_price {
    white-space: nowrap;
}
.price, .x_article_current_price {
    font-size:15px;
    color:teal !important;
    padding-bottom: 10px;
    text-align: center;
}
.now_word {
    display: inline-block;
    margin-left:7px;
    margin-right:7px;
    font-size:11px;
    color:dimgray
}
.articles del {
    font-size:12px;
    color:gray;
    display: inline-block;
}
.product_name {
    color:var(--text-secondary);
    padding:5px;
    font-size:14px;
    text-align: center;
    margin-top:5px;
    margin-bottom: 5px;
    line-height:1.4em;
    font-weight: bold;
}

.articles_footer {
    text-align: right;
    font-size: 11px;
    color:var(--text-secondary);
    padding: 5px;
}
.min_order_spec{
    font-size:11px;
    color: var(--text-secondary);
    text-align: left;
}
@media only screen and (max-width:802px){
    .articles {
        min-width:120px;
        max-width:150px;
        margin:10px 5px 20px 5px;
    }
    
    .product_image_container{
        width:95%;
        min-width:130px;
        max-width: 150px;

        /*max-height:150px;
        height:15vw;
        min-height:125px;*/
    }
    .article_image ,.product_image_container img {
        max-height: 140px;
        border-radius: 5px;
    }
    .book_image {
        border-bottom-right-radius: 5px !important;
        border-top-right-radius: 5px !important;
    }

    .price, .product_name, .x_article_current_price {
        font-size:13px;
    }
    .articles del {
        font-size:9px;
    }
    .tocart, .checkdetails {
        padding: 7px;
        border-radius:15px;
        margin-bottom: 2px;
        font-size:12px;
    }
    
  
}

@media only screen and (max-width:602px){
    
    .articles {
        min-width:135px;
        max-width:175px;
    }

    .product_image_container{
        width:95%;
        min-width:130px;
        max-width: 150px;
        /*max-height:150px;
        min-height:120px;
        height:20vw;*/
        
    }
    .pre_order::before {
        font-size:10px;
        left:5px;
        padding:5px 10px;
    }
    .show_discount::before {
        font-size:10px;
        margin-left:35%;
    }
  
}

@media only screen and (max-width:402px){
    
    .articles {
        width:45%;
        min-width:115px;
        max-width:165px;
    }

    .product_image_container{
        width:98%;
        min-width:110px;
        max-width: 115px;
        /*height:20vw;
        max-height:130px;
        min-height:110px;*/
        
    }

}