@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic);


* {
  font-family: Lato, "sans-serif";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font-size: 3.2rem;
  line-height: 110% !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1.3;
}

html {
  zoom: 92%;
}

html,
body {
  min-height: 100%;
}

body {
  position: absolute;
  left: 0;
  right: 0;
  overflow-y: scroll;
  background-color: #ebebeb;
  color: #444;
}

a {
  text-decoration: none;
  color: #444;
}

a:hover {
  cursor: pointer;
}

.a-bold:hover {
  font-weight: bold;
}

img {
  max-width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* -ms-transform: translateZ(0); */
  /* IE 9 */
  /* -webkit-transform: translateZ(0); */
  /* Chrome, Safari, Opera */
  /* transform: translateZ(0); */
}

label {
  font-size: 14px;
  font-style: italic;
  color: #5e5e5e;
}

input,
textarea {
  width: 100%;
  font-family: Lato;
  font-size: 16px;
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  text-transform: none;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  text-transform: none;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  text-transform: none;
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  text-transform: none;
}

::placeholder {
  /* Recent browsers */
  text-transform: none;
}

textarea {
  width: 100%;
  font-family: Lato;
  padding: 6px 8px;
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
}

select {
  font-family: Lato;
}


/* Custom scrollbar, don't like it anymore tho */
/* ::-webkit-scrollbar {
  background: #cccccc;
  width: 8px;
}

::-webkit-scrollbar:horizontal {
  background: #cccccc;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: #ee6e73;
} */

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

.centered {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.font-size-13 {
  font-size: 13px;
}

.font-size-14 {
  font-size: 14px;
}

.font-size-15 {
  font-size: 15px;
}

.font-size-16 {
  font-size: 16px;
}

.font-size-18 {
  font-size: 18px;
}

.font-size-20 {
  font-size: 20px;
}

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

.font-center {
  text-align: center;
}

.distanziatore {
  border-top: 1px solid #d8d8d8;
  margin: 40px 0;
}

.distanziatore-mini {
  border-top: 1px solid #d8d8d8;
  margin: 12px 0;
}

/* FADE IN PAGE EFFECT funziona con script in script.js */
#main-content {
  opacity: 1;
  transition: 0.16s opacity;
}

#main-content.fade {
  opacity: 0;
  transition: none;
}

/* FADE IN PAGE EFFECT funziona con script in script.js */

/* accordion-mobile-menu LEFT MOBILE START Note: hidden by default */

/* (NEEDS JS TOO) */

/* Style the buttons that are used to open and close the accordion-mobile-menu panel */

.accordion {
  cursor: pointer;
  width: 100%;
}

.panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

/* accordion-mobile-menu LEFT MOBILE END */

.branding {
  position: absolute !important;
  top: -1000px;
  display: none !important;
}

#header-topbar-info {
  padding: 5px 12px 7px 12px;
  font-size: 15px;
  color: white;
  text-align: center;
}

.header-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
}

.header-topbar a {
  font-size: 14px;
  font-family: Roboto, "sans-serif" !important;
}

.right-topbar a:hover {
  font-weight: bold;
}

.header-topbar div:last-child {
  display: flex;
  justify-content: flex-end;
}

#header-topbar-free-delivery {
  color: #26ae90;
  font-weight: bold;
}

.header-whatsapp-number {
  display: flex;
  color: #45c654;
  color: #27a11a;
  font-weight: bold;
}

.left-topbar {
  display: grid;
  grid-template-columns: auto auto;
  grid-column-gap: 12px;
  background-color: white;
  padding: 5px 12px;
}

.left-topbar a {
  margin-top: 3px;
}

.left-topbar img {
  display: block;
  margin-right: 4px;
  max-height: 17px;
  max-width: 18px;
}

.right-topbar a {
  margin-left: 11px;
  padding: 8px 0;
}

@media (max-width: 990px) {
  .left-topbar {
    grid-template-columns: 1fr;
  }
}

.left-topbar-mobile {
  display: none;
  grid-template-columns: auto auto 1fr;
  grid-column-gap: 8px;
  background-color: white;
  padding: 5px 12px;
  font-size: 12px;
}

.left-topbar-mobile img {
  display: block;
  margin-right: 4px;
  max-height: 17px;
  max-width: 18px;
}

