/*
Theme Name: Thème enfant pour Biogalb
Template: hello-commerce
Author: Codejuice
Version: 0.1
*/

.hide-if-not-on-sale {
    display: none !important;
}

.sale .hide-if-not-on-sale {
    display: block !important;
}

.is-old-product .new-product-badge {
    display: none !important;
}

/* Blog category badge */

.custom-term-badge-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.custom-term-badge-wrapper .term-badge-card {
    display: flex;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.07em;
    padding: 4px 10px;
    border-radius: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-term-badge-wrapper .term-badge-card:hover {
    background-color: #4a6233;
    color: #ffffff;
}

.custom-term-badge-wrapper .term-badge-card.white {
    background-color: #ffffff;
    color: #4a6233; 
}

.custom-term-badge-wrapper .term-badge-card.green {
    background-color: #e8efe0;
    color: #4a6233; 
    font-size: 12px;
    padding: 5px 12px;
}

/* Blog post tags badge */

.post-tags-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
}

.post-tags-container .post-tag-item {
    width: fit-content;
    height: fit-content;
    display: flex;
    padding: 5px 12px;
    font-size: 12px;
    color: #4a6233;
    background-color: #e8efe0;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
}

.post-tags-container .post-tag-item p {
    margin: 0;
}

/* Blog paired product */

.post-product-container {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 18px 20px;
    margin: 28px 0;
    width: 100%;
    border: 0.5px solid #6b8c4a33;
    border-radius: 2px;
    gap: 16px;
}

.post-product-container .post-product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 2px;
}

.post-product-container .post-product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: stretch;
}

.post-product-container .post-product-info .post-product-description {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    color: #6b8c4a;
    font-family: 'Inter', sans-serif;
    margin: 0;
    letter-spacing: 0.08em;
}

.post-product-container .post-product-info .post-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #1e2218;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.post-product-container .post-product-info .post-product-price {
    font-size: 13px;
    font-weight: 400;
    color: #1e2218;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.post-product-container .post-product-discovery-btn {
    width: fit-content;
    height: fit-content;
    padding: 9px 18px;
    font-size: 13px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #ffffff;
    background-color: #4a6233;
    border: none;
    border-radius: 2px;
}

@media (max-width: 426px) {
    .post-product-container {
        flex-direction: column;
    }
}

/* blog post fun fact section */

.post-fun-fact-container {
    display: flex;
    background-color: #f7f4ef;
    padding: 20px 24px;
    margin: 28px 0;
    width: 100%;
    border-radius: 2px;
}

.post-fun-fact-container .post-fun-fact-text {
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.post-fun-fact-container .post-fun-fact-text span {
    font-weight: 500;
    color: #4a6233;
}

/* blog post quotes style */

.post-quote-text {
    width: 100%;
    font-style: italic;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    color: #4a6233;
    margin: 54px 0;
    padding: 0 20px;
    font-family: 'Playfair Display', serif;
}