/* html {
  scroll-behavior: smooth;
} */

/* ============================================================
   Header Layout 4 — Polygon Shapes (mirrors Malen theme)
   ============================================================ */

/* header-top-area wraps both rows; pseudo-elements create the
   red parallelogram covering the full 150px header height     */
/* .header-top-area {
  position: relative;
  z-index: 2;
  --shape-width: 31%;
} */

/* Both pseudo-elements: absolute, top-left, red fill, 150px tall */
/* .header-top-area::before,
.header-top-area::after {
  content: "";
  height: 150px;
  width: var(--shape-width);
  background-color: #eb3300;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
} */

/* ::before — main red shape, full height, right edge angles 25px inward at bottom */
/* .header-top-area::before {
  -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 100%, 0% 100%);
          clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 100%, 0% 100%);
  z-index: 1;
} */

/* ::after — darker top-only accent (50px tall, slightly wider),
   right edge angles 20px outward creating the dark triangle tip */
/* .header-top-area::after {
  height: 50px;
  width: calc(var(--shape-width) + 20px);
  background-color: #c12901;
  -webkit-clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0% 100%);
          clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0% 100%);
} */

.py-5rem{
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}


/* White top bar */
.header-layout4 .header-top {
  background-color: #ffffff;
  padding: 14px 0;
  position: relative;
  z-index: 0;
}

/* Indent top-bar content past the red logo polygon */
.header-layout4 .header-top .container {
  padding-left: 400px;
}

/* Dark info/logo bar */
.header-layout4 .menu-top {
  /* background-color: #161921; */
  background-color: #ffffff;
  /* padding: 23.5px 0; */
  position: relative;
  /* No z-index: keeps this out of its own stacking context so that
     .logo-style2 (z-index:3) is evaluated in .header-top-area's context,
     above the pseudo-elements (z-index:1). */
}

/* Logo: pulled 43px upward into the white bar, pushed 148px from right
   so info content isn't obscured; sits above both pseudo-elements     */
.logo-style2 {
  position: relative;
  z-index: 3;
  /* margin-right: 148px; */
  margin-right: 8px;
  /* margin-top: -43px; */
}
.logo-style2 img {
    max-width: 80%!important;
}

/* Header info blocks (icon + label + value) */
.header-layout4 .header-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.header-layout4 .header-info_icon {
  color: #ffffff;
  font-size: 32px;
  margin: 0 15px 0 0;
}

.header-layout4 .header-info_label {
  display: block;
  color: #8a8a8a;
  font-size: 16px;
  margin-bottom: 2px;
  font-weight: 400;
}

.header-layout4 .header-info_link a,
.header-layout4 .header-info_link span {
  color: #ffffff;
  color: #000000;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
}

/* Row of icon buttons (search, mobile burger) */
.header-layout4 .header-button {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 130px;
  gap: 15px;
}

.header-layout4 .icon-btn {
  background-color: #2c3039;
  color: #ffffff;
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease;
          transition: background-color 0.2s ease;
}

.header-layout4 .icon-btn:hover {
  background-color: #eb3300;
  color: #ffffff;
}

/* Social links in white top bar */
.header-layout4 .header-social {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
}

.header-layout4 .header-social .social-title {
  font-size: 14px;
  /* color: #1a1d26; */
  color: #ffffff;
  font-weight: 600;
}

.header-layout4 .header-social a {
  /* color: #1a1d26; */
  color: #ffffff;
  text-decoration: none;
  -webkit-transition: color 0.2s;
          transition: color 0.2s;
}

.header-layout4 .header-social a:hover {
  color: #eb3300;
}

/* Navigation strip */
.header-layout4 .menu-area {
  background-color: #070a10;
  padding: 0;
}

.header-layout4 .main-menu .navbar-nav {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 0;
}

.header-layout4 .main-menu .nav-link {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  padding: 16.5px 18px;
}

.header-layout4 .main-menu .nav-link:hover,
.header-layout4 .main-menu .nav-item.current-menu-item .nav-link {
  color: #eb3300;
}

/* Show submenu on hover (desktop) */
.header-layout4 .main-menu .nav-item.dropdown {
  position: relative;
}

.header-layout4 .main-menu .nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}

.header-layout4 .main-menu .dropdown-menu {
  background-color: #070a10;
  border: none;
  border-radius: 0;
  border-top: 2px solid #eb3300;
  min-width: 200px;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
}

.header-layout4 .main-menu .dropdown-menu .dropdown-item {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap;
}

.header-layout4 .main-menu .dropdown-menu .dropdown-item:hover,
.header-layout4 .main-menu .dropdown-menu .dropdown-item:focus {
  background-color: #eb3300;
  color: #ffffff;
}

/* Nested (3rd level) submenus */
.header-layout4 .main-menu .dropdown-menu .dropdown {
  position: relative;
}

.header-layout4 .main-menu .dropdown-menu .dropdown:hover > .dropdown-menu {
  display: block;
  top: 0;
  left: 100%;
}

/* Office location link */
.header-layout4 .header-link-btn {
  color: #eb3300;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
  padding: 16.5px 0;
}

.header-layout4 .header-link-btn:hover {
  color: #ffffff;
}

/* Welcome text in top bar */
.header-layout4 .header-notice {
  margin: 0;
  font-size: 14px;
  color: #1a1d26;
  font-weight: 500;
}

#searchBar input{
  background-color: #f3f1f2;
}

.sidebarservizi{
  background-color: #f3f1f2;
}

