/* ==================== */
/* TYPOGRAPHY */
/* ==================== */

h1 {
    font-family: 'Cormorant Garamond Light', serif;
}

h2, h3, h4, h5, h6, p, span, div {
    font-family: 'Jost', serif;
}

div {
    font-weight: 300;
}

strong {
    font-weight: 300;
}

.vi-wpvs-label-selected  {
    font-weight: 400;
	font-size: 0.8em;
}

b,
strong {
    font-weight: 500;
}

/* Colore mobile per schermi con larghezza ≤767px for the font in Elementor*/
@media only screen and (max-width: 767px) {
  .home-text-color-homebeauty,
  .home-text-color-dammos {
    color: #ffffff !important;
  }
}


.elementor-element-1a378e0.jet-sticky-section--stuck {
    height: auto !important;
}

/* ==================== */
/* Link Style Remove underline when not necessary  */
/* ==================== */

.jet-nav .menu-item-link,
.elementor-button,
.elementor-heading-title a,
.mobile-link,
.wc-block-components-button {
    text-decoration: none !important;
}

/* ==================== */
/* Solve the horizontal scroll on mobile  */
/* ==================== */

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        overflow-x: clip;
        max-width: 100vw;
    }
}

/* ==================== */
/* FOCUS STATES */
/* ==================== */

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* I pulsanti mostrano il bordo di focus solo con la tastiera */
button:focus:not(:focus-visible) {
    outline: none;
}

#search-input-87e8b25:focus::placeholder {
    opacity: 0;
}

input[type="number"]:focus {
    box-shadow: none;
}

/* ==================== */
/* Appointment PREV NEXT full width */
/* ==================== */

.jet-form-builder__next-page-wrap .jet-form-builder__prev-page,
.jet-form-builder__next-page-wrap .jet-form-builder__next-page,
.jet-form-builder-row.field-type-submit-field .jet-form-builder__action-button {
    width: 100%;
}

/* ==================== */
/* FREE SHIPPING PROGRESS BAR */
/* ==================== */


progress[value] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 100% !important;
    height: 5px !important;
    margin: 10px 0 !important;
    border-radius: 10em !important;
    background-color: #f0e0da !important;
    border: none !important;
}

/* WebKit browsers (Chrome, Safari) */
progress[value]::-webkit-progress-bar {
    background-color: #f0e0da !important;
    border-radius: 10em !important;
}

progress[value]::-webkit-progress-value {
    background-color: #e5cec4 !important;
    border-radius: 10em !important;
}

/* Firefox */
progress[value]::-moz-progress-bar {
    background-color: #e5cec4 !important;
    border-radius: 10em !important;
}

/* ==================== */
/* Jetmenu Megamenu Overlay Blur when megamenu is turned on ( <div class="jetmenu-global-overlay"></div> code insered in the WPCODE BODY ) */
/* ==================== */

/* -------------------------------------------------- */
/* 1) Overlay full-page: inizialmente INVISIBILE e NON cliccabile */
.jetmenu-global-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(200, 200, 200, 0.3);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease 0.1s, visibility 0s linear 0.3s;
  z-index: 998;
  pointer-events: none;
}

body:has(.jet-mega-menu-item--hover) .jetmenu-global-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease 0.1s, visibility 0s linear 0s;
  pointer-events: auto;
}

/* -------------------------------------------------- */
/* 3) Facciamo sì che il contenuto del mega-menu stia sempre SOPRA l’overlay */
.jet-mega-menu-item .jet-mega-menu-content {
  position: absolute; /* di solito lo è già */
  z-index: 999;       /* almeno 1 punto sopra l’overlay (998) */
}

/* -------------------------------------------------- */
/* 4) Per sicurezza: l’HEADER (contenitore JetHeader) deve avere z-index > 998,
     così rimane “in primo piano” sopra l’overlay */
#jet-theme-core-header {
  position: relative; /* se non ce l’ha già */
  z-index: 998;      /* basta un valore maggiore di 998 */
}

