/* Variables */
@import url("https://fonts.googleapis.com/css?family=Ubuntu:400,500,700");
@font-face {
    font-family: 'fonartoregular';
    src: url('fonarto-webfont.woff2') format('woff2'),
         url('fonarto-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
:root {
    --primary-color: #20A1D0;
    --secondary-color: #CC0000;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-color: #FFFFFF;
    --dark-color: #343a40;
    --border-color: #dee2e6;
    --font-family: 'Ubuntu', sans-serif;
	--second-font: 'fonartoregular', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}
.section-title.text-center h2,.category-header h1{
    color: #CC0000;
    position: relative;
    display: inline-block;
    font-weight: normal;
    margin: 30px auto 15px;
    line-height: 30px;
    
	font-family: var(--second-font);
}

.category-header h1{
	font-size: 60px;
}


.section-title.text-center h2::before,.category-header h1::before{
	content: "";
    position: absolute;
    z-index: 1;
    left: -13px;
    bottom: -23px;
    background-image: url(../../assets/images/title.png);
    background-position-x: 0;
    background-position-y: 0;
    background-size: 60% auto;
    background-repeat: no-repeat;
    width: 38px;
    height: 27px;
}


.section-padding {
    padding: 80px 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--white-color);
    color: white;
}
.header-actions a i{
	color:var(--primary-color);
	font-size:25px;
}
.header-actions a i:hover{color:#CC0000;}

.top-bar .container-full .row{
	margin:0px;
}



.top-bar .container-full{
	padding:15px;
}
.top-bar  .main-navigation .container-full{
	padding:0 !Important;
}
.contact-info{margin-top:8px;}

.contact-info span {
    color: var(--primary-color);
    font-size: 10px;

}

.contact-info i {
    color: var(--light-color);
    display: block;
    font-size: 15px;
	
}
.auth-links span{text-transform:uppercase}

.auth-links a:first-child {margin-right:20px}
.auth-links a {
    color: var(--primary-color);
	display:inline-block;
	font-size:25px;
	
}

.auth-links a:hover {
    color: var(--primary-color);
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    max-height: 60px;
}

.search-box .input-group {
    max-width: 500px;
	margin:0 auto;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
	text-align:center;
}

.wishlist, .cart {
    position: relative;
}

.wishlist a, .cart a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 25px;
}

.auth-links a span{
	display:block;
	font-size:10px;
}




.count {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* Navigation */




.main-navigation {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation .nav-menu > li{
	padding:0 18px
}


.nav-menu > li > a:hover{
	color:#FFF;
	background-color:#cc0000;
}


.nav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    
    padding: 15px 20px;
    display: block;
	text-transform:uppercase;
  
}


.main-navigation-top .container{padding:0px;}


.main-navigation-top .nav-menu a{
	color: var(--primary-color);
}


.main-navigation-top .nav-menu a:hover{
	color: white;
	background-color:#CC0000;
}

.dropdown-menu {
	display:block;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    color: var(--dark-color);
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.category-content {
    padding: 20px;
    text-align: center;
}

.category-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.btn-wishlist, .btn-quickview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}



.btn-wishlist:hover, .btn-quickview:hover {
    background: var(--primary-color);
    color: white;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0;
}

.btn-add-cart {
    width: 100%;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, var(--primary-color), #003d82);
    color: white;
}

.service-item {
    padding: 30px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--light-color);
    padding: 20px 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.form-check {
    margin-bottom: 10px;
}

/* Product Details */
.product-images .main-image {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: auto;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: var(--warning-color);
}

.product-pricing {
    margin-bottom: 20px;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.old-price {
    font-size: 1.2rem;
    color: var(--secondary-color);
    text-decoration: line-through;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.btn-quantity {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.btn-add-cart {
    flex: 1;
}

/* Product Tabs */
.product-tabs {
    margin-top: 50px;
}

.nav-tabs .nav-link {
    color: var(--dark-color);
    padding: 15px 30px;
    border: none;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    background: none;
}

.tab-content {
    padding: 30px 0;
}

/* Newsletter */
.newsletter-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.newsletter-section h3 {
    margin-bottom: 15px;
}

.newsletter-form .input-group {
    max-width: 400px;
}




/* Footer */
.main-footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}
.footer-widget ul{
	padding:0;
}
.footer-widget h4 {
    margin-bottom: 20px;
	color: white;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #FFF;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #adb5bd;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a, .social-links a:hover{
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
	color:#fff;
}

/*Colori esadecimali social */

a.fa-facebook-f:hover{
	
	background:#3b5998
}

a.fa-instagram:hover {
	background:#D62976 
}
a.fa-linkedin-in:hover {
	background:#0e76a8 
}
a.fa-youtube:hover {
	background:#c4302b 
}

/* Copyright */
.copyright {
    background: #1a1a1a;
    color: #adb5bd;
    padding: 20px 0;
    font-size: 14px;
}

.payment-methods {
    /* display: flex; */
    align-items: center;
    gap: 10px;
}

.payment-methods i {
    font-size: 1.5rem;
}



/* Mobile Menu Corrections */
.mobile-menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 15px 0;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1100;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-close {
    text-align: right;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    padding: 0;
    margin: 0;
}

.mobile-nav li a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Media Queries per Responsive */



/* Owl Carousel Styles */
.hero-slider {
    position: relative;
	padding-top: 1px;
}

.hero-slider .slider-item {
    position: relative;
    overflow: hidden;
}

.hero-slider .slider-item img {
    width: 100%;
    object-fit: cover;
}

.slider-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.slider-caption h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Owl Carousel Navigation */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8) !important;
    color: var(--primary-color) !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem !important;
    transition: all 0.3s;
}

.owl-nav button:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.owl-prev {
    left: 20px;
}

.owl-next {
    right: 20px;
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.owl-dot span {
    background: rgba(255,255,255,0.5) !important;
    transition: all 0.3s;
}

.owl-dot.active span {
    background: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid var(--primary-color);
}

.notification-success .notification-content {
    border-left-color: var(--success-color);
}

.notification-info .notification-content {
    border-left-color: var(--primary-color);
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--secondary-color);
    margin-left: 15px;
}

.notification-close:hover {
    color: var(--dark-color);
}
/* Cart Styles */
.cart-section .cart-header {
    margin-bottom: 30px;
}

.cart-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cart-item-sku {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.cart-item-price, .cart-item-total {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cart-item-quantity .quantity-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    margin-top: 10px;
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cart-summary {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* position: sticky; */
    top: 20px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-bottom: none;
}

.shipping-info {
    background: var(--light-color);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}

.shipping-info p {
    margin: 0;
    color: var(--primary-color);
}

.btn-checkout {
    width: 100%;
    margin-bottom: 20px;
}

.payment-methods-cart {
    text-align: center;
}

.payment-methods-cart p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* ===== CORREZIONI MENU DESKTOP ===== */

/* Container full width */
.container-full {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

/* Menu Desktop - Dropdown migliorati */



.category-menu .nav-menu {
    display: flex;
    margin: 0;
    padding: 0;
}

.category-menu .nav-menu > li {
    position: relative;
}

.category-menu .nav-menu > li > a {
    color: white;
    padding: 15px 20px;
    display: block;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.category-menu .nav-menu > li > a:hover {
    color: #FFF;
    background-color: #CC0000;
}

/* Dropdown Menu Desktop */
.category-menu .dropdown-menu{
    position: absolute;
    top: 100%;
    /* left: 0; */
    background: white;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    border-radius: 0;
}

.category-menu .dropdown-menu .dropdown-sub .dropdown-menu{
	display: none;
}

.category-menu .dropdown-menu .dropdown-sub:hover  .dropdown-menu{
	display: block;
	    transform: translateY(10px);
    transition: all 0.3s ease
}



.category-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-menu .dropdown-menu li a {
    color: var(--dark-color);
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-menu .dropdown-menu li a:hover,.category-menu .dropdown-menu .dropdown-sub li a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Sub-dropdown */
.category-menu .dropdown-sub {
    position: relative;
}

.category-menu .dropdown-sub .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
}

.category-menu .dropdown-sub:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ===== MENU MOBILE MIGLIORATO ===== */

/* Overlay per menu mobile */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1098;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1100;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

/* Header del menu mobile */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-logo img {
    max-height: 40px;
}

.mobile-menu-close {
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    text-decoration: none;
}

/* Navigazione mobile */
.mobile-nav {
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-nav li a {
    display: block;
    padding: 15px 20px;
    color: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: 500;
}

.mobile-nav li a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Miglioramenti dropdown mobile */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    margin-left: 10px;
}

.mobile-dropdown.active > .mobile-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    background: rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--primary-color);
}

.mobile-dropdown.active > .mobile-submenu {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-submenu .mobile-submenu {
    background: rgba(0, 0, 0, 0.05);
    border-left-color: var(--secondary-color);
}

.mobile-submenu .mobile-submenu .mobile-submenu {
    background: rgba(0, 0, 0, 0.07);
    border-left-color: var(--success-color);
}

/* Animazione per l'apertura dei dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Miglioramenti visivi per i livelli nidificati */
.mobile-submenu li a {
    padding: 12px 20px 12px 40px;
    font-size: 0.9rem;
    text-transform: none;
    font-weight: normal;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-submenu .mobile-submenu li a {
    padding-left: 60px;
}

.mobile-submenu .mobile-submenu .mobile-submenu li a {
    padding-left: 80px;
}

/* Indicatore visivo per elementi con dropdown */
.mobile-dropdown > .mobile-dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active > .mobile-dropdown-toggle::after {
    transform: rotate(-135deg);
}




/* ===== STILI CARRELLO ===== */
.cart-section .cart-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

.cart-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.cart-items-count {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Tabella Carrello */
.cart-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.cart-products-table {
    margin: 0;
}

.cart-products-table thead {
    background: var(--primary-color);
}

.cart-products-table thead th {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 15px;
    border: none;
}

.cart-products-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.cart-products-table tbody tr:last-child {
    border-bottom: none;
}

.cart-products-table tbody td {
    padding: 20px 15px;
    vertical-align: middle;
    border: none;
}

/* Info Prodotto nel Carrello */
.product-info-cart {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-image-cart {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.product-details-cart h3 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--dark-color);
}

.product-sku {
    color: var(--secondary-color);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
    transition: color 0.3s;
}

.btn-remove-item:hover {
    color: #c82333;
}

/* Prezzi e Quantità */
.product-price-cart,
.product-total-cart {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.quantity-selector-cart .quantity-input {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 120px;
}

.quantity-selector-cart .btn-quantity {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-selector-cart .btn-quantity:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-selector-cart input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

/* Azioni Carrello */
.cart-actions {
    margin-bottom: 30px;
}

.btn-continue-shopping {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-continue-shopping:hover {
    background: #5a6268;
    color: white;
}

.btn-update-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-update-cart:hover {
    background: #1a8ab9;
    color: white;
}

/* Carrello Vuoto */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.empty-cart-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.empty-cart h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

/* Riepilogo Carrello */
.cart-summary-wrapper {
    position: sticky;
    top: 20px;
}

.cart-summary {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.cart-summary h3 {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2rem;
}

.summary-content {
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-bottom: none;
    padding-top: 15px;
}

.free-shipping {
    color: var(--success-color);
    font-weight: bold;
}

.shipping-notice {
    background: #e8f5e8;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.shipping-notice i {
    color: var(--success-color);
}

.tax-notice {
    text-align: center;
    color: var(--secondary-color);
    margin: 10px 0;
    font-size: 0.8rem;
}

.btn-checkout {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    transition: background 0.3s;
    margin: 15px 0;
}

.btn-checkout:hover {
    background: #218838;
    color: white;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--success-color);
    font-size: 0.9rem;
}

/* Box Informazioni */
.shipping-info-box,
.payment-methods-cart {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.shipping-info-box h4,
.payment-methods-cart h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shipping-info-box li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shipping-info-box li:before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: var(--secondary-color);
    flex-wrap: wrap;
}

/* ===== STILI CHECKOUT ===== */
.checkout-section .checkout-header {
    margin-bottom: 30px;
}

.checkout-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.checkout-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
}

.checkout-steps:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step-text {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-align: center;
}

.step.active .step-text {
    color: var(--primary-color);
    font-weight: bold;
}

/* Form Checkout */
.checkout-section-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.checkout-section-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px 15px;
    width: 100%;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(32, 161, 208, 0.25);
}

/* Metodi di Spedizione */
.shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-method {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s;
}

.shipping-method.selected {
    border-color: var(--primary-color);
    background: #f8fdff;
}

.shipping-option {
    display: block;
    padding: 15px;
    cursor: pointer;
    margin: 0;
}

.shipping-option input {
    display: none;
}

.shipping-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shipping-name {
    font-weight: bold;
    color: var(--dark-color);
}

.shipping-details {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.shipping-price {
    font-weight: bold;
    color: var(--primary-color);
}

/* Metodi di Pagamento */

.payment-method {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    margin: 0 0 10px;
    transition: all 0.3s;
    width: 100%;
}

.payment-method.selected {
    border-color: var(--primary-color);
    background: #f8fdff;
}

.payment-option {
    display: block;
    padding: 15px;
    cursor: pointer;
    margin: 0;
}

.payment-option input {
    display: none;
}

.payment-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-name {
    font-weight: bold;
    color: var(--dark-color);
}

.payment-icons-small {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
}

.payment-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.payment-details-text {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.credit-card-details {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
    display: block;
}

/* Azioni Checkout */
.checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-back-cart {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-back-cart:hover {
    background: #5a6268;
    color: white;
}

.btn-complete-order {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-complete-order:hover {
    background: #218838;
    color: white;
}

/* Riepilogo Ordine */


.order-summary {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.order-summary h3 {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2rem;
}

.order-products {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.order-product-item {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-product-item:last-child {
    border-bottom: none;
}

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

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

.product-info-summary h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.product-quantity-price {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.order-totals {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.total-row.grand-total {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
    padding-top: 15px;
}

.secure-checkout-badge {
    background: #e8f5e8;
    padding: 15px 20px;
    text-align: center;
    color: var(--success-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Assistenza Clienti */
.customer-support {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.customer-support h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-support p {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.support-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
}

.support-contact i {
    color: var(--primary-color);
    width: 20px;
}



.copyright .payment-icons{
	    color: var(--light-color);
}

/* Stili per i dettagli di consegna */
.delivery-details {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 3px solid var(--primary-color);
}

.delivery-details .form-group {
    margin-bottom: 15px;
}

.delivery-details label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 5px;
    display: block;
}

.delivery-details select {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 8px 12px;
    width: 100%;
    background: white;
}

.store-info {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
}

.store-info h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.store-info p {
    margin: 0;
    color: var(--dark-color);
    line-height: 1.5;
}

/* Informazioni di spedizione nel riepilogo */
.delivery-info-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 3px solid var(--primary-color);
}

.delivery-info-summary strong {
    color: var(--primary-color);
}

/* Miglioramenti visivi per i metodi di spedizione */
.shipping-method[data-shipping-type="store_pickup"] .shipping-option {
    border-left: 3px solid var(--success-color);
}

.shipping-method[data-shipping-type="home_delivery"] .shipping-option {
    border-left: 3px solid var(--warning-color);
}

.shipping-method[data-shipping-type="courier"] .shipping-option {
    border-left: 3px solid var(--primary-color);
}

/* Indicatore per metodi con consegna programmata */
.shipping-method[data-shipping-type="store_pickup"]::after,
.shipping-method[data-shipping-type="home_delivery"]::after {
    content: "⏰ Consegna Programmable";
    display: block;
    font-size: 0.7rem;
    color: var(--secondary-color);
    margin-top: 5px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .delivery-details .row {
        flex-direction: column;
    }
    
    .delivery-details .col-md-6 {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Animazioni per i dettagli di consegna */
.delivery-details {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

/* Stili per le fasce orarie */
.time-slot-option {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot-option:hover {
    border-color: var(--primary-color);
}

.time-slot-option.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-products-table {
        font-size: 0.8rem;
    }
    
    .product-info-cart {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .product-image-cart {
        width: 60px;
        height: 60px;
    }
    
    .checkout-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .checkout-steps:before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        gap: 10px;
    }
    
    .checkout-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-back-cart,
    .btn-complete-order {
        width: 100%;
        text-align: center;
    }
}



/* Miglioramento hover per mobile */
@media (hover: hover) {
    .mobile-nav li a:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .mobile-dropdown-toggle:hover {
        background: var(--primary-color);
        color: white;
    }
}
/* ===== MEDIA QUERIES MIGLIORATE ===== */

@media (max-width: 1122px) {
    .main-navigation-top .nav-menu a {
        font-size: 12px;
    }
    
    .category-menu .nav-menu > li > a {
        padding: 15px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .category-menu .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }



}

@media (max-width: 780px) {
    .main-header .container-full .col-xs-6.col-sm-4:nth-child(2),
    .main-header .container-full .col-xs-6.col-sm-4.text-end {
        display: none;
    }
    
    .main-header .container-full .col-xs-6.col-sm-4:first-child {
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        position: static;
        transform: none;
        text-align: right;
        padding: 15px;
    }
    
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }

    .hero-slider .slider-item {
        height: 400px;
    }
    
    .slider-caption h2 {
        font-size: 2rem;
    }
    
    .slider-caption p {
        font-size: 1rem;
    }
    
    .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem !important;
    }

    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .product-card, .category-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-slider .slider-item {
        height: 300px;
    }
    
    .slider-caption h2 {
        font-size: 1.5rem;
    }
    
    .slider-caption p {
        font-size: 0.9rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 20px;
        transform: none;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .top-bar .contact-info span {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    /* Menu mobile più stretto su dispositivi piccoli */
    .mobile-menu {
        width: 280px;
    }
}
/* Responsive */

@media (max-width: 1122px) {

.main-navigation-top .nav-menu a{
    font-size: 12px;
}
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        text-align: right;
		position: absolute;
        color: var(--primary-color); 
		font-size:25px;
        top: 10px;
        left: 26px;
    }
    
    .header-actions {
        justify-content: flex-end;
    }
    
    .search-box {
        margin: 15px 0;
    }
}

@media (max-width: 780px) {
	.main-header .container-full .col-xs-6.col-sm-4:nth-child(2),
	.main-header .container-full .col-xs-6.col-sm-4.text-end	
	{
		display: none;
	}
	.main-header .container-full .col-xs-6.col-sm-4:first-child
	{
		width:100%;
		text-align:center;
		padding:8px;
	}
	
}



@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }

    .hero-slider .slider-item {
        height: 400px;
    }
    
    .slider-caption h2 {
        font-size: 2rem;
    }
    
    .slider-caption p {
        font-size: 1rem;
    }
    
    .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem !important;
    }

    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .product-card, .category-card {
        margin-bottom: 20px;
    }
}
@media (max-width: 576px) {
    .hero-slider .slider-item {
        height: 300px;
    }
    
    .slider-caption h2 {
        font-size: 1.5rem;
    }
    
    .slider-caption p {
        font-size: 0.9rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 20px;
        transform: none;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .top-bar .contact-info span {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }

}