@media (max-width: 381px) {
  .left-topbar-mobile {
    grid-template-columns: 1fr;
    grid-row-gap: 5px;
    padding-bottom: 0;
  }
}

.header-container {
  background-color: white;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  z-index: 200;
}

#header {
  display: grid;
  grid-template-columns: auto 5fr auto auto;
  grid-template-rows: 1fr;
  grid-row-gap: 5px;
  border-bottom: 0;
  align-items: center;
  background-color: white;
  z-index: 1000;
  position: sticky;
  top: unset;
  /* only transition top property */
  /* start transitioning from position '0' instead of 'auto' */
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .1) !important;
  transition: 0.3s opacity;
  opacity: 1;
}

.header-show {
  top: 0 !important;
  opacity: 1 !important;
}

.header-hide {
  top: unset;
  opacity: 0 !important;
}

.wrapper {
  max-width: 1700px;
}

.sticky-header-wrapper {
  padding: 10px 9.5% 10px 9.5%;
}

.container {
  width: 100%;
  padding: 25px;
  border: 1px solid #ececec;
  background-color: white;
}

#hamburger1 {
  display: grid;
  margin-right: 10px;
}

#logo {
  display: block;
  width: 360px;
  margin-right: 25px;
}

#logo-mobile {
  display: none;
  max-width: 170px;
}

.search-topbar {
  display: grid;
  align-items: center;
  padding: 9px 14px;
  margin-bottom: 35px;
  box-shadow: 0 5px 15px 0 rgb(0 0 0 / 10%);
  background-color: #ffc80196;
  font-weight: bold;
  border: 1px solid #c5c5c5;
}

.product-card-variant {
  color: #444;
  font-weight: normal;
}

.plus-similar-text {
  font-size: 12px;
}

.plus-similar-num {
  font-size: 13px;
  font-weight: bold;
  color: #ee6e73;
}

.search-bar {
  height: 42px;
  border: 1px solid #adadad;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 15px;
}

.search-bar:focus {
  box-shadow: 0px 0px 3px #26ae90;
  outline: 0;
  border: 1px solid #26ae90;
}

#search-input {
  background-image: url(../img/icon/lente.svg);
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-color: rgba(34, 34, 34, 0.07);
}

/* sposto la x che si crea quando cerchi più a sinistra per non farla accavallare con il logo search */
#search-input::-webkit-search-cancel-button {
  position: relative;
  right: 30px;
}

.search-div-btn {
  display: none;
}

#search-btn {
  display: block;
}

#user-div {
  border: 2px solid #adadad;
  border-radius: 5px;
  height: 43px;
  margin-left: 25px;
  min-width: 76px;
  transition: all 0.2s ease-out;
}

.user-div-btn {
  position: relative;
}

/* SEARCH RANDOM ARTWORK start */

#random-artwork-container {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 35px;
  grid-row-gap: 25px;
}

#random-artwork-container img {
  display: block;
  margin: auto;
  width: 100%;
  max-width: 1080px;
}

#search-not-found-container {
  background-color: white;
  padding: 22px;
  border-bottom: 7px solid #caed5f;
  margin-bottom: 23px;
}

.green-w {
  font-weight: bold;
  color: #27a11a;
  white-space: nowrap;
}

#quote-container {
  background-color: white;
}


blockquote {
  display: grid;
  font-size: 19px;
  /* width: 60%; */
  /* margin: 50px auto; */
  font-family: Open Sans;
  font-style: italic;
  color: #555555;
  padding: 1em 30px 1em 50px;
  border-left: 8px solid #78C0A8;
  line-height: 1.6;
  position: relative;
}

blockquote::before {
  font-family: Arial;
  content: "\201C";
  color: #78C0A8;
  font-size: 3.5em;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote::after {
  content: '';
}

blockquote span {
  display: block;
  color: #333333;
  font-style: normal;
  font-weight: bold;
  margin-top: 5px;
  font-size: 17px;
  margin-left: auto;
  margin-right: 10px;
}


@media (max-width: 1650px) {
  #random-artwork-container {
    grid-template-columns: 1fr;
  }

}

/* SEARCH RANDOM ARTWORK end */


/* LA MEDIA QUERY NON FUNZIONA DI PUNTO IN BIANCO */
/* Fa hover solo se c'è puntatore (no touch devices) */
/* @media (hover: hover) and (pointer: fine) {
  .user-div-btn:hover #user-div {
    outline: none;
    border: 2px solid #38414a;
    transform: translateY(-2px);
  }

  .user-div-btn:hover .user-div-hover {
    display: block;
    z-index: 2000;
  }
} */