/* ==================== */
/* Mini cart woocommerce style modificato */
/* ==================== */

.single_add_to_cart_button.dammos-loading {
    opacity: 0.6 !important;
    cursor: wait !important;
    pointer-events: none !important;
    transition: opacity 0.2s;
}

/* Nascondi icona SVG default del Mini Cart */
.wc-block-mini-cart__button .wc-block-mini-cart__icon {
  display: none !important;
}

/* Layout inline: icona + badge affiancati */
.wc-block-mini-cart__button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: none !important;
  padding: 8px !important;
}

/* Icona custom */
.wc-block-mini-cart__button::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 26px;
  background-image: url('https://www.dammos.com/wp-content/uploads/2023/01/cart.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: brightness(0);
  flex-shrink: 0;
}

/* Badge inline accanto all'icona */
.wc-block-mini-cart__badge {
  background-color: #ffa177 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
}



/* ==================== */
/* FORM ELEMENTS */
/* ==================== */


/* Stili per JetFormBuilder (esistenti) */
.jet-form-builder__field-label.for-checkbox:hover span::before {
    border-color: #e5e5e5 !important;
}

.jet-form-builder__field.checkboxes-field:checked + span::before {
    background-color: #252525 !important;
    border-color: #252525 !important;

}

.field-type-checkbox-field .jet-form-builder__field-label.for-checkbox :not(:disabled):not(:checked):hover + span::before {
    border-color: #252525 !important;

}

/* Stili per Mailster checkbox */
.mailster-form input[type="checkbox"]:checked {
    accent-color: #252525 !important;
}

/* ==================== */
/* CHECKBOX STYLE CHANGE GLOBAL */
/* ==================== */

/* Reset stile checkbox di default - TUTTE le checkbox */
input[type="checkbox"]:not([class*="jet"]):not([data-filter]) {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #7A7A7A;
    border-radius: 0px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
    outline: none;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

/* Stato checked */
input[type="checkbox"]:checked:not([class*="jet"]):not([data-filter]) {
    background-color: #252525;
    border-color: #252525;
}

/* Icona checkmark */
input[type="checkbox"]:checked:not([class*="jet"]):not([data-filter])::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
}

/* Stato hover */
input[type="checkbox"]:hover:not([class*="jet"]):not([data-filter]) {
    border-color: #252525;
}


/* ==================== */
/* Translatepress language automatic switcher idebar (User Notification Popup) */
/* ==================== */

#trp_no_text_popup #trp_ald_no_text_popup_change_language {
    background: #252525 !important;
    background-color: #252525 !important;
    border-color: #252525 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    border-width: 0 !important;
    border-style: none !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#trp_no_text_popup #trp_ald_no_text_popup_change_language:hover {
    background: #ffb593 !important;
    background-color: #474747 !important;
    border-color: #ffb593 !important;
    color: #ffffff !important;
}
#trp_no_text_popup #trp_close::before {
    content: "" !important;
    background-image: url('https://www.dammos.com/wp-content/uploads/2025/08/x.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    display: block !important;
    width: 35px !important;
    height: 40px !important;
    font: none !important;
    color: transparent !important;
}

#trp_no_text_popup #trp_close {
    background: #252525 !important;
    border: none !important;
    cursor: pointer !important;
}

#trp_no_text_popup #trp_close:hover {
    background: #ffb593 !important;
}



/* ==================== */
/* LOGIN/RESET PASSWORD */
/* ==================== */
	
.forgot-button-state {
  width: 100%;
}

.back_reset_mail {
  width: 100%;
}

.forgot-button-state,
.back_reset_mail {
    background-color: white!important;
    color: black!important;
    padding: 0 !important;
    margin: 10px 0 !important;
}

.forgot-button-state:hover,
.back_reset_mail:hover {
    background-color: white!important;
    color: #ffa177;
}

/* ==================== */
/* AUTH LINKS */
/* ==================== */

