/* ===================================================================
   Amorebio Optimized CSS
   =================================================================== */

/* ===================================================================
   1. IMPORTS & ROOT VARIABLES
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --font-titoli: "Luna", sans-serif;
    --fontGlobale: "Montserrat", sans-serif;
    --colore-rosa: #f4abb9;
    --colorePrimario: #5F9F64;
    --coloreSecondario: #F7D565;
    --coloreAccento: #BED865;
        --colore-link: #7A7A7A;
}

/* ===================================================================
   2. GENERAL STYLES & UTILITIES
   =================================================================== */

body * {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.minHeight580 {
    min-height: 580px;
}

.bottoneSecondary a {
    transition: all 0.3s ease-in-out;
}

.bottoneSecondary:hover a,
button:hover{
    background-color: var(--colorePrimario) !important;
}  
.comments-area a, .page-content a {
    text-decoration: none !important;
}
/* ===================================================================
   3. TYPOGRAPHY
   =================================================================== */

.titoloCustom,
.titoloCustom * {
    font-family: var(--font-titoli) !important;
}

.titoloPagina {
    color: var(--colorePrimario) !important;
}

.related-products section.related > h2 {
    text-transform: capitalize !important;
    font-family: var(--font-titoli) !important;
    color: var(--colorePrimario) !important;
}

/* ===================================================================
   4. HEADER & ICONS
   =================================================================== */

.amorebio-icons-wrapper {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
    font-family: 'Segoe UI', sans-serif;
}

.amorebio-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.amorebio-icon-link:hover {
    color: var(--colorePrimario);
    transform: translateY(-2px);
}

.amorebio-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.cart-badge {
    position: absolute;
    top: -6px;
    left: 18px;
    background: var(--coloreSecondario);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 6px;
    border-radius: 999px;
    line-height: 1;
}

.icon-text {
    font-size: 14px;
}

#footerMobile .amorebio-icon-link {
    flex-direction: column;
}

/* ===================================================================
   4.1. CUSTOM MENU
   =================================================================== */
.custom-menu-wrapper {
    font-family: var(--fontGlobale);
    position: relative;
}

/* Desktop Menu Styles */
.custom-menu-desktop {
    display: block;
}

.custom-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.custom-menu-list li {
    position: relative;
    margin: 0;
}

.custom-menu-list a {
    color: var(--colore-link);
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 18px;
}

.custom-menu-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--coloreSecondario);
    transition: width 0.3s ease;
}

.custom-menu-list a:hover,
.custom-menu-list .current-menu-item > a,
.custom-menu-list .current-menu-parent > a {
    color: var(--coloreSecondario);
}

.custom-menu-list a:hover::after,
.custom-menu-list .current-menu-item > a::after,
.custom-menu-list .current-menu-parent > a::after {
    width: 100%;
}

/* Dropdown Menu */
.custom-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.custom-menu-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-menu-list .sub-menu a {
    padding: 8px 20px;
    display: block;
    font-size: 14px;
}

.custom-menu-list .sub-menu a::after {
    display: none;
}

/* Mobile Burger */
.mobile-burger {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
}
.mobile-burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%; 
    background: var(--colore-link);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.mobile-burger.active span {
    background: #fff !important;
}

.mobile-burger span:nth-child(1) {
    top: 0px;
}

.mobile-burger span:nth-child(2) {
    top: 10px;
}

.mobile-burger span:nth-child(3) {
    top: 20px;
}

.mobile-burger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-burger.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-burger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #36624E !important;
    z-index: 1000;
    display: none;
    color: #fff !important;
    overflow: hidden;
}

.mobile-menu-panel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #36624E !important;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.mobile-menu-panel.active {
    display: block;
}

.mobile-menu-panel.active::before {
    width: 300vmax;
    height: 300vmax;
}

.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
    z-index: 1;
}

.mobile-menu-panel.active .mobile-menu-content {
    opacity: 1;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--colore-link);
    cursor: pointer;
    transition: transform 0.3s ease;
    display: none;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: center;
}

.mobile-menu-list li {
    margin: 15px 0;
}

