/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
*/

.my-loop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 2%;
    align-items: start;
    margin-top: 10px;
}
.single-product {
    width: 80%;
    padding:5%;
    border:2px solid black;
    height:100%;
}
li::marker {
    color:greenyellow;

}
li.product,
li.wc-block-grid__product {
    display: block !important;
}
li.product:not(:has(.onsale)),
li.wc-block-grid__product:not(:has(.onsale)) {
    margin-top: 44px;
}
/* Products WITH sale badge */
li.product:has(.onsale),
li.wc-block-grid__product:has(.onsale) {
    margin-top: 20px;
}
.onsale {
    color: white;
    background-color: darkred;
    border-radius: 5px;
    padding: 4px 8px;
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    height:22px;
}
.product {
    marign-top:1%;
}
.attachment-woocommerce_thumbnail {
    margin-top: 1%;
}
/* add to cart */
.add_to_cart_button {
    display: block !important;
    clear: both !important;
    margin-top: 2% !important; /* Adds space above the button */
    width: max-content; /* Keeps button size natural; change to 100% for full width */
}
/* external product button */
.product_type_external {
    display: block !important;
    clear: both !important;
    margin-top: 2% !important; /* Adds space above the button */
    width: max-content; /* Keeps button size natural; change to 100% for full width */
}
/* product grouped button */
.product_type_grouped {
    display: block !important;
    clear: both !important;
    margin-top: 2% !important; /* Adds space above the button */
    width: max-content; /* Keeps button size natural; change to 100% for full width */
}
.size-woocommerce_thumbnail {
    width: 100%;
}
.woocommerce ul.products li.product .button {
    display: block !important;
    clear: both !important;
    margin-top: 25px !important; /* Adds space above the button */
    width: max-content; /* Keeps button size natural; change to 100% for full width */
}
.price {
    display: block !important;
    clear: both !important;
    margin-bottom:5%;
}
.add_to_cart_button {
    background-color:greenyellow;
    color:black;
    font-weight:bold;
}

/* Blog Posty Tytuł Label - Dla zalogowanyhc */
.zalogowani {
    background:#e0edff; 
    color:#0056b3; 
    font-size:12px; 
    padding:3px 8px; 
    border-radius:4px; 
    margin-left:8px; 
    font-weight:bold;
}