@use '../abstract/_all';
@use '../abstract/breakpoints';
@use '../abstract/fonts';
@use '../abstract/mixins';
@use '../abstract/setup';

.c-primary {
  color: setup.$c-primary;
}
.c-black {
  color: setup.$c-black;
}

.c-dark-grey {
  color: setup.$c-dark-grey;
}
.c-middle-grey {
  color: setup.$c-middle-grey;
}
.c-light-grey {
  color: setup.$c-light-grey;
}
.c-white {
  color: setup.$c-white;
}
.second-color {
  color: setup.$c-dark-grey;
}
.is-info {
  color: setup.$c-info;
}
.c-error {
  color: setup.$c-error;
}
.c-sale {
  color: setup.$c-sale;
}
.c-info {
  color: setup.$c-info;
}
.c-success {
  color: setup.$c-success;
}
.c-valid {
  color: setup.$c-valid;
}
.c-warning {
  color: setup.$c-warning;
}
.c-feel {
  color: setup.$c-feel;
}
.c-feel-dark {
  color: setup.$c-feel-dark;
}
.c-feel-light {
  color: setup.$c-feel-light;
}
.c-tier-silver {
  color: setup.$c-tier-silver;
}
.c-tier-platinum {
  color: setup.$c-tier-platinum;
}
.c-tier-gold {
  color: setup.$c-tier-gold;
}
.c-limited {
  color: setup.$c-limited;
}
.bg-clear {
  background-color: setup.$c-white;
}
.bg-light {
  background-color: setup.$bg-light;
  color: setup.$c-primary;
}
.bg-cream {
  background-color: setup.$c-light-grey;
}
.bg-feel-light {
  background-color: setup.$c-feel-light;
}
.bg-feel-dark {
  background-color: setup.$c-feel-dark;
}
.bg-dark-grey {
  background-color: setup.$c-dark-grey;
}
.bg-middle-grey {
  background-color: setup.$c-middle-grey;
}
.bg-light-grey {
  background-color: setup.$c-light-grey;
}
.bg-primary {
  background-color: setup.$c-primary;
}
.bg-secondary {
  background-color: setup.$c-secondary;
}
.bg-accent {
  background-color: setup.$c-accent;
}
.bg-white {
  background-color: setup.$c-white;
}
.bg-black {
  background-color: setup.$c-black;
}
.bg-error {
  background-color: setup.$c-error;
}
.bg-info {
  background-color: setup.$c-info;
  color: setup.$c-white;
}
.bg-success {
  background-color: setup.$c-success;
  color: setup.$c-white;
}
.bg-warning {
  background-color: setup.$c-warning;
}
.bg-alert {
  background-color: setup.$c-alert;
}
.bg-feel {
  background-color: setup.$c-feel;
}
.bg-dark {
  background-color: setup.$bg-black;
  color: setup.$c-bg-dark;
}
.bg-tier-silver {
  background-color: setup.$c-tier-silver;
}
.bg-tier-platinum {
  background-color: setup.$c-tier-platinum;
}
.bg-tier-gold {
  background-color: setup.$c-tier-gold;
}
.bg-cover {
  background-position: center center;
  background-size: cover;
}
.bold {
  @include mixins.font-bold;
}
.semibold {
  @include mixins.font-semibold;
}

.ttc {
  text-transform: capitalize;
}
.margin-auto {
  margin: 0 auto;
}
.fl-left {
  float: left;
}
.fl-right {
  float: right;
}
.p-relative {
  position: relative;
}
.p-absolute {
  position: absolute;
}
.t-0 {
  top: 0;
}
.z-20 {
  z-index: 20;
}
.border-20 {
  border-radius: 20px;
}