.jet-auth-links__item {
    display: flex;
    align-items: center;
}

/* ==================== */
/* WOOCOMMERCE GENERAL */
/* ==================== */

/* Notices */

.wc-block-components-notice-banner.is-info {
    background-color: #fff6f1 !important;
    border-color: #ffa177 !important;
}

.wc-block-components-notice-banner.is-info > svg {
    background-color: #ffa177 !important;
}

/* Archive Products */
.woocommerce ul.products li.product .price {
    color: #000;
    display: block;
    font-weight: 300;
    margin-bottom: 0;
    font-size: 15px;
}

.vari-swatch {
    height: 110px;
    overflow: hidden;
    padding-top: 110px;
    transition-duration: 0.4s;
}

.product-archive:hover .vari-swatch {
    padding-top: 0;
}

.vi-wpvs-variation-style {
    text-align: left !important;
	  margin-bottom: 0px;
}

/* ==================== */
/* Hide VIEWED button TAG if im in the popup */
/* ==================== */

.recently-viewed-popup .jet-badge-viewed {
  display: none !important;
}



/* ==================== */
/* MOBILE CART STYLE  */
/* ==================== */



@media (max-width: 768px) {

    /* ── CART TABLE ── */
    .shop_table thead {
        display: none;
    }

    .shop_table tr {
        display: block;
        border-bottom: 1px solid #eee;
        padding: 16px 0;
        text-align: center;
    }

    .shop_table td {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 4px 0;
        border: none;
    }

    .shop_table td.product-remove::before,
    .shop_table td.product-thumbnail::before {
        display: none;
    }

    .shop_table td.product-thumbnail {
        justify-content: center;
    }

    .shop_table td.product-name {
        flex-direction: column;
        align-items: center;
    }

    /* ── CART TOTALS CONTAINER ── */
    .elementor-element-2cefcb0,
    .elementor-element-cf791f4,
    .elementor-jet-cart-totals,
    .cart_totals {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        padding: 0 !important;
    }

    /* ── CART TOTALS RIGHE ── */
    .cart_totals .shop_table {
        width: 100% !important;
    }

    .cart_totals .shop_table tr {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
        padding: 10px 16px !important;
    }

    .cart_totals .shop_table th {
        font-weight: 600;
        border: none;
        padding: 0;
        flex-shrink: 0;
    }

    .cart_totals .shop_table td {
        display: block !important;
        text-align: right !important;
        padding: 0 !important;
        justify-content: flex-end !important;
    }

    .cart_totals .shop_table td::before {
        display: none !important;
    }

    .cart_totals .shop_table td small.includes_tax {
        display: block;
        font-size: 0.8em;
        color: #888;
    }
    .shop_table td.product-price {
        display: none !important;
    }

}











/* ==================== */
/* MY ACCOUNT SECTIONS */
/* ==================== */

/* Address */
.woocommerce-customer-details {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

.woocommerce-column__title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

address {
    font-style: normal;
    line-height: 1.6;
    text-align: center;
    background-color: white;
    padding: 10px;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    margin: 10px 0;
    font-size: 16px;
    color: #555;
}

.woocommerce-customer-details--email {
    color: #ffa177;
}

/* Edit Address */
.woocommerce-address-fields {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

.elementor-jet-myaccount-content > form:nth-child(2) > h2:nth-child(1) {
    font-size: 30px;
    font-weight: 200;
}

/* ==================== */
/* SPINNER Bodo (see also PHP) */
/* ==================== */

.jsf_provider-preloader {
    display: none !important;
}

/* Nascondi il tuo loader personalizzato di default */
#loading-bodo {
    display: none;
}

/* Mostra il loader quando aggiungiamo la classe custom */
body.dammos-loading #loading-bodo,
.dammos-loading #loading-bodo {
    display: block !important;
}


