/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/



/* CSS FORM PERSONALIZZAZIONI */
.cf7-wrapper {
  width: 100%;
}

/* RIGHE */
.cf7-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

/* COLONNE */
.cf7-col {
  width: 50%;
}

.cf7-col-full {
  width: 100%;
}

/* INPUT & TEXTAREA */
.cf7-wrapper input[type="text"],
.cf7-wrapper input[type="email"],
.cf7-wrapper textarea {
  width: 100%;
  background: transparent;
  border: 2px solid #F7D3D3 !important;
  border-radius: 6px;
  padding: 18px 20px;
  font-size: 16px;
  color: #333;
  outline: none;
  box-sizing: border-box;
}

/* TEXTAREA */
.cf7-wrapper textarea {
  min-height: 260px;
  resize: vertical;
}

/* PLACEHOLDER */
.cf7-wrapper ::placeholder {
  color: #9b9b9b;
}

/* FOCUS */
.cf7-wrapper input:focus,
.cf7-wrapper textarea:focus {
  border-color: #F7D3D3;
  box-shadow: none;
}

/* PRIVACY */
.cf7-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  cursor: pointer;
}

.cf7-privacy input[type="checkbox"] {
  margin-top: 4px;
}

/* BOTTONE */
.cf7-wrapper input[type="submit"] {
  background-color: #F7D3D3 !important;
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* HOVER */
.cf7-wrapper input[type="submit"]:hover {
  background-color: #c4aeb3 !important;
}

.cf7-wrapper input[type="text"]:hover {
border: 2px solid #c4aeb3 !important;
}

.cf7-wrapper input[type="email"]:hover {
border: 2px solid #c4aeb3 !important;
}

.cf7-wrapper textarea:hover {
border: 2px solid #c4aeb3 !important;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .cf7-row {
    flex-direction: column;
  }

  .cf7-col {
    width: 100%;
  }
}


/* CENTRA ACCEPTANCE */
.cf7-privacy,
.wpcf7-form-control-wrap.acceptance-974 {
  display: flex;
  justify-content: center;
}

.cf7-privacy .wpcf7-list-item {
  margin: 0;
}

.cf7-privacy label {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* CENTRA BLOCCO SUBMIT */
.cf7-row:last-child {
  display: flex;
  justify-content: center;
}

/* SUBMIT FULL WIDTH */
.cf7-wrapper input[type="submit"] {
  width: 100%;
  max-width: 100%;
  display: block;
}

/* RIGA SUBMIT */
.cf7-row-submit {
  width: 100%;
}

/* CF7 WRAPPER INTERNI */
.cf7-row-submit p,
.cf7-row-submit .wpcf7-form-control-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* SUBMIT FULL WIDTH REALE */
.cf7-row-submit input[type="submit"] {
  width: 100% !important;
  display: block;
}
/* END CSS FORM PERSONALIZZAZIONI */



/* CSS FORM NEWSLETTER */
/* Wrapper */
.cf7-newsletter {
  max-width: 500px;
  margin: 0 auto;
}

/* Campi */
.cf7-newsletter-field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #000;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

/* Spazio tra i campi */
.cf7-newsletter-field {
  margin-bottom: 14px;
}

/* Privacy */
.cf7-newsletter-privacy {
  font-size: 14px;
  margin-bottom: 20px;
}

.cf7-newsletter-privacy input[type="checkbox"] {
  margin-right: 8px;
}

.cf7-newsletter-privacy a {
  text-decoration: underline;
  color: inherit;
}

/* Bottone */
.cf7-newsletter-submit input[type="submit"] {
  width: 100%;
  background: #000;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.wpcf7-submit {
  color: #000 !important;
}
.cf7-newsletter-submit input[type="submit"]:hover {
  opacity: 0.85;
}

.wpcf7-form p span {
    color: black !important;
}
/* END CSS FORM NEWSLETTER */

@media only screen and (min-width: 1000px) {
    .container, body[data-header-format="left-header"] .container, .woocommerce-tabs .full-width-content .tab-container, .nectar-recent-posts-slider .flickity-page-dots, .post-area.standard-minimal.full-width-content .post .inner-wrap, .material #search-outer #search {
        max-width: 1800px !important;
    }
}

/* Bottone "Personalizza" - solo bordo */
.cky-btn-customize {
    color: #222222 !important;
    border-color: #222222 !important;
    background-color: transparent !important;
}

.cky-btn-customize:hover {
    color: #ffffff !important;
    background-color: #222222 !important;
    border-color: #222222 !important;
}



/* Bottone "Rifiuta tutto" e "Accettare tutto" */
.cky-btn-reject,
.cky-btn-accept {
    color: #222222 !important;
    border-color: #F7D3D3 !important;
    background-color: #F7D3D3 !important;
}

.cky-btn-reject:hover,
.cky-btn-accept:hover {
    color: #222222 !important;
    border-color: #c4aeb3 !important;
    background-color: #c4aeb3 !important;
}

/* Bottone "Salva le mie preferenze" */
.cky-btn-preferences {
    color: #222222 !important;
    border-color: #F7D3D3 !important;
    background-color: #F7D3D3 !important;
}

.cky-btn-preferences:hover {
    color: #222222 !important;
    border-color: #c4aeb3 !important;
    background-color: #c4aeb3 !important;
}

/* Bottone revisit cookie */
.cky-btn-revisit-wrapper {
    background-color: #F7D3D3 !important;
}

/* === SFONDO DESKTOP === */
.ocm-effect-wrap-inner {
  background-image: url('https://lecastellaneceramiche.it/wp-content/uploads/2026/02/lecastellane-background-new2.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* === SFONDO MOBILE - target diretto sul body mobile === */
body.using-mobile-browser .ocm-effect-wrap-inner {
  background-attachment: scroll !important;
  background-size: 120% auto !important;
}

/* === TRASPARENZA LAYER INTERNI (solo quelli senza colore esplicito) === */
body,
#ajax-content-wrap,
.container-wrap,
.container.main-content {
  background: transparent !important;
  background-color: transparent !important;
}

/* === FIX FOOTER - NON toccare le row-bg con colore === */
/* Rimuovi background solo dalle row-bg completamente vuote */
.row-bg:not(.using-bg-color):not(.using-image) {
  background-image: none !important;
}
/* === MOBILE === */
@media (max-width: 1024px) {
  body.using-mobile-browser .ocm-effect-wrap-inner {
    background-attachment: scroll !important;
    background-size: 120% auto !important;
    background-repeat: repeat-y !important;
    background-position: center top !important;
  }
}

.onsale {
color: #222222 !important;
}

#breadcrumbs {
display: none !important;
}

.in-stock {
display: none !important;
}
/* Messaggi WooCommerce (es. "Non puoi aggiungere questo quantitativo...") */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
ul.woocommerce-error li,
.wc-block-components-notice-banner,
.wc-block-store-notice {
    color: #222222 !important;
}

/* Numero icona carrello - tema Salient */
#nectar-woo-cart .cart-wrap span,
.cart-wrap span,
#nectar-woo-cart span,
.nectar-woo-cart-link span {
    color: #222222 !important;
}

/* Bottone Aggiungi al carrello */
.single_add_to_cart_button,
button.single_add_to_cart_button,
a.add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button {
    color: #222222 !important;
}

/* Bottone Procedi al pagamento */
a.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button {
    color: #222222 !important;
}

/* Link lista desideri */
.yith-wcwl-add-to-wishlist-button__label,
a.yith-wcwl-add-to-wishlist-button--anchor {
    color: #222222 !important;
}

/* Link categorie prodotto */
.product_meta a,
.posted_in a {
    color: #222222 !important;
}