/* ------------------------> Mobile-first */

/* Custom styles will go here */
:root {
  --primary-color-600: #b01b8c;
  --primary-color-500: #dc32b7; /** Main Brand Color **/
  --primary-color-300: #fdaaee;
  --primary-color-200: #fed0f8;
  --primary-color-50: #fff4fd;

  /* 
    Color Rosado Secundario
  */
  --secondary-color-600: #dc32b7; /** Main Brand Color **/
  --secondary-color-500: #f144cf;
  --secondary-color-200: #fed0f8;
  --secondary-color-50: #fff4fd;

  --gray-color-900: #101828;
  --gray-color-700: #364153;
  --gray-color-500: #6a7282;
  --gray-color-400: #99a1af;
  --gray-color-300: #d1d5dc;
  --gray-color-200: #e5e7eb;
  --gray-color-100: #f3f4f6;
  --gray-color-50: #f9fafb;

  --white-color: #ffffff;
  --black-color: #000000;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--gray-color-50);
}

/* 
      ============================================= COMPONENT Navbar =============================================
*/

/* Navbar styles */
.navbar__content {
  background-color: var(--white-color);
  border-bottom: 1px solid var(--gray-color-200);
  background-color: var(--white-color);
}

.navbar__content .navbar {
  padding: 1rem 2rem;
  max-width: 1024px;
  margin: 0 auto;
  background-color: var(--white-color);
}

.navbar-nav .nav-link {
  color: var(--gray-color-700);
  font-weight: 600;
  margin-right: 1rem;
}

/* 
      ============================================= COMPONENT Banner =============================================
*/

/* Tamaño del carousel para todas las pantallas */
.banner__section .carousel,
.banner__section .carousel-inner,
.banner__section .carousel-item {
  height: 400px;
  /* Altura base */
}

.banner__section .carousel-item img {
  height: 400px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.banner__section .carousel-control-prev,
.banner__section .carousel-control-next {
  backdrop-filter: blur(10px);
  background: var(--gray-color-200);
  border: 2px solid var(--gray-color-200);
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  top: 50%;
  transform: translateY(-50%);
}

.banner__section .carousel-control-prev:hover,
.banner__section .carousel-control-next:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.banner__section .carousel-control-prev-icon,
.banner__section .carousel-control-next-icon {
  filter: brightness(0) saturate(100%) invert(8%) sepia(22%) saturate(2084%)
    hue-rotate(202deg) brightness(95%) contrast(93%);
}

.banner__section .carousel .carousel-control-prev {
  left: 9px !important;
  height: 40px !important;
  width: 40px !important;
}
.banner__section .carousel .carousel-control-next {
  right: 9px !important;
  height: 40px !important;
  width: 40px !important;
}

.banner__section .carousel,
.banner__section .carousel-inner,
.banner__section .carousel-item {
  height: 120px !important;
}

.banner__section .carousel-item img {
  height: 120px !important;
}

/* 
      ============================================= CATEGORY SECTION =============================================
*/

/* .owl-nav .owl-prev,
.owl-nav .owl-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  padding: 1rem !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--gray-color-200) !important;
  border: 1px solid var(--gray-color-200) !important; */

.product__section .owl-theme .owl-nav .owl-prev {
  background-color: red;
}




/* 
      ============================================= TESTIMONIOS =============================================
*/
.owl-carousel-testimonio {
  margin-top: 1rem;
}

/* 
      ============================================= SECTION PAGO EN LINEA =============================================
*/
.pay__section__content {
  display: grid;
  grid-template-columns: repeat(1, minmax(1fr, 1fr));
  gap: 1rem;
}

.pay__section__credits__left h3 {
  font-size: 0.875rem;
  color: var(--gray-color-500);
  text-align: center;
}

.pay__section__credits__cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.pay__section__credits__cards img {
  height: 46px;
  object-fit: contain;
  margin-top: 0.5rem;
}

.pay__section__credits__right h3 {
  font-size: 0.875rem;
  color: var(--gray-color-500);
  text-align: center;
}

.pay__section__credits__other {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.pay__section__credits__other img {
  height: 100px;
  object-fit: contain;
  margin-top: 0.5rem;
}

/* 
      ============================================= SECTION FOOTER =============================================
*/
.footer__section {
  background-color: var(--secondary-color-600);
  color: var(--white-color);
}

.footer__content {
  max-width: 1024px;
  padding: 2.5rem 1rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, minmax(1fr, 1fr));
  gap: 1.8rem;
}

.footer__content__about p {
  font-size: 0.8rem;
  color: var(--white-color);
  margin: 0;
  text-align: justify;
  margin-top: 1rem;
}

.footer__content__about__social {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__content__about__social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  border-radius: 0.375rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 8px;
  text-decoration: none;
}

.footer__content__about__libro__link {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
}

.footer__content__about__libro__link img {
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.footer__content__pages__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__content__pages__links a {
  font-size: 0.875rem;
  color: var(--white-color);
  font-weight: 400;
}

.footer__content__location__items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__content__location__item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  gap: 0.5rem;
  margin-bottom: 0;
}

.footer__content__contact__items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__content__contact__item {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.footer__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white-color);
}

