/*
Theme Name: Creatif per Cuffy
Theme URI: https://creatif.it
Description: cuffycaps.it   
Author: Creatif.it
Author URI: https://creatif.it
Template: elessi-theme
Version: 1.0
*/


.nasa-cat-thumb.text-center.nasa-transition {
    border: 1px dashed #bdbdbd;
    border-radius: 50%;
    padding: 10px;
  }

  .nasa-category-horizontal-4 .nasa-cat-thumb img {
    border-radius: 50% !important;
  }

.nasa-category-horizontal-4 .nasa-cat-title {
  font-size: 1rem;
  color: #000 !important;
  padding: 0.3rem 1rem;
  margin-top: 2px !important;
}

  table.nasa-info-size-guide td {
    text-align: left !important;
    padding: 1rem !important;
  }

  .nasa-add-to-cart-fixed .wapf {
    display: none;
  }

.product-info .variations .label {
  display: block;
  width: 100%;
  vertical-align: top;
  padding: 0px 0 3px 0;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: #b02e25;
  text-transform: initial;
}

.product-info .variations label {
  font-weight: 700;
  font-size: 85%;
  margin: 0;
  color: #535353;
  text-transform: capitalize;
  letter-spacing: 0;
  cursor: default;
}

.main-img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
  max-height: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}


.nasa-show-one-line {
  overflow: auto !important;
  white-space: normal !important;
  text-overflow: unset !important;
  min-height: 2rem !important;
}
#nasa-popup {
    background-size: contain !important;
}

@media only screen and (max-width: 767px) {
  #nasa-popup {
  background: #eaeaea !important;
}
}
.coupon10 {
    padding: 1rem;
    color: #000;
    font-weight: 700;
    border: 2px dashed #000;
    margin: 1rem;
    font-size: 1.3rem;
}

.nasa-first-breadcrumb {
  background: #f5f5f5;
  display: block;
  max-width: 400px;
  text-align: center;
  margin: 0 auto;
}

.breadcrumb a {
  color: inherit;
  text-decoration: underline;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.87rem;
  background: #f5f5f5;
}




/* =========================================
   PULSANTE WHATSAPP
   ========================================= */

.custom-whatsapp-button {
    position: fixed;
    left: 25px;
    right: auto;
    bottom: 25px;

    /*
     * Sopra al contenuto normale,
     * sotto popup, carrello, quick view e utility.
     */
    z-index: 99;

    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 11px;

    /*
     * Verde più scuro e contrastato
     */
    background-color: #128C4A !important;
    color: #ffffff !important;

    padding: 14px 20px;

    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50px;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;

    text-decoration: none !important;

    /*
     * Ombra più decisa per separarlo
     * dallo sfondo della pagina
     */
    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.28),
        0 2px 5px rgba(0, 0, 0, 0.18);

    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;

    /*
     * Piccolo richiamo visivo periodico
     */
    animation: whatsapp-attention 5s ease-in-out infinite;
}


/* =========================================
   TESTO
   ========================================= */

.custom-whatsapp-button span {
    color: #ffffff !important;
}

.custom-whatsapp-button strong {
    color: #ffffff !important;
    font-weight: 800;
}


/* =========================================
   ICONA WHATSAPP
   ========================================= */

.custom-whatsapp-icon {
    display: block;

    width: 28px;
    height: 28px;

    min-width: 28px;
    flex: 0 0 28px;

    color: #ffffff !important;
}


/* =========================================
   HOVER / FOCUS
   ========================================= */

.custom-whatsapp-button:hover,
.custom-whatsapp-button:focus {
    /*
     * Verde WhatsApp scuro
     */
    background-color: #075E36 !important;
    color: #ffffff !important;

    text-decoration: none !important;

    animation-play-state: paused;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.32),
        0 3px 7px rgba(0, 0, 0, 0.20);
}


/* =========================================
   ANIMAZIONE
   Piccolo doppio movimento ogni 5 secondi
   ========================================= */

@keyframes whatsapp-attention {

    0%,
    82%,
    100% {
        transform: translateY(0);
    }

    86% {
        transform: translateY(-5px);
    }

    90% {
        transform: translateY(0);
    }

    94% {
        transform: translateY(-3px);
    }

    98% {
        transform: translateY(0);
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media only screen and (max-width: 767px) {

    .custom-whatsapp-button {
        /*
         * Posizionato sopra la navigation
         * inferiore mobile di Elessi.
         */
        left: 15px;
        right: auto;
        bottom: 85px;

        padding: 12px 16px;
        gap: 8px;

        font-size: 14px;
        font-weight: 600;

        /*
         * Sotto ai pannelli del tema.
         */
        z-index: 99;

        /*
         * Su mobile ombra leggermente
         * più evidente.
         */
        box-shadow:
            0 5px 16px rgba(0, 0, 0, 0.30),
            0 2px 5px rgba(0, 0, 0, 0.18);
    }

    .custom-whatsapp-icon {
        width: 25px;
        height: 25px;

        min-width: 25px;
        flex: 0 0 25px;
    }
}


/* =========================================
   ACCESSIBILITÀ
   Rispetta l'impostazione "Riduci movimento"
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .custom-whatsapp-button {
        animation: none;
    }
}