/* .sidebarservizi ul li a .cs-greater{ */

.sidebarservizi ul li:before{
  content:">>";
  display: inline-block;
  margin-right: 6px;
  transform: translateX(-12px);
  transition: transform 0.5s ease;
}
.sidebarservizi ul li:hover:before{    
  transform: translateX(0);  
}

.sidebarservizi ul li {
  transition: all 0.5s ease; 
    /* padding-left: 0; */
    padding-left: 1rem;
    margin-left: 1rem;
    text-indent: -1rem;
}
.sidebarservizi ul li:first-child {
    margin-left: -1rem;
}
.sidebarservizi ul li:first-child::before {
    content: "";
} 
.sidebarservizi ul li:first-child:hover {
  transition:none;
  color: initial;
    content: "";
     padding-left: 1rem;
    background-color: transparent;  
} 
.sidebarservizi ul li:hover {
  background-color: #eb3300;
    padding-left: 40px; 
    color: #ffffff;
    border-top: 1px solid transparent;
}
.sidebarservizi ul li a:hover {
  /* background-color: #eb3300; */
  color: #ffffff;

}
/* .sidebarservizi ul li a {
  padding: 17px 0px 17px 0px;
} */

.breadcrumb-custom {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
    align-items: center;
}
.breadcrumb-sep { color: #ffffff; font-weight: bold; }
.breadcrumb-item,.breadcrumb-item a { color:#ffffff; text-decoration: none; }
.breadcrumb-item.active { color:#eb3300; }











/* ---- Responsive ---- */

@media (max-width: 1500px) {
  .header-top-area { --shape-width: 28%; }
}

@media (max-width: 1300px) {
  .header-layout4 .header-top .container {
    padding-left: 320px;
  }
}

@media (max-width: 1300px) {
  .logo-style2 {
    margin-right: 70px;
  }
}

@media (max-width: 991px) {
  .header-layout4 .header-button {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .header-top-area { --shape-width: 60%; }

  .header-layout4 .header-top .container {
    padding-left: 12px;
  }

  .header-top-area::before,
  .header-top-area::after {
    height: 90px;
    margin-top: 50px;
  }
}

/* ============================================================ */

.wrapper {
	overflow-x: hidden;
}
h1{
  font-size: 48px;

}
.text-dangeloantonio-blue{
  color: #00a3e8;
}
.text-dangeloantonio-blue-scuro{
  color: #1b5783;
}

.labelform{
  color:rgb(54, 65, 83);
  font-weight: 500;
}

.text-dangeloantonio-blue-2{
  color: #06c;
}
.title-evidenza{
font-size:48px;  
font-weight: 500;
}
.subtitle-evidenza {
  font-size: 18px;
  color: #ff1734;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}
.subtitle-evidenza::before {
  content: '';
  flex: 1;
  height: 8px;
  background:
    linear-gradient(#ff1734, #ff1734) right top    / 100% 2px no-repeat,
    linear-gradient(#ff1734, #ff1734) right bottom / 50%  2px no-repeat;
}
.subtitle-evidenza::after {
  content: '';
  flex: 1;
  height: 8px;
  background:
    linear-gradient(#ff1734, #ff1734) left top    / 100% 2px no-repeat,
    linear-gradient(#ff1734, #ff1734) left bottom / 50%  2px no-repeat;
}
.dangelo-home-contacts .row {
  background-color: #f5f5f5;
}
.dangelo-home-contacts .subtitle-evidenza::after,
.section-flotta .subtitle-evidenza::after,
.chisiamo .subtitle-evidenza::after{
  content: '';
  background: none;
}
.border-effect1{
  border: 1px solid; padding: 10px; box-shadow: 10px 10px #000000;
}
.border-red{
  
  border-color: #eb3300!important;
}
.border-video-container #ytplayer {
  border: 5px #eb3300 solid!important;
}
/* ── Dangelo Services Carousel ───────────────────────────────── */
.dangelo-services {
  background-color: #fff;
}
.servizio-card {
  padding: 0;
  position: relative;
}
#carouselSettori .carousel-item .row {
  padding-top: 35px;
}
.servizio-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e2e8f0;
}
.servizio-card__img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.servizio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.servizio-card__inner:hover .servizio-card__img img {
  transform: scale(1.05);
}
.servizio-card__img--placeholder {
  width: 100%;
  height: 100%;
  background-color: #cbd5e0;
}
.servizio-card__body {
  background-color: #ff1734;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 0 auto;
}
.servizio-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.servizio-card__number {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2px;
}
.servizio-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.servizio-card__footer {
  padding: 0;
  /* background: #fff; */
  /* background: linear-gradient(to bottom, salmon 50%, lightblue 50%) top;
  background-size: 200%;
  transition: .5s ease-out; */
  /* background-image: linear-gradient(to top, black 50%, transparent 50%); */
  background-image: linear-gradient(to top, #ffffff 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: top;
  transition: background-position 0.5s ease-in-out;
  border-top: 1px solid #e2e8f0;
}
.servizio-card__footer:hover {
  background-position: bottom; 
  cursor: pointer;
}
.servizio-card__footer:hover a {
  /* color: #ffffff; */
   color: #000000;
}

.servizio-card__link {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  /* color: #1a202c; */
  color: #ffffff;
  text-decoration: none;
}
.servizio-card__link:hover {
  color: #ff1734;
}
.carousel-control-servizi {
  width: 40px;
  /* background-color: rgba(0,0,0,0.35); */
}

/* ============================================================
   Team Card
   ============================================================ */
.team-card {
  padding: 0;
  position: relative;
}
.team-card__inner {
  display: flex;
  flex-direction: column;
  position: relative;
}
.team-card__img {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.team-card__inner:hover .team-card__img img {
  transform: scale(1.04);
}
.team-card__img--placeholder {
  width: 100%;
  height: 100%;
  background-color: #cbd5e0;
}
.team-card__info {
  background-color: #fff;
  padding: 24px 28px 28px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
}
.team-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.team-card__role {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #eb3300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.team-card__quote {
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}
#carouselTeam .carousel-item {
  transition: transform 0.9s ease-in-out;
}
/* Smooth sliding transition for the servizi carousel */
#carouselServizi .carousel-item,
#carouselSettori .carousel-item{
  transition: transform 0.9s ease-in-out;
}
#carouselServizi .carousel-fade .carousel-item,
#carouselSettori .carousel-fade .carousel-item {
  transition: opacity 0.9s ease-in-out;
}
.carousel-indicators-servizi {
  bottom: -32px;
}
.carousel-indicators-servizi [data-bs-target] {
  background-color: #ff1734;
}
/* ──────────────────────────────────────────────────────────── */

#carouseldangeloantonio .carousel-inner{
  /* border: 2px solid #06c;
  border-radius: 20px; */
  overflow: hidden;
}
.label-formreg{
  color:rgb(54, 65, 83);
  font-weight: 500;
}
#carouseldangeloantonio .carousel-item {
  
  /* aspect-ratio: 20 / 10; */
  aspect-ratio: 25 / 10;
  overflow: hidden;
}

#carouseldangeloantonio .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#carouseldangeloantonio .carousel-caption p{
font-size: 60px;
font-weight: bold;
line-height: 60px;
}

/* Cart icon in navbar */
.cart-icon-link {
  text-decoration: none;
  line-height: 0;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.cart-icon-link:hover {
  background-color: #f0f0f0;
}
.cart-count-badge {
  background-color: #06c;
  color: #fff;
  font-size: 0.65rem;
  min-width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  top: 2px !important;
  left: auto !important;
  right: 0;
  transform: none !important;
}

.navbar-nav > li:nth-child(1) .btn-dangeloantonio-menu,
.navbar-nav > li:nth-child(2) .btn-dangeloantonio-menu,
.navbar-nav > li:nth-child(3) .btn-dangeloantonio-menu,
.navbar-nav > li:nth-child(4) .btn-dangeloantonio-menu, 
.navbar-nav > li:nth-child(5) .btn-dangeloantonio-menu {
  color: #06c;
}

.navbar-nav > li:nth-child(6) .btn-dangeloantonio-menu,
.navbar-nav > li:nth-child(7) .btn-dangeloantonio-menu,
.navbar-nav > li:nth-child(8) .btn-dangeloantonio-menu {
  color: black;
}
.btn-dangeloantonio-menu{
  background-color: #f5f5f5;
}
.current-menu-item .nav-link span{
  background-color: #06c;
  color: #f5f5f5!important;
}
.btn-dangeloantonio-menu:hover{
  background-color: #06c;
  color: #f5f5f5;
}
.btn-catalogo{
  background-color: #3375b8;
  color: #f5f5f5;
  border: 1px solid lightgray;
}
.btn-catalogo:hover{
  background-color: #3375b8;
  color: #f5f5f5;
  border:2px solid white;
}
.btn-primary{
  background-color: #06c;
  border-color: #06c;
}
.btn-outline-primary{
  color: #00a3e8;
  border-color: #00a3e8;
}
.btn-mod-bt{
  color:#cff4fc;
  border-color: #cff4fc;
}
.btn-mod-bt:hover{
  background-color:#cff4fc;
  border-color: #cff4fc;
  color: #1b5783;
}
.active>.page-link{
  background-color: #00a3e8;
  border-color: #00a3e8;
}
#loader-wrapper {
	display: none;
}
.carousel .carousel-indicators button { 
   background-color: grey;
   width: 5px;
   height: 5px;
   border-radius: 100%;
  }
.carousel .carousel-indicators button.active {background-color: black;}

/* Remove native dropdown arrow from select */
.select-no-arrow {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none !important;
}

.double-sep {
    display: block;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;

font-size: 20px;
}

.double-sep > span {
    position: relative;
    display: inline-block;
}

.double-sep > span:before{
    content: "";
    position: absolute;
    top: 30%;
    width: 20px;
    /* Here is the modification */
    /* border-top: 2px solid red; */
    /* border-bottom: 2px solid red; */
}
.double-sep > span:after {
    content: "";
    position: absolute;
    top: 30%;
    width: 20px;
    /* Here is the modification */
    /* border-top: 4px double red; */
}

.double-sep > span:before {
    right: 100%;
    margin-right: 15px;
}

.double-sep > span:after {
    left: 100%;
    margin-left: 10px;
}





#loader-wrapper {
	background-color: rgba(255, 255, 255, 0.5);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
  }

  #loader {
	display: block;
	position: relative;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 150px;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #202326;
	-webkit-animation: spin 2s linear infinite;
	/* Chrome, Opera 15+, Safari 5+ */
	animation: spin 2s linear infinite;
	/* Chrome, Firefox 16+, IE 10+, Opera */
  }

  #loader:before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #202326;
	-webkit-animation: spin 3s linear infinite;
	/* Chrome, Opera 15+, Safari 5+ */
	animation: spin 3s linear infinite;
	/* Chrome, Firefox 16+, IE 10+, Opera */
  }

  #loader:after {
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #202326;
	-webkit-animation: spin 1.5s linear infinite;
	/* Chrome, Opera 15+, Safari 5+ */
	animation: spin 1.5s linear infinite;
	/* Chrome, Firefox 16+, IE 10+, Opera */
  }

  @-webkit-keyframes spin {
	0% {
	  -webkit-transform: rotate(0deg);
	  /* Chrome, Opera 15+, Safari 3.1+ */
	  -ms-transform: rotate(0deg);
	  /* IE 9 */
	  transform: rotate(0deg);
	  /* Firefox 16+, IE 10+, Opera */
	}
	100% {
	  -webkit-transform: rotate(360deg);
	  /* Chrome, Opera 15+, Safari 3.1+ */
	  -ms-transform: rotate(360deg);
	  /* IE 9 */
	  transform: rotate(360deg);
	  /* Firefox 16+, IE 10+, Opera */
	}
  }
  @keyframes spin {
	0% {
	  -webkit-transform: rotate(0deg);
	  /* Chrome, Opera 15+, Safari 3.1+ */
	  -ms-transform: rotate(0deg);
	  /* IE 9 */
	  transform: rotate(0deg);
	  /* Firefox 16+, IE 10+, Opera */
	}
	100% {
	  -webkit-transform: rotate(360deg);
	  /* Chrome, Opera 15+, Safari 3.1+ */
	  -ms-transform: rotate(360deg);
	  /* IE 9 */
	  transform: rotate(360deg);
	  /* Firefox 16+, IE 10+, Opera */
	}
  }

  .predittore {
    position: absolute;
  width: 100%;
  background: white;
  z-index: 9999999;
  border: 1px solid #ccc;
  top: 2.4rem;
  padding: 1rem;
  display: none;
  }
  
  .linkPredittore {
    font-family: "RobotoCondensedBold";
  color: black;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: bold;
  }
  
  .linkPredittore:hover {
    color: #007bff;
  }

