/* Custom code goes here - paste your css code below in line 8 */

#header .logo.img-responsive { width:auto; } 


a.product-flags-plist {
z-index:3;
}

a.product-flags-plist span.product-flag.new,
#product #content .product-flags .product-flag.new {
color: #000;
}


:root {
--color-primary:#83c127;
--color-primary-dark: #5fa300;

}
body { font-size:14px; }

main { background:#2f211a; }


#mobile_top_menu_wrapper2,
#mobile_user_wrapper,
#mobile_search_wrapper
{
  box-shadow:rgba(0,0,0,0.65) 0 1rem 1rem;
}

#wrapper {
  background: radial-gradient(circle at center center, rgba(0,0,0,0) 500px,#000000) fixed,url("../img/background-legno.jpg") fixed center center;
  padding-top:0;
  background-blend-mode: overlay;
  position:relative;
  z-index: 1;
}

#wrapper::after {
  position: absolute;
  content:"";
  z-index: -1;
  right:0; top:0; left:calc(50% + 500px); bottom:0;
  background: url("../img/cervo-dx.png") no-repeat left bottom;
}

#wrapper::before {
  position: absolute;
  content:"";
  z-index: -1;
  left:0; top:0; right:calc(50% + 500px); bottom:0;
  background: url("../img/cervo-sx.png") no-repeat right bottom;
}

#wrapper>.container{
  background: white;
  /* box-shadow: rgba(0,0,0,0.7) 0px 0px 3rem; */
}


#module-flashsales-page #wrapper>.container{ padding-top: 30px; }

#wrapper .container.hook_box { margin-bottom:0; }

#index #wrapper { padding-top:0;}
#index #wrapper>.container {padding-top: 15px;}
#wrapper>.container {padding-top: 0 30px 30px;}

a.product-flags-plist span.product-flag.discount-percentage,
a.product-flags-plist span.product-flag.new,
a.product-flags-plist span.product-flag.on-sale,
a.product-flags-plist span.product-flag.discount,
a.product-flags-plist span.product-flag.online-only {
display:flex;
align-items:center;
justify-content:center;
height:48px;
min-width:48px;
width:auto;
padding:4px;
margin:0px;
border-radius:48px;
font-weight:bold;
font-size:1rem;
background: #ff5722;
}


div#angarinfo_desc { padding:0 32px 16px; }
div#angarinfo_desc h1 { margin-bottom:32px; }
div#angarinfo_block { padding:10px 0 32px 0; }

/* --- HOME */
.feat_cat_style3 .catlinks_container { float:none; width:100%}
/* END HOME */


/* CATEGORY */
#category_desc .category-image img { border:0px;}
/* END CATEGORY */

/* PRODUCT */
.product-prices .product-discount span { color:#ff5722}
.product-prices span.discount.discount-percentage,
.product-prices span.discount.discount-amount,
.flashsale-column .flashsale-product-listing li .product-content .product-price .price-percent-reduction,
#product #content .product-flags .product-flag.discount { background-color: #ff5722;}


/* CART */
.cart-grid { margin-top:1rem; }
/* END CART */


/* END PRODUCT */


/* CMS */
#cms #main #content ul li a{
  display:block;
  padding:1rem 2rem;
  margin-bottom:1rem;
  border:1px solid #ddd;
  transition:all 0.5s ease-out;
  font-size:1rem;
  font-weight:600;

}

#cms #main #content ul li:hover a{
background: var(--color-primary);
color: #ffffff;
}

/* END CMS */

/* CHEKCOUT */

#checkout .step-title {
 padding:0.5rem 1rem;
}

#checkout .-current .step-title {
 position:relative;
 background:var(--color-primary-dark);
 color:white;
}
#checkout .-current .step-title:after{
  position:absolute;
  content:"";
  background:inherit;
  width:40px;
  height:10px;
  clip-path: polygon(0% 0,100% 0,50% 100%);
  top: 100%;
  left: 50%;
  translate: -50%;
}

#checkout #checkout-personal-information-step .nav-link{
  background:#efefef;
  border-color:#cccccc;
  color:#656565;
}

#checkout #checkout-personal-information-step .nav-link:hover{
  background-color:#eeeeee;
}
#checkout #checkout-personal-information-step .nav-link.active:hover{
  background:var(--color-primary-dark);
  color:white;
}
#checkout #checkout-personal-information-step .nav-link.active{
  background:var(--color-primary);
  color:white;
}

/* END CHEKCOUT */


@media (min-width:768px){
 #wrapper .breadcrumb { padding-top:15px;}
}

/* MODIFICA CHIESTA E REALIZZATA DA EDOARDO */

.product-customization .customization-message {
  margin-top: 20px;
  border: 2px solid green;
  padding: 10px;
  background-color: #e4fbdf;
  border-radius: 10px;
  font-weight: normal !important;
}
 
