				
.icon_container {
	width:100%;
	display : inline-block;
	margin : 0 auto;
	text-align:center
}

.icon_container .icon_left {
	display: inline-block;
	/* border : 1px solid black; */
	margin:0 5px
}

.header {
    margin: 5px auto;
    text-align:center;
    z-index :-1
}

.header .search {
}
 
.account .register, .account .add {
	display : none;
}

.access-icons {
    float:right;
    height: 40px;
}

.icon {
    display:inline-block;
    background-repeat:no-repeat;
    background-image:url("/loghi/sprite.png");
}

.text {
    text-transform:uppercase;
    line-height:15px;
    vertical-align:top;
    display:inline-block;
    padding:0 2px;
    font: 12px/1.5 'Montserrat', serif;
}
					
.account, .carrello, .contatti  {
    float:left;
    border: 1px solid #CBE2E2;
    margin-right:5px;
    text-decoration: none;
}

.account .icon {
    background-position:-9px -9px;
    width:42px;
    height:30px;
}

.account .text {
    width:70px;
}
					
.contatti .icon {
    background-position:-5px -49px;
    width:42px;
    height:30px;
}

.contatti .text {
    width:54px;
}
					
.carrello .icon {
    background-position:-8px -97px;
    width:42px;
    height:30px;
}

.carrello .text {
    width:70px;
}
                    
.submenu {
	background-color: #1F8A89;
	border-top:1px solid CadetBlue;
    display:none;
}

.submenu .content {
    font: 14px/1.5 'Montserrat', serif;
    margin:0 auto;
    color: ghostwhite    ;
}

.submenu h4 {
    display:none;
}

.nav_container {
	background-color: #1F8A89;
	font: 15px/1.5 'Montserrat', serif;
	max-width:1170px;
	height:50px;
	margin:0 auto;
	text-align:center;
}
                    
.nav_container ul {
    list-style:none outside none;
}

.nav_container ul li {
    display:inline-block;
    margin:10px 0 0 0;
    padding:0 18px;
    vertical-align:top;
    text-transform: uppercase;
    /* font-size: 1em;*/
    color: white;
    text-decoration: none;
    cursor:pointer;
}


.nav_container span {
    display:block;
    text-transform: lowercase;
    font-size:smaller;
    color:lightGrey;
}

.content .left {
    display:inline-block;
    padding:5px;
    text-align:left;
    width:45%;
    border-right: 1px solid CadetBlue;
}  

.content .right {
    display:inline-block;
    vertical-align: top;
    padding:10px;
    width:45%;
}        

.right ul {
}
                    
.right li {
    list-style: none;
    text-align: left;
    margin: 0.6em 0;
}

.right li a {
    color: #fff;
    text-decoration: none; /* Remove underline from links */
}

.right li a:visited {
    color: #fff;
}
                    
.right li a:hover {
    color:Chartreuse;
}
                    
.content .left img {
    float:left;
    width:50%;
    margin:10px;
}        
            
.sys_icons {
    display:none;
}

.search_form {
    margin: 0 10px;
}
            
.search_form .ui-block-b {
    margin-top:20px;
    width: 10% !important;    
}

.search_form .ui-block-a {
    width: 90% !important;
}
            
.search_form .ui-block-b {
    margin-top:20px;
    width: 10% !important;    
}
            
.logo {
    display:inline-block;
    /*  max-width: 40%; */
}
					
.logo img {
    height:100px;
}

/* Smartphones ----------- */
@media only screen and (max-width: 1024px) {
                        
    .text { display: none }
    .sys_icons .ui-icon-phone { display: inline-block }
					
    .nav_container { display: none; }
    .classificazione { display: none; }
    .sys_icons { display:block; }
								
    .header { margin:50px 5px 0 5px; }

    .header .access-icons { display:none; }

    .header {text-align:center;}

    .logo img {height:80px;}
                   
}

		   
@media only screen and (max-width: 760px) {
                        
    .header {margin: 5px auto; text-align:center;}

    .logo img {height:40px;margin-right:80px}
    
    .sys_icons .phone { display: none }

}
 
    
.sys_icons .comments { display: none }
.header .comments { display: none } 


.header .phone { display: none }

.classificazione {
    padding:5px;
}
   
.classificazione a.ui-btn {
	display : inline-block;
	width:90px;
	background-color: #1F8A89;
	color:white;
}
		    
.classificazione a.ui-btn:visited { 
	background-color: #1F8A89;
	color:white;
}

.social {
    display:block;
    text-align:right;
}

.social p {
    display: inline-block;
    margin:0;
}

/* ulteriori */

.novita {display:none}
                    
#telefono  {
	border:1px solid #1F8A89;
	padding:5px;
}

#telefono p {
	padding:5px;
	background-color:#1F8A89;
	text-align:center;
	color:white;
}
                    
.avviso {
	border:3px solid #1F8A89;
	margin: 5px 10px;
	display:none;				
	text-align:left;
	padding:4px 10px;
}

#chat_panel .content {
	border:3px solid #1F8A89;
	margin-top: 10px;
	padding:4px 10px;
	height:400px;			
}