.user-div-btn:hover #user-div {
  outline: none;
  border: 2px solid #38414a;
  transform: translateY(-2px);
}

.user-div-btn:hover .user-div-hover {
  display: block;
  z-index: 2000;
}

.user-div-hover {
  display: none;
  position: absolute;
  right: 0;
  grid-template-rows: auto auto;
  height: auto;
  width: 150px;
  margin-top: 0px;
  background-color: white;
  overflow-y: auto;
}

#ciao-user {
  position: absolute;
  line-height: 15px;
  font-size: 12px;
}

#empty-user-div {
  height: 12px;
}

.user-div-hover-list {
  list-style-type: none;
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 5px 15px 0 rgb(0, 0, 0 / 10%);
  border: 1px solid #e9e9e9;
}

.user-div-hover-list li {
  background-color: #f5f5f5;
  padding: 9px 12px;
  text-align: right;
}

.user-div-hover-list li:hover {
  background-color: #e6e6e6;
  font-weight: bold;
}

/* CART HOVER START */

.cart-div {
  border: 2px solid #adadad;
  border-radius: 5px;
  display: grid;
  margin-left: 10px;
  grid-template-columns: 1fr auto auto;
  height: 43px;
  transition: all 0.2s ease-out;
}

.cart-div span:last-child {
  align-self: flex-end;
}

.cart-number {
  margin: auto;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  width: 25px;
  position: relative;
  color: #ee6e73;
  left: 35px;
  bottom: 9px;
  margin-left: -23px;
  z-index: 750;
}


/* LA MEDIA QUERY NON FUNZIONA DI PUNTO IN BIANCO */
/* Fa hover solo se c'è un puntatore (no touch devices) */
/* @media (hover: hover) and (pointer: fine) {
  .cart-div-btn:hover .cart-div {
    outline: none;
    border: 2px solid #38414a;
    transform: translateY(-2px);
  }

  .cart-div-btn:hover .cart-hover {
    display: block;
    z-index: 2000;
  }
} */

.cart-div-btn:hover .cart-div {
  outline: none;
  border: 2px solid #38414a;
  transform: translateY(-2px);
}

.cart-div-btn:hover .cart-hover {
  display: block;
  z-index: 2000;
}


.cart-hover {
  display: none;
  z-index: 1000;
  position: absolute;
  height: auto;
  max-height: 600px;
  width: 450px;
  margin-left: -338px;
  background-color: white;
  overflow-y: auto;
  padding-top: 14px;
  border-top: 0;
}

#empty-cart-hover-img img {
  display: flex;
  margin: auto;
  padding: 20px 0;
}

.cart-home-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  grid-column-gap: 10px;
  padding: 0px 13px 12px 12px;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

/* immagine del prodotto */
.cart-hover-img {
  display: block;
  object-fit: contain;
  min-width: 75px;
  max-width: 75px;
  min-height: 90px;
  max-height: 90px;
}

/* variant color hex container */
.header-variant-color {
  min-width: 75px;
  max-width: 75px;
  min-height: 75px;
  max-height: 75px;
  margin-top: 5px;
  border: 1px solid #adadad;
}

#cart-hover-detail-container {
  display: grid;
  margin: auto 0;
}

.total-price-scontato {
  font-weight: bold;
  color: #ee6e73;
  margin-left: 5px;
}

/* desc-qty */
.cart-home-row-desc-qty {
  display: grid;
  grid-template-rows: auto 3fr;
}

.cart-qty-section {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
}

.cart-brand-small {
  text-transform: uppercase;
  font-size: 11px;
}

.cart-brand-small:hover {
  font-weight: bold;
  color: #38414a;
}

.cart-product-name-small {
  font-size: 15px;
  color: #26ae90;
  font-weight: bold;
}

.cart-variant-name-small {
  font-size: 15px;
  color: #767676;
}

.cart-hover-variant-price {
  color: #767676;
  font-weight: bold;
  min-width: 55px;
}

.variant-price {
  font-weight: bold;
  font-size: 16px;
}

.variant-price-line-through {
  color: #9f9f9f !important;
  position: relative;
  display: inline-block;
}