.mobile-menu-list a {
    color:  #fff !important;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.mobile-menu-list a:hover,
.mobile-menu-list .current-menu-item > a {
    color: var(--colorePrimario);
}

.mobile-menu-list .sub-menu {
    display: none;
}

/* Mobile Social Links */
.mobile-social-links {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.mobile-social-links a {
    color: #FFF;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--coloreSecondario);
}

.mobile-social-links a:hover {
    background: var(--colorePrimario);
    color: white;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .custom-menu-desktop {
        display: none;
    }
    
    .mobile-burger {
        display: block;
    }
}

/* ===================================================================
   5. CUSTOM SLIDER
   =================================================================== */

.custom-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.custom-slider-wrapper {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-slide {
    min-width: 100%;
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: start;
    overflow: hidden;
}

.custom-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 1;
}

.custom-slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 20s infinite;
}

.custom-slide-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.custom-slide-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-titoli) !important;
    line-height: 95px;
    animation: slideInLeft 1s ease-out;
}

.custom-slide-subtitle {
    font-size: 2rem;
    margin-bottom: 20px;
    animation: slideInRight 1s ease-out 0.2s both;
    font-weight: 800;
    color: var(--coloreSecondario);
}

.custom-slide-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--colorePrimario);
    color: white !important; /* important to override defaults */
    text-decoration: none;
    font-family: 'Oswald' !important;
    text-transform: uppercase !important;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-slide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background: var(--coloreSecondario);
    color: #FFF !important;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-arrow {
    display: none !important; /*Nascondo nav dello slide*/
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 3;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ===================================================================
   6. HOME - PRODUCTS CAROUSEL
   =================================================================== */

.amorebio-products-carousel-wrapper {
    margin: 3rem 0;
    position: relative;
}

.carousel-header {
    text-align: center;
    margin-bottom: 3rem;
}

.carousel-title {
    color: var(--colorePrimario, #579b58);
    font-family: var(--font-titoli, 'Poppins', sans-serif);
    font-size: 2.5rem;
    margin: 0 0 1rem;
    position: relative;
    display: inline-block;
}

.carousel-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--coloreAccento, #bcd757);
    border-radius: 2px;
}

.carousel-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.carousel-filter-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.carousel-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--colorePrimario, #579b58);
}