.banner-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: row nowrap;
  padding: 16px;
}
.text-lowercase {
  text-transform: lowercase;
}
.text-uppercase {
  text-transform: uppercase;
}
.text-capitalize {
  text-transform: capitalize;
}
.text-transform-none {
  text-transform: none;
}
.text-underline {
  text-decoration: underline;
}
.has-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: top;
  width: 100%;
}
.has-ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.video-cover {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.img-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  img {
    height: 100vh;
    @media (min-width: breakpoints.$break-md) {
      width: 100vw;
      height: initial;
    }
  }
}
.center-absolute {
  position: absolute;
  top: 50%;
  left: 50%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
hr {
  width: 100%;
  margin: 0;
  border-top: 1px solid setup.$c-middle-grey;
  border-bottom: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}
.only-mobile {
  display: inline-block;
  @media (min-width: breakpoints.$break-sm) {
    display: none;
  }
}
.only-desktop {
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    display: none !important;
  }
}
.ico-r svg {
  position: relative;
  left: 8px;
  display: inline-block;
  vertical-align: text-top;
}
.ico {
  &.ico-l {
    display: flex;
    align-items: center;
    svg-icon {
      margin-right: 16px;
    }
  }
}
.hg-status {
  position: relative;
  padding-left: 16px;
  &::before {
    position: absolute;
    content: '';
    border-radius: 50%;
    overflow: hidden;
    top: 5px;
    left: 0;
    width: 8px;
    height: 8px;
  }
}
.hg-status-a {
  color: setup.$c-error;
  &::before {
    background-color: setup.$c-error;
  }
}
.hg-status-b {
  color: setup.$c-info;
  &::before {
    background-color: setup.$c-info;
  }
}
.hg-status-c {
  color: setup.$c-error;
  &::before {
    background-color: setup.$c-error;
  }
}
.hg-status-d {
  color: setup.$c-dark-grey;
  &::before {
    background-color: setup.$c-dark-grey;
  }
}
.block-right {
  margin-left: auto;
}
.block-left {
  margin-right: auto;
}
.sm\:hidden {
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    display: none !important;
  }
}
.md\:hidden {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    display: none !important;
  }
}
.lg\:hidden {
  @media (max-width: #{breakpoints.$break-lg - 1}) {
    display: none !important;
  }
}
.xl\:hidden {
  @media (max-width: #{breakpoints.$break-xl - 1}) {
    display: none !important;
  }
}
.sm\:visible {
  @media (min-width: breakpoints.$break-sm) {
    display: none !important;
  }
}
.md\:visible {
  @media (min-width: breakpoints.$break-md) {
    display: none !important;
  }
}
.lg\:visible {
  @media (min-width: breakpoints.$break-lg) {
    display: none !important;
  }
}
.xl\:visible {
  @media (min-width: breakpoints.$break-xl) {
    display: none !important;
  }
}
.smmax\:mb-16 {
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    margin-bottom: 16px;
  }
}
.mdmax\:mb-16 {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    margin-bottom: 16px;
  }
}
.mdmax\:mb-20 {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    margin-bottom: 24px;
  }
}
.mdmax\:mb-24 {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    margin-bottom: 24px;
  }
}
.mdmax\:mb-32 {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    margin-bottom: 32px;
  }
}
.mdmax\:mb-40 {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    margin-bottom: 40px;
  }
}
.mdmax\:mb-42 {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    margin-bottom: 42px;
  }
}
.sm\:order-last {
  @media (min-width: breakpoints.$break-sm) {
    order: 3;
  }
}
.md\:order-last {
  @media (min-width: breakpoints.$break-md) {
    order: 3;
  }
}
.lg\:order-last {
  @media (min-width: breakpoints.$break-lg) {
    order: 3;
  }
}
.reverse {
  flex-wrap: wrap-reverse;
}
.smmax\:reverse {
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    flex-wrap: wrap-reverse;
  }
}
.mdmax\:reverse {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    flex-wrap: wrap-reverse;
  }
}
.lgmax\:reverse {
  @media (max-width: #{breakpoints.$break-lg - 1}) {
    flex-wrap: wrap-reverse;
  }
}
.mdmax\:px-48 {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    padding-left: 48px;
    padding-right: 48px;
  }
}
.text-12-l {
  font-family: fonts.$font-family-a-m;
  font-size: 12px;
}
strong {
  color: setup.$c-primary;
  font-family: fonts.$font-family-a-b;
}
.bb-line {
  border-bottom: var(--line-width) solid setup.$c-middle-grey;
}
.border-1 {
  border: var(--line-width) solid setup.$c-primary;
}
.border-1-grey {
  border: var(--line-width) solid setup.$c-middle-grey;
}
.border-1-light {
  border: var(--line-width) solid setup.$c-light-grey;
}
.border-t {
  border-top: var(--line-width) solid setup.$c-primary;
}
.border-r {
  border-right: var(--line-width) solid setup.$c-primary;
}
.border-b {
  border-bottom: var(--line-width) solid setup.$c-primary;
}