.variant-price-line-through::before,
.variant-price-line-through::after {
  content: "";
  width: 100%;
  position: absolute;
  right: 0;
  top: 50%;
}

.variant-price-line-through::before {
  border-bottom: 1px solid #9f9f9f;
  -webkit-transform: skewY(-10deg);
  transform: skewY(-10deg);
}

.variant-price-scontato {
  font-weight: bold;
  white-space: nowrap;
  color: #ee6e73;
}

.cart-hover-qty-div {
  display: flex;
  align-items: center;
  text-align: center;
  margin: auto;
  padding: 0 12px;
}

.plus-qty {
  background-image: url("/img/icon/plus-qty.svg");
}

.plus-qty:active {
  transform: translateY(2px);
}

.minus-qty {
  background-image: url("/img/icon/minus-qty.svg");
}

.minus-qty:active {
  transform: translateY(2px);
}

.elimina-text {
  display: none;
  font-size: 15px;
}

.delete-prod-btn {
  width: 19px;
}

#cart-hover-total-container {
  position: sticky;
  bottom: 0;
  background-color: #f0f0f0;
  padding: 10px 18px;
  border: 1px solid #e0e0e0;
}

#cart-hover-end {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-column-gap: 100px;
}

#cart-hover-detail-container {
  font-size: 15px;
}

#cart-hover-total {
  text-align: right;
  margin: auto;
  font-size: 16px;
  font-weight: bold;
}

#discounted-total {
  font-size: 14px;
}

.text-right {
  display: block;
  float: right;
}

.bold-green-price {
  font-weight: bold;
  color: #26ae90;
}

/* CART HOVER END */

/* NAVBAR (categorie) START */
.nav-container {
  width: 100%;
  margin: auto;
  display: grid;
  justify-content: center;
  transition: height 0.3s ease-out;
  height: 52px;
}

.classic-navbar {
  background: linear-gradient(to right, #f65757, #7952b3);
}

.christmas-navbar {
  background-color: #e32e2e !important;
}



.navbar {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: auto;
  margin: auto;
}

.navbar li {
  display: flex;
  list-style: none;
  align-items: center;
  padding: 12px;
  font-family: Roboto, "sans-serif" !important;
  transition: all 0.15s ease-out;
}

.navbar a {
  display: block;
  color: white;
  font-size: 14px;
}

.navbar li:hover {
  background-color: white;
}

.navbar li:hover>.cat-logo-white {
  display: none;
}

.navbar li:hover>.cat-logo {
  display: block;
}

.navbar a:hover>li {
  text-shadow: 1px 0 0;
  color: #ee6e73;
}

.navbar-chosen {
  background-color: white;
  text-shadow: 1px 0 0;
  color: #ee6e73;
}

@media (max-width: 869px) {
  .nav-container {
    display: none;
  }

  #cart-text {
    display: none;
  }
}

@media (min-width: 870px) and (max-width: 1150px) {
  .nav-container {
    height: 80px;
  }

  .navbar a {
    padding: unset;
  }

  /* Quando il  */

  .navbar::after {
    content: "";
    width: 100%;
  }

  /* Seleziona i primi 7 */
  .navbar>a:nth-child(-n + 8)>li {
    padding: 0px 10px;
    padding-top: 7px;
    padding-bottom: 5px;
  }

  /* Seleziona tutti tranne i primi 7 */
  .navbar>a:nth-child(n + 8)>li {
    padding: 0px 10px;
    padding-top: 5px;
    padding-bottom: 7px;
  }

  .navbar a:nth-child(n + 8) {
    /* or `:nth-child(n + 4)` */
    order: 1;
  }
}

@media (min-width: 1151px) and (max-width: 1720px) {
  .nav-container {
    height: 104px;
  }

  .navbar a {
    padding: unset;
  }

  /* Quando il  */

  .navbar::after {
    content: "";
    width: 100%;
  }

  .navbar a:nth-child(n + 8) {
    /* or `:nth-child(n + 4)` */
    order: 1;
  }
}

/* NAVBAR (categorie) END */

/* UNDERBAR (categorie) START */
#topbar-items {
  display: flex;
  flex-shrink: 0;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  transition: all 0.2s;
  /* transform: scale(0.98); */
  will-change: transform;
  user-select: none;
  cursor: pointer;
  height: 100%;
}

#topbar-items>* {
  flex-shrink: 0;
}

