/**

Theme Name: mariani-child

Author: Brainstorm Force

Author URI: http://wpastra.com/about/

Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!

Version: 1.0.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: mariani-child

Template: astra

*/

html {
    scroll-behavior: smooth;
}

p#breadcrumbs {
    font-size: 13px;
}

footer {
    color: #868686;
}

footer .widget-title,
.woocommerce-page footer .widget .widget-title {
    font-size: 21px;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 700;
}

footer a {
    color: #F7F3F5;
}

.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: 4px !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
}

.main-header-menu .menu-link,
.main-header-menu>a {
    padding: 0 1.5em;
}

li.menu-item ul.product_list_widget li {
    display: inline-block;
    margin-bottom: 20px;
}

li.menu-item ul.product_list_widget .star-rating {
    display: none;
}

.col-rivista {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    line-height: 22px;
}

/**
wocommerce */

.woocommerce-page ul.products li.product .woocommerce-loop-product__title::first-letter,
.single-product div.product .entry-title::first-letter {
    text-transform: uppercase;
}

header.woocommerce-products-header {
    padding-bottom: 60px;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title .count,
.woocommerce-page ul.products li.product .woocommerce-loop-category__title .count {
    display: none;
}

.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
    display: inline-block;
}

/*.woocommerce div.product div.images.woocommerce-product-gallery>.flex-viewport img {
    height: 640px !important;
}*/

div.testo_campo_sconto {
    position: absolute;
    background: url(/wp-content/uploads/19percento.png) left top no-repeat;
    width: 682px;
    height: 68px;
    right: 0px;
    bottom: 0px;
    display: none;
    z-index: 999;
}

div.testo_campo_sconto p {
    color: white;
    font-size: 10px;
    display: block;
    padding: 12px 0 0 217px;
}

.woocommerce #content .ast-woocommerce-container div.product div.summary,
.woocommerce .ast-woocommerce-container div.product div.summary,
.woocommerce-page #content .ast-woocommerce-container div.product div.summary,
.woocommerce-page .ast-woocommerce-container div.product div.summary {
    width: 100%;
}

ul.dispositiviMedici {
    display: inline-block;
    margin: 10px auto 20px auto;
    font-size: 11px;
    text-align: center;
    font-weight: 700;
}

ul.dispositiviMedici li {
    list-style-type: none;
    float: left;
    width: 149px;
    height: 130px;
    overflow: hidden;
    margin: 3px;
}

ul.dispositiviMedici li img {
    display: block;
    margin-bottom: 10px;
}

a.es_product_button {
    color: #fff;
    border-color: #d21d22;
    background-color: #d21d22;
    font-size: 13px;
    padding: 12px 32px;
}

.row-button {
    margin-bottom: 36px;
}

.row-button h3 {
    margin-bottom: 14px;
}

@media (min-width: 767px) {
    /* se la risoluzione è superiore ai 767 mostro l'immagine e relativa gallery  */

    .woocommerce #content .ast-woocommerce-container div.product div.images,
    .woocommerce .ast-woocommerce-container div.product div.images,
    .woocommerce-page #content .ast-woocommerce-container div.product div.images,
    .woocommerce-page .ast-woocommerce-container div.product div.images {
        width: 100%;
    }

    #ast-gallery-thumbnails {
        position: absolute;
        width: 10%;
        margin-top: -5px;
        transition: .3s;
    }

    .woocommerce div.product div.images.woocommerce-product-gallery>.flex-viewport {
        margin-left: calc(10% + 27px);
        margin-bottom: 0;
    }

    .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
        top: 0.5em;
        right: 2em;
    }

    .woocommerce div.product div.images.woocommerce-product-gallery>.flex-viewport img {
        height: 640px !important;
    }
}

.woocommerce-product-details__short-description {
    border-bottom: 1px solid #ededed;
    padding-bottom: 19px;
    margin-bottom: 30px;
}

.box-preventivo {
    display: block;
    overflow-y: hidden;
    transition: all .5s;
    border: 1px solid var(--ast-border-color);
    margin-bottom: 60px;
    padding: 1em 1.3em;
    background-color: #f7f4f8;
}

.bubbleBox {
    position: absolute;
    top: 0;
    left: 0;
}

.bubble {
    /*color: #fff;
    position: relative;
    margin: 5px;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;*/

    position: relative;
    color: var(--ast-global-color-3);
    color: #fff;
    background-color: var(--ast-global-color-5);
    width: fit-content;
    /*top: .25em;
    left: .25em;
    border-radius: 20px;*/
    /*border-radius: 0 10px 10px 0;*/
    padding: 0.25em 0.4em;
    font-size: 1rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
    opacity: 1;
    visibility: visible;
    z-index: 4;
    /*display: inline-block;*/
    margin-top: 4px;
    text-transform: uppercase;
}

