@font-face {
  font-family: "GarageGothicBold";
  src: url("/DigitUp/LaCaseraES/assets/fonts/GarageGothic-Bold.woff2") format("woff2"), url("/DigitUp/LaCaseraES/assets/fonts/GarageGothic-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenSansLight";
  src: url("/DigitUp/LaCaseraES/assets/fonts/OpenSans-Light.woff2") format("woff2"), url("/DigitUp/LaCaseraES/assets/fonts/OpenSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* Define the responsive grid mixin */
/* Center content with optional starting column */
/* ============================================
   Button Mixin
   Supports: variants, sizes, optional icon
=============================================== */
/* SIZE MIXIN (NO COLORS, NO VARIANT) */
/* VARIANT MIXIN (COLORS ONLY) */
/* OPTIONAL: BASE MIXIN */
.buy-fixed-btn {
  position: fixed;
  bottom: 1.25rem;
  right: 115px;
  background: #002d72;
  color: #ffffff;
  padding: 0.875rem 2.375rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 60px;
  border: 2px solid #ffffff;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 0 0 6px #002d72;
  transition: all 0.3s ease;
}

.buy-modal {
  background: transparent;
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9998;
}

.buy-modal.active {
  opacity: 1;
  visibility: visible;
}

.buy-modal-content {
  background: #ffffff;
  width: 505px;
  height: 90vh;
  background-color: rgba(150, 184, 245, 0.4392156863);
  backdrop-filter: blur(3px);
  max-width: 100%;
  padding: 30px;
  animation: slideUp 0.3s ease;
  position: relative;
  right: 3rem;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border-left: 4px solid #002d72;
  border-right: 4px solid #002d72;
}

.buy-modal.active .buy-modal-content {
  transform: translateY(0);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.close-btn {
  position: absolute;
  top: 0.9375rem;
  right: 1.25rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #002d72;
}

.brand-grid {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.brand-item {
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.brand-item:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.brand-content {
  margin-top: 1.875rem;
  text-align: center;
}

.product-images {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.product-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-box:hover,
.product-box:focus,
.product-box:active {
  text-decoration: none;
}

.product-box img {
  max-width: 60px;
}

.product-box:hover img {
  transform: scale(1.05);
  transition: 0.3s ease;
}

.buy-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.625rem 1.375rem;
  background: #002d72;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: 0.3s;
}

.buy-btn:hover {
  opacity: 0.9;
}

.buy-mobile-wrapper {
  display: none;
}

.brand-detail {
  text-align: center;
  margin-top: 0.625rem;
}

.volver-btn {
  text-align: left;
  color: #33578e;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1.25rem;
}

.brand-header img {
  max-width: 350px;
  margin: auto;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.brand-header img:hover {
  transform: scale(1.05);
}

.product-images {
  display: flex;
  justify-content: center;
  gap: 3.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

@media (min-width: 599.9px) and (max-width: 839.9px) {
  .buy-fixed-btn {
    right: 30px;
    padding: 0.75rem 2.25rem;
    font-size: 0.8125rem;
  }
  .buy-modal-content {
    right: 0;
  }
}
@media (min-width: 0) and (max-width: 599.9px) {
  .buy-fixed-btn {
    display: none;
  }
  .buy-mobile-wrapper {
    display: block;
    position: fixed;
    bottom: 0.625rem;
    right: 1.25rem;
    z-index: 9999;
  }
  .buy-mobile-wrapper img {
    width: 60px;
    height: auto;
    display: block;
    cursor: pointer;
  }
  .buy-modal-content {
    width: 100%;
    height: 85vh;
    right: 0;
    margin: 0px 1rem;
    border: 5px solid yellow;
  }
  .brand-item {
    width: 90px;
  }
  .brand-header img {
    max-width: 100%;
  }
}