#topbar-items.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

#topbar-items>div:first-child {
  margin-left: 16px;
}

#topbar-items>div:last-child {
  padding-right: 16px;
  color: red;
}

.item {
  display: inline-flex;
  margin: 0px 7px;
  height: 48px;
}

.item-object {
  display: inline-flex;
  align-items: center;
}

.item:hover>.item-object {
  font-weight: bold;
}

.item:hover>.rotate img {
  transform: rotate(180deg);
}

.item:hover>.grow img {
  transform: translateY(-3.5px);
}

#topbar .item img {
  display: block;
  max-height: 20px;
  margin-right: 6px;
  transition: transform 0.5s ease-in-out;
}

#topbar {
  display: inline-grid;
  transition: 2s ease;
  width: 100%;
  margin: auto;
  justify-content: center;
}

#topbar span {
  font-family: "Roboto", "sans-serif" !important;
  font-size: 14px;
}

/* UNDERBAR (categorie) END */

.cat-logo {
  display: none;
}

.cat-logo-white,
.cat-logo {
  max-height: 28px;
  margin-right: 5px;
}

.breadcrumb {
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 13px;
  padding: 10px;
  background-color: #d7d7d7;
}

/* Add a color on mouse-over */
.breadcrumb a:hover {
  font-weight: bold;
}

/* product grid and cards */
#product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  grid-gap: 25px;
  margin: 30px 0;
}

#product-grid a {
  display: grid;
}

/* LAZYSIZES start */

/* Questo è lo sfondo dell'immagine del prodotto, dello stesso colore dell'immagine della k quando non c'è una variante */
/* NOTA Se cambia il colore di sfondo di quell'immagine bisogna cambiare anche questo */
/* FUTURE Metti qualcosa di animato anzichè lo sfondo. */
.product-img,
.s1 .swiper-slide {
  position: relative;
  background-color: #f5f5f5;
}

.product-img img {
  transition: opacity 500ms;
}

/* Questo contiene la logica per il calcolo della dimensione dell'immagine, usando il suo aspect ratio */
/* Viene usato in contemporanea ad data-sizes='auto' */
.product-img:after {
  content: "";
  display: block;
  height: 0;
  width: 100%;
  /* 16:9 = 56.25% = calc(9 / 16 * 100%) */
  /* calcolato facendo 533 (altezza) / 400px (larghezza)  */
  padding-bottom: 133%;
}

.s1 .swiper-slide:after {
  content: "";
  display: block;
  height: 0;
  width: 100%;
  /* 16:9 = 56.25% = calc(9 / 16 * 100%) */
  /* calcolato facendo 533 (altezza) / 400px (larghezza)  */
  padding-bottom: 75%;
}

.product-img>*,
.s1 .swiper-slide>* {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
}

/* LAZYSIZES end */

.product-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: #d1d5db;
}

.product-card-bottom {
  display: grid;
  padding: 15px;
}

.brand-name {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  font-weight: 500;
}

.product-card-name {
  color: #1f2937;
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-sottonome {
  font-size: 14px;
  color: #6b7280;
  padding: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.price {
  padding: 15px;
  border-top: 1px solid #f3f4f6;
  color: #26ae90;
  font-weight: bold;
  font-size: 16px;
  margin-top: auto;
}

.product-not-available-layer {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 10;
  border-radius: 15px;
}

.product-not-available-label {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 100;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-not-available-label span {
  color: #374151;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.product-discount {
  position: relative;
  top: 17px;
  left: 3px;
  padding: 0px 15px;
  border-radius: 8px;
  z-index: 5;
}

.product-discount img {
  display: block;
  height: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.product-ranking img {
  height: 32px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.product-ranking {
  position: relative;
  top: 12px;
  right: 12px;
  z-index: 10;
  float: right;
}

.product-ranking span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  white-space: nowrap;
  color: white;
  font-weight: 600;
  font-size: 12px;
}

.variants-num-container {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 8px;
  font-size: 12px;
  padding: 0 15px 8px 15px;
  align-items: center;
  color: #6b7280;
  font-weight: 500;
}

.variants-num-container img {
  max-height: 20px;
  opacity: 0.7;
}

#live_search {
  display: none;
}

footer {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 999;
}

#footer-top {
  font-size: 11px;
  background-color: #323232;
  padding: 22px;
  padding-top: 26px;
  color: white;
}

#footer-business-info-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-column-gap: 25px;
  justify-content: center;
  margin: auto;
  text-align: center;
}

#business-payment-methods {
  display: grid;
  grid-template-rows: auto auto;
}