.bubble.bubble-most-selled {
    background-color: rgba(33, 158, 231, 0.8);
}

.bubble.bubble-new {
    background-color: rgba(24, 202, 69, 0.8);
}

.bubble.bubble-outlet {
    background-color: rgba(211, 25, 25, 0.8);
}

.bubble.bubble-consegna {
    background-color: rgba(0, 196, 255, 0.8);
}

div.content-dispositivi-medici {
    width: 100%;
}

div.optional {
    background-color: #f1f1f1;
    padding: 40px 20px;
    margin-bottom: 30px;
}

div.optional .icon {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 0;
}

div.optional .icon>div {
    width: 20%;
    text-align: center;
    padding: 18px 0;
    font-size: 14px;
    font-family: 'Oswald', sans-serif;
}

div.optional .comandi:before {
    content: url(/wp-content/themes/mariani-child/img/icon-comandi.png);
    display: block;
    height: 100%;
}

div.optional .copriseduta:before {
    content: url(/wp-content/themes/mariani-child/img/icon-copriseduta.png);
    display: block;
    height: 100%;
}

div.optional .roller:before {
    content: url(/wp-content/themes/mariani-child/img/icon-roller-system.png);
    display: block;
    height: 100%;
}

div.optional .copribracciolo:before {
    content: url(/wp-content/themes/mariani-child/img/icon-copribracciolo.png);
    display: block;
    height: 100%;
}

div.optional .kit-batteria:before {
    content: url(/wp-content/themes/mariani-child/img/icon-kit-batteria.png);
    display: block;
    height: 100%;
}

div.optional .wi-fi:before {
    content: url(/wp-content/themes/mariani-child/img/icon-wi-fi.png);
    display: block;
    height: 100%;
}

div.optional .supporto-lombare:before {
    content: url(/wp-content/themes/mariani-child/img/icon-supporto-lombare.png);
    display: block;
    height: 100%;
}

div.info-box {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

div.info-box>div {
    flex-grow: 1;
    width: 30%;
    text-align: center;
    font-size: 15px;
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    padding: 20px;
}

div.text-dispositivi-medici {
    padding: 0 0 40px 0;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    div.content-dispositivi-medici {
        float: none;
        width: 100%;
        padding-right: 15px;
    }

    div.info-box>div {
        flex-grow: 1;
        width: 100%;
        text-align: center;
        font-size: 15px;
        font-family: 'Oswald', sans-serif;
        line-height: 1.6;
        padding: 20px;
    }

    div.optional {
        float: none;
        width: 100%;
        background-color: #f1f1f1;
        padding: 40px 20px;
    }

    div.optional .icon>div {
        width: 50%;
        text-align: center;
        padding: 18px 0;
        font-size: 14px;
        font-family: 'Oswald', sans-serif;
    }
}

.ast-theme-transparent-header [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal {
    background: #ffffff;
}

#contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; /* spaziatura tra colonne e righe */
}

#contact p {
  margin: 0;
}

#contact p.full {
  grid-column: 1 / -1; /* occupa entrambe le colonne */
}

/* Mobile: una colonna */
@media (max-width: 640px) {
  #contact {
    grid-template-columns: 1fr;
  }
}

/* Applica lo stile solo su schermi Desktop (da 992px in su) */
@media screen and (min-width: 992px) {
  
  /* Stile base del bottone Contatti su Desktop */
  .main-navigation ul li.menu-contatti a,
  li.menu-contatti a {
    background-color: #990000 !important;
    color: #ffffff !important;
    border-radius: 0px !important;
    padding: 10px 20px !important;
    font-weight: bold !important;
    display: inline-block;
    
    /* Transizione morbida sia in entrata che in uscita (0.4 secondi) */
    -webkit-transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s ease !important;
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s ease !important;
  }

  /* Effetto al passaggio del mouse (Hover) su Desktop */
  .main-navigation ul li.menu-contatti a:hover,
  li.menu-contatti a:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    
    /* Mantiene la fluidità anche durante l'hover */
    -webkit-transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s ease !important;
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s ease !important;
  }

}

.ast-above-header {
  background: var(--ast-global-color-7)!important;
 border-top:none!important;
}
.ast-above-header a{
	color:#fff!important;
}