.product-flags .product-flag {
  font-size: 14px;
  padding: 5px 7px 5px 7px;
} 
.test{}

.product-delivery {
    padding: 8px;
    border-radius: 10px;
    background: #f3f3f5;
    font-weight: 500;
}

 /* Floating Whatsapp icon AWM */
 #whatsapp-icon-btn {
    position: fixed;
    bottom: 90px;
    right: 4px;
    z-index: 9999;
    cursor: pointer;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
  }

  #whatsapp-icon-btn:hover {
    transform: scale(1.1);
  }

  #whatsapp-icon-btn svg {
    width: 64px;
    height: 64px;
  }

.out-of-stock-style.product-miniature .product-flags {
 margin-top: 100px;
}

.amega-menu .anav-top {
  justify-content: center;!important
}

.header-border {
  border-bottom: none;
  margin-bottom: 15px;
}

.an_productattributes-add-to-cart-btn {
  font-size: 13px;
}

.product-flags .product-flag.pack {
  display: none;
}

/* Backgroud for last menu item navbar "BLACK FRIDAY" AWM 
.amenu-item:last-child {
  background-color: #ff964a;
    padding: 0px 5px 0px 5px;
    border-radius: 5px;
}
*/
/* Icon for last menu item navbar "BLACK FRIDAY" AWM 
.amenu-item:nth-child(8) .amenu-link:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='black' d='M112 112V96a112 112 0 0 1 224 0v16h80a32 32 0 0 1 32 32v336a32 32 0 0 1-32 32H32a32 32 0 0 1-32-32V144a32 32 0 0 1 32-32h80zm48 0h128V96a64 64 0 1 0-128 0v16z'/%3E%3C/svg%3E");
}
*/

/* Hides only category block in Black Friday category */
.category-id-235 #left-column .block-categories {
    display: none !important;
}


/* Headline Rotante a Tre Colonne */
.rotating-headline-container {
    background: #ff9a52;
    color: white;
    padding: 12px 20px;
    position: relative;
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 100;
}

.rotating-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

/* Colonna sinistra */
.headline-left {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.headline-left svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Colonna centrale - messaggi rotanti */
.headline-center {
    position: relative;
    min-height: 24px;
    text-align: center;
    flex: 0 1 auto;
}

.headline-message {
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    transition: opacity 0.5s ease-in-out;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.headline-message.active {
    opacity: 1;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
}

/* Colonna destra */
.headline-right {
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 0px;
}

.headline-right .contact-line {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.headline-right svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.headline-right a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: border-color 0.3s ease;
}

.headline-right a:hover {
    border-bottom-color: white;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .rotating-headline-container {
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .rotating-headline {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        background: #ff9a52;
        justify-content: space-between;
        align-items: center;
    }

    /* Prima riga - elementi allineati ai bordi */
    .headline-left,
    .headline-right {
        flex: 0 0 auto;
        padding: 12px 8px;
    }

    .headline-left {
        order: 1;
        font-size: 11px;
    }

    .headline-left svg {
        width: 18px;
        height: 18px;
    }

    .headline-right {
        order: 2;
        margin-left: auto;
        font-size: 11px;
    }

    .headline-right svg {
        width: 13px;
        height: 13px;
    }

    /* Seconda riga - sfondo nero, attaccata alla prima */
    .headline-center {
        order: 3;
        flex: 1 1 100%;
        background: #000;
        padding: 12px 15px;
        text-align: center;
        position: static;
        min-height: auto;
        display: block;
        width: 100%;
    }

    .headline-message {
        font-size: 13px;
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        text-align: center;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        display: none;
    }

    .headline-message.active {
        position: static !important;
        opacity: 1;
        display: block;
    }
}

/* Responsive - Mobile piccolo */
@media (max-width: 576px) {
    .headline-left {
        font-size: 14px;
    }

    .headline-left svg {
        width: 16px;
        height: 16px;
    }

    .headline-right {
        font-size: 14px;
    }

    .headline-right svg {
        width: 11px;
        height: 11px;
    }

    .headline-message {
        font-size: 14px;
    }

    .rotating-headline-container {
        padding: 10px;
    }

    .rotating-headline {
        gap: 0px;
    }
}


/* AWM nuovo design prezzo scontato */
/* ========================================
   PRODUCT PRICES REDESIGN - Sconto Visibile
   ======================================== */

.product-prices-redesign .current-price {
    display: flex;
    flex-direction: column;
}

/* Wrapper per prezzi con sconto */
.product-prices-redesign .price-wrapper-discount {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border: solid orangered;
    border-radius: 10px;
}

/* Riga prezzo originale + badge sconto */
.product-prices-redesign .original-price-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Prezzo originale barrato */
.product-prices-redesign .regular-price {
    font-size: 18px !important;
    color: #999 !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
}

/* Badge sconto percentuale */
.product-prices-redesign .discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

/* Prezzo scontato grande */
.product-prices-redesign .discounted-price-line .price,
.product-prices-redesign .has-discount .discounted-price-line .price {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #e74c3c !important;
    line-height: 1.2;
}

/* Prezzo normale (senza sconto) */
.product-prices-redesign .price {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

/* Nascondi il vecchio blocco product-discount se presente */
.product-prices-redesign .product-discount {
    display: none !important;
}

/* Tax e shipping label */
.product-prices-redesign .tax-shipping-delivery-label {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

/* ========================================
   VARIANTE ALTERNATIVA - Design Card Style
   Decommentare se preferisci questo stile
   ======================================== */

/*
.product-prices-redesign .price-wrapper-discount {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border: 1px solid #ffcccc;
    border-left: 4px solid #e74c3c;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.product-prices-redesign .discount-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
}
*/

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .product-prices-redesign .discounted-price-line .price,
    .product-prices-redesign .has-discount .discounted-price-line .price {
        font-size: 26px !important;
    }
    
    .product-prices-redesign .regular-price {
        font-size: 16px !important;
    }
    
    .product-prices-redesign .discount-badge {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/* ========================================
   ANIMAZIONE OPZIONALE - Badge che pulsa
   Decommentare se vuoi l'effetto
   ======================================== */

/*
@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-prices-redesign .discount-badge {
    animation: pulse-badge 2s ease-in-out infinite;
}
*/