#business-payment-methods img,
#business-delivery-partners img {
  width: 56px;
  max-width: 56px;
  height: 35px;
  margin: 4px;
}

#business-social-links img {
  height: 35px;
  width: 35px;
  margin: 4px;
  border-radius: 3px;
  cursor: pointer;
}

#business-payment-methods div:last-child {
  text-align: center;
}

#business-payment-methods div:first-child,
#business-delivery-partners div:first-child,
#business-social-links div:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 6px;
}

@media (max-width: 500px) {
  #footer-business-info-container {
    grid-template-columns: auto auto;
  }

  #business-payment-methods {
    grid-column-start: 1;
    grid-column-end: 3;
    margin-bottom: 14px;
  }
}

/* Positioning footer distance */

#main-content,
#live_search {
  margin-bottom: 500px;
}

@media (max-width: 303px) {

  #business-payment-methods img,
  #business-delivery-partners img {
    width: 40px;
    height: 25px;
  }

  #business-social-links img {
    height: 25px;
    width: 25px;
  }

  #topbar-items {
    margin-bottom: 4px;
  }
}

@media (min-width: 304px) and (max-width: 500px) {

  #main-content,
  #live_search {
    margin-bottom: 520px;
  }

  #topbar-items {
    margin-bottom: 4px;
  }
}

@media (min-width: 501px) and (max-width: 547px) {

  #main-content,
  #live_search {
    margin-bottom: 365px;
  }
}

@media (min-width: 548px) and (max-width: 723px) {

  #main-content,
  #live_search {
    margin-bottom: 330px;
  }
}

@media (min-width: 724px) {

  #main-content,
  #live_search {
    margin-bottom: 320px;
  }
}

#footer-bottom {
  padding: 18px;
  padding-top: 22px;
  color: #bbb;
  background-color: #222;
}

#footer-container {
  display: grid;
  grid-template-columns: auto 1fr;
}

#footer-business-info {
  font-size: 11px;
}

#footer-img {
  display: flex;
  align-content: flex-start;
  align-items: baseline;
}

#footer-img img {
  max-width: 130px;
}

#footer-img {
  padding-bottom: 10px;
}

#footer-links {
  display: grid;
  justify-content: flex-end;
  grid-template-columns: auto auto auto;
  grid-column-gap: 25px;
}

#footer-links ul {
  list-style-type: none;
}

#footer-links a {
  color: #f1f1f1;
  font-size: 12px;
}

#footer-links a:hover {
  color: #26ae90;
  font-weight: bold;
}

.footer-panel {
  max-height: 100%;
}

.footer-list-element {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center !important;
}

.footer-list-element span {
  display: inherit;
  align-items: center;
  background-color: #222222;
  color: #bbbbbb;
  height: 100%;
  padding: 10px 15px;
}

.footer-list-element img {
  display: block;
  padding: 15px;
}

#coupon-container {
  background-color: white;
  font-size: 14px;
}

#coupon-title {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-column-gap: 5px;
  align-items: center;
  padding: 5px 10px;
  background-image: -webkit-linear-gradient(top,
      rgb(254, 218, 113),
      rgb(254, 186, 71));
}

#coupon-title img {
  width: 20px;
}

#coupon-desc {
  background-color: #eee;
  padding: 8px;
  font-size: 14px;
}

#coupon-discard {
  padding: 0 !important;
}

#coupon-discard:active {
  transform: translateY(2px);
}

/* TOPBAR RIPRENDI SHOP START */

#top-bar-container {
  align-items: center;
  background-color: white;
  border-bottom: 1px solid #c4c4c4;
  margin-bottom: 30px;
  padding: 16px 0;
}

#top-bar-cart {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  font-size: 14px;
}

#top-bar-logo img {
  width: 200px;
}

#top-bar-riprendi a {
  display: flex;
}

#top-bar-riprendi a:hover {
  font-weight: bold;
}

#top-bar-riprendi img {
  width: 15px;
  margin-left: 7px;
}

/* TOPBAR RIPRENDI SHOP END */



/* NEW REVIEW START */


#new-review-product-top-container {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 10px;
  margin-top: 10px;
}

