/*
 Theme Name:   Vantage Child
 Theme URI:    https://siteorigin.com/theme/vantage/
 Description: Child theme for the Vantage theme
 Author:       Paolo Davide Vettore - Vettore Consulting
 Author URI:   https://vettore.consulting
 Template:     vantage
 Version:      1.0.0
*/

/* remove sidebar menu when screen under 680px */
@media (max-width: 680px) {
  #secondary.widget-area {
    display: none !important;
  }
}

/* Hide the "Visualizzazione del risultato" text in pagine categoria */
p.woocommerce-result-count {
    display: none !important;
}

/* Hide the dropdown selection for ordering in pagine categoria */
form.woocommerce-ordering {
    display: none !important;
}

/* remove free theme attribution in the footer */
#theme-attribution {
    display: none;
}

/* 1. Center the category text in category pages */
.woocommerce-page ul.products li.product-category a h2.woocommerce-loop-category__title {
    text-align: center;
}
/* 2. Hide the product count after category name in category pages */
.woocommerce-page ul.products li.product-category a h2.woocommerce-loop-category__title mark.count {
    display: none;
}

/* fix the weight selector in the product page */
select#pa_peso-confezione {
    width: auto !important;
    min-width: 150px;
    padding: 5px 30px 5px 15px !important;
    text-align: center;
    text-align-last: center;
    border-radius: 4px;
    border: 1px solid #ddd;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
}

