/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.55
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

.topbar-wrapper .top-bar-left,
.topbar-wrapper .top-bar-right{
    justify-content: center;
}
.top-bar svg {
    width: 16px;
    height: 16px;
}
.top-bar a,
.top-bar p {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.top-bar a:hover{
    font-weight: bolder;
}
.blue_button a span {
    color: #0066cc;
}
button.filters.close-drawer,
.main-header.col-full button.mobile-search-toggle {
    background: transparent;
}

.below-content .widget{
    margin-bottom: 0;
}

.anpc-holder .anpc-sal {
    background-image: url("/wp-content/uploads/2025/12/anpc-sal.webp");
    background-repeat: no-repeat;
}
.anpc-holder .anpc-sol {
    background-repeat: no-repeat;
    background-image: url("/wp-content/uploads/2025/12/anpc-sol.webp");
}
.anpc-holder {
    display: flex;
    padding: 5px 0;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.anpc-holder .anpc-sal, .anpc-holder .anpc-sol {
    width: 250px;
    height: 62px;
    background-size: 250px 62px;
    display: inline-block;
    vertical-align: middle;
}
.product-label.type-bubble, li.product .onsale{
    border-radius: 0;
}
ul.products li.product .added_to_cart, ul.products li.product .button{
    border-radius: 3px;
}

.price ins {
    color: #ff383c !important;
}
/* ===== MESAJE FORMULAR ELEMENTOR ===== */

/* Mesaj SUCCES */
.elementor-message.elementor-message-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: none;
    border-left: 4px solid #28a745;
    border-radius: 8px;
    padding: 20px 20px 20px 55px;
    color: #155724;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.15);
    animation: slideIn 0.4s ease-out;
}

.elementor-message.elementor-message-success::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2328a745'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
    background-size: contain;
}
/* Mesaj EROARE general */
.elementor-message.elementor-message-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: none;
    border-left: 4px solid #dc3545;
    border-radius: 8px;
    padding: 20px 20px 20px 55px;
    color: #721c24;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.15);
    animation: shake 0.5s ease-out;
}

    .shoptimizer-sorting:not(.sorting-end) .woocommerce-pagination ul.page-numbers{
        display: none;
    }
.elementor-message.elementor-message-danger::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc3545'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
    background-size: contain;
}
/* Ascunde complet mesajul text */
.elementor-message.elementor-help-inline {
    display: none !important;
}
/* Placeholder normal */
.elementor-field::placeholder {
    font-weight: 400;
}

/* Text completat bold */
.elementor-field {
    font-weight: 700;
}
/* Doar border roșu pe câmpul invalid */
.elementor-form .elementor-error input {
    border: 2px solid #dc3545 !important;
}
.elementor-form input{
	text-align: center;
}
/* Placeholder roșu când e gol */
.elementor-form .elementor-error::placeholder {
    color: #dc3545;
}

/* Stil pentru câmpuri invalide */
.elementor-form .elementor-field.elementor-error {
    border-color: #E41E31 !important;
}

/* Placeholder pentru telefon */
.elementor-field-type-tel input::placeholder {
    opacity: 0.6;
}

.custom-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-list ul li {
  position: relative;
  padding-left: 21px;
  margin-bottom: 10px;
}

.custom-list ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='28' viewBox='0 0 20 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 14C19 18.9706 14.9706 23 10 23C5.02944 23 1 18.9706 1 14C1 9.02944 5.02944 5 10 5C14.9706 5 19 9.02944 19 14Z' stroke='%23323232' stroke-width='2'/%3E%3Cpath d='M7 14L8.6828 15.6828C8.858 15.858 9.142 15.858 9.3172 15.6828L13 12' stroke='%23323232' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}
.category-bottom-section {
    width: 100%;
    padding: 60px 0;
    background: #fff;
    clear: both;
}

.category-bottom-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: start;
    gap: 50px;
}

.category-bottom-image {
    flex: 0 0 40%;
}

.category-bottom-image img {
    width: 100%;
    height: auto;
}

.category-bottom-content {
    flex: 1;
}

.category-bottom-content h2 {
    font-family: Inter;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0px;
    line-height: 1.45;
    text-transform: none;
    color: #222;
    margin-bottom: 20px;
}

.category-bottom-text {
    color: #333;
    line-height: 1.7;
}

.category-bottom-text p {
    margin-bottom: 15px;
}
.elementor-template-wrapper-cat_bottom {
    width: 100vw;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 50px;
}
.woocommerce-terms-and-conditions-wrapper label {
    padding-left: 0 !important;
}
#billing_state_field {
    float: left;
    width: 48%; /* Sau % dorit */
    margin-right: 4%; /* Spațiu între */
    clear: none;
}
#billing_city_field {
    float: right;
    width: 48%; /* Sau % dorit */
    margin-right: 0;
    clear: none; /* WooCommerce adaugă clear după field, de obicei */
}
/* Asigură curățarea după rând */
#billing_city_field::after {
     content: "";
     display: table;
     clear: both;
}
/* Responsive */
@media (max-width: 768px) {
    .category-bottom-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0;
    }
    
    .category-bottom-image {
        flex: 0 0 100%;
    }
}

@media (min-width: 785px){
    .shoptimizer-sorting:not(.sorting-end),
    .archive main#main > .columns-3 {
        padding: 0 15px;
    }
    button.filters.close-drawer {
        background: transparent;
    }

    .produse-recomandate-wrapper {
        position: relative;
        margin-top: 30px;
        padding: 30px 15px 0;
        padding-top: 40px;
        margin-bottom: 45px;
        border: 1px solid #e0e0e0;
    }
    .produse-recomandate-wrapper li.product {
        padding-bottom: 10px !important;
    }
    .recomandare-titlu {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        padding-left: 10px;
        margin-left: 10px;
        color: #0066cc;
        font-size: 1.3em;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0;
        background: #ffffff;
    }

    .recomandare-titlu span {
        background: #fff;
        padding-right: 15px;
    }

    .recomandare-titlu::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e0e0e0;
    }

 #billing_person_type_field .woocommerce-input-wrapper {
        display: flex ;
        gap: 20px;
        /* justify-content: center; */
        align-items: center;
    }
}

.woocommerce-terms-and-conditions-wrapper input#terms {
    display: none;
}

@media (max-width: 785px){

  #billing_person_type_field .woocommerce-input-wrapper {
        display: flex;
        gap: 5px;
    }
    .archive-header {
        background-color: #f5f5f5;
        margin-bottom: 10px;
    }
    button.mobile-filter.shoptimizer-mobile-toggle {
        width: 90%;
        margin: auto;
        background-color: #f5f5f5;
        color: #000;
        text-align: center;
        border-radius: 3px;
    }
     .recomandare-titlu {
         font-size: 20px;
        color: #0066cc;
     }
     .woocommerce.archive .site-content {
        padding-bottom: 0;
    }
}

