* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  user-select: none;
}
:root {
  --grey-color: #f2f2f2;
  --dark-grey-color: #646464;
  --red-color: rgb(178, 0, 0);
  --background-grey: #f9f9f9;
  --box-shadow-color: rgba(0, 0, 0, 0.2);
  --black-transparent-color: rgba(0, 0, 0, 0.4);
  --dark-green-color: #2b3332;
  --green-color: #758357;
  --green-cream-color: #c4c6b0;
  --cream-color: #e9e5dc;
}
html,
body {
  margin: 0;
  padding: 0;
  min-height: calc(var(--real-vh, 1vh) * 100);
  height: auto;
  display: flex;
  flex-direction: column;
}
body,
body * {
  position: relative;
  font-family: "Quicksand", sans-serif !important;
}
.hidden {
  display: none !important;
}
.noScroll {
  overflow: hidden;
}
img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100%;
  overflow-x: hidden;
  position: relative;
  z-index: 10;
}
.black_bg {
  width: 100%;
  height: calc(var(--real-vh, 1vh) * 20);
  background-color: #000;
  position: relative;
}
.black_section {
  background-color: #000;
}
.green_section {
  background-color: var(--green-color);
  background-image: url("/img/logo/branding/tramado.png");
}
/* CARDS */
.card_desc {
  color: #aaa;
}
/*  */
.number_button {
  padding: 5px !important;
  border-radius: 50% !important;
}
.number_button * {
  color: #000;
}
.disabled {
  opacity: 0.4;
  pointer-events: none;
}
.margin_top {
  margin-top: 20px;
}
.margin_bottom {
  margin-bottom: 20px;
}
.invert_color {
  filter: invert(1);
}
.ui.modal .header {
  position: relative;
  height: fit-content;
}
.close_modal_btn {
  position: absolute;
  top: 50%;
  right: 15px;
  font-size: 2rem;
  transform: translateY(-50%);
  cursor: pointer;
}
.ui.button.green {
  background-color: var(--green-color);
}

.card_desc {
  color: #aaa;
}
button {
  color: #000;
}
/*  */
.number_button {
  padding: 5px !important;
  border-radius: 50% !important;
}
.number_button * {
  color: #000;
}
textarea {
  resize: none;
}
.disabled {
  opacity: 0.4;
  pointer-events: none;
}
option[disabled] {
  color: #aaa;
}
.margin_field {
  margin: 10px;
}
a {
  color: unset;
}
ul {
  list-style-type: none;
}
.unreachable {
  pointer-events: none;
}

.custom-btn {
  border: 0;
  outline: 0;
  padding: 3% 0;
  border-radius: 5px;
}

.page_title {
  text-transform: uppercase;
  font-size: clamp(1.65rem, 3vw + 0.3rem, 0rem);
  font-weight: 600;
  width: 100%;
}
.ui.modal .header {
  position: relative;
}
.close_modal_btn {
  position: absolute;
  top: 50%;
  right: 15px;
  font-size: 2rem;
  transform: translateY(-50%);
  cursor: pointer;
}
.tablet_only {
  display: none;
}
.ui.breadcrumb a.section {
  color: #000;
}
.ui.menu.header_dropdown > .item:hover {
  background: none !important;
}
.breadcrumb .section.active {
  color: var(--green-color);
}
a:hover {
  opacity: .7;
}
.content-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.category-title {
  color: var(--green-color);
  text-transform: uppercase;
  font-size: 20px;
}
label {
  font-weight: 600;
  font-size: 1.25rem;
}
.view_message_container {
  position: fixed;
  bottom: 10px;
  right: 0;
  font-size: 0.8rem;
  z-index: 100000;
}
.ui.icon.input > i.icon {
  cursor: pointer;
}
.yellow-color {
  color: #bcbc16 !important;
}
.red-color {
  color: var(--red-color) !important;
}
.green-color {
  color: #0c970c !important;
}
.bold {
  font-weight: bold;
}
.ui.toggle.checkbox input:checked ~ .box:before,
.ui.toggle.checkbox input:checked ~ label:before {
  background-color: var(--green-color) !important;
}
.loading-state {
  width: 100%;
  height: auto;
  /* background-color: rgba(0, 0, 0, 0.3); */
  z-index: 9999;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 10px;
}
.loading-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 5px solid #ddd;
  border-top-color: var(--green-color);
  animation: loading 1s linear infinite;
}
.remove_btn {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 1.2rem;
  cursor: pointer;
}
.border-left {
  border-left: 1px solid var(--dark-grey-color);
}
.border-right {
  border-right: 1px solid var(--dark-grey-color);
}
.border-top {
  border-top: 1px solid var(--dark-grey-color);
}
.border-bottom {
  border-bottom: 1px solid var(--dark-grey-color);
}
.align-end {
  text-align: end;
}
.no-margin {
  margin: 0;
}
.grey {
  color: var(--dark-grey-color);
}
.input-error {
  border: 1px solid red !important;
}
.disabled {
  background-color: grey !important;
  pointer-events: none !important;
}
/* LOS BOTONES DE PAGO */
.pay_button,
.ui.button.pay_button {
  width: 100%;
  border: none;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  color: #fff;
  background-color: var(--green-color);
}
.pay_button span {
  font-size: large;
  font-weight: 600;
}

