/*
Theme Name: Libreria Antiquaria Giulio cesare
Author: jacopo
Description: Tema Libreria Antiquaria Giulio cesare
Version: 1.0
Template: theluxury

This is the child theme for The Luxury theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

html #wcpay-express-checkout-button-separator{display:none!important;}

.prenotabile{background: #666!important; border-color: #333!important;}
html .prenotabile:hover{background: #333!important; }

html .woocommerce-notices-wrapper .woocommerce-message{color: white;}

html .col-1,
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
html .woocommerce-checkout .col-1,
html .woocommerce-checkout .col-2,
.col-1{display: block;
float: none!important;
width: 100%!important;
}


html body.woocommerce-cart .wc-block-cart-item__remove-link:after{content: 'RIMUOVI'; color: black; position: absolute!important; margin-left: 7px; margin-top:-3px;}
html body.woocommerce-cart .wc-block-cart-item__remove-link{
  border: 1px solid #881010!important;
  background: #881010!important;
  padding: 0px 24px 24px 0!important;
  border-radius: 0px !important;
  color: white!important;
}
html body.woocommerce-cart .wc-block-cart-item__remove-link:hover{
  border: 1px solid #881010!important;
  background: white!important;
  color: #881010!important;
}


html #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input,
html #adminbarsearch{background: none!important; color:white; margin-right:0px;}
html #adminbarsearch.adminbar-focused{background: white!important;}

.woocommerce-product-gallery__wrapper > div:not(.woocommerce-product-gallery__image) > .woocommerce-product-gallery__image,
.woocommerce-product-gallery__wrapper > div:not(.woocommerce-product-gallery__image) > .woocommerce-product-gallery__image img{
  width: auto !important;
  height: auto !important;
  max-width: 130px !important;
  max-height: 110px !important;
  display: block !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;

}

.page-id-314 .product-stock-status, .page-id-314 .product-add-to-cart{display: none;}

.woocommerce-product-gallery__wrapper > div:not(.woocommerce-product-gallery__image) > .woocommerce-product-gallery__image {
  overflow: hidden;
  /* border: 1px solid #eaeaea; */
  /* padding: 5px; */
  box-sizing: border-box;
}