input[name=keyword] {
	width : 100%;
	font-size:larger;
	margin : 10px 0 0 0
}

.gold_button {
                
	background: gold;
	background-image: -moz-linear-gradient(top, gold, darkOrange);
	background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, gold), color-stop(1, darkOrange));
	color:dimGrey;
	text-shadow:0px 0px 0px ;
	margin:0 auto !important;

}
    #result {
      margin-top: 20px;
      padding: 15px;
      background-color: #f5f5f5;
      border-radius: 5px;
      min-height: 0px;
      text-align: left !important;
    }
    pre {
      white-space: pre-wrap;
      word-wrap: break-word;
      text-align:left;
    }

/* Chat Widget Styles - Namespace per evitare conflitti */
.cw-widget-container {
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    clear: both;
    display: block !important; /* Override jQuery Mobile */
    width: 100%;
    padding: 0 10px;
}

/* Reset jQuery Mobile styles */
.cw-widget-container *,
.cw-widget-container *::before,
.cw-widget-container *::after {
    box-sizing: border-box !important;
}

.cw-input-wrapper {
    position: relative;
    z-index: 10;
    display: block !important;
}

.cw-input-box {
    background: white !important;
    border: 1.5px solid #d4c5b9 !important;
    border-radius: 16px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    position: relative;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cw-input-box:focus-within {
    border-color: #c17d4a !important;
    box-shadow: 0 4px 16px rgba(193, 125, 74, 0.12) !important;
}

.cw-input-box.cw-has-results {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.cw-textarea {
    width: 100% !important;
    padding: 16px 60px 16px 20px !important;
    border: none !important;
    outline: none !important;
    font-size: 15px !important;
    font-family: inherit !important;
    resize: none !important;
    max-height: 200px !important;
    min-height: 24px !important;
    line-height: 1.5 !important;
    overflow-y: auto !important;
    background: transparent !important;
    color: #2d2d2d !important;
    display: block !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.cw-textarea::placeholder {
    color: #999 !important;
}

.cw-actions {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    display: flex !important;
    gap: 8px;
    align-items: center;
}

.cw-send-btn,
.cw-close-btn {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-clip: padding-box !important;
    text-shadow: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cw-send-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border: none !important;
    background: #c17d4a !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cw-send-btn:hover:not(:disabled) {
    background: #ab6d3f !important;
}

.cw-send-btn:disabled {
    background: #e8ddd2 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.cw-send-btn svg {
    width: 18px !important;
    height: 18px !important;
}

.cw-results {
    display: none;
    background: white !important;
    border: 1.5px solid #c17d4a !important;
    border-top: none !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    max-height: 400px;
    overflow-y: auto !important;
    animation: cwSlideDown 0.2s ease-out;
    margin: 0 !important;
}

.cw-results.cw-active {
    display: block !important;
}

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

.cw-results-header {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: white !important;
}

.cw-results-header h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2d2d2d !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: none !important;
}

.cw-close-btn {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px !important;
    color: #999 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    transition: color 0.2s;
    width: auto !important;
    height: auto !important;
}

.cw-close-btn:hover {
    color: #2d2d2d !important;
    background: none !important;
}

.cw-results-body {
    padding: 20px !important;
    background: white !important;
}

.cw-result-item {
    padding: 16px !important;
    margin-bottom: 12px !important;
    background: #f8f3ed !important;
    border-radius: 12px !important;
    border: 1px solid rgba(193, 125, 74, 0.15) !important;
    cursor: pointer !important;
    transition: all 0.2s;
    display: block !important;
}

.cw-result-item:hover {
    background: #f0e9dc !important;
    border-color: rgba(193, 125, 74, 0.3) !important;
    transform: translateX(4px);
}

.cw-result-item:last-child {
    margin-bottom: 0 !important;
}

.cw-result-title {
    font-weight: 600 !important;
    color: #2d2d2d !important;
    margin-bottom: 6px !important;
    font-size: 15px !important;
    text-shadow: none !important;
}

.cw-result-desc {
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    text-shadow: none !important;
}

.cw-typing {
    padding: 20px !important;
    text-align: center !important;
    color: #999 !important;
    font-size: 14px !important;
    display: none;
    background: white !important;
}

.cw-typing.cw-active {
    display: block !important;
}

.cw-typing-dots {
    display: inline-flex !important;
    gap: 4px;
    margin-left: 8px;
}

.cw-typing-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #c17d4a !important;
    animation: cwTypingBounce 1.4s infinite ease-in-out;
    display: inline-block !important;
}

.cw-typing-dot:nth-child(1) { animation-delay: 0s; }
.cw-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.cw-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes cwTypingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.cw-no-results {
    padding: 20px !important;
    text-align: center !important;
    color: #999 !important;
    font-size: 14px !important;
    background: white !important;
}

.cw-results::-webkit-scrollbar {
    width: 8px;
}

.cw-results::-webkit-scrollbar-track {
    background: transparent;
}

.cw-results::-webkit-scrollbar-thumb {
    background: rgba(193, 125, 74, 0.2);
    border-radius: 4px;
}

.cw-results::-webkit-scrollbar-thumb:hover {
    background: rgba(193, 125, 74, 0.3);
}

@media (max-width: 768px) {
    .cw-widget-container {
        margin: 10px 5px !important;
        padding: 0 5px !important;
    }
    .cw-results {
        max-height: 300px;
    }
}

.cw-input-wrapper {
    position: relative;
    z-index: 10;
}

.cw-input-box {
    background: white;
    border: 1.5px solid #d4c5b9;
    border-radius: 16px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.cw-input-box:focus-within {
    border-color: #c17d4a;
    box-shadow: 0 4px 16px rgba(193, 125, 74, 0.12);
}

.cw-input-box.cw-has-results {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.cw-textarea {
    width: 100%;
    padding: 16px 60px 16px 20px;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    resize: none;
    max-height: 200px;
    min-height: 24px;
    line-height: 1.5;
    overflow-y: auto;
    background: transparent;
    color: #2d2d2d;
}

.cw-textarea::placeholder {
    color: #999;
}

.cw-actions {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.cw-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: #c17d4a;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cw-send-btn:hover:not(:disabled) {
    background: #ab6d3f;
}

.cw-send-btn:disabled {
    background: #e8ddd2;
    cursor: not-allowed;
    opacity: 0.6;
}

.cw-send-btn svg {
    width: 18px;
    height: 18px;
}

.cw-results {
    display: none;
    background: white;
    border: 1.5px solid #c17d4a;
    border-top: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    animation: cwSlideDown 0.2s ease-out;
}

.cw-results.cw-active {
    display: block;
}

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

.cw-results-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cw-results-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0;
}

.cw-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    font-size: 20px;
    line-height: 1;
    transition: color 0.2s;
}

.cw-close-btn:hover {
    color: #2d2d2d;
}

.cw-results-body {
    padding: 20px;
}

.cw-result-item {
    padding: 16px;
    margin-bottom: 12px;
    background: #f8f3ed;
    border-radius: 12px;
    border: 1px solid rgba(193, 125, 74, 0.15);
    cursor: pointer;
    transition: all 0.2s;
}

.cw-result-item:hover {
    background: #f0e9dc;
    border-color: rgba(193, 125, 74, 0.3);
    transform: translateX(4px);
}

.cw-result-item:last-child {
    margin-bottom: 0;
}

.cw-result-title {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 6px;
    font-size: 15px;
}

.cw-result-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cw-typing {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
    display: none;
}

.cw-typing.cw-active {
    display: block;
}

.cw-typing-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 8px;
}