.border-b-grey {
  border-bottom: var(--line-width) solid setup.$c-light-grey;
}
.border-l {
  border-left: var(--line-width) solid setup.$c-primary;
}
.border-b2 {
  border-top: none;
  border-bottom: var(--line-width) solid setup.$c-primary;
}
.border-t2 {
  border-top: var(--line-width) solid setup.$c-primary;
}
.border-r2 {
  border-right: var(--line-width) solid setup.$c-primary;
}
.flex-vcenter {
  display: flex;
  align-items: center;
  [type='checkbox']:checked + label .icon,
  [type='checkbox']:not(:checked) + label .icon {
    position: absolute;
    top: 50%;
    margin-top: -9px;
  }
}
.only-mobile-flex {
  display: flex;
  @media (min-width: breakpoints.$break-sm) {
    display: flex;
  }
  @media (min-width: breakpoints.$break-md) {
    display: none;
  }
  @media (min-width: breakpoints.$break-lg) {
    display: none;
  }
}
.only-desktop-flex {
  display: none;
  @media (min-width: breakpoints.$break-sm) {
    display: none;
  }
  @media (min-width: breakpoints.$break-md) {
    display: flex;
  }
  @media (min-width: breakpoints.$break-lg) {
    display: flex;
  }
}
.p-view {
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.p-view\:sm {
  // a sustiuir
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
  }
}
.smmax\:p-view {
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
  }
}
.text-faded {
  opacity: 0.5;
}
.cursor-pointer {
  cursor: pointer;
}
.ov-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.scrollbar::-webkit-scrollbar {
  background-color: setup.$c-white;
  width: 16px;
}
.ov-custom {
  &::-webkit-scrollbar-track {
    background-color: setup.$c-light-grey;
  }
  &::-webkit-scrollbar-track:hover {
    background-color: setup.$c-light-grey;
  }
  &::-webkit-scrollbar-thumb {
    background-color: setup.$c-dark-grey;
    border-radius: 16px;
    border: 3px solid setup.$c-white;
  }
  &::-webkit-scrollbar-thumb:hover {
    background-color: setup.$c-dark-grey;
    border: 2px solid setup.$c-light-grey;
  }
  &::-webkit-scrollbar-button {
    display: none;
  }
}
.svg-iflex {
  display: flex;
  align-content: center;
  align-items: center;
  margin: 4px;
}
.svg-inline {
  display: inline-block;
  vertical-align: middle;
  margin: 4px;
}
.ttu,
.btn-primary,
.btn--full,
.btn-secondary,
.form-input-label-2 label {
  text-transform: uppercase;
}
/*  Todos los idiomas que no tienen uppercase porque son Capital sensitive, lo dejamos en minúsculas */
[lang^="de"],
//aleman
[lang^="zh"],
//chino
[lang^="zo"],
[lang^="eu"],
//euskera
[lang^="el"],
//griego
[lang^="tr"],
// turco
[lang^="ru"],
//ruso
[lang^="sr"],
//serbio
[lang^="uk"],
//ukraniano
[lang^="bg"],
//bulgaro
[lang^="ar"],
//arab emirates, egipto ,jordania, israel ,qatar , bahrain ,arabia saudi
[lang^="nl"] {
  .ttu,
  .btn-primary,
  .btn--full,
  .btn-secondary,
  .form-input-label-2 label {
    text-transform: none;
  }
}
.product-fadein {
  animation-delay: 1s;
  animation-duration: 3s;
  animation-name: fadein;
}
.vert-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.video-wrap {
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.p-wrap {
  position: relative;
  width: 100%;
}
.charging {
  position: relative;
  height: 100%;
}
.arrow-right {
  float: right;
}
.h-50 {
  height: 50px;
}
.w-100 {
  width: 100%;
}
.mw-sm {
  max-width: setup.$container-4;
}
.mw-md {
  max-width: setup.$container-6;
}
.col-lg-4 > .mw-md {
  max-width: setup.$container-6;
}
.mw-lg {
  max-width: setup.$container-9;
}
.w-max {
  width: max-content;
}
.hidden {
  display: none !important;
}
.flex-grow-0 {
  flex-grow: 0;
}
.d-block {
  display: block;
}
.d-inline {
  display: inline;
}
.d-inline-block {
  display: inline-block;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-auto {
  flex: 1 1 auto;
}
.flex-initial {
  flex: 0 1 auto;
}
.flex-none {
  flex: none;
}
.has-light {
  color: setup.$c-white;
  hr {
    border-top: 1px solid setup.$c-white;
  }
}
.smmax\:flex {
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    display: flex;
  }
}
.mdmax\:flex {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    display: flex;
  }
}
.lgmax\:flex {
  @media (max-width: #{breakpoints.$break-lg - 1}) {
    display: flex;
  }
}
.sm\:flex {
  @media (min-width: breakpoints.$break-sm) {
    display: flex;
  }
}
.md\:flex {
  @media (min-width: breakpoints.$break-md) {
    display: flex;
  }
}
.lg\:flex {
  @media (min-width: breakpoints.$break-lg) {
    display: flex;
  }
}
.pe-none {
  pointer-events: none;
}
.font-l {
  font-family: fonts.$font-family-a-l;
}
.font-r {
  font-family: fonts.$font-family-a-r;
}
.font-m {
  font-family: fonts.$font-family-a-m;
}
.font-b {
  font-family: fonts.$font-family-a-b;
}
.font-sb {
  font-family: fonts.$font-family-a-sb;
}
.absolute-middle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.free-product {
  color: setup.$c-warning;
}
.is-invert {
  filter: invert(1);
}
.p-stick {
  position: sticky;
  top: 0;
  z-index: 100;
}
.m-0 {
  margin: 0;
}
.o-hidden {
  overflow: hidden;
}
.max-vw-35 {
  max-width: 35vw;
}
.reset-body {
  margin-left: -20px;
  margin-right: -20px;
  @media (min-width: breakpoints.$break-md) {
    margin-left: -40px;
    margin-right: -40px;
  }
}