.product-customization label {
  font-weight: 700;
  margin: 0;
}
/* //FINE */

#search_filters .facet .facet-label {
display:flex;
}

/* TOGLIERE DESCRIZIONE PRODOTTO NEI THUMBNAIL */
.thumbnail-container .product-desc {
display: none !important;
}

/* CAMBIO FONT IN "INTER" E AUMENTO DIMENSIONE FONT E ALTEZZA LINEA */
body {
font-family: "Inter", Arial, Helvetica, sans-serif !important;
font-size:16px !important;
line-height: 1.4em !important;
}

/* SISTEMARE POSIZIONE "MOSTRA ALTRO" NELLA PAGINA FLASH SALES */
.flashsale .show-more-link {
  position:unset !important;
}

/* AUMENTO PADDING SU DESKTOP WRAPPER (ERA TROPPO PICCOLO) */
@media (min-width: 768px) {
#wrapper>.container {
  padding:10px 40px 30px 40px !important;
}
}

/* SU TABLET E OLTRE C'ERA -15PX MARGINE LATERALE SULLA RIGA CHE NON HA SENSO */
@media (min-width: 768px) {
.row {
margin-right: 0 !important;
margin-left: 0 !important;
}
}

/* THUMBNAIL PRODOTTO OMBRA + LEGGERA E BORDER RADIUS
.pl_border_type2 div#content-wrapper .products .product-miniature */
.thumbnail-container {
  -moz-box-shadow:rgba(0,0,0,.24) 0 1px 4px 0 !important;
  -webkit-box-shadow:rgba(0,0,0,.24) 0 1px 4px 0 !important;
  box-shadow:rgba(0,0,0,0.24) 0 1px 4px 0 !important;
  border-radius: 10px !important;
}
/* DESKTOP SISTEMATI PADDING PARTE ALTA PAGINA PRODOTTO (IMMAGINI E DESCRIZIONE) */
@media (min-width: 768px) {
.product_left {
padding-left: 0px !important;
padding-right: 15px !important;
}
.col-md-6.product_right {
padding-right: 0px !important;
padding-left: 15px !important;
}
}
/* MOBILE PAGINA CATEGORIE FIX DESCRIZIONE + SPAZI PARTE ALTA */
@media only screen and (max-width: 768px) {
#js-product-list-header #category_desc {
display: inherit !important;
border: 1px solid #e8e8e8;
overflow: auto;
font-size: 0.9em !important;
border-radius: 10px;
padding: 10px 0;
max-height: 150px !important;
}
.lineven-relatedproducts .rlp-column {
margin-bottom: 0;
}
.lineven-relatedproducts .clear {
display: none;
}
#category_desc .cat_name {
display: none !important;
}
.cat_desc > h3 {
font-size: 15px !important;
}
}

/* DESKTOP E MOBILE SISTEMATO BADGE "NUOVO" NEI "TI POTREBBERO INTERESSARE" */
.lineven-relatedproducts .product-flag.new {
background: #83c127 !important;
padding: 1px 6px !important;
border-radius: 100px !important;
font-size: 0.7em !important;
font-weight: 500 !important;
color: #fff !important;
text-align: center !important;
width: fit-content !important;
margin: 0 !important;
text-transform: uppercase !important;
}
.lineven-relatedproducts .product-flags {
position: absolute !important;
top: 0 !important;
left: 0 !important;
}
.lineven-relatedproducts .rlp-column ul.rlp-products li.rlp-product {
position: relative !important;
}

