:root {
  --onsex-red:#B88A00!important;
  --onsex-red-dark:#8A6800!important;
  --onsex-black: #090909;
  --onsex-white: #ffffff;
  --onsex-gray: #6a6a6a;
  --onsex-soft: #f7f7f7;
}

#header.onsex-header-root,
#header.onsex-header-root * {
  box-sizing: border-box;
}

#header.onsex-header-root {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  z-index: 1000;
  font-family: var(--onsex-font);
  box-shadow: 0 5px 18px rgba(0,0,0,.06);
}

.onsex-benefit-bar {
  width: 100%;
  min-height: 38px;
  background: var(--onsex-black);
  color: #fff;
}

.onsex-benefit-inner {
  width: min(1240px, calc(100% - 36px));
  min-height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  font-weight: 600;
}

.onsex-benefit-inner > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.onsex-benefit-inner svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onsex-benefit-right {
  margin-left: auto;
}

.onsex-header-shell {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

.onsex-main-grid {
  width: min(1240px, calc(100% - 36px));
  min-height: 120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 255px minmax(320px, 1fr) 275px;
  grid-template-areas: "logo search actions";
  align-items: center;
  gap: 35px;
}

.onsex-mobile-menu-button {
  display: none;
  grid-area: menu;
}

.onsex-logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.onsex-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.onsex-logo img {
  display: block;
  width: auto !important;
  max-width: 230px !important;
  max-height: 88px !important;
  object-fit: contain;
}

.onsex-text-logo {
  flex-direction: column;
  color: #111 !important;
  line-height: .9;
}

.onsex-text-logo strong {
  font-size: 35px;
  letter-spacing: 2px;
}

.onsex-text-logo small {
  margin-top: 10px;
  font-size: 17px;
  letter-spacing: 9px;
  color: var(--onsex-red);
}

.onsex-search {
  grid-area: search;
  min-width: 0;
  width: 100%;
  position: relative;
  z-index: 20;
}

#header .onsex-search #search-by-category {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

#header .onsex-search .dropdown-toggle.search-button {
  display: none !important;
}

#header .onsex-search .search-content {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
}

#header .onsex-search .search-container {
  width: 100% !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid #dfdfdf !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.04) !important;
  overflow: visible !important;
}

#header .onsex-search .categories-container {
  display: none !important;
}

#header .onsex-search #text-search {
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 82px 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background: transparent !important;
  color: #333 !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

#header .onsex-search #text-search::placeholder {
  color: #979797 !important;
  opacity: 1;
}

#header .onsex-search #sp-btn-search {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: 68px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 5;
}

#header .onsex-search #btn-search-category {
  width: 68px !important;
  height: 54px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--onsex-red), var(--onsex-red-dark)) !important;
  color: #fff !important;
  box-shadow: none !important;
}

#header .onsex-search #btn-search-category::before {
  font-size: 25px !important;
}

.onsex-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}

.onsex-action {
  min-width: 58px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.onsex-action svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onsex-action:hover {
  color: var(--onsex-red) !important;
}

.onsex-cart-action b {
  position: absolute;
  top: -4px;
  right: 4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--onsex-red);
  color: #fff;
  font-size: 10px;
  line-height: 19px;
}

.onsex-cart-source {
  display: none !important;
}

.onsex-menu-panel {
  width: 100%;
  min-height: 58px;
  background: linear-gradient(90deg, var(--onsex-red-dark), var(--onsex-red));
  color: #fff;
}

.onsex-menu-inner {
  width: min(1240px, calc(100% - 36px));
  min-height: 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
  align-items: stretch;
}