.cw-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c17d4a;
    animation: cwTypingBounce 1.4s infinite ease-in-out;
}

.cw-typing-dot:nth-child(1) { animation-delay: 0s; }
.cw-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.cw-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes cwTypingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.cw-no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.cw-results::-webkit-scrollbar {
    width: 8px;
}

.cw-results::-webkit-scrollbar-track {
    background: transparent;
}

.cw-results::-webkit-scrollbar-thumb {
    background: rgba(193, 125, 74, 0.2);
    border-radius: 4px;
}

.cw-results::-webkit-scrollbar-thumb:hover {
    background: rgba(193, 125, 74, 0.3);
}

@media (max-width: 768px) {
    .cw-widget-container {
        margin: 20px 16px;
    }
    .cw-results {
        max-height: 300px;
    }
}



/* prodotti risultati della chat */
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 200px)); /* Forza 200px */
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center; /* Centra le card */
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    width: 100%;
}
        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        }

        .product-header {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            border-bottom: 1px solid #f0f0f0;
            gap: 12px;
        }

        .brand-logo {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background: #f8f8f8;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            cursor: pointer;
            transition: transform 0.2s;
            overflow: hidden;
        }

        .brand-logo:hover {
            transform: scale(1.05);
        }

        .brand-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        .product-image img {
            width: 200px;
            height: 100%;
            object-fit: contain;
        }
        
        .product-description {
            flex: 1;
            font-size: 13px;
            color: #666;
            line-height: 1.4;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .product-image-container {
            width: 100%;
            aspect-ratio: 1;
            background: #fafafa;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            cursor: pointer;
        }

        .product-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s;
        }

        .product-card:hover .product-image {
            transform: scale(1.05);
        }

        .product-footer {
            padding: 16px;
            text-align: center;
        }

        .product-category {
            font-size: 13px;
            color: #888;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .product-price {
            font-size: 24px;
            font-weight: 700;
            color: #1F8A89;
        }

        .product-price::after {
            content: ' €';
            font-size: 18px;
            font-weight: 600;
        }

        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .products-container {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .products-container {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
                gap: 15px;
            }

            .product-header {
                padding: 10px 12px;
            }

            .brand-logo {
                width: 35px;
                height: 35px;
            }

            .product-description {
                font-size: 12px;
            }

            .product-price {
                font-size: 20px;
            }
        }

        @media (max-width: 480px) {
            .products-container {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 10px;
            }