.container {
  width:1200px;
}
	.woocommerce-breadcrumb{
		--bs-bg-opacity: 1;
		background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
		margin-bottom: 3rem !important;
	}
/* .container-fluid {
  width:95%;
} */

body {
  /* font-family: 'Lato', sans-serif; */
  background-color:#f9fafb;
  font-family: sans-serif; 
  color:#050505;
}

a {
  color: #1b5783
}

.bloccoAggiungi .price {
  display: none;
}

.coloreBlu {
  color: #00a3e8;
}
.bg-dangeloantonio-blue{
  background-color: #06c;
}
.bg-dangeloantonio-red{
  background-color: #ff1734;
}
.text-dangeloantonio-red{
  color: #ff1734;
}

.bloccoAggiungi .button {
  display: block;
  cursor: pointer;
  color: #fff;
background-color: #00a3e8;
border-color: #00a3e8;  
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
      border-top-color: transparent;
      border-right-color: transparent;
      border-bottom-color: transparent;
      border-left-color: transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.bloccoAggiungi .button:hover {
  background-color: #1b5783;
  border-color: #1b5783;
  color: white;
}
div.contenutoProdotto form.cart .quantity {
  
    float: none;
    margin: 0;
    display: inline-block;
}
.bloccoAggiungi .quantity,
form.cart .quantity,
.woocommerce-cart-form .quantity {
  /* width: 30%; */
  display: inline-block;
  border: 1px solid #dee2e6!important;
  height: 38px;
  vertical-align: middle;
}
.bloccoAggiungi .quantity input,
form.cart .quantity input,
.woocommerce-cart-form .quantity input {
  text-align: center;
  border: none !important;
  height: 38px;
  line-height: 38px;
  vertical-align: middle;
}

.bloccoAggiungi button.plus,
.bloccoAggiungi button.minus,
form.cart button.plus,
form.cart button.minus,
.woocommerce-cart-form button.plus,
.woocommerce-cart-form button.minus {
  height: 38px;
  width: 38px;
  padding: 0;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 18px;
  line-height: 38px;
  display: inline-block;
  vertical-align: middle;
}

.bloccoAggiungi button.plus:hover,
.bloccoAggiungi button.minus:hover,
form.cart button.plus:hover,
form.cart button.minus:hover,
.woocommerce-cart-form button.plus:hover,
.woocommerce-cart-form button.minus:hover {
  background: #e0e0e0;
}

.bloccoAggiungi .add_to_cart_button {
  display: inline-block!important;
  margin-left: .5rem; 
  margin-right: .5rem; 

}
.articolo-su-ordinazione{
  background-color: antiquewhite;
  border:1px solid antiquewhite;
  border-radius: 5px;
  padding-left: .5rem;
  padding-right: .5rem;
}
.articolo-ad-esaurimento{
background-color: darkorange;
border:1px solid darkorange;
border-radius: 5px;
padding-left: .5rem;
padding-right: .5rem;
}
.woocommerce-tabs {
  display: none;
}

.woocommerce-breadcrumb {
  padding-left: 3rem;
  padding-top: 2rem;
  padding-right: 3rem;
  padding-bottom: 2rem;
}

.distributori h4 {
  text-transform: uppercase;
}

.linkCatalogo {
  color:black;
  font-style: italic;
  margin-top: 1rem;
} 

.linkCatalogo:hover {
  color:black;
  text-decoration: underline;
}

.paginaInterna {
  padding-left:1rem;
  padding-right: 1rem;
  min-height: 70vh;
}

.paginaInterna h2 {
  padding-bottom: 2rem;
}

.boxCategorie {
position: absolute;
z-index: 9999;
width: 80%;
}

.boxCategorie p {
  margin-bottom: 0;
}

.boxCategorie .card {
  overflow: auto;
  height: 650px;
}

/* -- Stili checkout col2-set, form-row e bottoni spostati nel blocco checkout in fondo -- */

.card-header {
  background-color: #1b5783;
  color:white;
}
.badgesdangeloantonio1{
  max-width: 50px;
  height: 50px!important;
  position: absolute;
  left: 0px;
  z-index: 10;
}
.badgesdangeloantonio2{
  max-width: 50px;
  height: 50px!important;
  position: absolute;
  left: 50px;
  z-index: 10;
}
.brandtag{
    background-color: #00a3e8;
    color: white;
    white-space: nowrap;
}
.brandtag a{    
    color: white;
}
.altezzaLogoMenu{
  height: 30px!important;
  
  
}
.header0{
  background-color:#eb3300; min-width:220px;
  --shape-width: 28%;

}
/* Legacy duplicate rules removed — definitions are in the
   "Header Layout 4" block at the top of this file. */

.topnav {
border-top: 0px solid #f3f1f2;
/* border-bottom: 3px solid #f3f1f2; */
/* padding-left: 2rem;
padding-right:2rem; */
/* color: white; */
font-size: 14px;
/* background-color: #f3f1f2;  */
background-color: white; 
}
.topnav .logodiv{

background-color: #f3f1f2;
}

.topnav p {
  margin-top: 1rem;
}

.navbar-light .navbar-nav .active > .nav-link {
  color: #00a3e8;
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(51,51,51,1);
  font-weight: 400;
  padding-right: 5px;
}

.navbar-light .navbar-nav .nav-link:hover,
.nav-link:hover {
  /* color: #1b5783; */
  color: white;
}

.nav-link {
  font-weight: 400;
  /* color:#333; */
  color: white;
}
#navbar_top {
  background: white;
  padding-left: 2rem;
  padding-right: 2rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1rem;
  z-index: 999999;
}