/*AGGIORNAMENTO STILI DELLA PAGINA PRODOTTO 16/10/2024*/
.btn.btn-primary.add-to-cart {
border: 0 !important;
line-height: unset !important;
height: unset !important;
padding: 10px 20px !important;
border-radius: 10px !important;
font-size: 16px !important;
}
.product-add-to-cart button.btn.add-to-cart, .product-add-to-cart button.btn.add-to-cart:disabled {
background: #50C878 !important;
border-color: none  !important;
}
.product-prices .current-price span.price {
color: #50C878 !important;
}
.btn.btn-primary.add-to-cart i {
position: relative !important;
height: unset !important;
width: unset !important;
top: unset !important;
left: unset !important;
font-size: 1em !important;
}
.price_tax_label {
font-size: 14px !important;
}
.discount.discount-percentage {
background-color: #50C8783D !important;
border-radius: 5px !important;
border: 1px solid #50C878 !important;
padding: 4px 9px !important;
color: #50C878 !important;
font-weight: normal;
font-size: 0.8em !important;
text-transform: uppercase !important;
}
.product-discount .regular-price {
color: #b0b0b0 !important;
}
#product_manufacturer .editable.btn.btn-default {
border: unset !important;
padding: 0 !important;
font-size: 1.1em !important;
font-weight: normal !important;
text-decoration: underline !important;
}
.add-to-cart-or-refresh .btn.add-to-cart {
background-color: #50C878 !important;
border: none !important;
padding: 8px 15px !important;
border-radius: 5px;
font-size: 0.9em;
}
.add-to-cart-or-refresh .btn.add-to-cart i {
line-height: none !important;
height: auto;
position: relative !important;
top: unset !important;
left: unset !important;
font-size: 1em !important;
}
.product_left .product-flags {
padding: 0 !important;
}
.product_container .product-flags .product-flag.discount {
border-radius: 0 0 0 10px !important;
font-size: 1em !important;
padding: 10px 15px !important;
background-color: #088F8F !important;
}
/*CORREZIONE PARTE ALTA DEL SITO (PULSANTE CARRELLO, CERCA)*/
#header div#_desktop_cart .blockcart .header i {
  height: unset;
  line-height: unset;
  top: unset;
  left: unset;
  position: relative;
  font-size: 1em !important;
}
#search_query_top {
  border-radius: 10px !important;
}
#header div#_desktop_cart .blockcart .header {
background: #83c127;
background-color: #50C878 !important;
border-radius: 10px;
padding: 0px 10px !important;
}
div#search_widget form button[type=submit] {
background-color: #50C878 !important;
border-radius: 10px 0 !important;
}


/*STILI PER INFO BOX PAG PRODOTTO PROMO E FINANZIAMENTI*/
        .container-prd-info {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
            /*padding: 20px;*/
            border: 1px dashed #000;
            position: relative;
			margin-bottom:30px;
        }

        .promo-prd-info, .finanziamento-prd-info {
            flex: 1;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .badge-prd-info {
            background-color: #000;
            color: #fff;
            padding: 5px 10px;
            width: fit-content;
            font-weight: bold;
			text-transform: uppercase;
        }

        .badge-prd-info span {
            background-color: #ff0;
            color: #000;
            padding: 2px 5px;
            margin-left: 5px;
        }

        .finanziamento-prd-info .badge-prd-info {
            background-color: #004080;
        }

        .divider-prd-info {
            width: 1px;
            background-color: #ccc;
			position: relative;
			margin-top: 20px;
			margin: ;
			margin-bottom: 20px;
        }
        .btn-prd-info {
            background-color: #69c449;
            color: #fff;
            padding: 10px 20px;
            text-align: center;
            text-decoration: none;
            width: fit-content;
            border-radius: 5px;
        }

        .btn-prd-info:hover {
			background-color: #008e31;
			color: #fff;
			text-decoration: none;
        }
        @media (max-width: 768px) {
            .container-prd-info {
                flex-direction: column;
            }

            .divider-prd-info {
				width: auto;
				position: relative;
				background-color: #ccc;
				height: 1px;
				margin: -10px 20px;
            }
        }
/*FINE*/

/*HOOK PAGAMENTI PREZZO PAGINA PRODOTTO */
.apppago-pdp-sim-widget {
  display: inline-block !important;
  padding: 5px 10px;
  border: 3px solid #ffd700;
  width: 100%;
  font-size: 14px !important;
  line-height: 18px !important;
}
#ps_checkout-payment-method-logo-block-container {
  border: 3px solid #ffd700;
  padding: 10px;
}
#product p#consel_p {
  background-position: 10px 10px;
  margin-top: 10px;
  margin-bottom: -10px;
  font-size: 14px !important;
  line-height: 18px !important;
  border: 3px solid #ffd700;
  padding: 50px 10px 10px 10px !important;
  display: flex;
  flex-direction: column;
}
.apppago-pdp-sim-widget > img:nth-child(1) {
  display: block;
}
#ps_checkout-payment-method-logo-block-container {
  border: 3px solid #ffd700;
  padding: 10px;
  font-size: 14px;
  line-height: 18px;
  color: #000 !important;
  margin-bottom: 10px;
}
.checkout.cart-detailed-actions.card-block #ps_checkout-payment-method-logo-block-container {
  margin-top: 20px;
  border: inherit;
}
#ps_checkout-payment-method-logos-container .paypal-mark {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px;
  flex-grow: ;
  height: auto !important;
  align-items: center;
}
#product #ps_checkout-payment-method-logo-block-title {
  color: #000;
  display: flex;
  gap: 5px;
}
@media (max-width: 768px) {
	.container-prd-info {
		flex-direction: column;
	}

	.divider-prd-info {
		width: auto;
		position: relative;
		background-color: #ccc;
		height: 1px;
		margin: -10px 20px;
	}
}
/*FINE HOOK PAGAMENTI PREZZO PAGINA PRODOTTO */