.carousel-filter-btn.active {
    background: var(--colorePrimario, #579b58);
    color: white;
    border-color: var(--colorePrimario, #579b58);
}

.carousel-filter-count {
    background: rgba(0,0,0,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.carousel-filter-btn.active .carousel-filter-count {
    background: rgba(255,255,255,0.2);
}

.carousel-loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.carousel-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.carousel-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--colorePrimario, #579b58);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.products-carousel {
    position: relative;
    padding: 0 50px;
}

.products-carousel .owl-stage-outer {
    padding: 1rem 0;
}

.carousel-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.carousel-product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.carousel-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-product-card:hover .carousel-product-image img {
    transform: scale(1.1);
}

.carousel-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-product-card:hover .carousel-image-overlay {
    opacity: 1;
}

.carousel-product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.carousel-badge {
    background: var(--colore-rosa, #f4abb9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-badge.new {
    background: var(--coloreAccento, #bcd757);
}

.carousel-product-actions {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.carousel-product-card:hover .carousel-product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.carousel-action-btn {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: #666;
    text-decoration: none;
}

.carousel-action-btn:hover {
    background: var(--colorePrimario, #579b58);
    color: white;
    transform: scale(1.1);
}

.carousel-product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.carousel-product-category {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    flex: 1;
}

.carousel-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-product-title a:hover {
    color: var(--colorePrimario, #579b58);
}

.carousel-product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.carousel-price {
    color: var(--colorePrimario, #579b58);
    font-size: 1.3rem;
    font-weight: 700;
}

.carousel-price del {
    color: #999;
    font-size: 1rem;
    font-weight: 400;
}

.carousel-price ins {
    text-decoration: none;
}

.carousel-add-to-cart {
    width: 100%;
    background: var(--colorePrimario, #579b58);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-top: auto;
}

.carousel-add-to-cart:hover {
    background: #4a8349;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87,155,88,0.3);
}

.carousel-add-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

.products-carousel .owl-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 92%;
    pointer-events: none;
}

.products-carousel .owl-nav button {
    position: absolute;
    background: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    pointer-events: all;
    border: 2px solid transparent;
}

.products-carousel .owl-nav button:hover {
    background: var(--colorePrimario) !important;
    color: white;
    transform: scale(1.1);
    border-color: var(--colorePrimario);
}

.products-carousel .owl-nav .owl-prev { left: -25px; }
.products-carousel .owl-nav .owl-next { right: -25px; }

.products-carousel .owl-nav button span {
    font-size: 1.5rem;
    line-height: 1;
}

.products-carousel .owl-dots {
    text-align: center;
    margin-top: 2rem;
}

.products-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.products-carousel .owl-dots .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    background: #e0e0e0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.products-carousel .owl-dots .owl-dot.active span,
.products-carousel .owl-dots .owl-dot:hover span {
    background: var(--colorePrimario, #579b58);
    transform: scale(1.2);
}

.carousel-no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 20px;
}

.carousel-no-products-icon {
    font-size: 4rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

/* ===================================================================
   7. WOOCOMMERCE - GENERAL & SHOP PAGE
   =================================================================== */

.contenuto-prodotti *:not(i),
.related-products *:not(i) {
    font-family: var(--fontGlobale) !important;
    color: #858379 !important;
}

.contenuto-prodotti .woocommerce-ordering select,
.related-products .woocommerce-ordering select {
    border: 0 !important;
    outline: none !important;
}

.contenuto-prodotti .woocommerce-result-count,
.related-products .woocommerce-result-count {
    font-weight: 400 !important;
}

.contenuto-prodotti ul.products li.product .woocommerce-loop-product__title,
.related-products ul.products li.product .woocommerce-loop-product__title {
    font-weight: 300 !important;
    text-align: center !important;
}

.contenuto-prodotti ul.products li.product .price,
.related-products ul.products li.product .price {
    text-align: center !important;
    display: block !important;
    font-weight: 700 !important;
    margin-bottom: .5em;
    font-size: 18px !important;
    color: var(--coloreAccento) !important;
}

.contenuto-prodotti ul.products li.product .price *,
.related-products ul.products li.product .price * {
    color: var(--coloreAccento) !important;
}

.contenuto-prodotti ul.products li.product .button,
.related-products ul.products li.product .button {
    display: block;
    margin: 1em auto 0;
    text-align: center;
    width: fit-content;
    background: var(--coloreSecondario);
    color: #fff !important;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif !important;
    border-radius: 50px;
    padding: 10px 13px !important;
}

.contenuto-prodotti ul.products li.product .button:hover,
.related-products ul.products li.product .button:hover {
    background: var(--colorePrimario) !important;
}

.shop-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.shop-buttons-container .button-icon-only {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    flex-shrink: 0;
}

.shop-buttons-container .button-icon-only::before {
    content: attr(aria-label);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 5px;
    z-index: 10;
}

.shop-buttons-container .button-icon-only:hover::before {
    opacity: 1;
}

.shop-buttons-container .add-to-cart-icon {
    background-color: #27ae60;
    color: white;
}

.shop-buttons-container .add-to-cart-icon:hover {
    background-color: #229954;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.shop-buttons-container .view-product-icon {
    background-color: #36624E !important;
    color: white;
}

.shop-buttons-container .view-product-icon:hover {
    background-color: #2980b9;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.shop-buttons-container .button.loading {
    color: transparent;
    position: relative;
}

.shop-buttons-container .button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: white;
    animation: button-loading-spinner 1s ease infinite;
}

.shop-buttons-container + .added_to_cart {
    display: block;
    text-align: center;
    margin-top: 8px;
    background-color: #e74c3c;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
}

/* ===================================================================
   8. WOOCOMMERCE - SHOP SIDEBAR
   =================================================================== */

.shop-sidebar .widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease-out;
}

.shop-sidebar .widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.shop-sidebar .widget-title,
.shop-sidebar h2.wp-block-heading {
    font-size: 18px;
    color: var(--colorePrimario);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #27ae60;
    position: relative;
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: 400 !important;
}

.shop-sidebar h3.wp-block-heading {
    font-family: 'Montserrat';
    font-weight: 700 !important;
    font-size: 14px;
}

/* Mini Cart */
.widget_shopping_cart .widget_shopping_cart_content {
    max-height: 400px;
    overflow-y: auto;
}

.widget_shopping_cart .cart_list {
    padding: 0;
    margin: 0;
}

.woocommerce .widget_shopping_cart .cart_list li,
.woocommerce.widget_shopping_cart .cart_list li {
    padding-left: 24px !important;
    position: relative !important;
}

.widget_shopping_cart .mini_cart_item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease;
}

.widget_shopping_cart .mini_cart_item:hover {
    background: #f8f9fa;
}

.widget_shopping_cart .mini_cart_item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    display: none !important;
}

.widget_shopping_cart .remove {
    color: var(--coloreSecondario);
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    transition: all 0.2s ease;
}

.widget_shopping_cart .remove:hover {
    color: var(--coloreSecondario);
    transform: scale(1.2);
}

.widget_shopping_cart .quantity {
    color: #7f8c8d;
    font-size: 14px;
}

.woocommerce-mini-cart-item.mini_cart_item a {
    color: #333 !important;
}

.widget_shopping_cart .woocommerce-mini-cart__total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    font-size: 16px;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget_shopping_cart .button {
    background: #27ae60;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.widget_shopping_cart .button:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.woocommerce .widget_shopping_cart .buttons a,
.woocommerce.widget_shopping_cart .buttons a,
.widget_shopping_cart .button.checkout {
    background: var(--colorePrimario) !important;
    color: #fff !important;
    font-family: 'Oswald', 'sans-serif' !important;
    text-transform: uppercase;
}
.widget_shopping_cart .button.checkout {
    background: var(--coloreSecondario) !important;
}
.widget_shopping_cart .button.checkout:hover {
    background: var(--colorePrimario) !important;
}

/* Product Filters Block */
.wp-block-woocommerce-product-filters {
    margin-bottom: 20px;
}

.wc-block-product-filters__open-overlay {
    background: var(--coloreSecondario) !important;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.wc-block-product-filters__open-overlay:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Price Filter Slider */
.wc-block-product-filter-price-slider__range {
    margin: 20px 0;
}

.wc-block-product-filter-price-slider__range .range-bar {
    background: var(--coloreSecondario) !important;
    height: 6px;
    border-radius: 3px;
}

.wc-block-product-filter-price-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.wc-block-product-filter-price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #27ae60;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.wc-block-product-filter-price-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 15px rgba(39, 174, 96, 0.4);
}

.wc-block-product-filter-price-slider__content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wc-block-product-filter-price-slider input[type="text"] {
    border: 0 !important;
    border-radius: 4px !important;
    font-size: 20px !important;
    margin: 0 !important;
    max-width: 60px !important;
    min-width: 0 !important;
    padding: 8px !important;
    width: auto !important;
    font-weight: 700 !important;
    color: var(--coloreAccento) !important;
}

.wc-block-product-filter-price-slider input[type="text"]:focus {
    border-color: #27ae60;
    outline: none;
}

/* Categories List */
.wc-block-product-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc-block-product-categories-list-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-block-product-categories-list-item a {
    display: block;
    border-radius: 10px;
    text-decoration: none;
    color: #858379;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wc-block-product-categories-list-item a:hover {
    color: var(--colorePrimario) !important;
}

.wc-block-product-categories-list-item-count {
    color: var(--coloreSecondario) !important;
}

/* Tag Cloud */
.wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud-link {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #5a5a5a;
    font-size: 13px !important;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tag-cloud-link:hover {
    background: var(--colorePrimario);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
}

/* Checkbox List for Filters */
.wc-block-product-filter-checkbox-list__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc-block-product-filter-checkbox-list__item {
    margin-bottom: 12px;
}

.wc-block-product-filter-checkbox-list__label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.wc-block-product-filter-checkbox-list__label:hover {
    background: #f8f9fa;
}

.wc-block-product-filter-checkbox-list__input {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #27ae60;
}

/* Scrollbar Styling */
.shop-sidebar ::-webkit-scrollbar { width: 8px; }
.shop-sidebar ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.shop-sidebar ::-webkit-scrollbar-thumb { background: #27ae60; border-radius: 4px; }
.shop-sidebar ::-webkit-scrollbar-thumb:hover { background: #229954; }

/* ===================================================================
   9. WOOCOMMERCE - PRODUCT PAGE
   =================================================================== */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px !important;
    line-height: 20px !important;
}

.woocommerce .shop_mode_thumbs ul.products li.product .post_data,
.woocommerce-page .shop_mode_thumbs ul.products li.product .post_data {
    padding: 15px 0 !important;
}

.woocommerce div.product .product_title {
    display: block !important;
    color: var(--coloreAccento) !important;
    font-size: 30px !important;
    margin-bottom: 20px !important;
}

/* ===================================================================
   10. WOOCOMMERCE - THANK YOU PAGE
   =================================================================== */

.woocommerce-order-received .site-main {
    padding: 2rem 0;
}

.woocommerce-order-received .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    display: none;
}

.amorebio-thankyou-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.amorebio-thankyou-header:before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background-image:
        radial-gradient(circle, var(--colorePrimario) 10%, transparent 10%),
        radial-gradient(circle, var(--coloreAccento) 10%, transparent 10%),
        radial-gradient(circle, var(--colore-rosa) 10%, transparent 10%);
    background-size: 50px 50px, 80px 80px, 30px 30px;
    background-position: 0 0, 30px 30px, 60px 10px;
    opacity: 0.05;
    animation: confetti 20s linear infinite;
}

.thankyou-success-icon {
    width: 100px;
    height: 100px;
    background: var(--colorePrimario);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    animation: successPulse 1s ease-out;
}

.thankyou-success-icon i {
    color: white;
    font-size: 3rem;
    animation: checkmark 0.8s ease-out 0.5s both;
}

.thankyou-success-icon:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--colorePrimario);
    border-radius: 50%;
    animation: successRing 0.8s ease-out 0.3s;
}

.amorebio-thankyou-header h1 {
    color: var(--colorePrimario);
    font-family: var(--font-titoli);
    font-size: 2.5rem;
    margin: 0 0 1rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.thankyou-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.order-number-display {
    display: inline-block;
    background: rgba(87,155,88,0.1);
    color: var(--colorePrimario);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.order-number-display i {
    margin-right: 0.5rem;
}

.thankyou-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.thankyou-steps .step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--colorePrimario);
    font-size: 0.9rem;
    position: relative;
}

.thankyou-steps .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--colorePrimario);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.thankyou-steps .step-number i {
    font-size: 0.8rem;
}

.thankyou-steps .step:not(:last-child):after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2px;
    background: var(--colorePrimario);
}

.amorebio-thankyou-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-bottom: 3rem;
}

.thankyou-order-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-details-card,
.customer-info-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.order-details-card { animation: slideInLeft 0.8s ease-out 1.6s both; }
.customer-info-card { animation: slideInLeft 0.8s ease-out 1.8s both; }

.order-details-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-details-title i {
    color: var(--colorePrimario);
}

.order-details-table {
    width: 100%;
}

.order-details-table tr:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.order-details-table th,
.order-details-table td {
    padding: 1rem;
    text-align: left;
}

.order-details-table th {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.order-details-table td {
    color: #333;
    font-weight: 600;
}

.order-products-list {
    margin-top: 1.5rem;
}

.order-product-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1rem;
    align-items: center;
}

.order-product-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-info { flex: 1; }
.order-product-name { font-weight: 600; color: #333; margin-bottom: 0.25rem; }
.order-product-meta { font-size: 0.85rem; color: #666; }
.order-product-price { font-weight: 600; color: var(--colorePrimario); }

.customer-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.info-section-title {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section-title i {
    color: var(--coloreAccento);
}

.info-section-content {
    color: #333;
    line-height: 1.6;
}

.info-section-content address {
    font-style: normal;
}

.thankyou-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.next-steps-card,
.download-card,
.support-card {
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.next-steps-card { background: white; animation: slideInRight 0.8s ease-out 2s both; }
.download-card { animation: slideInRight 0.8s ease-out 2.2s both; }
.support-card { background: white; animation: slideInRight 0.8s ease-out 2.4s both; }

.next-steps-title {
    color: var(--colorePrimario);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.next-steps-title i {
    color: var(--coloreAccento);
}

.next-step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: rgba(87,155,88,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon i { color: var(--colorePrimario); }
.step-content h4 { margin: 0 0 0.5rem; color: #333; font-size: 1rem; }
.step-content p { margin: 0; color: #666; font-size: 0.9rem; }

.download-card {
    background: linear-gradient(135deg, var(--colorePrimario) 0%, var(--coloreAccento) 100%);
    color: white;
    text-align: center;
    box-shadow: 0 5px 20px rgba(87,155,88,0.3);
}

.download-card h3 { margin-bottom: 1rem; font-size: 1.2rem; }
.download-card p { margin-bottom: 1.5rem; opacity: 0.9; }

.btn-download {
    display: inline-block;
    background: white;
    color: var(--colorePrimario);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-download i { margin-right: 0.5rem; }

.support-card { text-align: center; }
.support-card h3 { color: #333; margin-bottom: 1rem; }
.support-card p { color: #666; margin-bottom: 1.5rem; }
.support-contacts { display: flex; flex-direction: column; gap: 1rem; }

.support-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--colorePrimario);
    font-weight: 500;
}

.support-contact-item i { font-size: 1.2rem; }

.thankyou-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    animation: fadeIn 0.8s ease-out 2.6s both;
}

.btn-primary-thankyou,
.btn-secondary-thankyou {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-thankyou {
    background: var(--colorePrimario);
    color: white;
}

.btn-primary-thankyou:hover {
    background: #4a8349;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87,155,88,0.3);
}

.btn-secondary-thankyou {
    background: transparent;
    color: var(--colorePrimario);
    border: 2px solid var(--colorePrimario);
}

.btn-secondary-thankyou:hover {
    background: var(--colorePrimario);
    color: white;
}

.thankyou-share {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 20px;
    animation: fadeIn 0.8s ease-out 2.8s both;
}

.thankyou-share h3 {
    color: #333;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.share-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.share-button.facebook { background: #1877f2; }
.share-button.whatsapp { background: #25d366; }
.share-button.telegram { background: #0088cc; }

.share-button:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ===================================================================
   11. FORMS (Contact & Newsletter)
   =================================================================== */

/* Shared Styles */
.newletterFooter input,
#formContatti input,
#formContatti textarea {
    padding: 10px 0 !important;
    background-color: transparent;
    border: 0 !important;
    border-radius: 0 !important;
    transition: all .5s ease-in-out;
}

.newletterFooter input::placeholder,
#formContatti input::placeholder,
#formContatti textarea::placeholder {
    opacity: 1; /* Assicura che il placeholder sia pienamente visibile */
}

.newletterFooter input:focus,
.newletterFooter input:focus-visible,
#formContatti input:focus,
#formContatti input:focus-visible,
#formContatti textarea:focus,
#formContatti textarea:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-bottom: 2px solid var(--coloreSecondario) !important;
}

/* Newsletter Footer */
.newletterFooter input[type="text"],
.newletterFooter input[type="email"] {
    border-bottom: 2px solid #fff !important;
    color: #fff;
}

.newletterFooter input::placeholder {
    color: #fff !important;
}

/* Contact Form */
#formContatti input[type="text"],
#formContatti input[type="email"],
#formContatti input[type="tel"],
#formContatti textarea {
    border-bottom: 2px solid #E6E5E1 !important;
    color: #E6E5E1;
}

#formContatti input::placeholder,
#formContatti textarea::placeholder {
    color: #E6E5E1 !important;
}

#formContatti .btn-primary {
    background-color: var(--colorePrimario) !important;
    padding: 10px 20px !important;
    border: 0 !important;
}

#formContatti .btn-primary:hover {
    background-color: var(--coloreSecondario) !important;
}

#formContatti .wpcf7-list-item {
    margin: 0 !important;
}

#formContatti a {
    color: var(--colorePrimario) !important;
}


/* ===================================================================
   12. ANIMATIONS
   =================================================================== */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes button-loading-spinner {
    from { transform: translate(-50%, -50%) rotate(0turn); }
    to { transform: translate(-50%, -50%) rotate(1turn); }
}

@keyframes kenburns {
    0% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.2) translateX(-5%); }
    100% { transform: scale(1) translateX(0); }
}

@keyframes confetti {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(360deg); }
}

@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(45deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes successRing {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}


/* ===================================================================
   13. MEDIA QUERIES
   =================================================================== */

@media (max-width: 991px) {
    /* Thank you page */
    .amorebio-thankyou-wrapper {
        grid-template-columns: 1fr;
    }
    .thankyou-sidebar {
        order: -1;
    }
    .customer-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Product Carousel */
    .carousel-title { font-size: 2rem; }
    .carousel-category-filters { padding: 1rem; gap: 0.5rem; }
    .carousel-filter-btn { font-size: 0.85rem; padding: 0.5rem 1rem; }
    .products-carousel { padding: 0; }
    .products-carousel .owl-nav button { width: 40px; height: 40px; }
    .products-carousel .owl-nav .owl-prev { left: 10px; }
    .products-carousel .owl-nav .owl-next { right: 10px; }

    /* Shop Sidebar */
    .shop-sidebar { padding: 15px; border-radius: 15px; }
    .shop-sidebar .widget { padding: 20px; margin-bottom: 20px; }
    .shop-sidebar .widget-title,
    .shop-sidebar .wp-block-heading { font-size: 16px; }

    /* Slider */
    .custom-slide { height: 600px; }
    .custom-slide-title { font-size: 2rem; line-height: 50px; }
    .custom-slide-subtitle { font-size: 1rem; }
    .custom-slide-content { text-align: center; }
    .slider-arrow { width: 40px; height: 40px; font-size: 16px; }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }

    /* Thank you page */
    .amorebio-thankyou-header { padding: 2rem 1.5rem; }
    .amorebio-thankyou-header h1 { font-size: 2rem; }
    .thankyou-steps { display: none; }
    .order-details-card,
    .customer-info-card,
    .next-steps-card,
    .download-card,
    .support-card { padding: 1.5rem; }
    .thankyou-actions { flex-direction: column; width: 100%; padding: 0 1rem; }
    .btn-primary-thankyou,
    .btn-secondary-thankyou { width: 100%; justify-content: center; }
}

@media screen and (max-width:580px) {
    .woocommerce .woocommerce-error .button,
    .woocommerce .woocommerce-info .button,
    .woocommerce .woocommerce-message .button {
        float: none;
        background: var(--coloreSecondario);
        color: #fff;
    }
}

@media (max-width: 480px) {
    /* Icons */
    #footerMobile .icon-text { display: block !important; }
    .icon-text { display: none; }

    /* Product Carousel */
    .carousel-header { margin-bottom: 2rem; }
    .carousel-product-info { padding: 1rem; }

    /* Shop Buttons */
    .shop-buttons-container { gap: 5px; }
    .shop-buttons-container .button-icon-only { width: 35px; height: 35px; font-size: 14px; }

    /* Slider */
    .custom-slide { height: 500px; }
    .custom-slide-title { font-size: 1.5rem; }
    .custom-slide-subtitle { font-size: 0.9rem; }
    .custom-slide-button { padding: 10px 20px; font-size: 14px; }
}

/* ===================================================================
   14. PRINT STYLES
   =================================================================== */

@media print {
    .thankyou-sidebar,
    .thankyou-actions,
    .thankyou-share {
        display: none;
    }
    .amorebio-thankyou-wrapper {
        grid-template-columns: 1fr;
    }
    .order-details-card,
    .customer-info-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Reset e variabili */
#faq {
    --colorePrimario: #5F9F64;
    --coloreSecondario: #F7D565;
    --coloreAccento: #BED865;
    --grigio-chiaro: #f8f9fa;
    --grigio-medio: #e9ecef;
    --grigio-scuro: #6c757d;
    --bianco: #ffffff;
    --nero: #212529;
    --ombra-leggera: 0 2px 8px rgba(0,0,0,0.08);
    --ombra-media: 0 4px 16px rgba(0,0,0,0.1);
    --transizione: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container principale */
#faq.amorebio-faq-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header */
#faq .faq-header {
    text-align: center;
    margin-bottom: 50px;
}

#faq .faq-main-title {
    color: var(--colorePrimario);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

#faq .faq-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--coloreAccento), var(--coloreSecondario));
    border-radius: 2px;
}

#faq .faq-subtitle {
    color: var(--grigio-scuro);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Navigazione categorie */
#faq .faq-categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--grigio-chiaro);
    border-radius: 12px;
}