.mercadopago_button,
.ui.button.mercadopago_button {
  background-color: #2fb2fe;
  color: #fff;
}
.mercadopago_button:hover {
  background-color: #4ebeff;
}

.pay_button img {
  width: auto;
  height: 35px;
  margin-right: 8px;
  filter: invert(1);
}
.mercadopago_button img {
  filter: none;
}
input.error_input,
select.error_input {
  border: 1.5px solid var(--red-color) !important;
  background-color: var(--red-color-rgba);
}
select {
  color: #000;
  text-transform: capitalize;
}
.strike {
  text-decoration: line-through;
  opacity: 0.75;
}
.faded {
  opacity: 0.55;
}
.ui.message.copy_p_msg {
  position: fixed;
  bottom: -50%;
  left: 50%;
  z-index: 100000;
  width: fit-content;
  transform: translateX(-50%);
  padding: 10px;
  font-size: 1.35rem;
  opacity: 0;
  transition: opacity 0.35s, bottom 0.3s;
}
.ui.message.copy_p_msg_active {
  opacity: 1;
  bottom: 0;
}
.copy_p:hover {
  color: var(--green-color);
}
.password-field label {
  position: relative;
  width: fit-content;
}
.ui.icon.button.tooltip-icon {
  position: absolute;
  right: -25px;
  top: -10%;
  background: none;
  padding: 0;
  cursor: auto;
  color: #aaa;
}
.ui.popup.tooltip-content {
  min-width: 250px; /* Ajusta este valor según necesites */
  max-width: unset;
  white-space: normal; /* Permite que el texto se ajuste a varias líneas */
}
.centered_align {
  text-align: center;
}

/* 🔥 Animación de aparición desde abajo */
.fade_in {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

.fade_in.animate {
  animation: fadeInUp 0.6s ease-out forwards;
}

.image_with_thumb_active {
  opacity: 1;
}
.section_bg_image {
  background-image: url("/img/logo/branding/tramado.webp");
  background-repeat: repeat;
  background-size: 850px auto; /* o 400px auto si querés controlar la escala */
  background-position: center;
  opacity: 0.1;
  position: absolute;
  inset: 0;
  filter: invert(1); /* solo si lo querés blanco sobre fondo oscuro */
  pointer-events: none; /* evita bloqueos de clics */
}

.section_bg_image.inverted {
  opacity: 0.25;
  background-image: url("/img/logo/branding/tramado_invertido.webp");
}

.brand_loader_overlay {
  position: fixed;
  inset: 0;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.brand_loader_logo {
  width: 90px;
  height: auto;
  animation: pulse 1.8s ease-in-out infinite;
}
.section_title_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  padding: 0 2.5vw;
}
.section_logo {
  width: 35px;
  margin-bottom: 2rem;
  height: auto;
}

.section_title {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 2rem 0;
  color: #000;
}

.section_divider {
  width: 80px;
  height: 2px;
  background-color: #ccc; /* ✅ divisor sutil */
  margin: 16px auto 40px auto;
}
.section_desc {
  font-size: medium;
  color: #000;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.07);
    opacity: 1;
  }
}

@keyframes pulseBlur {
  0%,
  100% {
    opacity: 0.7;
    filter: blur(1.5px);
  }
  50% {
    opacity: 1;
    filter: blur(0);
  }
}
.btn-primary,
.btn-secondary{
  text-align: center;
}
.brand_loader_overlay.hide {
  opacity: 0;
  pointer-events: none;
}
#body_overlay {
  z-index: 100;
  pointer-events: none;
}
.login-backdrop,
#body_overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.3s ease;
}
#body_overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.loader_spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd; /* gris claro */
  border-top: 4px solid #999; /* gris un poco más oscuro para el efecto de giro */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes loading {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 768px) {
  .mobile_only {
    display: none !important;
  }
  .tablet_only {
    display: initial;
  }

  .content-container {
    width: 90%;
  }

  .category-title {
    font-size: 22px;
  }
  .section_bg_image {
    opacity: 0.1;
  }
}

@media (min-width: 1024px) {
  .modal {
    border-radius: 8px;
  }
  .number_button {
    border-radius: 6px !important;
    padding: 10px !important;
  }
  .mobile_only {
    display: none !important;
  }

  .number_button {
    border-radius: 6px !important;
    padding: 10px !important;
  }
  .close-menu-container i {
    cursor: pointer;
  }
  .modal {
    border-radius: 8px;
  }
  .section_bg_image {
    opacity: 0.07;
    background-size: 1200px auto;
  }
  .section_bg_image.inverted {
    opacity: 0.2;
  }
}
@media (min-width: 1200px) {
  .content-container {
    width: 85%;
  }

  .category-title {
    font-size: 24px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes btnspin {
  to {
    transform: rotate(360deg);
  }
}
