html,
body {
  background-color: var(--ci-color-header);
}
form label {
  flex-direction: row !important;
}

main cx-navigation-ui.flyout span a:focus,
main cx-navigation-ui.flyout cx-generic-link a:focus,
header cx-navigation-ui.flyout span a:focus,
header cx-navigation-ui.flyout cx-generic-link a:focus {
  outline: unset !important;
}

main cx-category-navigation,
header cx-category-navigation {
  padding: 0 !important;
}

a {
  text-decoration: none !important;
}

.espacio_inicial {
  width: 100%;
}

.search {
  display: flex;
}

/* Wishlist */

.btn-primary-wishlist {
  text-decoration: none;
  position: relative;
  font-weight: 500;
  font-size: 1rem;
  text-transform: var(--cx-text-transform);
  line-height: 1;
  padding: 10px;
  height: auto;
  max-height: none;
  min-width: 36px;
  max-width: 100vw;
  overflow: hidden;
  border-radius: var(--cx-buttons-border-radius);
  background-color: var(--cx-color-secondary);
  border-color: var(--cx-color-secondary);
  border-width: 2px;
  border-style: solid;
  color: white;
  margin-top: 10px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  ci-cart-item-list ci-cart-item .cx-value,
  cx-cart-item .cx-value {
    padding-inline-start: unset !important;
    margin-top: 10px;
  }
}

/* Carrito Modal */
.cart-modal.CartSidebarView {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-top: 0;
  padding-left: 20px;
  overflow-y: auto;
  padding-right: 20px;
  background-color: #e9ecef;
}

.cart-modal.CartSidebarView .title > h2 {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  line-height: 2.25rem;
}

ci-mini-cart-dialog {
  z-index: 999999 !important;
}

.cart-modal.CartSidebarView .title {
  position: sticky;
  top: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  justify-items: flex-end;
  border-bottom: 0 none;
  background-color: #e9ecef;
  padding-bottom: 5px;
  padding-top: 5px;
  z-index: 2;
  border-bottom: 1px solid #d2d6dc;
}

.CartSidebarView_cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.CartSidebarView_cart-empty .h2 {
  font-weight: 700 !important;
  font-size: 1.5rem;
  padding-top: 1.5rem;
  text-align: center;
  letter-spacing: 0.025em;
}

.CartSidebarView_cart-empty .cart-empty-text {
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 0.5rem;
  text-align: center;
  color: var(--accents-3);
  color: var(--p1);
}

.CartSidebarView_cart-empty .btn + .btn {
  margin: 0;
}

.cart-modal.CartSidebarView {
  z-index: 20 !important;
}

/* Total carrito */
.total {
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.total .cart-totals {
  display: flex;
  flex-direction: column;
  background-color: #e9ecef;
  padding: 5px 5px 25px;
}

.total .cart-totals .row {
  display: grid;
  grid-template-columns: min-content max-content;
  justify-content: space-between;
  border-top: 1px solid #d2d6dc;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin: 0;
}

.total .cart-totals .row.total {
  font-weight: 700;
}

.cart-totals .row span {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-bottom: 0.75rem;
}

.cart-totals .row .value {
  text-align: right;
}

.ci-cart-coupon {
  display: grid;
  grid-auto-flow: row;
  grid-template-rows: min-content;
  grid-row-gap: 10px;
  width: 100%;
  align-items: center;
}

.size-40px.cx-icon::before,
cx-icon.size-40px::before {
  font-size: 2.5rem;
}

.ci-cart-coupon .btn.btn-link {
  text-transform: none;
  font-weight: 400;
  cursor: pointer;
  font-size: 100%;
}

.cart-modal.CartSidebarView .items {
  display: flex;
  flex-direction: column;
  flex: 1 1;
}

.btn-quantity {
  max-height: 48px;
  height: 48px;
  background-color: var(--cx-color-transparent);
  border: none;
  color: var(--cx-color-text);
  cursor: pointer;
  margin: auto;
  margin-bottom: 0px;
  max-height: 48px;
  min-width: 27%;
  max-width: 27%;
  font-size: var(--cx-font-size, 1rem);
  font-weight: var(--cx-font-weight-normal);
  line-height: var(--cx-line-height, 1.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.nice-number-button {
  display: none !important;
}

.nice-number {
  width: 100%;
  display: block !important;
  justify-content: unset !important;
}

cx-item-counter:not(.readonly) input {
  min-width: unset !important;
  padding: 0 !important;
  width: 100%;
  max-width: unset !important;
}

*:focus {
  outline: none !important;
}

/* Login */
.form-container label {
  flex: 100%;
  flex-direction: column !important;
}

.form-container {
  display: contents;
}

@media (min-width: 712px) and (max-width: 991px) {
  cx-navigation-ui {
    background-color: unset !important;
  }
}

footer
  cx-page-layout.footer
  cx-navigation-ui.footer-tiles
  nav
  .wrapper
  .childs
  nav
  .hover
  .childs {
  opacity: 1;
  z-index: 2;
}

footer
  cx-page-layout.footer
  cx-navigation-ui.footer-tiles
  nav
  .wrapper
  .childs
  nav
  .hover
  cx-media {
  opacity: 0;
}

footer cx-page-layout.footer cx-navigation-ui.footer-tiles .hover > span {
  display: none;
}

.main-productos {
  z-index: unset !important;
}

header {
  z-index: 99 !important;
}

/* Gracias pedido */
.heading-jumbo-small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5em;
}

header .SiteLogin {
  padding: 0 !important;
}

/* Ocultar loading icon */
.iconoLoading {
  display: none !important;
}
/* Wishlist */

span.count {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: 6px;
  background: #fff;
  border-radius: 16px;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  text-align: center;
  padding: 0;
  font-size: 0.625rem;
  line-height: 0.875rem;
  font-weight: 600;
}

#wishlistIcon {
  position: relative;
}

@media (min-width: 712px) {
  main cx-navigation-ui.flyout .wrapper,
  header cx-navigation-ui.flyout .wrapper {
    max-height: calc(100vh - 210px) !important;
  }
}

#containerNavImg .wrapper.parentNode.tile-nav,
#Home_containerLeft .wrapper.parentNode {
  overflow-y: auto !important;
}

@media (max-width: 711px) {
  #containerNavImg .wrapper.parentNode.tile-nav,
  #Home_containerLeft .wrapper.parentNode {
    overflow-y: scroll !important;
    max-height: 60vh !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 991px) {
  .NavigationBar {
    overflow-y: scroll;
    max-height: calc(100vh - 310px);
  }
}

@media (max-width: 710px) {
  main cx-category-navigation cx-navigation-ui.flyout nav,
  header cx-category-navigation cx-navigation-ui.flyout nav {
    width: 100% !important;
  }

  #nav-layout nav {
    min-height: 39px;
    align-content: center;
  }
}

#navbar-desplegable {
  margin-bottom: 1.3rem;
}

.x_order-list__item-variant span {
  color: red;
}

.rps_f1fd a {
  color: #000 !important;
  font-weight: bold !important;
}

.rps_f1fd a:hover {
  color: #606060 !important;
}