.footer__link {
  text-decoration: none;
  color: var(--white-color);
}

.footer__link:visited {
  color: var(--white-color);
}

.footer__link:hover {
  color: var(--white-color);
  text-decoration: underline;
}

.footer__link:focus,
.footer__link:active {
  color: var(--white-color);
  outline: none;
}

/* 
      ============================================= SUB FOOTER =============================================
*/
.sub__footer {
  background-color: var(--secondary-color-500);
  color: var(--white-color);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.875rem;
}

.sub__footer__content {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1ch;
}

.sub__footer__content p {
  margin: 0;
}

.sub__footer__content svg {
  color: red;
}

/* 
      ============================================= COMPONENT STYLES =============================================
      */

.button__fill {
  background-color: var(--primary-color-500);
  color: var(--white-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.button__fill:hover {
  background-color: var(--primary-color-600);
  color: var(--white-color);
  text-decoration: none;
}

.description__text {
  color: var(--gray-color-500);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.icon__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-color-900);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0.25rem;
  border-radius: 8px;
  border: none;
  background-color: inherit;
}

.icon__button--cart {
  position: relative;
  border: none;
}

.icon__button--cart:active {
  background-color: var(--gray-color-200);
  outline: none !important;
  border: none !important;
}

.icon__button--cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: var(--white-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon__button > svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon__button:hover {
  background-color: var(--gray-color-100);
}

.max__width__section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.product__section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title__text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-color-900);
  margin: 0;
  text-align: center;
}

.text__left {
  text-align: left;
}

.shadow__sm {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.shadow__md {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.link {
  text-decoration: none;
  color: inherit;
}

.link:hover {
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
}

.link:focus,
.link:active {
  outline: none;
  color: inherit;
}

.link:visited {
  color: inherit;
}

/* ============================================= 
   FORMULARIO
   ============================================= */
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
/* LABEL */
.form__label {
  color: var(--primary-color-500);
  font-weight: 500;
  font-size: 0.875rem;
}

/* INPUT */
.form__input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--primary-color-300);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--gray-color-900);
  background-color: var(--gray-color-50);
  transition: border-color 0.3s ease;
  outline: none;
}

.form__input:focus {
  outline: 1px solid var(--primary-color-500);
}

.form__input::placeholder {
  color: var(--gray-color-400);
  font-size: 0.875rem;
}

.form__input:disabled {
  background-color: var(--gray-color-100);
  cursor: not-allowed;
}

/* ============================================= 
   CARD TESTIMONIO STYLES
   ============================================= */

.card__testimonio {
  background-color: var(--white-color);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--gray-color-200);
  border-radius: 8px;
}

.card__testimonio__img {
  height: 90px !important;
  width: 90px !important;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.card__testimonio__rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
}

.card__testimonio__rating__quote {
  color: var(--secondary-color-600);
}

.card__testimonio__rating__stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.1rem;
}

.card__testimonio__rating__stars > svg {
  width: 1rem;
  height: 1rem;
  color: var(--secondary-color-500);
}

.card__testimonio__description {
  font-size: 0.875rem;
  color: var(--gray-color-500);
  text-align: justify;
}

.card__testimonio__name {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-top: 0.5rem;
  width: 100%;
}

.card__testimonio__name p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-color-900);
}

/* ============================================= 
   OWL CAROUSEL NAVIGATION STYLES 
   ============================================= */

/* Contenedor del carousel para posicionamiento */
.owl-carousel {
  position: relative;
}

/* Estilos base para ambos botones */
.owl-nav .owl-prev,
.owl-nav .owl-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  padding: 1rem !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--gray-color-300) !important;
  border: 1px solid var(--gray-color-200) !important;
  color: var(--gray-color-900) !important;
  font-size: 40px !important;
  overflow: hidden;
  /* Fondo y efectos */
  /* background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(15px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important; */
}

/* Botón anterior (izquierda) */
.owl-nav button.owl-prev {
  left: -16px !important;
}

/* Botón siguiente (derecha) */
.owl-nav button.owl-next {
  right: -16px !important;
}

/* SVG dentro de los botones */
.owl-nav button svg {
  width: 24px !important;
  height: 24px !important;
  color: var(--gray-color-900) !important;
}

/* ------------------ */
.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

/* ============================================= 
   CARD PRODUCTOS HOME
   ============================================= */
.card__product {
  border: 1px solid var(--gray-color-200);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card__product:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card__product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__product__body {
  padding: 0.7rem;
}

.card__product__info {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.card__product__info h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-color-900);
  margin: 0;
}

.card__product__info p {
  font-size: 0.75rem;
  color: var(--gray-color-500);
  margin: 0.25rem 0 0 0;
}

.card__product__price {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-color-900);
  margin: 0.5rem 0 0 0;
}

