/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/template-overviews/modern-business)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */

body {
  padding-top: 54px;
}
a{
  text-decoration: none !important;
}
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Layout principale */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Contenuto principale che si espande */
.content-main {
    flex: 1;
    padding: 20px;
}
/* Il main si espande per occupare lo spazio rimanente */



@media (min-width: 992px) {
  body {
    padding-top: 56px;
  }
}

.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.sponsor-item {
 margin-top: 120px;
}
.bg-yellow{
	
	  background: #fbb03f;
	
}
.navbar {
	border-bottom:2px solid black;
	position: fixed;
	
}
.navbar-white .navbar-nav .active>.nav-link, .navbar-white .navbar-nav .nav-link.active, .navbar-white .navbar-nav .nav-link.show, .navbar-white .navbar-nav .show>.nav-link {
	color:#fbb03f;

}
.navbar-white .navbar-nav .nav-link {
    color: #000;
		text-transform:uppercase;
		font-weight:bold;
}
.navbar-white .navbar-nav a:hover{
	color:#fbb03f;

}
.navbar-white .navbar-toggler-icon{
	
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(234, 165, 44, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-toggler{
	border-color:black;
}

.card-header{
	text-transform:uppercase;
	  background: #fbb03f;
	  text-align:center;
	  color:white;
}
.card{
	
		background:grey;
		border:none;
		padding: 2rem;
}
.card-footer{
	border:none;
	background:none;
	text-align:center;
}
.btn-card{
	    color: #fff;
    background-color: red;
 text-transform:uppercase;
}
a.btn-card:hover{
	 color: #fff;
}
.card-body{
	
	text-align:center;
	
}
.card-span{
 background: #A9B3B3;
 background:white;
 padding:1px;
 display:block;
 margin-bottom: 3px;
}
.card_icon{
	 background: #A9B3B3;
	 border-radius: 50%;
}
.mt-6{
	
	
	margin-top:120px !important;
}

.red {
	color:red !important;
	font-weight:bold !important;
	
}

.orange {
  color: #fbb03f;
}

h3.cat {
	color:red !important;
	font-weight:bold !important;	
	border-bottom: 2px solid black;
	text-transform:uppercase;
	display:block;
	padding-bottom:10px;
	    font-size: 1.45rem

}


.list-group-item {
	color:black;
		text-transform:uppercase;
		font-weight:bold !important;	
}
a.list-group-item:hover{
		color:#fbb03f;
}
.list-group-item.active{
		background:#fbb03f;
}
.list-group-item.active:hover{
	color:black;
}

.table-dark {
    color: #000;
    background-color: #fbb03f !important;
}
.table-dark tr.grey{
	background:grey !important;
}
.table-dark tr.bgrey{
	background:#A9B3B3 !important;
}

.table-dark td.special{

	min-width: 200px;
}

.relative{
	position: relative;
}
.banner{
	 background: #fbb03f !important;
	  color: #fff;
	  position: absolute;
	  top: 500px;
	  left:0;
	  padding: 2rem;
	  text-align: center;
}


   /* --- Sezioni --- */
    .section {
    
    
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .section.visible {
      opacity: 1;
      transform: translateY(0);
    }

	.about{
		display: block !important;
		padding: 2rem !important;
	}

	.about h3{
		color:#fbb03f;
	}

	h3{
		font-size: large;
	}

	.flex{display: flex;}

	  /* Sezione principale */
  .about-section {
    
    padding: 60px 20px;
  }

  .about-section h2 {
    color: #ffcc00;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .about-section h3 {
    color: #ffcc00;
    font-size: 18px;
    margin-top: 40px;
    text-transform: uppercase;
  }

  .about-section p {
    color: #eee;
    line-height: 1.6;
    max-width: 1000px;
    margin: 10px auto;
  }

  .about-section a {
    color: #ffcc00;
    text-decoration: underline;
  }

  .catalogo-section{
	flex-direction: column !important;
	justify-content: start;
	align-items: start;
  }

   .catalogo-section h3{
	color: #666;
   }

  /* Icone sotto */
  .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
  }

  .feature-item {
    text-align: center;
    width: 120px;
  }

  .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffcc00;
  }

  .feature-item p {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
  }

  /* Highlight rosso attorno a una specifica icona */
  .highlight {
    border: 2px solid red;
    padding: 5px;
    border-radius: 12px;
  }

  .btn_orange{
background-color: #ffcc00;
  }

  .input{
	background: #A9B3B3;
  }
  /* Responsive */
  @media (max-width: 768px) {
    .features {
      flex-direction: column;
      align-items: center;
    }
  }

  /* --- Titolo sezione --- */
  .catalogo {
      width: 100%;
    max-width: 1200px; /* o quello che ti serve */
    margin: 0 auto;
  }

  .catalogo h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
  }

  .catalogo h2 span {
    color: #5976b1; /* colore azzurro per "Categoria" */
    font-weight: 400;
  }

  /* --- Griglia prodotti --- */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 40px 20px;
    justify-items: center;
  }

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

  /* --- Cerchio con immagine --- */
  .product-circle {
    width: 100px;
    height: 100px;
    background: #4a4a4a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    overflow: hidden;
  }

  .product-circle img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
  }

  /* --- Testo sotto --- */
  .product-name {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: #333;
  }

  /* --- Evidenziare un prodotto (es. COLLARI) --- */
  .highlight {
    border: 2px solid red;
    border-radius: 12px;
    padding: 5px;
  }

  /* --- Responsive --- */
  @media (max-width: 600px) {
    .product-circle {
      width: 80px;
      height: 80px;
    }
    .product-name {
      font-size: 11px;
    }
  }