#faq .faq-cat-btn {
    padding: 10px 24px;
    border: 2px solid transparent;
    background: var(--bianco);
    color: var(--grigio-scuro);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transizione);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--ombra-leggera);
}

#faq .faq-cat-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ombra-media);
    border-color: var(--coloreAccento);
}

#faq .faq-cat-btn.active {
    background: var(--colorePrimario);
    color: var(--bianco);
    border-color: var(--colorePrimario);
}

#faq .faq-cat-btn i {
    font-size: 16px;
}

/* Sezioni categoria */
#faq .faq-category-section {
    margin-bottom: 50px;
    animation: fadeIn 0.5s ease-out;
}
 
#faq .faq-category-title {
    color: var(--colorePrimario);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px; 
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-titoli) !important;
}
 

/* Items FAQ */
#faq .faq-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#faq .faq-item {
    background: var(--bianco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--ombra-leggera);
    transition: var(--transizione);
    border: 1px solid var(--grigio-medio);
}

#faq .faq-item:hover {
    box-shadow: var(--ombra-media);
    transform: translateY(-2px);
}

#faq .faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: var(--transizione);
}

#faq .faq-question:hover {
    background: var(--grigio-chiaro) !important;
}

#faq .faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(95, 159, 100, 0.1), rgba(190, 216, 101, 0.1));
    color: #fff !important;
}

