.success-message,
.error-message {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 9999;
  animation: success-message-anim 0.5s ease-in-out;
}

.success-message {
  background-color: #28a745;
}

.error-message {
  background-color: #f00;
}

.add-to-cart-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.add-to-cart-container .add_to_cart_button.processing {
  background-color: #009966 !important;
  border-color: #009966 !important;
}

.add-to-cart-container .add_to_cart_button.processing .cart-icon:before {
  display: none;
}

.add-to-cart-container .cart-icon:before {
  content: '\f067';
  font-family: FontAwesome;
  font-weight: 500;
  font-style: normal;
  color: #009966;
}

.add-to-cart-container .add_to_cart_button {
  background-color: transparent;
  border: 2px solid #009966;
  border-radius: 1rem!important;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.add-to-cart-container .add_to_cart_button:hover {
  background-color: transparent;
  transform: translateY(-2px);
  box-shadow: rgba(92, 84, 122, 0.2) 0px 2px 6px;
}

.add-to-cart-container .view_cart_button {
  background-color: #007a55;
  border: 2px solid #007a55;
border-radius: 1rem!important;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.add-to-cart-container .view_cart_button:hover {
  background-color: #009966;
  border-color: #009966;
  transform: translateY(-2px);
  box-shadow: rgba(92, 84, 122, 0.2) 0px 2px 6px;
}

.add-to-cart-container .view-icon:after {
  content: '\f23d';
  font-family: FontAwesome;
  font-weight: 100;
  font-style: normal;
  color: #fff;
}

.add-to-cart-container .buy_now_button {
  width: 100%;
  background-color: #009966;
  border: 2px solid #009966;
  border-radius: 1rem!important;
  height: 45px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.add-to-cart-container .buy_now_button:hover {
  background-color: #007a55;
  border-color: #007a55;
}

.add-to-cart-buttons-single-page .add-to-cart-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.add-to-cart-buttons-single-page .add_to_cart_button {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #28a745;
  font-weight: 600;
  padding: 12px 24px;
  line-height: 1.5;
  letter-spacing: 0.6px;
  cursor: pointer;
}

.add-to-cart-buttons-single-page .add_to_cart_button:hover {
  background-color: #28a745!important;
  border: 2px solid #28a745!important;
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.40);
}

.add-to-cart-buttons-single-page .add_to_cart_button:active {
  background-color: #28a745!important;
  border: 2px solid #28a745!important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.add-to-cart-buttons-single-page .view_cart_button {
  background-color: #28a745;
  border: 2px solid #28a745;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 24px;
  line-height: 1.5;
  cursor: pointer;
}

.add-to-cart-buttons-single-page .view_cart_button:hover {
  background-color: #218838;
  border: 2px solid #218838;
  box-shadow: 0 4px 12px rgba(124, 204, 44, 0.3);
}

.add-to-cart-buttons-single-page .buy_now_button {
  background-color: #28a745;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 12px 24px;
  line-height: 1.5;
  letter-spacing: 0.6px;
  text-align: center;
}

.add-to-cart-buttons-single-page .buy_now_button:hover {
  background-color: #218838;
  box-shadow: 0 6px 14px rgba(33, 136, 56, 0.3);
}

.add-to-cart-buttons-single-page .buy_now_button:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.buy_now_button.loading {
  background-color: #218838 !important;
  border: none !important;
}

.info_4 .buy_now_button,
.price-button-check .buy_now_button {
  background-color: #28a745;
  color: #ffffff;
  border: none;
  transition: all 0.3s ease;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.info_4 .buy_now_button:hover,
.price-button-check .buy_now_button:hover {
  background-color: #218838;
}

.add-to-cart-container-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.add-to-cart-container-page .button {
  width: 100%;
}

.add-to-cart-container-page .cart-icon:before {
  content: '\f067';
  font-family: FontAwesome;
  font-weight: 100;
  color: #fff;
  margin-right: 10px;
  font-style: normal;
}

.add-to-cart-container-page .view-icon:after {
  content: '\f23d' !important;
  font-family: FontAwesome;
  font-weight: 600;
  color: #fff;
  margin-left: 10px;
  font-style: normal;
}

.add-to-cart-container-page .buy-now-icon:before {
  content: '\f23d';
  font-family: FontAwesome;
  font-weight: 100;
  color: #fff;
  margin-right: 10px;
  font-style: normal;
}

.boton-de-descarga {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  margin: 0;
  border-radius: 1rem;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  transition: background-color 0.5s;
}

.boton-de-descarga:hover {
  background-color: #0056a1;
}

.add-to-cart-stock {
  background-color: #faa;
  padding: 10px 20px;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

.content-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.loop-info-container .precio-curso-loop {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loop-info-container .price-sale ins,
.loop-info-container .price-sale .sale-price,
.loop-info-container .msg-comprado ins {
  color: #202B50;
  font-weight: 600;
  font-size: 22px;
}

.loop-info-container .price-sale del {
  font-family: 'Roboto', sans-serif;
}

.loop-info-container .price-sale {
  display: flex;
  align-items: center;
  gap: 5px;
}

.notice-acceso {
  color: #c0c4fc;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.1px;
}

.msg-comprado-p {
  color: #202B50;
  font-weight: 600;
  font-size: 26px;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}

.sale-price {
  color: #202B50;
  font-weight: 600;
  font-size: 22px;
  font-family: 'Roboto', sans-serif;
}

.save-price {
  font-size: 0.775rem;
  line-height: 1.25rem;
  letter-spacing: 0.0125rem;
  color: #8d8d9d;
  font-family: 'Roboto', sans-serif;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.free-product {
  background-color: #4A90E2;
  color: #fff;
}

.high-sales {
  background-color: #FFD700;
  color: #333;
}

.medium-sales {
  background-color: #8E44AD;
  color: #fff;
}

.low-sales {
  background-color: #FF4500;
  color: #fff;
}

.minimal-sales {
  background-color: #7ccc2c;
  color: #fff;
}

.purchased-product {
  background-color: #121f3d;
  color: #7ccc2c;
  font-size: 18px !important;
}

.updated-product {
  background-color: #2196F3;
  color: #fff;
}

.countdown-box {
  display: inline-block;
  padding: 6px 12px;
  margin-top: 5px;
  min-width: 160px;
  border-radius: 8px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  border: 1px solid #00fff7;
  font-family: 'Roboto Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.discount-course {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background-color: #070E27;
  color: #becde3;
  border-radius: 8px;
  padding: 10px 5px 20px 5px;
  text-align: center;
}

.discount-message .code-discount {
  color: #28a745;
  font-weight: 700;
  font-style: italic;
}

.discount-details {
  font-size: 14px;
  color: #cceeff;
  font-weight: 500;
}

.discount-details .sale-price {
  color: #28a745;
  font-weight: 700;
  font-size: 18px;
}

@media (max-width: 1200px) {
  .header-price {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
  }
}

@media screen and (min-width: 1200px) {
  .floatactive .add_to_cart_button {
    display: none;
  }
}