.card__product__button {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
  background-color: var(--primary-color-500);
  width: 100%;
  outline: none;
  border: 1px solid var(--primary-color-500);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--white-color);
}

.card__product__button:hover {
  background-color: var(--primary-color-600);
}

.card__product__button svg {
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
}

/* ============================================= 
   CARD CATEGORY HOME
   ============================================= */
.category__card {
  border-radius: 8px;
  perspective: 1000px;
  /* Needed for 3D effect */
  height: 290px;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid var(--gray-color-200);
}

.category__card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.category__card:hover .category__card__inner {
  transform: rotateY(180deg);
}

.category__card__front,
.category__card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  overflow: hidden;
}

.category__card__front__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.category__card__front__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.category__card__front__info h3 {
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--primary-color-500);
  margin: 0;
}

.category__card__front__info__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.category__card__front__info__link p {
  font-size: 0.875rem;
  color: var(--gray-color-500);
  margin: 0;
}

.category__card__front__info__link svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-color-500);
}

.category__card__front__info__link:hover {
  color: var(--primary-color-500);
  text-decoration: none;
}

.category__card__back {
  position: relative;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow: hidden;
}

.category__card__back__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.category__card__back__content {
  position: absolute;
  z-index: 2;
  text-align: center;
  color: var(--white-color);
  background: rgba(196, 16, 209, 0.6);
  border-radius: 0.5rem;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.category__card__back__content h3 {
  font-size: 1.5rem;
  color: var(--white-color);
}

.category__card__back__button {
  margin-top: 1rem;
  background-color: var(--white-color);
  color: var(--gray-color-900);
  border: 1px solid var(--gray-color-200);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.category__card__back__button:hover {
  background-color: var(--gray-color-50);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Responsive utilities for your specific breakpoints */
/* 
      ============================================= XS =============================================
*/
@media (min-width: 320px) {
  /* 
      ============================================= COMPONENT Banner =============================================
*/

}

/* 
      ============================================= SM =============================================
*/
@media (min-width: 640px) {
  /* 
      ============================================= COMPONENT Banner =============================================
*/
  .banner__section .carousel .carousel-control-prev {
    left: 12px !important;
  }
  .banner__section .carousel .carousel-control-next {
    right: 12px !important;
  }

  .banner__section .carousel,
  .banner__section .carousel-inner,
  .banner__section .carousel-item {
    height: 240px !important;
  }

  .banner__section .carousel-item img {
    height: 240px !important;
  }

  /* 
      ============================================= COMPONENT CATEGORY =============================================
*/

  .category__section__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 
      ============================================= COMPONENT STYLES =============================================
      */
  .title__text {
    font-size: 1.5rem;
  }

  /* 
      ============================================= SECTION PAGO EN LINEA =============================================
*/

  .pay__section__content {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 
      ============================================= SECTION FOOTER =============================================
*/

  .footer__content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__content__about {
    grid-column: span 2;
  }
}




/* 
      ============================================= MD =============================================
*/
@media (min-width: 768px) {
  /* 
      ============================================= COMPONENT Banner =============================================
*/
  .banner__section .carousel .carousel-control-prev {
    left: 12px !important;
    height: 40px !important;
    width: 40px !important;
  }
  .banner__section .carousel .carousel-control-next {
    right: 12px !important;
    height: 40px !important;
    width: 40px !important;
  }

  .banner__section .carousel,
  .banner__section .carousel-inner,
  .banner__section .carousel-item {
    height: 275px !important;
  }

  .banner__section .carousel-item img {
    height: 275px !important;
  }

  /* 
      ============================================= COMPONENT STYLES =============================================
      */
  .title__text {
    font-size: 2.25rem;
  }

  .description__text {
    font-size: 1.125rem;
    margin: 0;
  }

  /* 
      ============================================= SECTION PAGO EN LINEA =============================================
*/

  .pay__section__content {
    gap: 1.8rem;
  }

  .pay__section__credits__other img {
    height: 150px;
  }

  /* 
      ============================================= SECTION FOOTER =============================================
*/

  .footer__content {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__content__about {
    grid-column: span 3;
  }
}

/* 
      ============================================= LG =============================================
*/
@media (min-width: 1024px) {
  /* 
      ============================================= COMPONENT Banner =============================================
*/
  .banner__section .carousel,
  .banner__section .carousel-inner,
  .banner__section .carousel-item {
    height: 390px !important;
  }

  .banner__section .carousel-item img {
    height: 390px !important;
  }

  /* 
      ============================================= COMPONENT CATEGORY =============================================
*/

  .category__section__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* 
      ============================================= SECTION FOOTER =============================================
*/

  .footer__content {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__content__about {
    grid-column: span 1;
  }
}

/* 
      ============================================= XL =============================================
*/
@media (min-width: 1280px) {
  /* 
      ============================================= COMPONENT Banner =============================================
*/
   .banner__section .carousel,
  .banner__section .carousel-inner,
  .banner__section .carousel-item {
    height: 500px !important;
  }

  .banner__section .carousel-item img {
    height: 500px !important;
  }
}