.linkBlu {
  color:#1b5783
}

.nav-link:hover {
  text-decoration: underline;
}
.nav-pills .nav-link.active {
    background-color:#00a3e8
}

/* .prodottoImg img {
  height: 50px;
} */

.card-body h2 {
  font-size: 1.5rem;
}

.meta p {
  margin-bottom: 0px;
}


.amount {
  color: black;
  font-size:1.9rem;
  display:inherit;
}

.list-view .amount,
.grid-view .amount {
  color: black;
  font-size:1rem;
  font-weight: 500;
  display:inherit; 
}

.list-view .wp-post-image{
  margin-left: .25rem !important;
}

.prezzoLoopdiv {
  background-color: #e9eaee;
  padding:5px;
  border-radius:5px;
}

.prezzoLoopdiv.prezzoLoopdiv-white {
  background-color: #fff;
}

.price-cart-row {
  width: 100%;
  min-width: 0;
  gap: .5rem;
}

.price-cart-row .prezzoLoop {
  flex: 0 0 auto;
  min-width: 0;
}

.price-cart-row .dettaglioPrezzo {
  flex: 1 1 auto;
  min-width: 0;
}

.price-cart-row .bloccoAggiungi form.cart {
  max-width: 100%;
  justify-content: flex-end;
}

@media (max-width: 992px) {
  .price-cart-row {
    flex-wrap: wrap;
  }

  .price-cart-row .prezzoLoop,
  .price-cart-row .dettaglioPrezzo {
    width: 100%;
  }
}


