@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

a {
  text-decoration: none;
}

.clear {
  clear: both;
}

.ovh {
  overflow: hidden;
}

.error {
  color: red;
}

.success {
  color: green;
}

a:hover {
  text-decoration: none;
}

.headline {
  text-align: center;
  margin-bottom: 50px;
}

.headline h2 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 0;
}

.headline h3 {
  font-size: 18px;
  margin-top: 0;
}

.headline-white {
  color: #fff;
}

.bg-gray {
  background: #f2f3f3 !important;
}

.bg-white {
  background: #ffffff !important;
}

.top {
  width: 100%;
  height: 50px;
  /* background: #ececec; */
  background: #131921;
}

.top .left {
  float: left;
}

.top .left ul {
  padding-top: 12px;
}

.top .left ul li {
  list-style-type: none;
  float: left;
  margin-right: 6px;
  /* color: #0d1452; */
  color: white;
  white-space: nowrap;
  font-size: 13px;
}

.top .left ul li i {
  /* color: #0d1452; */
  color: white;
  transition: all 0.3s ease;
}

.top .left ul li:hover i {
  color: #007bff;
  transform: scale(1.1);
}

.top .right {
  float: right;
}

.top .right ul {
  padding-top: 12px;
}

.top .right ul li {
  list-style-type: none;
  float: left;
  margin-left: 5px;
}

.top .right ul li a {
  /* color: #0d1452; */
  color: white;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  display: block;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.top .right ul li a:hover {
  background: #007bff;
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.top .right ul li a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.top .right ul li a:hover::before {
  width: 100%;
  height: 100%;
}

.header {
  width: 100%;
  height: auto;
  background: #fff;
}

.header .inner {
  height: auto;
  display: table;
}

.header .logo {
  float: none;
  display: table-cell;
  vertical-align: middle;
}

.header .logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.header .navbar-form .form-control {
  width: 300px;
}

.header .search-area {
  float: none;
  display: table-cell;
  vertical-align: middle;
}

.header .search-area .form-group {
  width: calc(100% - 84px);
}

.header .search-area button {
  width: 80px;
}

.header .search-area form {
  width: 100%;
}

.header .right {
  float: none;
  display: table-cell;
  vertical-align: middle;
  padding-right: 0;
}

.header .right ul {
  float: right;
  margin-bottom: 0;
}

.header .right ul li {
  list-style-type: none;
  float: left;
  margin-left: 14px;
  color: #0d1452;
}

.header .right ul li a {
  color: #0d1452;
}

.header .navbar-form .search-top {
  width: 100%;
}

/* Menu di navigazione principale rimosso - lasciato solo menu categorie */
  padding-bottom: 0;
  list-style: none;
  width: 25%;
  background: none;
  float: left;
}

.menu > ul > li > ul > li a {
  color: #333;
  padding: 12px 20px;
  width: 100%;
  display: block;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 8px;
  margin-bottom: 5px;
}

.menu > ul > li > ul > li a:hover {
  background: linear-gradient(135deg, #007bff, #00d4aa);
  color: white;
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}



.menu > ul > li > ul > li > ul {
  display: block;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  box-sizing: border-box;
}

.menu > ul > li > ul > li > ul:before,
.menu > ul > li > ul > li > ul:after {
  content: "";
  display: table;
}

.menu > ul > li > ul > li > ul:after {
  clear: both;
}

.menu > ul > li > ul > li > ul > li {
  float: left;
  width: 100%;
  padding: 10px 0;
  margin: 0;
  font-size: 0.8em;
}

.menu > ul > li > ul > li > ul > li a {
  border: 0;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 6px;
  margin-left: 10px;
}

.menu > ul > li > ul > li > ul > li a:hover {
  background: rgba(0,123,255,0.1);
  color: #007bff;
  transform: translateX(5px);
}



.menu > ul > li > ul.normal-sub {
  width: 220px;
  left: auto;
  padding: 10px 20px;
}

.menu > ul > li > ul.normal-sub > li {
  width: 100%;
}

.menu > ul > li > ul.normal-sub > li a {
  border: 0;
  padding: 1em 0;
}

/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (max-width: 959px) {
  .menu-container {
    width: 100%;
  }
  .menu-mobile {
    display: block;
  }
  .menu-dropdown-icon:before {
    display: block;
  }
  .menu > ul {
    display: none;
  }
  .menu > ul > li {
    width: 100%;
    float: none;
    display: block;
  }
  .menu > ul > li a {
    padding: 1.5em;
    width: 100%;
    display: block;
  }
  .menu > ul > li > ul {
    position: relative;
  }
  .menu > ul > li > ul.normal-sub {
    width: 100%;
  }
  .menu > ul > li > ul > li {
    float: none;
    width: 100%;
    margin-top: 20px;
  }
  .menu > ul > li > ul > li:first-child {
    margin: 0;
  }
  .menu > ul > li > ul > li > ul {
    position: relative;
  }
  .menu > ul > li > ul > li > ul > li {
    float: none;
  }
  .menu .show-on-mobile {
    display: block;
  }
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
  display: none;
}

@media only screen and (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    z-index: 1000;
    position: relative;
  }
  
  /* Menu mobile rimosso - lasciato solo menu categorie */
}

.bx-wrapper {
  position: relative;
  box-shadow: none;
  border: 0;
  margin-bottom: 0;
}

.bx-controls {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
}

.welcome {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #333;
  text-align: center;
  padding: 70px 0;
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed;
  -webkit-background-size: cover;
  background-size: cover;
  position: relative;
}

.welcome .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  background: #333;
}

.welcome h2 {
  color: #fff;
  margin-bottom: 25px;
}

.welcome p {
  color: #fff;
}

.welcome p.button {
  color: #fff;
  margin-top: 35px;
}

.welcome p.button a {
  background: #0d1452;
  color: #fff;
  padding: 10px 14px;
  transition: all 0.4s ease;
  text-decoration: none;
}

.welcome p.button a:hover {
  background: #fff;
  color: #0d1452;
}

.service {
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 70px 0;
}

.service .item {
  text-align: center;
}
.service .icon {
  text-align: center;
}

.service .icon i {
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  background: #0d1452;
  color: #fff;
  font-size: 38px;
  border-radius: 50%;
}

.product .product-carousel {
  position: relative;
}

.product .owl-controls {
  position: absolute;
  top: -60px;
  right: 0;
}

.product .owl-controls .owl-prev,
.product .owl-controls .owl-next {
  background: #353535;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  padding-left: 13px;
  padding-right: 13px;
}

.product .owl-controls .owl-prev i,
.product .owl-controls .owl-next i {
  font-size: 14px;
}