.search-results-links li{padding: 5px; margin-bottom:5px;}
.search-results-links li:nth-child(even){background: #f1f1f1;}

.search-results-links{
margin:0 0 25px 0;
list-style:none;
padding:0;
}

.search-results-links li{
margin-bottom:18px;
}

.search-results-links a{
text-decoration:none;
display:block;
}

.result-row{
display:flex;
align-items:center;
gap:15px;
}

.result-ref{
width:75px;
flex-shrink:0;
color:#666;
}

.result-thumb{
width:40px !important;
object-fit:cover;
flex-shrink:0;
}

.result-text{
display:flex;
flex-direction:column;
}

.result-autore{
color:#000;
font-weight:500;
}

.result-titolo{
color:#a00;
}

@media (max-width:768px){
.result-row{
flex-direction:column;
align-items:flex-start;
}
}


.woocommerce-product-gallery .thumb-row.sq-thumbs .sq-thumb-arrow:hover{background: #881010;}
/* Mantieni visibile l'area login quando si interagisce con input */
.gdlr-top-bar-login,
.gdlr-top-bar-login *{
  pointer-events: auto;
}

/* Se il menu/pannello appare solo on hover, rendilo stabile */
.gdlr-top-bar-login:hover,
.gdlr-top-bar-login:focus-within{
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}


.gdlr-top-woocommerce-inner .gdlr-checkout-button, .gdlr-top-woocommerce-inner .gdlr-cart-button {
  padding: 10px;
}
.gdlr-fixed-header #gdlr-navigation-gimmick{top: 57px;}

.lanewsa{padding: 15px; border:1px solid #666; margin-bottom:20px;}

.page-id-464405 .registrazio{display: none;}
.registrazio{padding-left: 20px; padding-top:15px; display:inline-block;}

/* nascondi login in registrazione */
html .page-id-464405 .woocommerce .col2-set .col-1,
.page-id-464405 .woocommerce-form-login {
  display: none;
}
.page-id-464405 .gdlr-top-bar-login-wrapper{display: none;}
html .page-id-464405 .woocommerce .col2-set .col-1,
html .page-id-464405 .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2,
html .page-id-464405 .woocommerce-page .col2-set .col-1{width:100%; float:none!important;}
width: 48%;
}

html .page-id-464405 .u-column1.col-1{display: none;}

/* nascondi registrazone in login */
html .page-id-10 .woocommerce .col2-set .col-1,
html .page-id-10 .woocommerce-page .col2-set .col-1{width:100%; float:none!important;}
html .page-id-10 .u-column2.col-2{display: none;}




.ricerca-settoriale-form .disabled-by-riferimento {
  opacity: 0.45;
  cursor: not-allowed;
}


.box-collana, .box-dettagli{
  padding:  15px 0;
  border-top:1px solid #eaeaea;
  margin-top:15px;
}


.tips{
  display:flex;
  align-items:flex-start; /* icona allineata in alto col testo */
  gap: .2rem;            /* spazio tra icona e testo */
}

.tips i{
  flex: 0 0 auto;        /* icona non si restringe */
  margin-top: 8px;     /* micro-allineamento opzionale */
}

.tips__text{
  flex: 1 1 auto;        /* il testo prende tutta la larghezza restante */
  min-width: 0;          /* importante per i wrap in flex */
}


.descrizione-prodotto p{margin: 0!important;}
.nascondeform{display: none;}


.woocommerce-loop-product__title{font-family: Lato; font-size:19px!important;}
.product_title.entry-title{font-family: Lato;}

html .related.products h2 {
  font-weight: normal;
}

.tips{border:1px solid #666; padding:10px; margin-bottom:15px; color:#666;}

.gdlr-pagination .page-numbers:hover, .gdlr-pagination .page-numbers.current{background: #881010!important;}
html .gdlr-pagination .page-numbers{border-radius: 0;}


html .product_title.entry-title{font-size:32px;}

.wc-block-cart-items__row:nth-child(even) {
    background-color: #f3f3f3;
}

.gdlr-page-title-wrapper{height:35px;}

.is-search-submit{text-transform: uppercase!important;}

.prw-pacchetto-regalo{
  padding-bottom: 20px;
}

html .gdlr-top-woocommerce .gdlr-checkout-button:hover,
html .gdlr-top-woocommerce .gdlr-cart-button:hover{
	background: white!important;
	color: #881010!important;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link){
  padding: 0px!important;
  min-height: 15px!important;
}

.wc-block-components-totals-coupon__button .wc-block-components-button__text{padding:0px!important;}

.pacchettobtn {
  box-shadow: none !important;
  padding: 13px 17px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  text-shadow: none;
  font-weight: bold;
  background: #881010;
  color: white;
  border-bottom: 3px solid #660606 !important;
  cursor: pointer;
}



/* Nasconde il prezzo unitario sotto il nome prodotto */
html .wc-block-cart-item__prices {
    display: none!important;
}

.page-id-8 .wc-block-components-product-metadata__description{text-align: left; margin-top:5px;}


body:not(.home) .footer-wrapper:before{
  content: "";
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 30px;
  background-color: #E5DCC9;
  mask-image: url('https://libreriantiquaria.com/wp-content/uploads/2025/11/giglio.png');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

body:not(.home) .footer-wrapper{margin-top: 60px;}

.wp-block-woocommerce-regalo{
  border-top: 1px solid hsla(0,0%,7%,.11);
  padding: 16px 0;
}

html .woocommerce .woocommerce-ordering select, html .woocommerce-page .woocommerce-ordering select{height:auto!important;}


.lista-risultati-settoriale {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.item-risultato {
    display: flex;
    align-items: flex-start; /* ALLINEA IN ALTO */
    gap: 5px;
    padding-top: 5px;
padding-bottom:15px;
    border-bottom: 1px solid #ddd;
}

.item-risultato .col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* anche questo assicura allineamento alto */
}

.thumb-col{min-width: 40px;}

.thumb-col img {
    width: 30px !important;
    height: 30px !important;
    object-fit: cover;
    display: block;
}


.titolo-col a {
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
}



#risultati-ricerca-settoriale ul{margin: 0!important;}
#risultati-ricerca-settoriale li{list-style: none; margin-bottom:10px;}

.idlista{background: #fef7e9; padding: 1px 4px; margin-right:10px; font-size:13px;  width: 75px;}


#risultati-ricerca-settoriale{margin-bottom: 100px;}

input[type="text"], input[type="email"], input[type="password"], textarea{color: black!important;}


.ricerca-settoriale-form .atre input,
.ricerca-settoriale-form .adue input{width: 100%;display: inline-block;padding: 10px;}

.ricerca-settoriale-form span.wpcf7-form-control-wrap {
  display: block;
  padding-right: 20px;
  margin-top: 7px;
}


.ricerca-btn{
  box-shadow: none !important;
  padding: 13px 17px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  text-shadow: none;
  font-weight: bold;
  background: #881010;
  color: white;
  border-bottom: 3px solid #660606 !important;
    cursor: pointer;
}
.ricerca-btn:hover{
    background: #660606;
  cursor: pointer;
}


.related.products h2{margin: 40px 0 20px 0;}
.copyright-right a, .copyright-left a{color: black!important;}
.copyright-right a:hover, .copyright-left a_hover{color: #881010!important;}

html .wc-block-cart-item__remove-link{
  border: 1px solid red!important;
  padding:5px 8px!important;
border-radius:5px!important;
  background: red;
  color: red!important;
  text-transform: uppercase!important;
}

html .wc-block-cart-item__remove-link:hover{
border-radius:5px!important;
  background: red!important;
  color:white!important;
}


body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link),
.wc-block-cart__submit-container,
html .wc-block-components-button__text{
  background: #881010!important;
  color: white!important;
  padding: 20px;
  border:none!important;
  border-radius:5px!important;
}

.wc-block-cart__submit-container:hover,
html .wc-block-components-button__text:hover{
  background: #881010!important;
  color: white!important;
  padding: 20px;
    border:none!important;
}



.single-product .psfw-social-wrap:last-of-type {
    display: none !important;
}

html .wpcf7-submit{
  box-shadow: none!important;
  padding: 13px 17px!important;
  border-radius: 4px!important;
  text-transform: uppercase!important;
  border-top: 0!important;
  border-right: 0!important;
  border-left: 0!important;
  text-shadow: none;
  font-weight: bold;
  border-bottom: 3px solid #660606!important;
}
html .wpcf7-submit:hover{
  background: #660606!important;
}

html .woocommerce .widget_price_filter .price_slider_amount .button{font-size: 12px!important;}

html .home .woocommerce ul.products li.product{margin-bottom: 10px;}
html ul.psfw-social-icons li a{border: none; font-size: 20px!important;}

html body.woocommerce ul.products li.product .onsale, html body.woocommerce-page ul.products li.product .onsale, html body.woocommerce ul.products li.product .onsale, html body.woocommerce span.onsale, html body.woocommerce-page span.onsale, html body.woocommerce span.onsale,
html .woocommerce span.onsale, html
.woocommerce-page span.onsale,
html .onsale{
  padding:0px!important;
  min-height: 25px!important;
  height: auto!important;
  width: 90px!important;
  line-height: 24px!important;
  margin-top: -15px!important;
  margin-right: -10px;
background: olive!important;
}

.related{padding-bottom: 20px;}

/*
.related:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 30px;
  background-color: rgb(229, 220, 201);
  mask-image: url("https://libreriantiquaria.com/wp-content/uploads/2025/11/giglio.png");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center center;
}
*/

.copyright-container.container{border-top:1px solid #eaeaea;}

.product_title.entry-title {
  border-bottom: 1px solid #eaeaea;
  padding: 0 0 15px 0!important;
}

.descrizione-prodotto{
  padding: 15px 0;
  margin: 15px 0;
  border-bottom: 1px solid #eaeaea;
  border-top: 1px solid #eaeaea;
}


#promo .cornice{background: white!important;}
#promo .onsale{display: none;}

.cornice .woocommerce-loop-product__link{padding-top: 20px;}
.product .tabs, html .product .woocommerce-Tabs-panel{display: none!important;}

.single_add_to_cart_button{font-size: 12px!important;}

/* Forza 4 colonne per related / upsell / cross-sell */
.woocommerce .related ul.products,
.woocommerce .upsells ul.products,
.woocommerce-page .related ul.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.woocommerce .related ul.products li.product,
.woocommerce .upsells ul.products li.product,
.woocommerce-page .related ul.products li.product {
  width: calc(25% - 15px) !important; /* 4 colonne */
  margin: 0 0 30px !important;
  float: none !important;
}

@media (max-width: 1024px) {
  .woocommerce .related ul.products li.product,
  .woocommerce .upsells ul.products li.product,
  .woocommerce-page .related ul.products li.product {
    width: calc(50% - 15px) !important;
  }
}

@media (max-width: 640px) {
  .woocommerce .related ul.products li.product,
  .woocommerce .upsells ul.products li.product,
  .woocommerce-page .related ul.products li.product {
    width: 100% !important;
  }
}


.button:hover{background: rgb(102, 6, 6)!important;}

/* Limite massimo all'immagine principale (350px) senza deformarla */
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img {
    max-height: 500px !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important; /* Mantiene le proporzioni */
    display: block;
    margin: 0 auto; /* centra l'immagine */
}


.woocommerce-product-gallery__wrapper{border: 1px solid #eaeaea; padding:5px!important;}
div.images img{border: none!important;}
.thumb-row{margin-bottom: 5px}


* --- GALLERY WRAPPER --- */
.woocommerce-product-gallery__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- IMMAGINE PRINCIPALE --- */
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
    width: 100% !important;
}

.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img {
    width: 100% !important;
    height: auto !important;
}

/* --- CONTENITORE THUMBNAIL --- */
.woocommerce-product-gallery__wrapper > div:not(.woocommerce-product-gallery__image) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

/* --- OGNI THUMB --- 
.woocommerce-product-gallery__wrapper > div:not(.woocommerce-product-gallery__image) > .woocommerce-product-gallery__image {
    width: 90px !important;
    height: 90px !important;
    overflow: hidden;
}

/* --- IMG dentro le THUMB --- 
.woocommerce-product-gallery__wrapper > div:not(.woocommerce-product-gallery__image) > .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
}
*/



.cornicetta img{
  float:none!important;
  height: 100%!important;
  width: auto!important;
  display:inline-block!important;
margin: 0!important;}

.cornicetta{
  height: 80px; width: 70px;text-align:center; display:inline-block;
float:left; margin-right:10px;}

html .woocommerce ul.product-categories li,
.woocommerce-page ul.product-categories li,
ul.product_list_widget li{border-color:#eaeaea}
ul.product_list_widget li:last-of-type{border: none!important;}

.gdlr-page-title-wrapper .gdlr-page-title{visibility: hidden!important;}
.button.product_type_simple{font-size: 12px!important;}
.gdlr-image-link-icon{display: none!important;}

.edizione, .citta, .autore{
	display: inline-block;
	width:100%;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eaeaea;
}


.areaprezzo{min-height: 50px; display: block;}

.woocommerce a.added_to_cart,
.added_to_cart.wc-forward{
  left: 0px;
  position: absolute; width: 100%;
  padding: 0!important;
}


.button.add_to_cart_button{font-size:12px!important;}
html .woocommerce a.added_to_cart,
html .woocommerce-page a.added_to_cart{margin: 0!important;}

html .woocommerce-LoopProduct-link img{width:auto!important; height:200px!important;}
.woocommerce-loop-product__title{min-height: 120px;}

html .woocommerce ul.products li.product .price del {
  position: absolute;
  margin-top: -30px;
}

.cornice{
  padding:6px;
  border:1px solid #eaeaea;
}
.sale .cornice{background: #fef7e9;}


html .woocommerce ul.products li.product a img,
html .woocommerce-page ul.products li.product a img{display: inline;}

.autore{font-weight: 600!important; line-height:22px!important;}

html .product_title{font-size: 27px!important;}
html .single-product .product_title {
  line-height: 32px;
}


.category-card h3:before {
  content: "";
  padding-right: 10px;
  display: inline-block;
  height: 15px;
  width: 31px ;
  background: url(https://libreriantiquaria.com/wp-content/uploads/2025/11/maniculae.png) no-repeat center;
  background-size: contain;
}

.gdlr-top-bar-login-wrapper input[type="submit"]{font-weight:bold!important;}

html .woocommerce span.onsale,
html .woocommerce-page span.onsale{
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2)!important;
  padding: 2px 12px:!important;
}

.gdlr-top-bar-login-wrapper{font-size:14px;}

table.wishlist_table thead th, table.wishlist_table tbody td {border: none!important;}

.wishlist_table thead tr th{background: #881010!important;}
.wishlist-title-container,
.wishlist-title h2{padding: 0!important; margin: 0!important; vertical-align:top; height:auto!important;}


html .woocommerce ul.products li.product .onsale, html .woocommerce-page ul.products li.product .onsale,
.woocommerce ul.products li.product .onsale,
html .woocommerce span.onsale, html .woocommerce-page span.onsale {
  border-radius: 4px!important;
padding:5px!important;
}


.gdlr-item-start-content{padding-top:5px!important;}

html input[type="submit"] {
  background-color: #881010;
border-radius:4px;
}

.woocommerce-breadcrumbs{display:none;}
.breadcrumbs a{color: black;}
.breadcrumbs a:hover{color: #881010;}
.breadcrumbs{padding-top: 15px;}
.breadcrumbs .fa-chevron-right{font-size: 12px; margin-left:2px;}

.category-card h3{margin: 0px; text-transform: uppercase!important;}

#maniculae{padding-top: 25px;}
#maniculae .four .gdlr-image-link-shortcode{margin-right: 10px;}

#maniculae{ background-color: #fef9f0!important; padding: 25px;}
#maniculae .eight p{font-size:80px!important; line-height:80px; color: #b1aca3;}


.gdlr-fixed-header #gdlr-menu-search {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}


.gdlr-right-sidebar .sidebar-right-item{
  background: #fef7e9!important;
  margin-top:30px;
}

.gdlr-sidebar .gdlr-widget-title{
  color:black!important;
  letter-spacing: 1px;
}
.gdlr-sidebar .gdlr-widget-title:first-letter{font-size: 1.1em;}

.woocommerce .gdlr-item-start-content.sidebar-right-item,
.woocommerce-page .gdlr-item-start-content.sidebar-right-item,
.woocommerce .gdlr-item-start-content.sidebar-left-item,
.woocommerce-page .gdlr-item-start-content.sidebar-left-item{
  padding-top: 20px!important;
}


.widget_product_categories{margin-bottom: 0!important;}


.woocommerce ul.product-categories li::before,
.woocommerce-page ul.product-categories li::before{border: none!important;}


.woocommerce ul.product-categories li,
.woocommerce-page ul.product-categories li{border-color: #fff;}

.woocommerce ul.product-categories li:last-child,
.woocommerce-page ul.product-categories li:last-child {
    border: none;
}

#rondine{margin-bottom: -10px!important;}

.gdlr-right-sidebar .bottone-ricerca{
  margin: 5px 0;
  background: #881010; color:white;
  padding:5px; border:none;
border-radius:4px;}

.children .cat-item{padding: 2px 0 5px 0!important;}
.children .cat-item:before{display: none!important;}
.children{margin-left: 5px!important;}

.woocommerce ul.product-categories .children li,
.woocommerce-page ul.product-categories .children li{margin-bottom: 5px!important;}


.home #content-section-3 .gdlr-color-wrapper:after,
.home #content-section-6 .gdlr-color-wrapper:after{
  content: "";
  position: absolute;
  bottom: 25px; /* distanza dall'alto */
  left: 50%;
  transform: translateX(-50%);
  width: 100px; /* PUOI MODIFICARE */
  height: 30px;
  background-color: #E5DCC9; /* colore desiderato */
  mask-image: url('https://libreriantiquaria.com/wp-content/uploads/2025/11/giglio.png');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

#ricercaa ul,
#ricercat ul{margin-top: 15px!important;
}
#logo-footer{max-width: 300px; margin-bottom:40px;}


.gdlr-header-inner, .header-style-transparent .gdlr-fixed-header .gdlr-header-inner {
  background: #fff!important;
}

.gdlr-top-woocommerce-wrapper::before {
  visibility: hidden;
}

.gdlr-top-woocommerce-button img{margin-bottom: -2px!important;}


.bottone-ricerca,
.page-not-found-search .gdl-search-form input[type="submit"],
.gdl-search-form input[type="submit"] {
  background-image: url('https://libreriantiquaria.com/wp-content/themes/libreria-antiquaria-giulio-cesare/img/lente.png')!important;
}


.top-navigation-wrapper a:hover,
.social-icon a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}
.social-icon img{padding-left: 4px!important;}

#gdlr-menu-search-button{width: 40px; 
	transform: scaleX(-1);
	transform-origin: center;
 	margin-top: -20px!important;
	opacity: 0.5;
}
#gdlr-menu-search-button:hover{opacity: 1;}

.gdlr-logo:not(.gdlr-fixed-header) {
    margin-top: 27px!important;
}

.page-not-found-icon img{filter: invert(100%); height:150px;}

h5{font-size: 30px!important;}
.gdlr-item-title-wrapper .gdlr-item-title:first-letter{font-size: 1.1em;}
.gdlr-item-title-wrapper .gdlr-item-title{letter-spacing: 1px!important;}

.gdl-search-form input,
html input[type="text"], html input[type="email"], html input[type="password"], html textarea {
  background-color: #f3f3f3!important; border: none!important;
}

.top-navigation-wrapper, .gdlr-top-woocommerce-inner{background: #881010!important;}
.gdlr-header-wrapper:not(.gdlr-fixed-header) .gdlr-navigation-wrapper .gdlr-main-menu > li{padding-top:21px!important;}

html .gdlr-header-wrapper.gdlr-fixed-header #gdlr-navigation-gimmick{bottom:35px!important;}

.gdlr-top-woocommerce-inner .gdlr-checkout-button,
.gdlr-top-woocommerce-inner .gdlr-cart-button{border: 1px solid white; border-radius:4px;}


.woocommerce-page input.button:hover{background: black!important;}
.woocommerce-page input.button{border-bottom: 0!important;}


.gdlr-header-container #gdlr-menu-search {
  width: calc(100% - 40px) !important;
  background: white;
}

.gdlr-header-container 
.search-text input[type="text"] {
  background: none !important;
  width: 100% !important;
  color: #666 !important;
}


#user_login, #user_pass{background: #f3f3f3;border-radius:4px;}
#wp-submit{background: #881010; letter-spacing:0;}
html .gdlr-top-bar-login-wrapper a, html .gdlr-top-bar-login-wrapper a:hover{color: black!important;}


#gdlr-navigation-gimmick{bottom: 40px; background: #881010; height: 1px;}
.gdlr-header-wrapper.gdlr-fixed-header #gdlr-navigation-gimmick{bottom: 29px!important;}

.gdlr-navigation-wrapper .gdlr-main-menu > li{padding-top: 9px!important;}
.gdlr-navigation-wrapper .gdlr-main-menu > li > a {
  font-style: normal!important;
}

html .top-navigation-wrapper{background: #881010;}
html .top-navigation-wrapper a{color: white;}
html .gdlr-top-bar-login-wrapper{background: #fff; border:none!important;}
html .gdlr-top-bar-login-wrapper img{width: 30px;}

html .gdlr-top-bar-login-wrapper img {
  width: 30px;
  margin-right: 8px;
  margin-top: -5px;
}


.gdlr-header-wrapper.gdlr-fixed-header{box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);}


.gdlr-menu-search-button-sep{ display: none; }

.manicula{
  font-size: 31px;   /* pił grande */
  color: #881010; /* colore */
  display: inline-block;
}

.ricercatore{
	border-radius:3px;
	font-size: 13px;
	width: 100%!important;
	padding: 15px!important;
	background: #f3f3f3!important;
}

.home .bottone-ricerca{color: transparent;
	position: absolute;
right:28px;
top:34px;
  cursor: pointer;
  display: block;
  width: 30px;
  height: 30px;
  padding: 0px;
  background-position: center center;
  background-size: 16px 16px;
  background-image: url('https://libreriantiquaria.com/wp-content/themes/theluxury/images/dark/icon-search@2x.png');
  background-repeat: no-repeat;
  background-color:transparent;
  border: none;
}

.contenuta {
  width: calc(100% - 30px);
}


.cataloghi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* massimo 4 elementi */
    gap: 40px;
    align-items: start;
}

.catalogo-item img {
    width: 100%;
    height: auto;
    display: block;
}

.catalogo-titolo {
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}

/* Se ci sono solo 3 cataloghi, il grid si adatta */
.cataloghi-row:has(.catalogo-item:nth-child(3)):not(:has(.catalogo-item:nth-child(4))) {
    grid-template-columns: repeat(3, 1fr);
}



.footer-column {
  z-index: 2;
}
.footer-column a{color: #881010!important;}


/* Responsivo */
@media (max-width: 1024px) {
    .cataloghi-row {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Desktop */
@media (min-width: 768px){


.home .breadcrumbs{visibility: hidden;}

.solomobile,
.astm-search-menu {
  display: none!important;
}


.ricercabtn{text-align:right;}

.catalibro{width: 340px; margin-top:-20px!important;}


#fixa{width: 530px!important;}
#fixa .woocommerce-product-gallery--with-images{width: 100%!important;}

.footer-column{text-align:center;}
#footer-widget-1{text-align: left;}
#footer-widget-3{text-align: right;}

.home #content-section-1 .gdlr-full-size-wrapper,
.gdlr-page-title-wrapper{
margin-top:60px;
}

	.adue {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
    .cataloghi-row {
        grid-template-columns: repeat(2, 1fr);
    }


.atre {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }



/*
.copyright-container:before{
  content: "";
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 600; 
  
  background-color: #f6eede;

  mask-image: url('https://libreriantiquaria.com/wp-content/uploads/2025/11/giuliocesare-scaled.png');
  mask-size: 100% auto; 
  mask-repeat: no-repeat;
  mask-position: bottom center;
}
*/

.simobile{display: none!important;}
}


/* Mobile */
@media (max-width: 768px){


.mobile-only-search form {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    gap: 0px;
    box-sizing: border-box;
	padding: 0 20px 20px 20px;
}

.mobile-only-search .search-text {
    flex: 1 1 auto !important;
    min-width: 0;
    margin: 0 !important;
}

.mobile-only-search .search-text input[type="text"],
.mobile-only-search input[type="text"] {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  background: white!important;
  font-size:16px;
}

html .mobile-only-search input[type="submit"] {
    flex: 0 0 80px !important;
  padding: 8px 6px;
    width: 80px !important;
    min-width: 80px !important;
height: 100%!important;
min-height: 100%!important;
    margin: 0 0 0 auto !important;
    box-sizing: border-box;
  border-radius:0!important;
}


.search-results-links img{padding-left:0!important;}

.gdlr-top-woocommerce{
top: 82px;
}

.registrazio{display: none!important;}

html .astm-search-menu .is-form-style input.is-search-input{
  border-color: #2a2a2a!important;
  font-size: 16px!important;
  line-height: 20px!important;
  font-weight: 300!important;
  color: #2a2a2a!important;
}

html  body .astm-search-menu .is-form-style input.is-search-input{padding: 20px!important;}

html .is-form-style input.is-search-submit{
  border: none!important;
  background: #881010!important;
text-transform: uppercase!important;
  color: white!important;
height: 40px!important;
top: 1px!important;  
}



html .astm-search-menu .is-form-style input.is-search-input{
  border-color: #2a2a2a!important;
  padding: 15px 20px!important;
  font-size: 16px!important;
  line-height: 20px!important;
  font-weight: 300!important;
  color: #2a2a2a!important;
}

html .astm-search-menu .is-form-style input.is-search-submit{background: red!importantM}


.home .breadcrumbs{display: none;}
.home .content-wrapper > div:nth-child(1) > div:nth-child(1){display: none;}


.risultati-ricerca-settoriale{margin-top: 40px;}

.top-social-wrapper{padding-top: 7px!important;}
.gdlr-top-woocommerce-button{position: absolute; right: 18px; margin-top:0px!important;}


html .gdlr-logo:not(.gdlr-fixed-header) {
  margin-top: 0px !important;
}

.gdlr-top-bar-login-wrapper{margin-left:0;}

.dl-menuwrapper > .dl-menu, .dl-menuwrapper > .dl-submenu{width: 100%!important;}
#menumob{position: absolute; right: -5px; top: 50px; z-index:99;}
.dl-trigger{display: none!important;}

.dl-menuwrapper > .dl-menu, .dl-menuwrapper > .dl-submenu{width:100%!important;}

html body .gdlr-logo {
margin: 0px 20px!important;
    max-width: calc(100% - 40px)!important;
  text-align: left;
  }

/*
html body .gdlr-logo img{width: 250px;}
.gdlr-top-woocommerce-button{position: fixed; top: 0; right: 0; width:50px; height:50px; background: black;}
*/

html .gdlr-top-bar-login-wrapper .gdlr-top-bar-login #user_login,
html .gdlr-top-bar-login-wrapper .gdlr-top-bar-login #user_pass{
  width: calc(100% - 24px);
}

html .gdlr-top-bar-login-wrapper .gdlr-top-bar-login {
  margin-left: 0px;
  position: absolute;
  padding: 30px 30px 10px;
  width: calc(100% - 100px);
}


#nav-icon3 {
  width: 60px;
  height: 40px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon3 span{
  display: block;
  position: absolute;
  height: 3px;
  width: 55%;
  background: black;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}


/* Icon 3 */

#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 10px;
}

#nav-icon3 span:nth-child(4) {
  top: 20px;
}

#nav-icon3.open span:nth-child(1) {
  top: 20px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}








#intro img{padding-bottom: 30px;}

.copyright-right, .copyright-left{display:block; width:100%;}
.copyright-right{float:none;}

.nomobile{display: none!important;}

.top-navigation-left{text-align: left;} 
.top-navigation-left-text{width: 100%; text-align: center;}

/* .gdlr-top-bar-login-wrapper {
  float: none !important;
  margin-left: 0;
display: inline-block;
width: 100%;
} */



}


/* Mobile piccolo */
@media (max-width: 480px) {
    .cataloghi-row {
        grid-template-columns: 1fr;
    }
}