.dettaglioPrezzo {
  /* padding: 2rem; */
}

.cart_item .amount, .cart_totals .amount {
   display: block;
   font-size: 1rem;

}

.product-total .amount {
  text-align: right;
}

.woocommerce table.cart td.actions .input-text {
  width:auto;
}

.woocommerce table.cart img {
  height: 200px;
  width:200px
}


/* -- Stili billing/checkout spostati nel blocco checkout in fondo -- */

.prodottoCard:hover, .prodottoCardStretta:hover {
  box-shadow: 0 0 20px #888;
}

.prefooter {
  /* border-top: 12px solid #e9eaee; */
  background: #212529;
  padding: 43px 10px 40px;
  color: #d1d5dc;
}

.prefooter a {
  color: #d1d5dc;
}

.prefooter p {
  margin-bottom: 0px;
}

.linkBianco {
  color:white;
}

.linkBianco:hover {
  color:white;
  text-decoration: underline;
}

footer {
  padding-top: 18px;
  padding-bottom: 16px;
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid #4b4c4d;
  background: #212529;
}

footer p {
  color: #d1d5dc;
  font-size: 12px;
  line-height: 3px;
}

.hamburger-inner, .hamburger-inner::after, .hamburger-inner::before {
  background-color: #1b5783;
}

.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::after, .hamburger.is-active .hamburger-inner::before {

background-color: #1b5783;

}

#mappa {
  width:100%;
  height: 350px;
}

.divcontattiphone,
.divregistrazione,
.divformlogin {
 border: 1px solid lightgray;
 padding: 20px;
 /* box-shadow: 5px 1px 10px #888888; */
 box-shadow: rgba(0, 0, 0, 0.075) 0px 2px 4px 0px;
}

