/* Extracted from theme style.css. Keep cascade order in functions.php. */

/* ----------------- BOTONES ----------------- */

.btn-primary {
  width: 150px;
  height: 45px;
  background-color: var(--purple-stroke);
  color: var(--white) !important;
  border-radius: var(--radius-button);
  font-size: var(--button);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary a {
  text-decoration: none;
  color: inherit;
}

.btn-primary:hover {
  background-color: var(--purple-stroke-hover);
}

.btn-primary.btn-lg {
  width: 220px;
  height: 50px;
}

.btn-primary.btn-sm {
  width: 120px;
  height: 35px;
  font-size: var(--button-small);
}

.btn-secondary {
  width: 150px;
  height: 45px;
  background-color: transparent;
  color: var(--purple-stroke) !important;
  border-radius: var(--radius-button);
  font-size: var(--button);
  font-weight: 500;
  border: 1px solid var(--purple-stroke);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary a {
  text-decoration: none;
  color: inherit;
}

.btn-secondary:hover {
  background-color: var(--purple-stroke);
  color: var(--white) !important;
}

.btn-secondary.btn-lg {
  width: 220px;
  height: 55px;
}

.btn-secondary.btn-sm {
  width: 120px;
  height: 35px;
  font-size: var(--button-small);
}



/* ------------------ TEXTOS ------------------ */

.title {
  font-size: 5rem;
  font-family: var(--title-font);
}

.subtitle-big {
  font-size: 3rem;
  font-family: var(--subtitle-font);
}

.subtitle-sm {
  font-size: 2rem;
  font-family: var(--subtitle-font);
}

.p-lg {
  font-size: 1.5rem;
  font-family: var(--body-font);
  line-height: 1.2;
}

.p-md {
  font-size: 1rem;
  font-family: var(--body-font);
  line-height: 1.2;
}

.p-sm {
  font-size: 0.875rem;
  font-family: var(--body-font);
  line-height: 1.1;
}

.p-xs {
  font-size: 0.75rem;
  font-family: var(--body-font);
  line-height: 1;
}

/* ------------------ PESO ------------------ */

.p-xbold {
  font-weight: 800;
}

.p-bold {
  font-weight: 700;
}

.p-semibold {
  font-weight: 600;
}

.p-regular {
  font-weight: 500;
}

.p-medium {
  font-weight: 400;
}

.p-light {
  font-weight: 300;
}

/* ------------------ RADIOS ------------------ */

.rad-2 {
  border-radius: var(--radius-2);
}

.rad-1 {
  border-radius: var(--radius-1);
}

.rad-pill {
  border-radius: var(--radius-pill);
}


/* ------------------ COLORES TEXTO ------------------ */

.t-gray {
  color: var(--gray);
}

.t-gray-2 {
  color: var(--gray-2);
}



.t-white {
  color: var(--white);
}



.t-purple {
  color: var(--purple-stroke);
}

/* ------------------ UTILITIES ------------------ */

.u-section-pad {
  padding: 6rem 4vw;
}

.u-gradient-brand-text {
  background: linear-gradient(90deg, #fc9a3f 0%, #d13379 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----- BOXES ----- */


.box-2 {
  background-color: white;
  border-radius: var(--radius-2);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 1rem;
}

.box-3 {
  background-color: white;
  border-radius: var(--radius-3);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 1rem;
}

/* ------------------ ICONO CARRITO ------------------ */

.floating-cart-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  background: var(--gradient-learnio);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: none;
  transform: translateY(50px);
  opacity: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;

  &.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  img {
    width: 35px;
    height: 35px;
    object-fit: contain;
  }

  &:hover {
    transform: scale(1.1);
    transition: all 0.2s ease;
  }

  &:focus-visible {
    outline: 3px solid rgba(252, 154, 63, 0.45);
    outline-offset: 4px;
  }
}

.floating-cart-btn,
.floating-cart-btn:hover,
.floating-cart-btn:focus {
  color: white;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--brand-pink);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}


