/* Add relevant styles */
#cosmetic-dictionary-search-form {
    margin: 20px 0;
    text-align: center;
}

#cosmetic-dictionary-search-form h2 {
    margin-bottom: 20px;
}

.search-container {
    display: inline-flex;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

#cosmetic-dictionary-search-input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 16px;
}

#cosmetic-dictionary-search-input::placeholder {
    color: #999;
}

#cosmetic-dictionary-search-form button {
    background-color: #EDC7C5;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#cosmetic-dictionary-search-form button:hover {
    background-color: #D6B0AE;
}

#cosmetic-dictionary-search-results {
    margin-top: 20px;
}

.ingredient-container {
    display: flex;
    flex-direction: row-reverse; /* כדי להציג את התמונה מצד ימין */
    align-items: flex-start;
    margin-bottom: 20px;
}

.ingredient-text {
    flex: 1;
}

.ingredient-image {
    margin-left: 20px;
    max-width: 150px !important;
}

.products.elementor-grid.columns-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.products.elementor-grid.columns-3 .product {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.products.elementor-grid.columns-3 .product img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.products.elementor-grid.columns-3 .product .fstars {
    max-width: 180px;
    display: block;
    margin: 10px auto;
}

.products.elementor-grid.columns-3 .product .price {
    display: block;
    margin: 10px 0;
}

.products.elementor-grid.columns-3 .product .add_to_cart_button {
    background-color: #EDC7C5;
    color: #000;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.products.elementor-grid.columns-3 .product .add_to_cart_button:hover {
    background-color: #D6B0AE;
}

.comdoheading {
    font-size: 20px;
    text-decoration: none !important;
    color: inherit !important;
    height: 110px;
}

.comdoa, .comdoa:hover {
    text-decoration: none !important;
    color: inherit !important;
}


.products.elementor-grid.columns-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.products.elementor-grid.columns-4 .product {
    flex: 1 1 calc(25% - 20px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.products.elementor-grid.columns-4 .product img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.products.elementor-grid.columns-4 .product .fstars {
    max-width: 100px !important;
    display: block;
    margin: 10px auto 10px;
}

.products.elementor-grid.columns-4 .product .price {
    display: block;
    margin: 10px 0;
}

.products.elementor-grid.columns-4 .product .add_to_cart_button {
    background-color: #EDC7C5;
    color: #000;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.products.elementor-grid.columns-4 .product .add_to_cart_button:hover {
    background-color: #D6B0AE;
}

.comdoul {
margin-bottom: 100px;
}

form.comdobtn {
    margin-bottom: 25px;
}


@media (max-width:1000px) {
    .comdoheading {
        height: auto;
    }
}