.product .owl-controls .owl-prev:hover,
.product .owl-controls .owl-next:hover {
  background: #0d1452;
}

.product .item {
  border: 2px solid #e5e5e5;
}

.product .text {
  background: #ffffff;
  padding: 15px;
  overflow: hidden;
}

.product .text del {
  color: #9d9d9d;
}

.product .text h3 {
  font-weight: 600;
  text-align: center;
  color: #333;
  font-size: 1rem;
  margin-bottom: 8px;
  margin-top: 0;
  line-height: 1.3;
}

.product .text h3 a {
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product .text h3 a:hover {
  color: #0d1452;
}

.product .text h3 a:hover {
  text-decoration: none;
}

.product .text h4 {
  color: #0d1452;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product .text p {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 14px;
}

.product .text p a {
  /* background: #0d1452; */
  background: #e7a340;
  color: #fff;
  font-size: 14px;
  padding: 6px 10px;
  transition: all 0.4s ease;
}
.product .out-of-stock {
  width: 100%;
  text-align: center;
}

.product .out-of-stock .inner {
  display: inline-block;
  background: #0d1452;
  color: #fff;
  font-size: 14px;
  padding: 6px 10px;
  transition: all 0.4s ease;
  text-decoration: line-through;
}

.product .text .rating {
  text-align: center;
}

.product .text p a:hover {
  background: #333;
}

.product .item .thumb {
  position: relative;
  overflow: hidden;
}

.product .item .thumb .photo {
  width: 100%;
  height: 200px;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.product .item .thumb .overlay {
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: scale(0.2);
  -ms-transform: scale(0.2);
  -o-transform: scale(0.2);
  transform: scale(0.2);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  background: rgba(255, 255, 255, 0.6);
}

.product .item:hover .thumb .overlay {
  opacity: 1;
  filter: alpha(opacity=1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.product-cat {
  padding-top: 14px;
}

.product-cat .item {
  margin-bottom: 30px;
}

.product .item-product-cat {
  border: 0;
}
.product .item-product-cat .inner {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product .item-product-cat .inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #0d1452;
}

.product .item-search-result {
  border: 0;
}

.product .item-search-result .inner {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product .item-search-result .inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #0d1452;
}
.product .item-search-result:nth-of-type(4n + 1) {
  clear: both;
}
.product .item-product-cat:nth-of-type(3n + 1) {
  clear: both;
}

.testimonial-v1 {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.testimonial-v1 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #353535;
  opacity: 0.7;
}

.testimonial-v1 .container {
  position: relative;
  z-index: 9999;
}

.testimonial-v1 .heading {
  margin-bottom: 50px;
}

.testimonial-v1 .heading h2 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.testimonial-v1 .heading p {
  font-size: 14px;
  text-align: center;
  color: #fff;
}

.testimonial-v1 .testimonial-carousel {
  text-align: center;
  position: relative;
  width: 70%;
  margin: 0 auto;
}

.testimonial-v1 .content .comment {
  color: #fff;
  padding: 14px 50px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  position: relative;
}

.testimonial-v1 .content .comment p {
  margin: 0 auto;
  color: #fff;
  font-size: 14px;
}

.testimonial-v1 .author {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.testimonial-v1 .photo {
  display: inline-block;
  margin-right: -4px;
  vertical-align: top;
}

.testimonial-v1 .photo img {
  width: 80px;
  height: 80px;
  float: right;
  margin-right: 25px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
}

.testimonial-v1 .text {
  display: inline-block;
  vertical-align: top;
}

.testimonial-v1 .text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-align: left;
  margin-top: 10px;
}

.testimonial-v1 .text h4 {
  font-size: 13px;
  color: #fff;
  text-align: left;
}

.testimonial-v1 .owl-nav {
  margin-top: 20px;
}

.testimonial-v1 .owl-nav i {
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 20px;
  text-align: center;
}

.testimonial-v1 .owl-nav .owl-prev,
.testimonial-v1 .owl-nav .owl-next {
  color: #fff;
  background: none;
  position: absolute;
  top: 14%;
}

.testimonial-v1 .owl-nav .owl-prev i,
.testimonial-v1 .owl-nav .owl-next i {
  font-size: 30px;
  font-weight: bold;
}

.testimonial-v1 .owl-nav .owl-prev {
  left: -80px;
}

.testimonial-v1 .owl-nav .owl-next {
  right: -80px;
}

.testimonial-v1 .owl-nav .owl-prev:hover,
.testimonial-v1 .owl-nav .owl-next:hover {
  background: none;
}

.home-blog {
  width: 100%;
  height: auto;
  padding: 70px 0;
  overflow: hidden;
}

.home-blog .item {
}

.home-blog .item .photo {
  width: 100%;
  height: 300px;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-blog .text {
  padding: 14px;
  background: #f2f3f3;
}

.home-blog .text h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
}

.home-blog .text p.button {
  margin-top: 25px;
}

.home-blog .text p.button a {
  background: #0d1452;
  color: #fff;
  font-size: 14px;
  padding: 6px 10px;
  transition: all 0.4s ease;
}

.home-blog .text p.button a:hover {
  background: #333;
}

.footer-main {
  width: 100%;
  height: auto;
  padding: 50px 0;
  background: #2a2a2a;
}
.footer-main h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 25px;
  border-bottom: 1px solid #525252;
}
.footer-main h3:after {
  content: "";
  position: absolute;
  width: 50px;
  background: #0d1452;
  left: 0;
  bottom: -2px;
  height: 4px;
}
.footer-main .footer-col p {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 22px;
}
.footer-main .footer-col p a {
  color: #a3a3a3;
}
.footer-main .footer-col p span {
  display: block;
  color: #a3a3a3;
}
.footer-main .footer-col ul li {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 22px;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  list-style-type: none;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}
.footer-main .footer-col ul li a {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 22px;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}
.footer-main .footer-col ul li a:hover {
  color: #fff;
}
.footer-main .footer-col ul li:before {
  color: #a3a3a3;
  content: "\f0a4";
  font-family: "FontAwesome";
  left: 0;
  position: absolute;
  top: 0;
}
.footer-main .footer-col .contact-item {
  color: #a3a3a3;
  font-size: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  display: table;
}
.footer-main .footer-col .contact-item .icon {
  width: 35px;
  display: table-cell;
  vertical-align: top;
  font-size: 14px;
  margin-right: 10px;
}
.footer-main .footer-col .contact-item .icon i {
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: #dedede;
  color: #2a2a2a;
  border-radius: 50%;
}
.footer-main .footer-col .contact-item .text {
  display: table-cell;
  vertical-align: top;
  line-height: 22px;
  display: block;
}
.footer-main .footer-col p.social {
  margin-bottom: 10px;
}

.footer-bottom {
  width: 100%;
  height: auto;
  background: #141314;
  padding: 14px 0;
}
.footer-bottom .copyright {
  font-size: 13px;
  color: #a3a3a3;
  text-align: center;
}

.scrollup {
  position: fixed;
  z-index: 99999;
  bottom: 20px;
  right: 20px;
  display: none;
}
.scrollup i {
  width: 50px;
  height: 50px;
  line-height: 40px;
  border-radius: 50%;
  background: #0d1452;
  color: #fff;
  border: 4px solid #0d1452;
  text-align: center;
  font-size: 26px;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
.scrollup i:hover {
  opacity: 1;
  filter: alpha(opacity=1);
}

ul.prod-slider li {
  height: 450px;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: top center;
  position: relative;
}
ul.prod-slider li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 99999999;
}
.bx-controls {
  display: none;
}
.prod-pager-thumb {
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: top center;
}
#prod-pager {
  margin-top: 20px;
}

#prod-pager a {
  float: left;
  margin-right: 3px;
}

ul.nav-tabs {
  margin-top: 50px;
}
.product .p-title h2 {
  color: #0d1452;
  margin-top: 0;
  font-size: 24px;
  font-weight: 700;
}

.product .p-status {
  margin-bottom: 10px;
}

.product .p-review {
  margin-bottom: 10px;
}

.product .p-price {
  line-height: 30px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.product .p-price span {
  font-size: 30px;
}

.product .p-price del {
  color: #c7c7c7;
}

.product .p-short-des {
  margin-bottom: 30px;
}

.product .p-quantity {
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 35px;
  font-size: 14px;
}

.product .p-quantity input[type="number"] {
  height: 30px;
  width: 100px;
  border: 2px solid #c7c7c7;
}

.product .btn-cart {
  margin-bottom: 30px;
}

.product .btn-cart a {
  padding: 10px 14px;
  /* background: #0d1452; */
  background: #f19000;
  color: #fff;
}

.product .btn-cart1 input[type="submit"] {
  border: 0;
  padding: 10px 14px;
  /* background: #0d1452; */
  background: #f19000;
  color: #fff;
}

.product .share {
  line-height: 30px;
  font-weight: 700;
}

.product .nav {
  background: transparent;
}

.product .nav-tabs li a {
  font-weight: 700;
  color: #333;
}

.product .tab-content > .tab-pane {
  padding-top: 20px;
}

.review-form h2 {
  font-size: 24px;
  font-weight: 700;
}
.review-form .btn-default {
  background: #0d1452;
  color: #fff;
  border-radius: 0;
  border: 0;
  padding: 10px 14px;
}
.rating-section {
  margin-bottom: 14px;
}

.page-banner {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
  position: relative;
  /* padding-top: 80px;
  padding-bottom: 80px; */
  padding-top: 15px;
  padding-bottom: 15px;
  overflow: hidden;
}

.page-banner .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  /* background: #333; */
  background: #131921;
}

.page-banner h1 {
  color: #fff;
  text-align: center;
  z-index: 999;
  position: relative;
}

/* Titolo categoria in pagina categoria: blu Nettis */
.page-banner h1 {
  color: #2196C6 !important;
  text-shadow: none !important;
}

.page {
  width: 100%;
  height: auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

.page h3.special {
  font-size: 22px;
  font-weight: 600;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 25px;
  border-bottom: 1px solid #b9b9b9;
  position: relative;
}

.page h3.special:after {
  content: "";
  position: absolute;
  width: 50px;
  background: #0d1452;
  left: 0;
  bottom: -2px;
  height: 4px;
}

.cart {
  width: 100%;
  height: auto;
}

.cart table img {
  width: 100px;
}

.cart table tr td {
  vertical-align: middle;
}

.cart input[type="number"] {
  height: 30px;
  width: 70px;
  border: 2px solid #c7c7c7;
  padding-left: 10px;
  padding-right: 10px;
}

.cart table tr td .trash {
  color: #0d1452;
  font-size: 18px;
}

.cart table tr td.total-text,
.cart table tr th.total-text {
  text-align: right;
  font-size: 14px;
}

.cart table tr td.total-amount,
.cart table tr th.total-amount {
  text-align: right;
  font-size: 14px;
}

.cart-buttons {
  width: 100%;
  float: right;
  margin-top: 40px;
}

.cart-buttons ul {
  float: right;
}

.cart-buttons li {
  float: left;
  list-style-type: none;
  margin-left: 14px;
}

.cart-buttons li input[type="submit"],
.cart-buttons li a {
  background: #0d1452;
  border: 0;
  border-radius: 0;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  font-size: 18px;
  padding: 10px 20px;
  color: #fff;
}

.cart-buttons li input[type="submit"]:hover,
.cart-buttons li a:hover {
  background: #333;
  color: #fff;
}

.cform input[type="submit"] {
  background: #0d1452;
  border: 0;
}

.cform address span,
.cform address a span {
  color: #0d1452;
}

.page iframe {
  width: 100%;
}

.gal-container {
  padding: 12px;
}
.gal-item {
  overflow: hidden;
  padding: 3px;
}
.gal-item .box {
  height: 350px;
  overflow: hidden;
}
.box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  -o-object-fit: cover;
}
.gal-item a:focus {
  outline: none;
}
.gal-item a:after {
  content: "\e003";
  font-family: "Glyphicons Halflings";
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.75);
  position: absolute;
  right: 3px;
  left: 3px;
  top: 3px;
  bottom: 3px;
  text-align: center;
  line-height: 350px;
  font-size: 30px;
  color: #fff;
  -webkit-transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
.gal-item a:hover:after {
  opacity: 1;
}
.modal-open .gal-container .modal {
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-open .gal-item .modal-body {
  padding: 0px;
}
.modal-open .gal-item button.close {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #000;
  opacity: 1;
  color: #fff;
  z-index: 999;
  right: -12px;
  top: -12px;
  border-radius: 50%;
  font-size: 14px;
  border: 2px solid #fff;
  line-height: 25px;
  -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.35);
}
.modal-open .gal-item button.close:focus {
  outline: none;
}
.modal-open .gal-item button.close span {
  position: relative;
  top: -3px;
  font-weight: lighter;
  text-shadow: none;
}
.gal-container .modal-dialogue {
  width: 80%;
}
.gal-container .description {
  position: relative;
  height: 40px;
  top: -40px;
  padding: 10px 25px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: left;
}
.gal-container .description h4 {
  margin: 0px;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}
.gal-container .modal.fade .modal-dialog {
  -webkit-transform: scale(0.1);
  -moz-transform: scale(0.1);
  -ms-transform: scale(0.1);
  transform: scale(0.1);
  top: 100px;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.gal-container .modal.fade.in .modal-dialog {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transform: translate3d(0, -100px, 0);
  transform: translate3d(0, -100px, 0);
  opacity: 1;
}
@media (min-width: 768px) {
  .gal-container .modal-dialog {
    width: 55%;
    margin: 50 auto;
  }
}
@media (max-width: 768px) {
  .gal-container .modal-content {
    height: 250px;
  }
}
/* Footer Style */
i.red {
  color: #bc0213;
}
.gal-container {
  padding-top: 0px;
  padding-bottom: 75px;
}

.videos {
  padding-top: 30px;
  padding-bottom: 10px;
  text-align: center;
}
.videos .adv img {
  width: 100%;
  height: auto;
}
.videos .prop-4-col:nth-of-type(4n + 1) {
  clear: both;
}
.videos .prop-3-col:nth-of-type(3n + 1) {
  clear: both;
}
.videos h2 {
  color: #464646;
  font-family: "Open Sans", serif;
  font-size: 26px;
  font-weight: 800;
  position: relative;
  text-transform: uppercase;
}
.videos h3 {
  color: #464646;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 40px;
  margin-top: 20px;
}
.single-room {
  position: relative;
  margin-bottom: 30px;
  background: #fff;
  overflow: hidden;
  -webkit-box-shadow: 0px 0px 14px -2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 14px -2px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 14px -2px rgba(0, 0, 0, 0.75);
}
.single-room .photo-col2 {
  width: 100%;
  height: 360px;
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.single-room .photo-col3 {
  width: 100%;
  height: 150px;
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.single-room-text {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.single-room-text h2 {
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-transform: none;
  margin-bottom: 0;
}
.single-room-text h2 a {
  color: #333;
  padding: 8px !important;
  font-weight: 600;
  display: block;
}

table.bill-address tr td:nth-of-type(1) {
  font-weight: bold;
  width: 200px;
}

.user-sidebar ul {
  text-align: center;
}

.user-sidebar ul li {
  list-style-type: none;
  border-bottom: 1px solid #fff;
  display: inline-block;
}

.user-sidebar ul li a {
  padding: 7px 20px;
  min-height: 40px;
  line-height: 40px;
  background: #444;
  color: #fff;
}

.user-content h3 {
  margin-bottom: 20px;
}

.blog {
  background: #fff;
}

.blog .post-item {
  margin-bottom: 30px;
  overflow: hidden;
}

.blog .image-holder {
  width: 285px;
  float: left;
  position: relative;
  margin-right: 15px;
}

.blog .image-holder-single {
  width: 100%;
  float: none;
  position: relative;
}

.blog .image-holder-single img {
  width: 100%;
  height: auto;
}

.blog .image-holder .date {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  z-index: 999;
}

.blog .image-holder .day {
  width: 60px;
  height: 40px;
  line-height: 40px;
  background: #0d1452;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 16px;
}

.blog .image-holder .day:before {
  position: absolute;
  top: 22px;
  left: 24px;
  color: #0d1452;
  font-family: "FontAwesome";
  content: "\f0d7";
  font-size: 24px;
}

.blog .image-holder .month {
  width: 60px;
  height: 40px;
  line-height: 40px;
  background: #333;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
}

.blog .text {
  width: calc(100% - 300px);
  float: left;
}

.blog .text-single {
  width: 100%;
  float: none;
}

.blog .text-single h3 {
  font-family: "Roboto", sans-serif;
  margin-top: 20px;
}

.blog .text .inner {
  padding: 0 20px 20px 20px;
}

.blog h3 {
  font-family: "Roboto", sans-serif;
  text-align: left;
  color: #333;
  font-weight: 700;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.5;
  text-transform: uppercase;
}

.blog h3 a {
  font-family: "Roboto", sans-serif;
  color: #333;
}

.blog h3 a:hover {
  color: #0d1452;
}

.blog .text ul.status {
  overflow: hidden;
  margin-bottom: 15px;
}

.blog .text ul.status li {
  text-align: left;
  margin-bottom: 15px;
  color: #0d1452;
  font-size: 14px;
  float: left;
  list-style-type: none;
  margin-right: 15px;
  line-height: 18px;
  margin-bottom: 5px;
  padding-left: 0;
}

.blog .text ul.status li a {
  color: #0d1452;
}

.blog .text ul.status li i {
  margin-right: 8px;
}

.blog ul.status li:before {
  content: "";
}

.blog ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  list-style-type: none;
}

.blog ul li:before {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "FontAwesome";
  content: "\f044";
  color: #333;
}

.blog h1 {
  font-size: 24px;
  color: #0d1452;
  font-weight: bold;
}

.blog h2 {
  font-size: 20px;
  color: #0d1452;
  font-weight: bold;
}

.blog h3 {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.blog h4 {
  font-size: 16px;
  color: #0d1452;
  font-weight: bold;
}

.blog h5 {
  font-size: 14px;
  color: #0d1452;
  font-weight: bold;
}

.blog h6 {
  font-size: 12px;
  color: #0d1452;
  font-weight: bold;
}

.blog p {
  margin-bottom: 15px;
  font-size: 14px;
}

.blog p.button {
  margin-top: 20px;
}

.blog p.button a {
  font-family: "Roboto", sans-serif;
  background: #0d1452;
  color: #fff;
  padding: 10px 14px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.blog p.button a:hover {
  background: #444;
}

.blog .pagination {
  margin-top: 20px;
}

.blog .pagination ul {
  width: 100%;
  height: auto;
  text-align: center;
}

.blog .pagination ul li {
  display: inline-block;
  color: #333;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin-right: 10px;
  padding-left: 0;
}

.blog .pagination ul li:before {
  content: "";
}

.blog .pagination ul li a {
  background: #0d1452;
  color: #fff;
  display: block;
  font-size: 16px;
}

.blog .pagination ul li a i {
  margin-right: 0;
}

.blog .pagination ul li a:hover {
  background: #333;
}

.blog .pagination ul li a.active {
  background: #333;
}

.blog .gallery-carousel {
  position: relative;
  z-index: 999;
}

.blog .owl-controls {
  position: absolute;
  top: 0px;
  right: 0;
  z-index: 999;
}

.blog .owl-controls .owl-prev,
.blog .owl-controls .owl-next {
  background: #333;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  padding-left: 13px;
  padding-right: 13px;
}

.blog .owl-controls .owl-prev i,
.blog .owl-controls .owl-next i {
  font-size: 16px;
}

.blog .owl-controls .owl-prev:hover,
.blog .owl-controls .owl-next:hover {
  background: #0d1452;
}

.blog .video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.blog .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blog .audio {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

/**
 * ---------------------------------------------------
 * Sidebar Style
 * ---------------------------------------------------
 */
.sidebar {
  width: 340px;
  min-width: 320px;
}

.sidebar .featured-products {
  width: 100%;
  min-width: 0;
}

.widget {
  overflow: hidden;
  margin-bottom: 30px;
}

.widget-search input {
  height: 36px;
  border: 2px solid #afafaf;
  float: left;
  padding-left: 6px;
  padding-right: 6px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

.widget-search input:focus {
  border: 2px solid #0d1452;
}

.widget-search button {
  width: 42px;
  height: 36px;
  float: left;
  border: 2px solid #0d1452;
  background: #0d1452;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  margin-left: 5px;
  color: #fff;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.widget-search button:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.widget h4 {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 6px;
  margin-bottom: 15px;
  border-bottom: 2px solid #0d1452;
}

.widget ul li {
  display: block;
  float: none;
  color: #333;
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
}

.widget ul li:before {
  content: "\f105";
  font-family: "FontAwesome";
  position: absolute;
  color: #333;
  top: 1px;
  left: 3px;
}

.widget ul li a {
  color: #333;
  font-size: 14px;
}

.widget ul li a:hover {
  color: #0d1452;
}

.widget ul.tag-cloud li {
  display: inline-block;
  padding-left: 0;
  padding: 4px 10px;
  border: 2px solid #afafaf;
  font-size: 12px;
  margin-right: 5px;
}

.widget ul.tag-cloud li:before {
  content: "";
}

.widget ul.tag-cloud li:hover {
  background: #0d1452;
  border: 2px solid #0d1452;
}

.widget ul.tag-cloud li:hover a {
  color: #fff;
}

.card .nav-tabs {
  border-bottom: 2px solid #ddd;
  background: #fff;
}
.card .nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
}
.card .nav-tabs > li > a {
  border: none;
  color: #666;
}
.card .nav-tabs > li.active > a,
.card .nav-tabs > li > a:hover {
  border: none;
  color: #0d1452 !important;
  background: transparent;
}
.card .nav-tabs > li > a::after {
  content: "";
  background: #0d1452;
  height: 2px;
  position: absolute;
  width: 100%;
  left: 0px;
  bottom: -1px;
  transition: all 250ms ease 0s;
  transform: scale(0);
}
.card .nav-tabs > li.active > a::after,
.nav-tabs > li:hover > a::after {
  transform: scale(1);
}
.tab-nav > li > a::after {
  background: #21527d none repeat scroll 0% 0%;
  color: #fff;
}
.tab-pane {
  padding: 14px 0;
}
.tab-content {
  padding: 20px;
}

.card {
  background: #fff none repeat scroll 0% 0%;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.vid iframe {
  width: 100%;
  height: 250px;
}

div.pagination {
  padding: 3px;
  margin: 3px;
  z-index: 1000;
  font-size: 14px;
  margin-bottom: 20px;
}

div.pagination a {
  padding: 5px 7px;
  margin: 2px;
  border: 1px solid #cf0d42;
  text-decoration: none; /* no underline */
  background-color: #0d1452;
  color: #fff;
  font-weight: bold;
}

div.pagination a:hover,
div.pagination a:active {
  border: 1px solid #cf0d42;
  color: #fff;
  background-color: #b20b39;
}

div.pagination span.current {
  padding: 5px 7px;
  margin: 2px;
  border: 1px solid #cf0d42;
  font-weight: bold;
  background-color: #b20b39;
  color: #fff;
  font-weight: bold;
}

div.pagination span.disabled {
  padding: 5px 7px;
  margin: 2px;
  border: 1px solid #929693;
  color: #929693;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 999999;
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: url(../img/1.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}

.ad-section img {
  width: 100% !important;
  height: auto !important;
}

.breadcrumb {
  background: #fff;
  margin-top: -40px;
}

.breadcrumb ul li {
  float: left;
  list-style-type: none;
  margin-right: 10px;
  color: #0d1452;
}
.breadcrumb ul li:last-child {
  color: #333;
}

.breadcrumb ul li a {
  color: #0d1452;
}

.bs-slider .item {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  height: 500px;
}

.home-newsletter {
  padding: 80px 0;
  /* background: #0d1452; */
  background: #232f3e;
}

.home-newsletter .single {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.home-newsletter .single h2 {
  font-size: 22px;
  color: white;
  text-transform: uppercase;
  margin-bottom: 40px;
  margin-top: 0;
}
.home-newsletter .single .form-control {
  height: 50px;
  border-color: #333;
  outline: none;
}
.home-newsletter .single .btn {
  min-height: 50px;
  background: #333;
  color: #fff;
  padding-left: 15px;
  padding-right: 15px;
}

/* PAGINAZIONE MODERNA */
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 6px;
}
.pagination li {
  display: inline;
}
.pagination li a, .pagination li span {
  color: #2196C6;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e3f3fa;
  margin-left: -1px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-radius: 0 4px 4px 0;
}
.pagination li:first-child a, .pagination li:first-child span {
  border-radius: 4px 0 0 4px;
}
.pagination li:last-child a, .pagination li:last-child span {
  border-radius: 0 4px 4px 0;
}
.pagination li.active a, .pagination li.active span {
  background: #2196C6;
  color: #fff;
  border-color: #2196C6;
}
.pagination li a:hover:not(.active) {
  background: #e3f3fa;
  color: #176b8a;
}

/* ===== SEZIONE SERVIZI MODERNA ===== */
.modern-services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.modern-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.section-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d1452;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0d1452, #e7a340);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d1452, #e7a340);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 25px;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0d1452, #1a237e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(13, 20, 82, 0.3);
}

.service-icon-svg {
    font-size: 40px;
    color: #ffffff;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-svg {
    transform: scale(1.1);
    color: #e7a340;
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d1452;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #e7a340;
}

.service-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.3s ease;
}

.feature-item i {
    color: #28a745;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .feature-item i {
    transform: scale(1.2);
}

.service-card:hover .feature-item {
    color: #0d1452;
}

.services-cta {
    background: linear-gradient(135deg, #0d1452, #1a237e);
    border-radius: 20px;
    padding: 50px 30px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(231, 163, 64, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-outline-primary {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #ffffff;
    color: #0d1452;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-services {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .service-icon-svg {
        font-size: 30px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
}

/* Animazioni AOS personalizzate */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* ===== SIDEBAR E WIDGET ===== */
.widget {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.widget:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d1452;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #0d1452, #e7a340);
}

/* ===== PRODOTTI IN EVIDENZA SIDEBAR ===== */
.featured-products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.featured-product-item {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

.featured-product-item:hover {
    border-color: #0d1452;
    box-shadow: 0 2px 8px rgba(13, 20, 82, 0.1);
    transform: translateY(-2px);
}

.featured-product-item .product-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.featured-product-item .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-product-item:hover .product-thumb img {
    transform: scale(1.05);
}

.featured-product-item .product-info {
    flex: 1;
    min-width: 0; /* Permette al testo di troncarsi */
}

.featured-product-item .product-info h4 {
    margin: 0 0 3px 0;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.featured-product-item .product-info h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-product-item .product-info h4 a:hover {
    color: #0d1452;
}

.featured-product-item .product-info .price {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0d1452;
}

/* Responsive per prodotti in evidenza */
@media (max-width: 768px) {
    .featured-product-item {
        padding: 8px;
        gap: 10px;
    }
    
    .featured-product-item .product-thumb {
        width: 50px;
        height: 50px;
    }
    
    .featured-product-item .product-info h4 {
        font-size: 0.85rem;
    }
    
    .featured-product-item .product-info .price {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .featured-product-item .product-thumb {
        width: 45px;
        height: 45px;
    }
    
    .featured-product-item .product-info h4 {
        font-size: 0.8rem;
    }
}

/* ===== FILTRI PREZZO ===== */
.price-filter {
    margin-top: 10px;
}

.price-filter .form-group {
    margin-bottom: 12px;
}

.price-filter label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 5px;
    display: block;
}

.price-filter .form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.price-filter .form-control:focus {
    border-color: #0d1452;
    box-shadow: 0 0 0 0.2rem rgba(13, 20, 82, 0.25);
}

.price-filter .btn {
    width: 100%;
    margin-top: 5px;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
}

/* ===== LAYOUT HOME PAGE ===== */
.main-content {
    background: #f8f9fa;
}

.main-content .container {
    max-width: 1200px;
}

.main-content .row {
    align-items: flex-start;
}

/* Sidebar sinistra */
.main-content .col-md-3 {
    position: sticky;
    top: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Contenuto principale destra */
.main-content .col-md-9 {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 20px;
}

/* Header categoria */
.category-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.category-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.category-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ===== GRIGLIA PRODOTTI PRINCIPALE ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.item-product-cat {
  width: 100%;
  max-width: none;
  margin: 0;
}

.item-product-cat .thumb {
  height: 150px;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-product-cat .photo {
  width: 100%;
  height: 180px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 12px 12px 0 0;
  display: block;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.item-product-cat .thumb a:hover .photo {
  transform: scale(1.05);
}

.item-product-cat .thumb a {
  text-decoration: none;
  color: inherit;
}

/* Stili per la sezione testo dei prodotti */
.item-product-cat .text {
  padding: 12px 15px;
  background: white;
  border-radius: 0 0 12px 12px;
  min-height: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.item-product-cat .text h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #333;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-product-cat .text h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.item-product-cat .text h3 a:hover {
  color: #007bff;
}

.item-product-cat .text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #007bff;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}

.item-product-cat .text h4 del {
  color: #999;
  font-size: 14px;
  margin-right: 8px;
}

/* Stili per i pallini colorati */
.item-product-cat .text .color-dots {
  margin: 8px 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.item-product-cat .text .color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.item-product-cat .text .color-dot:hover {
  transform: scale(1.2);
}

/* Stili per il rating */
.item-product-cat .text .rating {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: #666;
}

.item-product-cat .text .rating i {
  color: #ffc107;
  margin: 0 1px;
}

/* Responsive per mobile */
@media (max-width: 767px) {
  .item-product-cat .text {
    padding: 10px 12px;
    min-height: 50px;
    gap: 8px;
  }
  
  .item-product-cat .text h3 {
    font-size: 12px;
    margin: 0;
  }
  
  .item-product-cat .text h4 {
    font-size: 14px;
  }
}

.product-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #0d1452;
}

.product-item .product-thumb {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.product-item .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block;
    background: #fff;
    margin: auto;
}

/* Stili per immagini cliccabili nei risultati di ricerca */
.item-search-result .thumb a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.item-search-result .thumb a:hover .photo {
    transform: scale(1.05);
}

/* Stili per la sezione testo dei risultati di ricerca */
.item-search-result .text {
  padding: 12px 15px;
  background: white;
  border-radius: 0 0 12px 12px;
  min-height: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.item-search-result .text h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #333;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-search-result .text h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.item-search-result .text h3 a:hover {
  color: #007bff;
}

.item-search-result .text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #007bff;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}

.item-search-result .text h4 del {
  color: #999;
  font-size: 14px;
  margin-right: 8px;
}

/* Responsive per mobile */
@media (max-width: 767px) {
  .item-search-result .text {
    padding: 10px 12px;
    min-height: 50px;
    gap: 8px;
  }
  
  .item-search-result .text h3 {
    font-size: 12px;
    margin: 0;
  }
  
  .item-search-result .text h4 {
    font-size: 14px;
  }
}

.product-item:hover .product-thumb img {
    transform: scale(1.05);
}

.product-item .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 20, 82, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-item .product-overlay .btn {
    background: #ffffff;
    color: #0d1452;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-item .product-overlay .btn:hover {
    background: #0d1452;
    color: #ffffff;
}

.product-item .product-info {
    padding: 15px;
}

.product-item .product-info h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-item .product-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-item .product-info h3 a:hover {
    color: #0d1452;
}

.product-item .product-info .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d1452;
    margin-bottom: 8px;
}

.product-item .product-info .price del {
    color: #999;
    font-size: 0.9rem;
    margin-left: 8px;
}

.product-item .product-info .rating {
    text-align: center;
    margin-top: 8px;
}

.product-item .product-info .rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Responsive per griglia prodotti */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .product-item .product-thumb {
        height: 180px;
    }
    
    .product-item .product-info {
        padding: 12px;
    }
    
    .product-item .product-info h3 {
        font-size: 0.9rem;
    }
    
    .product-item .product-info .price {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .product-item .product-thumb {
        height: 160px;
    }
    
    .product-item .product-info {
        padding: 10px;
    }
    
    /* Layout mobile */
    .main-content .col-md-3,
    .main-content .col-md-9 {
        position: static;
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .category-header h2 {
        font-size: 20px;
    }
    
    .category-header p {
        font-size: 14px;
    }
}

.color-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  border-radius: 50%;
  border: 1px solid #ccc;
  margin: 0 2px;
  vertical-align: middle;
  box-sizing: border-box;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Stili per i color dots nei prodotti */
.products-grid .color-dot {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
}

.item-product-cat .color-dot {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
}

.color-dot {
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.color-dots-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  justify-content: flex-start;
}

.color-dot {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  border-radius: 50%;
  border: 1px solid #ccc;
  margin: 0 1px 2px 0;
  vertical-align: middle;
  box-sizing: border-box;
  flex-shrink: 0;
  flex-grow: 0;
}

.products-grid {
    gap: 12px; /* o anche 12px se vuoi ancora meno spazio */
}

/* --- Stile moderno dashboard cliente --- */
.page .container {
    background: #f8fafd;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 32px 24px 24px 24px;
    margin-top: 32px;
}

/* Menu sidebar utente - Layout verticale pulito */
.user-sidebar-menu {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,123,255,0.08);
    padding: 0;
    margin-bottom: 32px;
    width: 100%;
    max-width: 300px;
}

.user-sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.user-sidebar-menu li {
    border-bottom: 1px solid #e6eaf2;
    margin: 0;
    display: block;
    width: 100%;
}

.user-sidebar-menu a {
    display: block;
    color: #007bff;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.user-sidebar-menu a:hover, 
.user-sidebar-menu a:focus {
    background: #e6f0ff;
    color: #0056b3;
    text-decoration: none;
    transform: translateX(5px);
}

.user-sidebar-menu a i {
    margin-right: 12px;
    font-size: 18px;
    opacity: 0.85;
    min-width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.user-sidebar-menu a:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Contenuto principale utente */
.user-content {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,123,255,0.08);
    padding: 32px 24px;
    margin-top: 0;
    margin-left: 20px;
    flex: 1;
}

.user-content h3 {
    color: #007bff;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: left;
}

/* Layout responsive per dashboard */
.page .container .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 20px;
}

.page .container .col-md-12 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Responsive design */
@media (max-width: 991px) {
    .page .container .row {
        flex-direction: column;
    }
    
    .page .container .col-md-12 {
        flex-direction: column;
    }
    
    .user-sidebar-menu {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .user-content {
        margin-left: 0;
        padding: 20px 16px;
    }
}

@media (max-width: 768px) {
    .page .container {
        padding: 16px 12px;
    }
    
    .user-sidebar-menu a {
        font-size: 15px;
        padding: 14px 20px;
    }
    
    .user-sidebar-menu a i {
        font-size: 16px;
        min-width: 18px;
    }
    
    .user-content {
        padding: 16px 12px;
    }
    
    .user-content h3 {
        font-size: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page .container {
        padding: 12px 8px;
    }
    
    .user-sidebar-menu a {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .user-content {
        padding: 12px 8px;
    }
}

/* Stili aggiuntivi per migliorare l'aspetto del menu profilo */
.user-sidebar-menu a.active {
    background: #007bff;
    color: #fff;
    border-left: 4px solid #0056b3;
}

.user-sidebar-menu a.active i {
    color: #fff;
    opacity: 1;
}

/* Animazione hover per le icone */
.user-sidebar-menu a:hover i {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Stile per il contenuto della dashboard */
.dashboard-welcome {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #007bff;
}

.dashboard-welcome p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

/* Miglioramenti per i form */
.user-content .form-group {
    margin-bottom: 20px;
}

.user-content .form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.user-content .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.user-content .btn-primary {
    background: #007bff;
    border-color: #007bff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-content .btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Correzione select form profilo/indirizzi */
.user-content select.form-control,
.user-content select {
    min-height: 42px;
    height: 42px;
    font-size: 15px;
    padding: 8px 12px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid #ced4da;
    background: #fff;
    transition: border-color 0.3s;
}

.user-content select.form-control:focus,
.user-content select:focus {
    border-color: #007bff;
    outline: none;
}

/* ===== STILI METODI DI PAGAMENTO MODERNI ===== */
.modern-payment-form {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modern-payment-form:hover {
    border-color: #007bff;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.15);
}

.payment-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.payment-header h4 {
    color: #007bff;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.payment-header p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

.payment-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature i {
    color: #28a745;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

.supported-banks {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.supported-banks h5 {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 10px;
    text-align: center;
}

.bank-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.bank-logo {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #495057;
    transition: all 0.3s ease;
}

.bank-logo:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
}

.qr-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

#satispay-qr {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Responsive per metodi di pagamento */
@media (max-width: 768px) {
    .modern-payment-form {
        padding: 20px 15px;
        margin: 15px 0;
    }
    
    .payment-header h4 {
        font-size: 1.2rem;
    }
    
    .feature {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .bank-logos {
        gap: 6px;
    }
    
    .bank-logo {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modern-payment-form {
        padding: 15px 10px;
    }
    
    .payment-features {
        gap: 8px;
    }
    
    .feature {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
    
    .bank-logos {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
}

/* ===== MODERN CHECKOUT PAYMENT SECTION ===== */
.modern-checkout-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px 24px 24px;
    margin-top: 32px;
    margin-bottom: 32px;
}
.checkout-header {
    text-align: center;
    margin-bottom: 32px;
}
.checkout-header h3 {
    font-size: 2rem;
    color: #007bff;
    font-weight: 700;
    margin-bottom: 8px;
}
.checkout-header p {
    color: #6c757d;
    font-size: 1.1rem;
}
.payment-methods-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.payment-method-card {
    background: #f8fafd;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 22px 18px 16px 18px;
    box-shadow: 0 2px 8px rgba(0,123,255,0.04);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}
.payment-method-card:hover, .payment-method-card.selected {
    border-color: #007bff;
    box-shadow: 0 6px 24px rgba(0,123,255,0.10);
    background: #e6f0ff;
}
.method-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.method-icon {
    font-size: 2.2rem;
    color: #007bff;
    min-width: 48px;
    text-align: center;
}
.satispay-icon { color: #e11931; }
.paypal-icon { color: #003087; }
.mybank-icon { color: #1a237e; }
.bank-icon { color: #2196c6; }
.method-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #232f3e;
}
.method-info p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
}
.method-radio {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.method-radio input[type="radio"] {
    accent-color: #007bff;
    width: 22px;
    height: 22px;
}
.method-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.feature {
    background: #e9ecef;
    color: #495057;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.payment-method-card.selected .feature {
    background: #007bff;
    color: #fff;
}
.cod-icon-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ff9800;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
}
.order-summary {
    background: #f8fafd;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.summary-header h4 {
    font-size: 1.8rem;
    color: #007bff;
    font-weight: 700;
    margin-bottom: 15px;
}
.summary-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.summary-row.cod-bold {
    font-weight: bold;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    color: #232f3e;
    line-height: 1.6;
}
.summary-row span:last-child {
    min-width: 120px;
    text-align: right;
    color: #232f3e;
    font-weight: 600;
}
.summary-row.total {
    font-weight: 700;
    color: #007bff;
    font-size: 1.8rem;
    border-top: 2px solid #e9ecef;
    margin-top: 12px;
    padding-top: 12px;
}
.checkout-actions {
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    margin-top: 18px;
}
.btn-checkout {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    background: #007bff;
    color: #fff;
    border: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,123,255,0.08);
}
.btn-checkout:hover {
    background: #0056b3;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,123,255,0.15);
}
.btn-secondary {
    background: #e9ecef;
    color: #007bff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 22px;
    transition: all 0.2s;
}
.btn-secondary:hover {
    background: #d0e2ff;
    color: #0056b3;
}
.checkout-error {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}
.checkout-error .error-message {
    color: #856404;
}
.checkout-error .btn {
    margin-top: 12px;
}
@media (max-width: 768px) {
    .modern-checkout-section {
        padding: 16px 8px;
    }
    .payment-methods-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .order-summary {
        padding: 16px 12px;
    }
    .summary-header h4 {
        font-size: 1.5rem;
    }
    .summary-row {
        font-size: 1.3rem;
    }
    .summary-row.total {
        font-size: 1.6rem;
    }
    .checkout-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}

/* Fix layout prodotti categoria: 2 per riga, wrap corretto */
.product-cat .row {
    display: flex;
    flex-wrap: wrap;
}
.product-cat .col-md-6 {
    display: block;
}

/* Griglia 3 colonne solo per la pagina categoria */
.product-cat .products-grid {
    grid-template-columns: repeat(3, 1fr);
}

.main-flex {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.sidebar {
  width: 260px;
  flex-shrink: 0;
}
.main-content {
  flex: 1;
  min-width: 0;
}
@media (max-width: 991px) {
  .main-flex {
    flex-direction: column;
    gap: 0;
  }
  .sidebar {
    width: 100%;
  }
}

/* --- Barra social sticky più in alto --- */
.sharethis-sticky-share-buttons, .st-sticky-share-buttons, .sticky-social-bar {
  top: 10px !important;
}

.st-sticky-share-buttons,
.st-left {
  top: 10px !important;
}

div[class*="sticky"], div[class*="st-"] {
  top: 10px !important;
}

/* ===== NASCONDI BARRA SOCIAL SU MOBILE ===== */
@media (max-width: 767px) {
  .sharethis-sticky-share-buttons,
  .st-sticky-share-buttons, 
  .sticky-social-bar,
  .st-left,
  .st-down,
  div[class*="sticky"],
  div[class*="st-"],
  .social-bar,
  .social-share,
  .share-buttons,
  .sharethis-inline-share-buttons,
  .st-inline-share-buttons,
  /* AGGIUNTE EMERGENCY - Nascondi TUTTI gli elementi social */
  [class*="sharethis"],
  [class*="st-"],
  [id*="sharethis"],
  [id*="st-"],
  .st-inline-share-buttons,
  .st-sticky-share-buttons,
  .sharethis-inline-share-buttons,
  .sharethis-sticky-share-buttons {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -9999 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  
  /* Forza pulsanti visibili su mobile dopo rimozione social */
  button, .btn, input[type="button"], input[type="submit"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
    position: relative !important;
  }
  
  /* Forza menu visibili su mobile dopo rimozione social */
  .menu, .nav, .navigation, .navbar, .header-menu, .main-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
    position: relative !important;
  }
}

/* ===== FIX LOGO MOBILE ===== */
/* Assicura che il logo sia sempre responsive su mobile */
@media (max-width: 768px) {
    .header .logo img {
        max-width: 150px !important;
        height: auto !important;
        width: auto !important;
    }
}

@media (max-width: 480px) {
    .header .logo img {
        max-width: 140px !important;
        height: auto !important;
        width: auto !important;
    }
}

@media (max-width: 400px) {
    .header .logo img {
        max-width: 130px !important;
        height: auto !important;
        width: auto !important;
    }
}

@media (max-width: 360px) {
    .header .logo img {
        max-width: 110px !important;
        height: auto !important;
        width: auto !important;
    }
}

/* ===== DISATTIVAZIONE TEMPORANEA SOCIAL BAR ===== */
/* Nascondi completamente la social bar su tutti i dispositivi */
.sharethis-sticky-share-buttons,
.st-sticky-share-buttons, 
.sticky-social-bar,
.st-left,
.st-down,
div[class*="sticky"],
div[class*="st-"],
.social-bar,
.social-share,
.share-buttons,
.sharethis-inline-share-buttons,
.st-inline-share-buttons,
[class*="sharethis"],
[class*="st-"],
[id*="sharethis"],
[id*="st-"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Featured products grid in homepage: 3 per riga */
.featured-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 991px) {
  .featured-products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .featured-products {
    grid-template-columns: 1fr;
  }
}

.main-content {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.sidebar {
  width: 260px !important;
  min-width: 200px !important;
  max-width: 320px !important;
}

.featured-products {
  max-width: 100% !important;
}

.products-grid,
.featured-products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}
@media (max-width: 700px) {
  .products-grid,
  .featured-products {
    grid-template-columns: 1fr !important;
  }
}

/* Forza la barra ShareThis sticky a destra */
.st-sticky-share-buttons, .sharethis-sticky-share-buttons, .sticky-social-bar {
  left: auto !important;
  right: 0 !important;
  bottom: 10px !important;
  orientation: horizontal !important;
}
.st-down {
  left: auto !important;
  right: 0 !important;
  bottom: 10px !important;
  orientation: horizontal !important;
}

.top .left ul li i {
  /* color: #0d1452; */
  color: white;
}

.top .left ul li a {
  /* color: #0d1452; */
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 2px 2px;
  border-radius: 4px;
}

.top .left ul li a:hover {
  color: #007bff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
  animation: colorPulse 2s ease-in-out infinite;
}

.top .left ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%;
  background: #007bff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.top .left ul li a:hover::after {
  width: 100%;
}

@keyframes colorPulse {
  0% {
    color: #007bff;
  }
  50% {
    color: #ffffff;
  }
  100% {
    color: #007bff;
  }
}

@keyframes navColorPulse {
  0% {
    color: #ffffff;
  }
  50% {
    color: #007bff;
  }
  100% {
    color: #ffffff;
  }
}

@keyframes subNavColorPulse {
  0% {
    color: #333;
  }
  50% {
    color: #007bff;
  }
  100% {
    color: #333;
  }
}

@keyframes subSubNavColorPulse {
  0% {
    color: #333;
  }
  50% {
    color: #007bff;
  }
  100% {
    color: #333;
  }
}

@media (max-width: 768px) {
    .item-product-cat .photo {
        background-size: contain;
        background-color: #fff;
    }
}