:root {
  --primary-color: #0f3f6a;
  --primary-light: #1e5a8a;
  --primary-dark: #0a2d4d;
  --light-blue: #e8f4fd;
  --primary-blue: #0f3f6a;
  --primary-blue-hover: #1a5490;
  --light-blue: #e8f4fd;
}

button,
.btn,
div[type="button"] {
  -webkit-appearance: none; /* Rimuove lo stile predefinito di Safari */
  appearance: none;
}

#shop {
  max-width: 700px;
  margin: auto;
}

table {
  border-collapse: collapse;
}

tr {
  border-top: 1px solid lightgray !important;
  border-bottom: 1px solid lightgray !important;
}

td {
  border: none !important;
  vertical-align: middle !important;
}

#submit_registration {
  margin: 10px 0;
}

.label {
  margin-left: 3px;
}

nav {
  position: relative;
  left: -13px;
}

.nav.nav-tabs {
  white-space: nowrap;
  /* overflow-y: hidden; */
  overflow-x: auto;
  display: block;
  border: none;
}

.tab-pane .card {
  border-style: hidden hidden solid hidden;
  height: 70px;
  background: none;
}

.nav.nav-tabs .nav-link {
  display: inline-block;
  float: none;
  padding: 1px;
  min-width: 13vw;
  border: none;
}

.nav.nav-tabs .card {
  height: 14vh;
  width: 37vw;
  /* overflow-y: hidden; */
  border: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* .nav.nav-tabs .body {
    padding: 0;
    width: 100%;
    // overflow-y: hidden;
} */

.nav.nav-tabs .header {
  /* white-space: break-spaces; */
  background-color: #f3f3f3;
  font-family: "Montserrat";
  position: absolute;
  bottom: 5%;
  width: 100%;
  /* height: 25px; */
  overflow-x: hidden;
  text-align: center;
  color: black;
  font-size: 11px;
  opacity: 80%;
}

#textheader {
  opacity: 100%;
}

/* zomma l'immagine delle categorie */
/* .nav.nav-tabs img {
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    height: 16vh;
    border-radius: 7px;
} */

/* ///////////////////////////// product list /////////////////////////////////////// */
#card_product_list .container .row {
  height: 4vh;
}

#card_product_list img {
  height: 4vh;
  object-fit: cover;
}

#card_product_list .col-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#card_product_list .col-9 {
  display: flex;
  align-items: center;
}

.cart {
  position: fixed;
  bottom: 5vh;
  left: 5hw;
  z-index: 1;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateY(-9px);
  }
  35% {
    transform: translateY(-9px) rotate(17deg);
  }
  55% {
    transform: translateY(-9px) rotate(-17deg);
  }
  65% {
    transform: translateY(-9px) rotate(17deg);
  }
  75% {
    transform: translateY(-9px) rotate(-17deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}

#imgloading {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.43);
}

#backgroundimg {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(2);
  opacity: 2%;
  z-index: 0;
}

.overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

/* ///////////////////////////// quick view /////////////////////////////////////// */
#quickview .modal-header {
  padding: 10px 5vw;
}

#quickview .modal-header h2 {
  margin: 0 !important;
  text-align: center;
}

p#modalprice {
  font-size: 20px !important;
}

#modalimage {
  height: 40vh;
  object-fit: cover;
  width: 100%;
  margin-bottom: 2vh;
}