/*HOOK PAGAMENTI CONSENTITI PAGINA PRODOTTO */
.pmpc_div {
  padding: 10px;
  border: 3px solid #c0f9ac;
  clear: both;
  margin: 0;
  margin-top:10px;
}

#pmpcr-product-highlight {
  padding: 0 !important;
  margin-top: 10px !important;
  font-size: 14px;
  line-height: 18px;
}
/*FINE HOOK PAGAMENTI CONSENTITI PAGINA PRODOTTO */

/*Ridurre testo della descrizione breve nella pagina del prodotto*/
.product-information div[id^="product-description-short"] {
	font-size: 14px !important;
	line-height: 18px !important;
}
/*Mostrare varianti come flex nella pagina del prodotto, allineate invece che in colonna */
.product-information .product-variants {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.product-variants > .product-variants-item:first-child {
  border-top: inherit !important;
}
.product-variants > .product-variants-item {
  padding: inherit !important;
}

/*Le varie sezioni dei filtri nella pagina categorie erano troppo vicine */
section.facet {
  margin-top: 20px;
}

/*
* MIGLIORAMENTO PAGINA PAGAMENTI ORDINE CHE ERA CONFUSA SU DESKTOP E MOBILE
*/

/* Contenitore metodi di pagamento */
.payment-options div[id^="payment-option-"][id$="-container"] {
  display: flex;
  background-color: #f7f7f7;
  align-items: center;
  min-height: 44px !important;
  gap: 10px;
  padding: 10px !important;
  vertical-align: middle;
}

/* Immagini nel contenitore metodi di pagamento 
.payment-options div[id^="payment-option-"][id$="-container"] img {
  max-height: 14px !important;
}*/

/* Resettare radio button nel contenitore metodi di pagamento */
.payment-options div[id^="payment-option-"][id$="-container"] span.custom-radio {
  margin: 0 !important;
  float: none !important;
}

/* Resettare testo label contenitore metodi di pagamento */
.payment-options div[id^="payment-option-"][id$="-container"] > label {
  margin: 0 !important;
  display: flex !important;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
}

/* Altezza riga testo Contenitore metodi di pagamento */
.payment-options div[id^="payment-option-"][id$="-container"] > label > span {
  line-height: 1.2em !important;
}
/*
* MIGLIORAMENTO PAGINA PAGAMENTI ORDINE CHE ERA CONFUSA SU DESKTOP E MOBILE
*/

/*
* MIGLIORE LEGGIBILITA' PAGINE CMS
*/
section#content.page-cms h2 {
  margin-top: 30px;
}
section#content.page-cms h3 {
  margin-top: 20px;
}
section#content.page-cms h4 {
  margin-top: 20px;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: underline;
}
/*
* MIGLIORE LEGGIBILITA' PAGINE CMS
*/

/*
* SISTEMARE LE TABELLE PER ADATTARSI SU MOBILE
*/
/* Stili base per la tabella */
.table {
    display: table; /* Ripristina il display predefinito per desktop */
    width: auto; /* La tabella si adatta al contenuto */
    max-width: 100%; /* Impedisce alla tabella di strabordare dal contenitore */
    border-collapse: collapse; /* Opzionale: per un aspetto piÃ¹ pulito */
    overflow-x: auto; /* Abilita lo scroll orizzontale su desktop se necessario */
    -webkit-overflow-scrolling: touch; /* Migliora lo scroll su iOS */
}

/* Media query per mobile (schermi inferiori a 768px) */
@media (max-width: 768px) {
    .table {
        display: block; /* Cambia il display per abilitare lo scroll */
        overflow-x: auto; /* Abilita lo scroll orizzontale */
        -webkit-overflow-scrolling: touch; /* Migliora lo scroll su iOS */
        width: auto; /* Permette alla tabella di mantenere la sua larghezza naturale */
        min-width: 100%; /* Assicura che sia almeno larga quanto il contenitore */
        box-sizing: border-box; /* Include padding e bordi nella larghezza */
    }
}
/*
* SISTEMARE LE TABELLE PER ADATTARSI SU MOBILE
*/

/*
* PAGINE CMS GRIGLIA FOTO 3 SU DESKTOP E 2 MOBILE
*/
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonne di uguale larghezza su desktop */
    gap: 10px; /* Spazio tra le foto */
    padding: 10px;
    box-sizing: border-box;
}

.photo-grid img {
    width: 100%; /* Le immagini occupano tutto lo spazio della colonna */
    height: 200px; /* Altezza fissa per uniformitÃ  */
    object-fit: cover; /* Ritaglia le immagini per adattarle senza distorsioni */
    border-radius: 5px; /* Opzionale: bordi arrotondati */
}

/* Media query per mobile (schermi inferiori a 768px) */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonne su mobile */
    }
}
/*
* PAGINE CMS GRIGLIA FOTO 3 SU DESKTOP E 2 MOBILE
*/