.search-section {
    background-color: #ffcc00; /* Orange background */
    padding: 20px;
    color: #000;
	margin-bottom: 50px;
}

.search-section h2 {
    margin: 0 0 10px;
    font-size: 1.2em;
}

.search-section p {
    margin: 0 0 15px;
    font-size: 0.9em;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.input-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-btn {
    padding: 10px 15px;
    background-color: #ccc;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.button-group {
    display: flex;
    gap: 10px;
}

.nav-btn {
    flex: 1;
    padding: 10px;
    background-color: #666;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.nav-btn:hover {
    background-color: #555;
}

.content {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.left-section, .right-section {
    width: 48%;
}

.left-section h2, .right-section h2 {
    margin: 0 0 15px;
    font-size: 1.2em;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info h3 {
    margin: 0 0 5px;
    font-size: 1em;
    font-weight: bold;
}

.contact-info p {
    margin: 0 0 5px;
    font-size: 0.9em;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.logos img {
    width: 100px;
    height: 50px;
    object-fit: contain;
}

.navbar-nav .nav-item {
  display: inline-block;
}
.navbar-nav {
  flex-wrap: nowrap !important;
}

.nav-item {
  white-space: nowrap; /* Impedisce l'andata a capo */
}

  /* Layout principale */
  .catalogo-container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 30px;
  }

  /* Colonna sinistra (A) */
  .sidebar {
    flex: 0 0 220px;
    background: #f3f3f3;
    border-right: 2px solid #ddd;
    padding: 10px;
  }

  .sidebar h3 {
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
    color: #444;
  }

  .categoria-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .categoria-list li {
    margin-bottom: 5px;
  }

  .categoria-list a {
    display: block;
    background: #ddd;
    color: #000;
    text-decoration: none;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.2s;
  }

  .categoria-list a:hover,
  .categoria-list a.active {
    background: #999;
    color: #fff;
  }

  /* Sezione destra (B) */
  .content-area {
    flex: 1;
    min-width: 300px;
  }

  .search-box {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 2rem;
  }

  .search-box input {
    flex: 1;
    padding: 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
  }

  .search-box button {
    background: #666;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
  }

  .search-box button:hover {
    background: #333;
  }

  /* Box immagine o risultati */
  .banner {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
  }

  .banner img {
    max-width: 100%;
    height: auto;
  }

  .banner .overlay {
    background: #f7a600;
    color: white;
    padding: 10px;
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
  }

   /* Sezione risultati */
    .result-section {
      flex: 1;
      background: #fff;
      border-radius: 6px;
      padding: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .result-section .search-header {
      margin-bottom: 20px;
    }

    .result-section table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 20px;
    }
    .result-section th,
    .result-section td {
      padding: 10px;
      border: 1px solid #ddd;
      text-align: left;
    }
    .result-section th {
      background: #f0f0f0;
      text-transform: uppercase;
      font-size: 12px;
    }
    .result-section tr:nth-child(even) {
      background: #fafafa;
    }
    .btn-detail {
      background: #666;
      color: #fff;
      padding: 6px 12px;
      text-decoration: none;
      border-radius: 3px;
      font-size: 12px;
      transition: background 0.2s;
      width: 100%;
      display: inline-block;
      white-space: preserve nowrap;
    }
    .btn-detail:hover {
      background: #444;
      color: #ffffff !important;
    }
    .icon-cart {
      cursor: pointer;
      color: #f5a623;
      font-size: 18px;
      background: none !important;
    }

    .form-container {
  width: 320px;
  margin: 50px auto;
  background-color: #d9d9d9;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

h3 {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

input, textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 13px;
  box-sizing: border-box;
}

textarea {
  height: 100px;
  resize: none;
}

button {
  
  background-color: #4a4a4a;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
}

button:hover {
  background-color: #333;
}

.captcha {
  margin-bottom: 15px;
  text-align: center;
}

.button-group a{
  color: white !important;
  text-align: center;
}


.price {
    font-size: 1.5em;
    color: #c00;
    margin: 10px 0;
}

.stock-section {
    margin-top: 15px;
}

.stock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.city-label {
    font-weight: bold;
}

.city-label.available {
    color: green;
}

.city-label.unavailable {
    color: red;
}

.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-control input {
    width: 40px;
    text-align: center;
    margin: 0 5px;
}

.quantity-control button {
    border: none;
    padding: 5px 10px;
    margin: 0 3px;
    cursor: pointer;
    border-radius: 5px;
}

.add-cart {
    background-color: #ffa500;
    color: #fff;
    font-weight: bold;
}

 /* Header */
    .welcome {
      font-size: 0.9rem;
      margin-top: 1rem;
      margin-left: 1rem;
    }
    .welcome span {
      color: red;
      font-weight: bold;
    }

    /* Pulsanti principali */
    .main-buttons {
      margin: 2rem 0;
      text-align: center;
    }
    .main-buttons .btn {
      background-color: #555;
      color: #fff;
      font-weight: bold;
      padding: 1rem 2rem;
      margin: 0 0.5rem;
      border: none;
    }
    .main-buttons .btn:hover {
      background-color: #333;
    }

    /* Box ricerca */
    .catalogo-ricerca {
      background-color: #f6a623; /* arancione */
      padding: 2rem;
    }
    .catalogo-ricerca h6 {
      font-weight: bold;
      text-transform: uppercase;
    }
    .catalogo-ricerca h6 span {
      font-weight: normal;
      text-transform: none;
    }

    .catalogo-ricerca label {
      font-size: 0.85rem;
      color: #333;
    }

    .input-group-text {
      background-color: #eee;
      cursor: pointer;
    }

    .btn-catalogo {
      background-color: #555;
      color: #fff;
      font-weight: bold;
      padding: 0.8rem 1.5rem;
      border: none;
      text-decoration: none;
    }
    .btn-catalogo:hover {
      background-color: #333;
    }

    .disable-links{
     pointer-events: none;
     background-color: #555;
    }

    .btn-custom{
        background-color: #f6a623;
        color: #fff;
    }

      .btn-custom:hover{
        background-color: #f3ae3f;
        color: #fff;
    }

    .add-row-btn {
    margin: 10px 0;
    padding: 10px;
    background: #ffffff;
    border: 1px dashed #555;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}

.cart-wrapper {
  position: relative;
}

.cart-wrapper .cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #e60000;
  color: white;
  font-size: 11px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.request-access-box {
    width: 100%;
    max-width: 450px;      /* dimensione massima del box */
    margin: 40px auto;     /* centra orizzontalmente */
    padding: 30px;
    background-color: #fbb03f; /* arancio */
    border-radius: 10px;
    text-align: center;    /* centra il testo */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.request-access-box h3 {
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

/* input */
.request-access-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
    background: #b0b8b8;
}

/* bottone */
.request-access-box button {
    padding: 12px 25px;
       background-color: #666;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.request-access-box button:hover {
        background-color: #555;
}