@media screen and (min-width:1300px) {

}

@media screen and (max-width: 767px) {
 
  .hamburger {
    display: block;
    margin: auto;
  }

  /* .container-fluid {
    width: 100%;
  } */

  .container {
    width:100%!important;
  }

}

.fs08{
    font-size: 0.8rem;
}
.fs-14px{
  font-size: 14px;
}
.fs-20px{
  font-size: 20px;
}
.btn{
    font-size: 16px;
}

.fw-500{
  font-weight: 500;
}
/* Product View Switcher Styles */
.view-switcher {
    margin-bottom: 20px;
}

/* .listview-select option:nth-of-type(1) {
  color: lightgray!important;  
} */

.head2{
  color: #dbeafe;
  font-size: 20px;
}

.view-switcher .view-btn {
    transition: all 0.3s ease;
}

.view-switcher .view-btn.active {
    background-color: #00a3e8;
    color: white;
    border-color: #00a3e8;
}

.view-switcher .view-btn:hover {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
}

.product-item {
    transition: all 0.3s ease;
}

/* Grid view specific styles */
.product-item.grid-view .prodottoCard {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-item.grid-view .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding : .2rem;

}

/* .product-item.grid-view .dettaglioPrezzo {
    margin-top: auto;
} */

.product-item.grid-view .prodottoImg {
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-item.grid-view .prodottoImg img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}


/* List view / Grid View quantity input styling */
.list-view .bloccoAggiungi input.qty,
.list-view .bloccoAggiungi input[type="number"],
.contenutoProdotto input.qty,
.contenutoProdotto input[type="number"]
{
    width: 60px !important;
    max-width: 60px;
    margin-right: 5px;
    margin-left: 5px;
}

.grid-view .bloccoAggiungi .quantity,
.contenutoProdotto .quantity
{
     margin-left: 2px;

}
.grid-view .bloccoAggiungi input.qty,
.grid-view .bloccoAggiungi input[type="number"],
.contenutoProdotto input.qty,
.contenutoProdotto input[type="number"]
{
    width: 38px !important;
    max-width: 38px;
}
.gridview-prodtitle {
    margin-bottom: 0.5rem;
    background-color: #1b5783;
    color: white;
    font-weight: bold;
    padding: .5rem;
}
.gridview-prodtitle a{    
    color: white;

}
.btn-brochure {
  border:1px solid #007bff;

}
.btn-brochure i{
  color: #007bff;
}
.sidebar-bg{
  background-color:rgba(237, 237, 237,.5);padding:15px;border-radius:5px;
}

/* Hide default number input arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Cart Product Attributes Styling */
.product-attributes {
  margin-top: 8px;
  font-size: 0.9em;
  color: #666;
}

.product-attributes dl.variation {
  margin: 0;
  padding: 0;
}

.product-attributes dl.variation dt,
.product-attributes dl.variation dd {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 0;
}

.product-attributes dl.variation dt {
  font-weight: 600;
  color: #333;
}

.product-attributes dl.variation dd {
  font-weight: normal;
}

.product-attributes dl.variation dd p {
  margin: 0;
  padding: 0;
}

/* Mini Cart Product Attributes */
.woocommerce-mini-cart-item .product-attributes {
  font-size: 0.85em;
  color: #666;
  margin: 4px 0;
}

.woocommerce-mini-cart-item .product-attributes dl.variation dt {
  font-size: 0.9em;
}

/* ═══════════════════════════════════════════════════════
   DREAMWARE OFFERTE — Stili
   ═══════════════════════════════════════════════════════ */

/* Badge offerta */
.dreamware-offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.dreamware-offer-badge i {
    margin-right: 3px;
}

/* Prezzo offerta */
.dreamware-offer-price {
    color: #e74c3c;
    font-weight: 700;
}

.dreamware-offer-price .woocommerce-Price-amount {
    font-weight: 700;
    color: #e74c3c;
}

/* Quantità minima */
.dreamware-offer-qtymin {
    color: #856404;
    background-color: #fff3cd;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
}

.dreamware-offer-qtymin i {
    margin-right: 3px;
}

/* Container info offerta */
.dreamware-offer-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Card prodotto in offerta — bordo */
.is-offer-product .prodottoCardStretta,
.is-offer-product .prodottoCard {
    border-left: 4px solid #e74c3c;
}