.md\:reset-body {
  @media (max-width: #{breakpoints.$break-md - 1}) {
    margin-left: -16px;
    margin-right: -16px;
  }
}
.sm\:reset-body {
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    margin-left: -16px;
    margin-right: -16px;
  }
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
  justify-items: center;
  opacity: 0.4;
  img {
    max-width: initial;
    width: 60%;
  }
  @media (min-width: breakpoints.$break-sm) {
    grid-template-columns: repeat(6, 1fr);
  }
}
.grid-2-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  @media (min-width: breakpoints.$break-sm) {
    grid-template-columns: repeat(4, 1fr);
  }
}
.grid-1-2-4 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  @media (min-width: breakpoints.$break-sm) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (min-width: breakpoints.$break-md) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.smmax\:grid-3 {
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
.sm\:grid-4 {
  @media (max-width: #{breakpoints.$break-sm - 1}) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scrollcustom {
  overflow: auto;
  &::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
  /* Track */
  &::-webkit-scrollbar-track {
    background: #fff;
    -webkit-border-radius: 10px;
    border-radius: 0;
  }
  /* Handle */
  &::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #999;
  }
  &::-webkit-scrollbar-thumb:window-inactive {
    background: #999;
  }
}

.min-scrollcustom-y {
  overflow: auto;
  &::-webkit-scrollbar {
    width: 5px;
  }
  /* Track */
  &::-webkit-scrollbar-track {
    background: #fff;
    -webkit-border-radius: 10px;
    border-radius: 0;
  }
  /* Handle */
  &::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #999;
  }
  &::-webkit-scrollbar-thumb:window-inactive {
    background: #999;
  }
}
.min-scrollcustom-x {
  overflow: auto;
  &::-webkit-scrollbar {
    height: 5px;
  }
  /* Track */
  &::-webkit-scrollbar-track {
    background: #fff;
    -webkit-border-radius: 10px;
    border-radius: 0;
  }
  /* Handle */
  &::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #999;
  }
  &::-webkit-scrollbar-thumb:window-inactive {
    background: #999;
  }
}
.min-scrollcustom-x.has-dark {
  overflow: auto;
  &::-webkit-scrollbar {
    height: 5px;
  }
  /* Track */
  &::-webkit-scrollbar-track {
    background: setup.$c-middle-grey;
    -webkit-border-radius: 10px;
    border-radius: 0;
  }
  /* Handle */
  &::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: setup.$c-primary;
  }
  &::-webkit-scrollbar-thumb:window-inactive {
    background: setup.$c-primary;
  }
}
.leading-1 {
  line-height: 1;
}
.tag-product {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  .is-rtl & {
    right: 0;
    left: inherit;
  }
}
.m--1 {
  margin-top: -1px;
}
.btn-group-bleed {
  .btn-group {
    margin-top: -1px;
  }
}
.is-active.btn-secondary {
  background-color: setup.$c-primary;
  color: setup.$c-white;
  border: 1px solid setup.$c-primary;
}
.fixed-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.sidebar-overflow {
  height: 100vh;
  overflow: auto;
}

.is-through {
  text-decoration: line-through;
}

.gap-16 {
  gap: 16px;
}

.bg-primary-3 {
  background-color: setup.$c-primary-3;
}
.bg-primary-15 {
  background-color: setup.$c-primary-15;
}
.bg-primary-30 {
  background-color: setup.$c-primary-30;
}
.bg-primary-60 {
  background-color: setup.$c-primary-60;
}
.bg-primary-97 {
  background-color: setup.$c-primary-97;
}

.bg-secondary-3 {
  background-color: setup.$c-secondary-3;
}
.bg-secondary-15 {
  background-color: setup.$c-secondary-15;
}
.bg-secondary-30 {
  background-color: setup.$c-secondary-30;
}
.bg-secondary-60 {
  background-color: setup.$c-secondary-60;
}
.bg-secondary-97 {
  background-color: setup.$c-secondary-97;
}

.mx-auto {
  margin-right: auto;
  margin-left: auto;
}
