@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Playfair+Display:wght@700&display=swap');

.home-product-card .dg-shop-add-to-cart-btn {
    background-color: #345333 !important;
    color: #ffffff;
    border: none;
    border-radius: 50px; /* Creates the pill shape */
    padding: 10px 20px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%; /* Optional: ensures it fills the card width */
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-product-card .dg-shop-add-to-cart-btn:hover {
    background-color: #2a4229; /* Slightly darker on hover */
}

.home-product-card .dg-shop-add-to-cart-btn:disabled,
.home-product-card .dg-shop-add-to-cart-btn.processing {
    background-color: #345333;
    opacity: 0.8;
    cursor: not-allowed;
}

.results-card h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1a1a1a; /* Darker title as per image */
}

.results-timeline-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* .res-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
} */

.res-num {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    padding-top: 4px;
}

.res-content {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.res-content strong {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.res-content p {
    font-size: 16px;
    color: #e0e0e0; /* Slightly lighter for the description */
    margin: 0;
}

/* Special Case for Day 15 style in image */
.res-item:nth-child(3) .res-content strong:last-child {
    font-size: 18px;
    display: inline;
}

.product-grid-container {
    width: 100%;
    padding: 20px 0;
}

.product-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .product-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .product-grid-wrapper {
        gap: 15px;
    }

/*     .product-image-wrapper {
        height: 180px !important;
        padding: 15px !important;
    } */

    .product-info {
        padding: 15px 10px !important;
		justify-content:space-between !important;
    }

    .product-title {
        font-size: 13px !important;
    }
}

.custom-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #ebebeb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    background-color: #F5F3EF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-info {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: "Playfair Display", serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    color: #000;
    text-align: center;
}

.product-tags {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin-bottom: 6px;
    min-height: 20px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    /* Optional: Ensure a consistent line height for better alignment */
    line-height: 1.4; 
    max-height: 2.8em; /* line-height multiplied by number of lines */
}

.product-price {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: #000;
    text-align: center;
    margin-bottom: 10px;
}

/* Styling for the Home Page Quick Add Buttons */
.custom-product-card .quick-add-btn {
    display: block;
    width: 100%;
    background-color: #345333 !important; /* Dark green from your image */
    color: #ffffff !important;
    padding: 6px 20px;
    border-radius: 50px; /* Pill shape */
    text-align: center;
    text-decoration: none;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}

.custom-product-card .quick-add-btn:hover {
    background-color: #2a4229 !important;
    opacity: 0.9;
}

/* Fix for WooCommerce "Loading" state */
.custom-product-card .quick-add-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Ensure the wrapper doesn't restrict the button */
.product-actions {
    width: 100%;
    margin-top: 0px !important;
}

/* Totally hide the View Cart link in custom product cards */
.custom-product-card .added_to_cart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* Ensure the Quick Add button remains the only visible action */
.product-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}