/* Pulsante filtro Offerte */
.btn-offerte-filter {
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn-offerte-filter.active,
.btn-offerte-filter.btn-warning {
    background-color: #f39c12 !important;
    border-color: #f39c12 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
}

.btn-offerte-filter:hover {
    background-color: #e67e22 !important;
    border-color: #e67e22 !important;
    color: #fff !important;
}

/* Grid view — Offer info */
.product-item.grid-view .dreamware-offer-info {
    padding: 0 0.5rem;
}

/* List view — compatta */
.product-item.list-view .dreamware-offer-info {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

/* Responsive */
@media screen and (max-width: 767px) {
    .btn-offerte-filter {
        margin-bottom: 10px;
    }
    .product-item.list-view .dreamware-offer-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================================
   SINGLE PRODUCT PAGE - Variable Product Styles
   ============================================= */

/* Variable product variation form — uniform with product-attribute-select */
.variations_form .variations-wrapper {
    padding: 0;
    background-color: transparent;
}

.variations_form .variation-row {
    display: flex;
    flex-direction: column;
}

/* Unified custom select style for both simple attributes and variation selects */
.product-attribute-select,
.variation-attribute-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    background-color: #f9f9f9;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231b5783' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px 10px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.product-attribute-select:focus,
.variation-attribute-select:focus {
    border-color: #1b5783;
    box-shadow: 0 0 0 0.2rem rgba(27, 87, 131, 0.15);
    outline: none;
}

/* Placeholder state — when no option is selected */
.product-attribute-select.placeholder,
.variation-attribute-select option[value=""] {
    color: #999;
}

.product-attribute-select:not(.placeholder),
.variation-attribute-select {
    color: #000;
}

.variations_form .reset_variations {
    font-size: 0.8rem;
    color: #1b5783;
    text-decoration: none;
}

.variations_form .reset_variations:hover {
    color: #143f5e;
    text-decoration: underline;
}

/* Single variation price update */
.single_variation_wrap .woocommerce-variation-price {
    margin-bottom: 0.75rem;
}

.single_variation_wrap .woocommerce-variation-price .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1b5783;
    display: block !important;
}

.single_variation_wrap .woocommerce-variation-availability {
    margin-bottom: 0.5rem;
}

.single_variation_wrap .woocommerce-variation-availability .stock {
    font-size: 0.85rem;
    font-weight: 600;
}

.single_variation_wrap .woocommerce-variation-availability .in-stock {
    color: #28a745;
}

.single_variation_wrap .woocommerce-variation-availability .out-of-stock {
    color: #dc3545;
}

/* Variable product add to cart button area */
.single_variation_wrap .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.single_variation_wrap .woocommerce-variation-add-to-cart .quantity {
    margin: 0 !important;
}

.single_variation_wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    background-color: #1b5783;
    border-color: #1b5783;
    color: #fff;
    border-radius: 0.375rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.single_variation_wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover {
    background-color: #143f5e;
    border-color: #143f5e;
}

.single_variation_wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button.disabled,
.single_variation_wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button:disabled {
    background-color: #adb5bd;
    border-color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.65;
}

/* Single product info column */
.contenutoProdotto.border {
    border-color: #dee2e6 !important;
}

.contenutoProdotto .bloccoSku p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.contenutoProdotto .bloccoSku strong {
    color: #1b5783;
}

.contenutoProdotto .bloccoSku a {
    color: #1b5783;
    text-decoration: none;
}

.contenutoProdotto .bloccoSku a:hover {
    text-decoration: underline;
}

/* Simple product add to cart on single page */
.contenutoProdotto form.cart:not(.variations_form) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contenutoProdotto form.cart .single_add_to_cart_button {
    background-color: #1b5783;
    border-color: #1b5783;
    color: #fff;
    border-radius: 0.375rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contenutoProdotto form.cart .single_add_to_cart_button:hover {
    background-color: #143f5e;
    border-color: #143f5e;
}

/* Price display on single product */
.contenutoProdotto .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1b5783;
    display: block !important;
    margin-bottom: 0.5rem;
}

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

.contenutoProdotto .price ins {
    text-decoration: none;
    color: #e74c3c;
}

/* Fix for variable product "Select options" button in archive to NOT show */
.product_type_variable.ajax_add_to_cart {
    display: inline-block !important;
}


/* woocommerce styles */
.woocommerce-message::before {
  content: "\e015";
  color: #009fe0;
}

.woocommerce-message {
  border-top-color: #009fe0;
}

/* ==========================================================================
   CHECKOUT PAGE - Stili completi
   ========================================================================== */

/* ---------- Layout: il col2-set diventa una singola colonna piena ---------- */
.woocommerce-checkout .col2-set {
  display: block;
  margin-bottom: 2rem;
  width: 100%;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100%;
  max-width: 100%;
  float: none;
  padding: 0;
}

/* ---------- Titoli sezioni ---------- */
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .woocommerce-additional-fields > h3,
.woocommerce-checkout h3#order_review_heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1b5783;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.6rem;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
}

/* ---------- Field wrapper: CSS Grid 2 colonne ---------- */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

/* ---------- Form rows ---------- */
.woocommerce-checkout .form-row {
  display: block !important;
  margin-bottom: 0;
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
}

/* Campi a metà larghezza: occupano una colonna del grid */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  grid-column: auto;
}

/* Campi a piena larghezza: occupano entrambe le colonne */
.woocommerce-checkout .form-row-wide {
  grid-column: 1 / -1;
}

.woocommerce-checkout .form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 0.3rem;
}

.woocommerce-checkout .form-row label .required {
  color: #e74c3c;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row .select2-container .select2-selection--single {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: #1b5783;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(27, 87, 131, 0.2);
}

.woocommerce-checkout .form-row textarea {
  height: 7rem;
  resize: vertical;
}

/* Select2 fix altezza */
.woocommerce-checkout .select2-container .select2-selection--single {
  height: auto;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.5;
  color: #333;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
  height: 100%;
}

/* ---------- Additional fields ---------- */
.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ---------- Coupon toggle e form ---------- */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
  background-color: #f8f9fa;
  border-top: 3px solid #1b5783;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #333;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a {
  color: #1b5783;
  font-weight: 600;
}

.woocommerce-checkout .checkout_coupon {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.woocommerce-checkout .checkout_coupon p:first-child {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #555;
}

/* ============================================================
   Mobile nav (#mainNavMenu) — inline dropdowns
   ============================================================ */
#mainNavMenu .navbar-nav {
  flex-direction: column;
}

#mainNavMenu .nav-link,
#mainNavMenu .dropdown-toggle {
  color: #ffffff;
  padding: 10px 18px;
  display: block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