#new-review-product-name-container {
  margin: auto 0;
}

#new-review-product-name-modal {
  font-size: 21px;
}

#new-review-product-thumbnail {
  display: block;
  width: 60px;
  height: auto;
}

#review-title-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#review-title {
  height: 33px;
  border-radius: 5px;
  border: 1px solid #adadad;
  padding: 0 8px;
  outline: 0;
}

#review-text {
  border-radius: 5px;
  border: 1px solid #adadad;
  outline: 0;
  height: 100px;
  max-height: 100px;
  resize: none;
}

#rating-number {
  font-size: 21px;
  font-weight: bold;
  margin: auto 0;
}

#rating-number-selected {
  font-size: 26px;
}

#rating-stars {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 10px;
}

:root {
  --color-gold: #ffc41f;
  --color-gold-light: #ffd560;
}

.comment-stars {
  display: flex;
  flex-direction: row-reverse;
  position: relative;
}

.comment-stars-input {
  /* display: none; */
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 1px;
  opacity: 0;
}

.comment-stars-input:checked~.comment-stars-view svg {
  fill: var(--color-gold);
}

.comment-stars-input:checked~.comment-stars-view:hover svg,
.comment-stars-input:checked~.comment-stars-view:hover~.comment-stars-view svg {
  fill: var(--color-gold-light);
}

.comment-stars-view {
  cursor: pointer;
}

.comment-stars-view svg {
  fill: #ededef;
  width: 2.79em;
  height: 3em;
}

.comment-stars-view.is-half {
  transform: translateX(100%);
  margin-left: -1.39em;
}

.comment-stars-view.is-half svg {
  width: 1.39em;
}

.comment-stars-view:hover svg,
.comment-stars-view:hover~.comment-stars-view svg {
  fill: var(--color-gold-light);
}

/* NEW REVIEW END */


/* THEMING - THEME START */






/* THEMING - THEME END */




/* if a user wants to delete the review, he can't edit stars value */
.rating-stars-disabled {
  pointer-events: none;
}


:root {
  --star-size: 26px;
  --star-color: #a5a5a5;
  --star-background: rgb(240, 166, 0);
}

.review-title {
  font-weight: bold;
  margin-top: 2px;
}

.rating-stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  font-family: Montserrat;
  line-height: 0;
}

.rating-stars::before {
  content: "★★★★★";
  /* letter-spacing: 3px; */
  background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rating-stars-number-container {
  position: relative;
  margin-top: 7px;
}

.rating-number {
  position: absolute;
  top: 0px;
  font-weight: bold;
  margin-left: 3px;
  font-size: 14px;
}





@media (max-width: 500px) {
  #user-div {
    min-width: unset;
    border: 1px solid #adadad;
    padding: 5px 5px 3px 5px;
  }

  .cart-div {
    border: 1px solid #adadad;
    padding: 5px 5px 3px 2px;
  }

  #cart-text {
    display: none;
  }

  .header-topbar {
    display: none;
  }

  .wrapper {
    margin-right: 15px;
    margin-left: 15px;
  }

  .container {
    padding: 15px;
  }

  .search-bar-one-row {
    display: none;
  }

  #header {
    grid-template-columns: auto 1fr auto auto;
    grid-template-rows: 1fr auto;
    grid-row-gap: 10px;
  }

  .sticky-header-wrapper {
    padding: 8px 3.5% 12px 3.5%;
  }

  #logo {
    display: none;
  }

  #logo-mobile {
    display: block;
    grid-column-start: 1;
    grid-column-end: 3;
  }

  #hamburger1 {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #search-bar-container {
    grid-row-start: 2;
    grid-column-start: 2;
    grid-column-end: 5;
  }

  .search-bar-two-rows {
    display: grid;
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 5;
  }

  #top-navbar-container {
    display: none;
  }

  .showclass {
    display: block;
  }

  #title h1 {
    font-size: 35px;
  }

  .subcategory-names {
    font-size: 10px !important;
  }

  #product-grid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    margin-top: 15px;
  }

  .brand-name {
    font-size: 11px;
  }

  .product-card-name {
    font-size: 14px;
  }

  .price span {
    font-size: 14px;
  }

  .variants-num-container span {
    font-size: 10px;
  }

  #footer-container {
    grid-template-columns: 1fr;
    grid-row-gap: 14px;
  }

  #footer-links {
    grid-template-columns: 1fr auto auto;
  }

  #accedi-text {
    display: none;
  }

  .left-topbar-mobile {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    padding: unset;
    padding-top: 9px;
  }

  .item {
    height: 37px;
  }

  .topbar span {
    font-size: 13px;
  }
}

