/* General styles */

:root {
  --color-white: #fff;
  --color-red: #F56C6C;
  --color-green: #67C23A;
  --color-orange: #E6A23C;
  --color-info: #909399;
  --color-blue: #2d88a5;

  --color-border: #ddd;
}



.empty-shelf {
    width: 100%;
}
.modal-header .close{
    font-size: 32px;
}
.row {
    display: flex;
    flex-wrap: wrap;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.display-inline {
    display: inline;
}

.display-inline-block {
    display: inline-block;
}

.flex-center {
    align-self: center;
}

.shipping-providers {
    margin: 10px 0;
}

.shipping-providers input {
    margin-left: 20px;
}
.display-block {
    display: block;
}

#contpr {
    display: none;
}

.clear-filter {
}

.list-actions {
    margin: 20px 0;
}

.list-actions .select.small {
    padding: 6px;
    width: 180px;
}
.hidden {
    display: none;
}

ul.emotions-responsive-extra-buttons {
    display: none;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    text-align: center;
}

ul.emotions-responsive-extra-buttons li {
    display: inline-block;
    padding: 0 10px;
}

ul.emotions-responsive-extra-buttons li .emotions-responsive-perfil img {
    margin-bottom: -1px;
}

ul.emotions-responsive-extra-buttons li .logout {
    padding-left: 18px;
    border-left: 1px solid #ccc;
}


#reg_form .error, .password-form .error {
    color: red;
}

.label.label-success {
    background-color: #41B985;
}

.btn.btn-success {
    background-color: #41B985;
    border-color: #31A975;
    color: #fff !important;
}

.btn.btn-success:hover,
.btn.btn-success:focus,
.btn.btn-success:active,
.btn.btn-success:visited {
    background-color: #31A975;
    border-color: #31A975;
}

#emotions-filter-modal .close {
    padding: 8px;
    font-size: 15px;
    color: #fff;
    text-shadow: none;
    opacity: 1;
    background-color: #41B985;
    border-radius: 5px;
}

.headerCat h2 {
    border-bottom: 0;
    margin-bottom: 0px;
    margin-top: 32px;
    font-size: 24px;
}


/* Checkboxes */
.checkbox label {
    margin-left: 5px;
}
.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #777;
    background-color: #fff;
    color: #777;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
    margin-left: 0 !important;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr.cr-lg,
.radio .cr.cr-lg {
    font-size: 15px;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(2);
    opacity: 0;
    transition: all .2s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .3;
}
/* End, Checkboxes */


/* btn-emotions-primary */
.btn-emotions-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
}
.btn-emotions-primary:visited,
.btn-emotions-primary:active,
.btn-emotions-primary:focus,
.btn-emotions-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-alt-color);
    color: white;
    font-weight: 600;
}
/* btn-emotions-primary, END */


/* Category-products */
.products-grid .item {
    transition: all 300ms ease;
    background-color: #fff;
    padding-top: 20px;
    border-radius: 4px;
}
.products-grid .item:hover {
    transform: scale(1.1);
    z-index: 10;
    /*-webkit-box-shadow: 0px 19px 50px -1px rgba(135,135,135,1);
    -moz-box-shadow: 0px 19px 50px -1px rgba(135,135,135,1);
    box-shadow: 0px 19px 50px -1px rgba(135,135,135,1);*/
    box-shadow: 0px 1px 16px -1px rgb(135 135 135 / 86%);
    -moz-box-shadow: 0px 1px 16px -1px rgb(135 135 135 / 86%);
    -webkit-box-shadow: 0px 1px 16px -1px rgb(135 135 135 / 86%);
}
.products-grid .item .actions-buttons {
    padding-top: 15px;
    opacity: 1;
}

.products-grid .item:hover .actions-buttons {
    opacity: 1;
}