#mainNavMenu .nav-link:hover,
#mainNavMenu .dropdown-toggle:hover {
  color: #eb3300;
}

/* Override absolute positioning so submenu flows inline */
#mainNavMenu .dropdown-menu {
  position: static !important;
  transform: none !important;
  float: none;
  background-color: #0d1117;
  border: none;
  border-left: 3px solid #eb3300;
  border-radius: 0;
  margin: 0 0 0 1.5rem;
  padding: 0;
  box-shadow: none;
  min-width: 0;
}

#mainNavMenu .dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: normal;
}

#mainNavMenu .dropdown-menu .dropdown-item:hover,
#mainNavMenu .dropdown-menu .dropdown-item:focus {
  background-color: #eb3300;
  color: #ffffff;
}

.woocommerce-checkout .checkout_coupon .form-row-first {
  display: inline-block;
  width: 65%;
  vertical-align: top;
}

.woocommerce-checkout .checkout_coupon .form-row-last {
  display: inline-block;
  width: 30%;
  vertical-align: top;
  text-align: right;
}

.woocommerce-checkout .checkout_coupon .form-row-first input.input-text {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  font-size: 0.9rem;
}

.woocommerce-checkout .checkout_coupon .button {
  background-color: #1b5783;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.woocommerce-checkout .checkout_coupon .button:hover {
  background-color: #143f5e;
}

/* ---------- Order Review Heading ---------- */
.woocommerce-checkout h3#order_review_heading {
  margin-top: 2rem;
}

/* ---------- Review Order Table ---------- */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  overflow: hidden;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  background-color: #1b5783;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  border: none;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  vertical-align: middle;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td.product-total,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  text-align: right !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-total {
  text-align: right !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table td .amount,
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total .amount {
  text-align: right !important;
  display: block;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr:last-child td {
  border-bottom: none;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity {
  color: #1b5783;
  font-weight: 700;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b5783;
  border-top: 2px solid #1b5783;
}

/* ---------- Shipping methods in checkout ---------- */
.woocommerce-checkout .woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li {
  padding: 0.4rem 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li label {
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ---------- Payment Section ---------- */
.woocommerce-checkout #payment {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 1rem;
}

.woocommerce-checkout #payment .payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  border-bottom: 1px solid #dee2e6;
}

.woocommerce-checkout #payment .payment_methods li {
  padding: 1rem 0;
  border-top: 1px solid #dee2e6;
}

.woocommerce-checkout #payment .payment_methods li:first-child {
  border-top: none;
}

.woocommerce-checkout #payment .payment_methods li label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.woocommerce-checkout #payment .payment_methods li label img {
  max-height: 28px;
  width: auto;
}

.woocommerce-checkout #payment .payment_methods li .payment_box {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}

.woocommerce-checkout #payment .payment_methods li .payment_box::before {
  display: none;
}

/* ---------- Place Order Button ---------- */
.woocommerce-checkout #payment .place-order {
  padding-top: 1rem;
}

.woocommerce-checkout #payment .place-order .button.alt,
.woocommerce-checkout #place_order {
  display: block;
  width: 100%;
  background-color: #1b5783;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-align: center;
}

.woocommerce-checkout #payment .place-order .button.alt:hover,
.woocommerce-checkout #place_order:hover {
  background-color: #143f5e;
  transform: translateY(-1px);
}

.woocommerce-checkout #payment .place-order .button.alt:active,
.woocommerce-checkout #place_order:active {
  transform: translateY(0);
}

/* ---------- Terms & conditions ---------- */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 1rem;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper p {
  font-size: 0.85rem;
  color: #555;
}

.woocommerce-checkout .woocommerce-privacy-policy-text p {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.5;
}

/* ---------- General alt buttons (spostati da sopra) ---------- */
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: #1b5783;
  color: #fff;
  border: 2px solid #1b5783;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: #fff;
  color: #1b5783;
  border-color: #1b5783;
}

/* ---------- Notices / messages in checkout ---------- */
.woocommerce-checkout .woocommerce-NoticeGroup {
  margin-bottom: 1.5rem;
}

.woocommerce-checkout .woocommerce-error {
  border-top: 3px solid #e74c3c;
  background-color: #fdf0ef;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  list-style: none;
}

.woocommerce-checkout .woocommerce-error li {
  font-size: 0.9rem;
  color: #c0392b;
}

/* ---------- col2-set vecchio override per WooCommerce generico ---------- */
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  max-width: 100%;
  float: none;
}



/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last,
  .woocommerce-checkout .form-row-wide {
    grid-column: 1 / -1;
  }

  .woocommerce-checkout .checkout_coupon .form-row-first,
  .woocommerce-checkout .checkout_coupon .form-row-last {
    display: block;
    width: 100% !important;
    text-align: left;
  }

  .woocommerce-checkout .checkout_coupon .form-row-last {
    margin-top: 0.5rem;
  }

  .woocommerce-checkout #payment {
    padding: 1rem;
  }

  .woocommerce-checkout #place_order {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
.page-header{
  height: 80px;
}
.chisiamo-percon{  
  width: auto;
}
#ytplayer{
width: auto!important;
height: auto!important;  
}
.cert-card .card-img-top {
    height: 160px;
    object-fit: cover;
    width: 100%;
}
}

@media (min-width: 768px) { 

.page-header{
  height: 350px;
}
.chisiamo-percon{
  width: 100%;
}
.cert-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

 }