#faq .faq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nero);
    flex: 1;
    transition: var(--transizione);
    text-transform: uppercase;
}

#faq .faq-item.active .faq-question-text {
    color: var(--colorePrimario);
}

#faq .faq-toggle-icon {
    width: 36px;
    height: 36px;
    background: var(--coloreAccento);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transizione);
    flex-shrink: 0;
}

#faq .faq-toggle-icon svg {
    width: 20px;
    height: 20px;
    transition: var(--transizione);
    color: var(--colorePrimario);
}

#faq .faq-item.active .faq-toggle-icon {
    background: var(--colorePrimario);
    transform: rotate(45deg);
}

#faq .faq-item.active .faq-toggle-icon svg {
    color: var(--bianco);
}

/* Risposte */
#faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

#faq .faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
}

#faq .faq-answer-content {
    padding: 24px 24px 24px;
    color: var(--grigio-scuro);
    line-height: 1.8;
    font-size: 1rem;
}

#faq .faq-answer-content p {
    margin-bottom: 12px;
}

#faq .faq-answer-content p:last-child {
    margin-bottom: 0;
}

#faq .faq-answer-content strong {
    color: var(--colorePrimario);
    font-weight: 600;
}

#faq .faq-answer-content a {
    color: var(--colorePrimario);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transizione);
}

#faq .faq-answer-content a:hover {
    border-bottom-color: var(--coloreAccento);
}

/* Animazioni */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #faq .faq-main-title {
        font-size: 2rem;
    }
    
    #faq .faq-categories-nav {
        padding: 15px;
        gap: 8px;
    }
    
    #faq .faq-cat-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    #faq .faq-category-title {
        font-size: 1.4rem;
        padding-left: 20px;
    }
    
    #faq .faq-question {
        padding: 16px 20px;
    }
    
    #faq .faq-question-text {
        font-size: 1rem;
    }
    
    #faq .faq-toggle-icon {
        width: 32px;
        height: 32px;
    }
    
    #faq .faq-answer-content {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #faq.amorebio-faq-container {
        margin: 40px auto;
        padding: 0 15px;
    }
    
    #faq .faq-main-title {
        font-size: 1.75rem;
    }
    
    #faq .faq-subtitle {
        font-size: 1rem;
    }
    
    #faq .faq-categories-nav {
        flex-direction: column;
    }
    
    #faq .faq-cat-btn {
        width: 100%;
        justify-content: center;
    }
}