/* VARS */
:root {
    --color-base: #b91431;
    --color-base-hover: #a10f29;
    --color-gray-light: #f2eded;
}

/** GLOBALS **/

/** UTILS **/
.w-10 {
  width: 40px;
}
.w-max {
  width: max-content;
}
.h-10 {
  height: 40px;
}
.-z-1 {
  z-index: -1;
}
.aspect-ratio-square {
  aspect-ratio: 1/1 !important;
}
.cursor-pointer {
  cursor: pointer;
}
.bg-white-hover {
  background-color: transparent !important;
}
.bg-white-hover:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
}
.bg-color-base {
    background-color: var(--color-base);
}
.bg-gray-light {
  background-color: var(--color-gray-light);
}
.hover.bg-gray-light:hover {
  background-color: #d6d0d0;
}
.text-color-base {
    color: var(--color-base) !important;
}
.link-white {
    color: white;
    position: relative;
    text-decoration: none;
    font-weight: 600;
    transform: scale(1);
    transition: all .1s ease-in-out;
}
.link-white:active {
    transform: scale(0.95);
}
.link-white:hover {
    text-decoration: none;
    color: white;
}
.link-white::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    transition: all .2s ease-in-out;
}
.link-white:hover::before {
    width: 100%;
}
.text-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.text-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.font-playfair {
  font-family: 'playfair';
}
.bottom-device-control {
  margin-bottom: 88px;
}
.czm-button {
  bottom: 110px !important;
}
@media (min-width: 768px) {
  .bottom-device-control {
    margin-bottom: 0;
  }
  .czm-button {
    bottom: 30px !important;
  }
}
.object-fit-cover {
  object-fit: cover;
}

/** Components **/
.btn-menu {
  border-radius: 8px;
  cursor: pointer;
  background-color:transparent;
  color: white;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  border: unset;
  outline: unset;
  transition: all .2s ease-in-out;
  text-decoration: none;
}
.btn-menu:hover {
  background-color: var(--color-base-hover);
}
.btn-view-product {
  border: 2px solid rgba(148, 142, 116, 0.15) !important;
  background-color: rgba(148, 142, 116, 0.0) !important;
  font-size: 12px !important;
  font-weight: bold;
  color: #948e74 !important;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all .2s ease-in-out;
}
.btn-view-product:hover {
  background-color: rgba(148, 142, 116, 0.1) !important;
  border: 2px solid rgba(148, 142, 116, 0.50) !important;
}
.avatar-user {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle-shape {
  width: 100%;
  aspect-ratio: 1/1;
  height: 100%;
  border-radius: 50% 0 50% 50%;
  background-color: var(--color-base);
  position: relative;
}
.circle-shape::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 13%;
  height: 13%;
  background-image: url('/img/logo_gr.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.shadow.circle-shape::after {
  content: '';
  position: absolute;
  bottom: -2.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 5%;
  z-index: -1;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.25);
  filter: blur(2px);
}
.circle-shape-content {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.circle-shape-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: unset;
}
.border-img.circle-shape-content img {
  border: 2px solid white !important;
}
.bar-left {
  background-color: var(--color-base);
  width: max-content;
  position: relative;
}
.bar-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-base);
  z-index: -1;
}
@media (max-width: 768px) {
  .bar-left {
    width: 100%;
  }
  .bar-left::before {
    left: 0;
    right: 0;
    transform: scaleX(200%);
  }
}
.card-description {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  height: 300px;
}
.input-custom-file {
  border: unset !important;
  padding: 12px 16px;
  outline: unset !important;
}
.input-custom-cart {
  background-color: rgb(177, 147, 121, 0.15);
  padding: 12px 16px;
  outline: 2px solid transparent;
  transition: all .2s ease-in-out;
  border: unset !important;
  transition: all .2s ease-in-out;
}
.input-custom-cart::placeholder {
  opacity: 0.5;
}
.input-custom-cart:hover {
  outline: 2px solid rgb(177, 147, 121, 0.25);
}
.input-custom-cart:focus {
  outline: 2px solid rgb(177, 147, 121, 0.5);
  background-color: rgb(177, 147, 121, 0.15);
}
.custom-required-label {
  display: block;
  width: 100%;
  position: relative;
}
.required.custom-required-label::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  background-image: url('/img/asterisco.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 12px;
  height: 12px;
}
.animate-pulse {
  animation: pulse 1s normal;
}
@keyframes pulse {
  0% {
    outline: 4px solid rgba(185, 20, 50, 0.0);
  }
  20% {
    outline: 4px solid rgb(185, 20, 50, 0.25);
  }
  40% {
    outline: 4px solid rgb(185, 20, 50, 0.0);
  }
  60% {
    outline: 4px solid rgb(185, 20, 50, 0.25);
  }
  80% {
    outline: 4px solid rgb(185, 20, 50, 0.0);
  }
  100% {
    outline: 4px solid rgb(185, 20, 50, 0.25);
  }
}