/* ==================== */
/* SPINNER Circle when select filter Shop-page */
/* ==================== */
/*

/* Il tuo spinner che ti piaceva 
.custom-loader {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Animazione del tuo spinner 
.custom-loader .spinner {
    width: 60px;
    height: 60px;
    border: 1px solid #f3f3f3;
    border-top: 1px solid #000000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Overlay durante il filtering 
.custom-loader.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: -1;
}
*/
/* ==================== */
/* Loading white placeholder specially in the shop home page, connected to lazy load litespeed */
/* ==================== */

/* Rimuove il background nero dal placeholder lazy-loaded */
img.attachment-medium_large,
img[loading="lazy"] {
  background-color: white !important;
  background-image: none !important;
}


/* ==================== */
/* MINI-CART */
/* ==================== */

body.page-template-default .jet-blocks-cart__list .woocommerce-mini-cart-item.mini_cart_item .quantity {
    display: block;
}

.jet-blocks-cart:not(.jet-cart-open) .jet-blocks-cart__list {
    box-shadow: none !important;
}

/* ==================== */
/* SOCIAL LOGIN */
/* ==================== */

.nsl-container h2 {
    font-size: 35px;
    font-weight: 200;
    text-align: left;
    letter-spacing: 0px;
}

/* ==================== */
/* APPOINTMENT PROVIDER */
/* ==================== */

.jet-form-builder__field-template--checked {
    border: 1px solid #252525;
}


.jet-apb-appointments-item .jet-apb-item-service-provider {
  font-weight: 500!important;
}

.jet-apb-calendar-wrapper .jet-apb-calendar-appointments-list-wrapper {
  font-size: 0.9em;
}

.jet-apb-appointments-item {
  margin-bottom: 0px!important;
}

/* ==================== */
/* CAROUSEL */
/* ==================== */

div.slick-slider > div > div > div.jet-carousel__item > div.jet-carousel__item-inner {
    display: flex;
}

div.slick-slider > div > div > div.jet-carousel__item > div > a.jet-carousel__item-link {
    order: 2;
    width: 70%;
}

div.slick-slider > div > div > div.jet-carousel__item > div > div.jet-carousel__content {
    order: 1;
    width: 90%;
    margin-top: 15%;
}

/* ==================== */
/* CROCBLOCK FIXES */
/* ==================== */

.jet-mega-menu-item:not(.jet-mega-menu-item--hover) .jet-woo-product-thumbnail {
    opacity: 0;
}

.jet-woo-builder-product .jet-woo-builder-archive-add-to-cart a {
    margin-top: 0 !important;
}

.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-mega-container__inner {
    padding: 0;
}

/* ==================== */
/* PAGE-SPECIFIC */
/* ==================== */

.page-id-1051 .woocommerce-reward-points-text-container.woocommerce-reward-points-text-checkout {
    max-width: 900px;
    margin: 0 auto;
}
/* ==================== */
/* Stile per la popup reward points questions - Con larghezza fissa */
/* ==================== */