.onsex-menu-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.onsex-menu-title svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.onsex-menu-content,
.onsex-menu-content > div,
.onsex-menu-content .pt-menu {
  width: 100% !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.onsex-menu-content .ul-top-items {
  width: 100% !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  background: transparent !important;
}

.onsex-menu-content .li-top-item {
  float: none !important;
  display: flex !important;
  align-items: stretch !important;
  background: transparent !important;
}

.onsex-menu-content .li-top-item > .a-top-link {
  min-height: 58px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  text-transform: none !important;
  white-space: nowrap;
}

.onsex-menu-content .li-top-item:hover > .a-top-link {
  background: rgba(0,0,0,.16) !important;
  color: #fff !important;
}

.onsex-menu-content .sub-menu-container {
  background: #fff !important;
  color: #111 !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.16) !important;
}

.onsex-menu-content .sub-menu-container a {
  color: #222 !important;
}

.onsex-mobile-quick-links {
  display: none;
}

@media (max-width: 991px) {
  .onsex-benefit-inner {
    width: calc(100% - 24px);
    justify-content: space-between;
    gap: 12px;
    font-size: 10px;
  }

  .onsex-benefit-desktop {
    display: none !important;
  }

  .onsex-main-grid {
    width: 100%;
    min-height: 0;
    padding: 13px 15px 12px;
    grid-template-columns: 45px minmax(100px, 1fr) auto;
    grid-template-areas:
      "menu logo actions"
      "search search search";
    gap: 11px 12px;
  }

  .onsex-mobile-menu-button {
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 9px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #111;
    box-shadow: 0 3px 12px rgba(0,0,0,.10);
  }

  .onsex-mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .onsex-mobile-menu-button.onsex-button-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .onsex-mobile-menu-button.onsex-button-open span:nth-child(2) {
    opacity: 0;
  }

  .onsex-mobile-menu-button.onsex-button-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .onsex-logo {
    justify-content: center;
  }

  .onsex-logo img {
    max-width: 160px !important;
    max-height: 67px !important;
  }

  .onsex-search {
    width: 100%;
    margin-top: 3px;
  }

  #header .onsex-search .search-container {
    height: 48px !important;
  }

  #header .onsex-search #text-search {
    height: 46px !important;
    min-height: 46px !important;
    padding-left: 20px !important;
    padding-right: 68px !important;
    font-size: 13px !important;
  }

  #header .onsex-search #sp-btn-search,
  #header .onsex-search #btn-search-category {
    width: 58px !important;
    height: 48px !important;
    min-height: 48px !important;
  }

  .onsex-actions {
    gap: 13px;
  }

  .onsex-action {
    min-width: 29px;
    gap: 0;
  }

  .onsex-action svg {
    width: 25px;
    height: 25px;
  }

  .onsex-action > span {
    display: none;
  }

  .onsex-cart-action b {
    top: -8px;
    right: -7px;
  }

  .onsex-mobile-quick-links {
    width: 100%;
    padding: 5px 12px 12px;
    display: flex;
    gap: 9px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .onsex-mobile-quick-links::-webkit-scrollbar {
    display: none;
  }

  .onsex-mobile-quick-links a {
    flex: 0 0 auto;
    min-width: 96px;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #ededed;
    border-radius: 999px;
    background: #fff;
    color: #111 !important;
    text-decoration: none !important;
    box-shadow: 0 3px 11px rgba(0,0,0,.05);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }

  .onsex-menu-panel {
    display: none;
    min-height: 0;
    background: var(--onsex-red);
  }

  .onsex-menu-panel.onsex-menu-open {
    display: block;
  }

  .onsex-menu-inner {
    width: 100%;
    min-height: 0;
    display: block;
  }

  .onsex-menu-title {
    min-height: 48px;
    justify-content: center;
    padding: 0 18px;
  }

  .onsex-menu-content {
    width: 100% !important;
    padding: 0 15px 15px !important;
  }

  .onsex-menu-content .visible-lg {
    display: block !important;
  }

  .onsex-menu-content .ul-top-items {
    min-height: 0 !important;
    display: block !important;
    border-radius: 10px;
    overflow: hidden;
    background: #fff !important;
  }

  .onsex-menu-content .li-top-item {
    width: 100% !important;
    display: block !important;
    border-bottom: 1px solid #ededed !important;
  }

  .onsex-menu-content .li-top-item:last-child {
    border-bottom: 0 !important;
  }

  .onsex-menu-content .li-top-item > .a-top-link {
    width: 100% !important;
    min-height: 45px !important;
    padding: 0 17px !important;
    justify-content: flex-start !important;
    color: #111 !important;
    font-size: 12px !important;
  }

  .onsex-menu-content .li-top-item:hover > .a-top-link {
    background: #f6f6f6 !important;
    color: var(--onsex-red) !important;
  }
}

@media (max-width: 420px) {
  .onsex-main-grid {
    grid-template-columns: 42px minmax(90px, 1fr) auto;
    padding-left: 11px;
    padding-right: 11px;
    gap: 10px 8px;
  }

  .onsex-logo img {
    max-width: 140px !important;
    max-height: 59px !important;
  }

  .onsex-actions {
    gap: 10px;
  }

  .onsex-action svg {
    width: 23px;
    height: 23px;
  }
}

/* UPSEX_LOGO_MOVIL_FINAL_START */
@media (max-width:767px){

  body .onsex-logo,
  body .onsex-logo a,
  body .col-logo,
  body .col-logo #logo,
  body .col-logo #logo a{
    overflow:visible!important;
  }

  body .onsex-logo img,
  body .col-logo #logo img,
  body img.txp-ms-logo{
    display:block!important;
    width:auto!important;
    max-width:none!important;
    height:59px!important;
    max-height:59px!important;
    margin:0 auto!important;
    padding:0!important;
    object-fit:contain!important;
    transform:scale(1.28)!important;
    transform-origin:center center!important;
    position:relative!important;
    z-index:30!important;
    background:transparent!important;
  }
}
/* UPSEX_LOGO_MOVIL_FINAL_END */