@media (min-width: 612px) and (max-width: 675px) {
  #product-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
    grid-gap: 10px;
  }
}

@media (min-width: 501px) and (max-width: 869px) {
  /*    body {
    background: none;
    background-color: green;
  } */

  .cart-hover {
    margin-left: -392px;
  }

  #user-div {
    min-width: unset;
    padding: 5px 5px 3px 5px;
  }

  .cart-div {
    padding: 5px 5px 3px 5px;
  }

  #top-navbar-container {
    display: none;
  }

  .header-topbar {
    display: none;
  }

  .wrapper {
    margin-left: 15px;
    margin-right: 15px;
  }

  .sticky-header-wrapper {
    padding: 8px 4% 12px 4%;
  }

  .container {
    padding: 15px;
  }

  .header-top-bar {
    display: none;
  }

  #header {
    grid-template-columns: auto 1fr auto auto;
    grid-template-rows: 1fr auto;
    grid-row-gap: 10px;
  }

  #logo {
    display: none;
  }

  #logo-mobile {
    display: block;
    grid-column-start: 1;
    grid-column-end: 3;
  }

  #hamburger1 {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #search-bar-container {
    grid-row-start: 2;
    grid-column-start: 2;
    grid-column-end: 5;
  }

  #product-grid {
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    grid-gap: 25px;
    margin: 30px 0;
  }

  .product-card-name {
    font-size: 14px;
  }

  #accedi-text {
    display: none;
  }

  .left-topbar-mobile {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    padding: unset;
    padding-top: 9px;
  }
}

@media (min-width: 870px) and (max-width: 1024px) {
  #user-div {
    padding: 5px 5px 3px 5px;
  }

  .cart-div {
    padding: 5px 5px 3px 5px;
  }

  .wrapper {
    margin-right: 45px;
    margin-left: 45px;
  }

  #header {
    grid-template-columns: 1fr auto auto;
  }

  #search-bar-container {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 5;
  }

  .search-div-btn {
    display: grid;
  }

  .search-bar-one-row {
    display: none;
  }

  .search-bar-two-rows {
    display: grid;
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 5;
  }

  #product-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1025px) {
  #user-div {
    padding: 5px 5px 3px 5px;
  }

  .cart-div {
    padding: 5px 5px 3px 5px;
  }

  .wrapper {
    margin-left: 45px;
    margin-right: 45px;
  }

  .header-main-two-rows {
    display: grid;
    grid-template-columns: auto 5fr auto auto;
    grid-template-rows: 1fr;
    padding: 15px 8px;
    border-bottom: 0;
    align-items: center;
  }
}

/* margin left e margin right (45 + 45) */
@media (min-width: 1660px) {
  .wrapper {
    margin: auto;
  }
}


@font-face {
  font-family: Quicksand;
  src: url(/fonts/Quicksand-VariableFont_wght.ttf);
}

@font-face {
  font-family: Comfortaa;
  src: url(/fonts/Comfortaa-Bold.ttf);
}

@font-face {
  font-family: Comfortaa;
  src: url(/fonts/Comfortaa-Light.ttf);
}

@font-face {
  font-family: Comfortaa;
  src: url(/fonts/Comfortaa-Regular.ttf);
}

@font-face {
  font-family: Lato;
  src: url(/fonts/Lato-Bold.ttf);
}

@font-face {
  font-family: Lato;
  src: url(/fonts/Lato-Italic.ttf);
}

@font-face {
  font-family: Lato;
  src: url(/fonts/Lato-Regular.ttf);
}

@font-face {
  font-family: Roboto;
  src: url(/fonts/Roboto-Bold.ttf);
}

@font-face {
  font-family: Roboto;
  src: url(/fonts/Roboto-Italic.ttf);
}

@font-face {
  font-family: Roboto;
  src: url(/fonts/Roboto-Regular.ttf);
}

@font-face {
  font-family: Ember;
  src: url(/fonts/Ember-Regular.ttf);
}

@font-face {
  font-family: Montserrat;
  src: url(/fonts/montserrat-variable.ttf)
}