/* FORM CONTAINER - Larghezza fissa per allineamento preciso */
.woocommerce-reward-points-popup {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

/* TEXTAREA/INPUT - Stili base comuni */
.woocommerce-reward-points-question-form-question,
.woocommerce-reward-points-question-form-answer {
    font-family: var(--input-font);
    font-size: 0.9rem !important;
    font-weight: var(--input-font-weight) !important;
    border-radius: var(--input-radius);
    width: 100%;
}

/* Textarea risposta - padding maggiore per comodità di scrittura */
.woocommerce-reward-points-question-form-answer {
    padding: 12px 15px !important;
    min-height: 80px;
	border: 1px solid !important;
}

/* BUTTON - Con larghezza forzata uguale agli input */
.woocommerce-reward-points-popup .woocommerce-reward-points-question-form .woocommerce-reward-points-question-form-button,
.woocommerce-reward-points-question-form-button.btn.btn-primary.button {
    margin-top: 10px;

}


/* Reset per evitare conflitti */
.woocommerce-reward-points-popup * {
    box-sizing: border-box;
}



/* ==================== */
/* MOBILE STYLES */
/* ==================== */


/* "x" for the closing dropdown menu adding circle black and padding */
/* Approccio alternativo - stile base per tutti i pulsanti back */
.jet-mobile-menu__back {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 8px;
    padding: 8px;
}

/* Solo per la X di chiusura (senza span) - cerchio perfetto */
.jet-mobile-menu__back svg:only-child {
    background-color: #000000;
    border-radius: 50%;
    padding: 8px;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    box-sizing: border-box;
    display: block;
}


@media screen and (max-width: 768px) {
    .variation {
        align-items: center; /* Center-align horizontally */
    }

    .variation dt,
    .variation dd {
        display: inline-block; /* Make dt and dd inline */
        vertical-align: middle; /* Vertically align dt and dd */
        margin: 0px; /* Remove default margins */
    }

    .variation dt {
        font-weight: 400; /* Make labels bold */
        margin-right: 5px; /* Add spacing between dt and dd */
    }

    .variation dd p {
        margin: 0; /* Remove default margin for paragraphs */
    }

    .woocommerce .jet-woo-builder-layout-73584.products.jet-woo-builder-products--columns {
        padding-left: 0px;
    }
    
    .jet-woo-builder-single-ajax-add-to-cart {
        font-size: 13px;
    }
}

@media screen and (max-width: 531px) {
    div.slick-slider > div > div > div.jet-carousel__item > div.jet-carousel__item-inner {
        display: block;
    }

    div.slick-slider > div > div > div.jet-carousel__item > div > div.jet-carousel__content {
        width: 100%;
    }

    .slick-slide img {
        max-width: 70%;
    }
}


/* ==================== */
/* Friendly Captcha Style Change */
/* ==================== */

/* Container principale del captcha */
.captcha-token-container {
    margin: 20px 0;
}
.captcha-token-container--inner {
    position: relative;
    display: inline-block;
    width: 100%;
}
/* Container del captcha */
.frc-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.frc-container:hover {
    border-color: #F1D5C7;
    box-shadow: 0 4px 12px rgba(241, 213, 199, 0.4);
}
/* Icona dello scudo */
.frc-icon {
    flex-shrink: 0;
    fill: #F1D5C7;
    transition: transform 0.3s ease;
    stroke-width: 0;
}
.frc-container:hover .frc-icon {
    transform: scale(1.1);
}
/* Contenuto testuale */
.frc-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}
.frc-text {
    font-size: 14px;
    font-weight: 400;
    color: #1f2937;
    line-height: 1.4;
}
/* Pulsante di verifica */
.frc-button {
    padding: 10px 18px;
    color: #000000 !important ;
    border: none;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-decoration: underline;
    background-color: #fff !important ;
}
.frc-button:hover {
    color: #F1D5C7;
    text-decoration: underline;
}
.frc-button:active {
    transform: translateY(0);
}
/* Banner Friendly Captcha */
.frc-banner {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #6b7280;
}
.frc-banner a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}
.frc-banner a:hover {
    color: #F1D5C7;
}
.frc-banner b {
    font-weight: 700;
}
/* Responsive */
@media (max-width: 480px) {
    .frc-container {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .frc-button {
        align-self: stretch;
        width: 100%;
    }
}
/* Stati del captcha */
.frc-container.frc-success {
    border-color: #10b981;
    background: #f0fdf4;
}
.frc-container.frc-success .frc-icon {
    fill: #10b981;
}
.frc-container.frc-error {
    border-color: #ef4444;
    background: #fef2f2;
}
.frc-container.frc-error .frc-icon {
    fill: #ef4444;
}
.frc-container.frc-loading .frc-button {
    background: transparent;
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
}

/* nasconde br e paragrafi vuoti aggiunti da wpautop dentro i form Mailster */
.mailster-form > br,
.mailster-form > p:empty {
    display: none;
    margin: 0;
}