@media screen and (max-width: 991px) {
    .content-sidebar.sidebar {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .content-sidebar.sidebar {
        display: block;
    }
}

@media screen and (max-width: 780px) {

    .products-grid .item {
        transition: all 300ms ease;
    }

    .products-grid .item:hover {

        transform: scale(1);
        z-index: 1;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .products-grid .item .actions-buttons {
        opacity: 1;
    }

    .products-grid .item .actions-buttons .btn-details {
        display: none;
    }
}
/* Category-products,END */


/* loading */
.loading {
    position: relative;
}
.loading::after {
    content: "\f110";
    display: grid;
    font-size: 2em;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    font-family: 'FontAwesome';
    align-items: center;
    justify-content: center;
    animation: fa-spin 2s infinite linear;
    z-index: 101;
}
.loading.tiny::after {
    font-size: 1em;
}
.loading::before {
    content: " ";
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    top: 0;
    z-index: 100;
}
/* Loading, END */


/* Pagination */

.pagination-container {
    text-align: right;
}
.pagination-container a,
.pagination-container span {
    padding: 4px 10px;
    background-color: #eee;
    min-width: 32px;
    display: inline-block;
    text-align: center;
    border-radius: 3px;
}
.pagination-container span.current {
    background-color: var(--primary-color);
    color: #fff;
}
@media screen and (max-width: 780px) {
    .pagination-container {
        text-align: center;
    }
}

@media screen and (min-width: 600px) {
    .pagination-container.pagination-responsive {
        position: absolute;
        right: 15px;
        top: 26px;
    }
}
/* Pagination, FIN */


/* Filters */
.list-actions #emotions-filter-products {
    margin-right: 10px;
}
.mobile-filters {
    float: none;
    margin-top: 0;
}
#emotions-modal.filter-modal .modal-content .modal-body {
    padding: 10px;
}
#emotions-modal.filter-modal .modal-content .modal-body .sidebar,
#emotions-filter-modal.filter-modal .modal-content .modal-body .sidebar {
    display: block;
}
.sidebar ul.filtros li {
    margin-left: 10px;
}
.sidebar .filters-title {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    height: 24px;
}
@media screen and (min-width: 992px) {
    .sidebar .filter-selected-list {
        display: none;
    }
}
@media screen and (max-width: 600px) {

    .list-actions {
        text-align: right;
    }
}
/* Filters, FIN */


/* Emotions home Slider */
@media screen and (max-width: 600px) {
    .emotions-home-slider-container {
        padding: 0 !important;
    }
}

/* Emotions home Slider, FIN */


/* Category banner */
@media screen and (min-width: 601px) {
    img.mobile-banner {
        display: none;
    }
    img.desktop-banner {
        display: block;
    }
}
@media screen and (max-width: 600px) {
    img.mobile-banner {
        display: block;
    }
    img.desktop-banner {
        display: none;
    }
}
/* Category banner, FIN*/


/* Favorite container */
.prd_details .favorite {
    align-items: center;
    display: grid;
    height: 42px;
}
/* Favorite container, FIN */


/* loading */

:root {
  --border-radius: 0.5rem;
  --color-text: #444;
  --color-primary: var(--primary-color);
}

.eloading {
    position: absolute;
    display: grid;
    width: 100%;
    height: 100%;
    align-content: center;
    justify-content: center;
    background-color: #ffffffb2;
    top: 0;
    left: 0;
    z-index: 100;
    display: none;
    border-radius: var(--border-radius);

    &.started {
        display: grid;
    }

    & .text-loading {
        font-weight: bold;
        color: var(--color-text);
        margin-bottom: 2.5rem;
    }
    & .ripple {
        display: grid;
        place-items: center;
    }
    & .ripple div {
        position: absolute;
        border: 10px solid var(--color-primary);
        opacity: 1;
        border-radius: 50%;
        animation: loading-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }
    & .ripple div:nth-child(2) {
        animation-delay: -0.5s;
    }
}
@keyframes loading-ripple {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    10% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}


/* loading, END */


/* Notifier */
#notifier-container {
  font-size: 16px;
  --spacing: 2em;
  --animation: notifier-from-right;

  & .notifier-content {
      display:grid;
      gap:0.5em;
      position:fixed;
      z-index: 10000;
      right:0;
      top:0;
      max-height: 100vh;
      overflow-y: auto;
      padding: var(--spacing);

      & .notification {
          display: grid;
          grid-template-columns: 2em 1fr;
          gap: 0.5em;
          padding: 1em;
          background-color: var(--color-white);
          box-shadow: 0 0 1em rgba(0,0,0,0.25);
          border-radius: 0.5em;
          max-width: 20em;
          min-width: 18em;
          animation: var(--animation) 0.35s ease;

          &.exit {
              --animation: notifier-exit;
          }

          &[aria-origin="top"] {
              --animation: notifier-from-top;
          }

          & header {
              font-weight: bold;
              font-size: 1.05em;
              padding-bottom: 0.25em;
              position: relative;

              & .notification-close {
                  position: absolute;
                  top: -0.5em;
                  right: -0.25em;
                  font-size: 1.4em;
                  color: var(--color-text-muted);
                  cursor: pointer;
              }
          }

          & i {
              color: var(--color-blue);
              & svg {
                  width: 2em;
                  margin-top: -0.125em;
              }

              &.success {
                  color: var(--color-green);
              }
              &.warning {
                  color: var(--color-orange);
              }
              &.error {
                  color: var(--color-red);
              }
          }
      }
  }

}

@keyframes notifier-from-right {
  0% { translate: 25em; }
  100% {translate: 0;}
}

@keyframes notifier-from-top {
  0% { translate: 0 -25em; }
  100% {translate: 0;}
}

@keyframes notifier-exit {
  0% { scale: 1; opacity: 1;}
  50% {opacity: 0.1;}
  100% {scale: 0.2; opacity: 0;}
}

/* Notifier, END */
