@import url('/modules/autuneoautomotive/views/css/autuneoautomotive.css');
@media (max-width: 768px) {
  .header-bottom__logo {
    margin: 0 auto !important;
    justify-content: center !important;
    text-align: center !important;
    flex: 1 1 100% !important;
  }

  .header-bottom__row {
    justify-content: center !important;
  }
}

/* AUTUNEO global brand overrides */
:root {
  --bs-primary: #B81A20;
  --bs-primary-rgb: 184,26,32;
  --bs-link-color: #1A1A1A;
  --bs-link-color-rgb: 26,26,26;
  --bs-link-hover-color: #D61F26;
  --bs-link-hover-color-rgb: 214,31,38;
}

.btn-primary {
  --bs-btn-bg: #B81A20;
  --bs-btn-border-color: #B81A20;
  --bs-btn-hover-bg: #D61F26;
  --bs-btn-hover-border-color: #D61F26;
  --bs-btn-active-bg: #B81A20;
  --bs-btn-active-border-color: #B81A20;
  --bs-btn-disabled-bg: #B81A20;
  --bs-btn-disabled-border-color: #B81A20;
  --bs-btn-focus-shadow-rgb: 184,26,32;
}

/* AUTUNEO mobile menu header */
.ps-mainmenu--mobile .autuneo-mobile-menu-header {
  position: relative !important;
  min-height: 112px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.ps-mainmenu--mobile .autuneo-mobile-logo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.ps-mainmenu--mobile .autuneo-mobile-logo-link {
  display: block !important;
}

.ps-mainmenu--mobile .autuneo-mobile-logo-img {
  width: 190px !important;
  max-width: 190px !important;
  height: auto !important;
  display: block !important;
}

.ps-mainmenu--mobile .autuneo-mobile-menu-header .btn-close {
  position: absolute !important;
  right: 1.25rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* AUTUNEO mobile menu categories */
.ps-mainmenu--mobile .menu__list {
  padding-left: 0 !important;
}

.ps-mainmenu--mobile .menu__list > li {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  border-bottom: 1px solid #f1f1f1 !important;
}

.ps-mainmenu--mobile .menu__link {
  color: #1A1A1A !important;
  padding: 0.85rem 1.25rem !important;
  min-height: auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  font-weight: 600 !important;
}

.ps-mainmenu--mobile .menu__link:hover,
.ps-mainmenu--mobile .menu__link:active {
  color: #D61F26 !important;
}

.ps-mainmenu--mobile .menu__toggle-child {
  margin-left: auto !important;
  color: #D61F26 !important;
}

/* AUTUNEO active category */
.ps-mainmenu--mobile #menu-mobile > .menu__list > li.current {
  position: relative !important;
  background: #fafafa !important;
}

.ps-mainmenu--mobile #menu-mobile > .menu__list > li.current::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.75rem !important;
  bottom: 0.75rem !important;
  width: 4px !important;
  background: #D61F26 !important;
  border-radius: 0 4px 4px 0 !important;
}

/* AUTUNEO mobile quick links */
.autuneo-mobile-quicklinks {
  display: flex !important;
  flex-direction: column !important;
  margin: 0.5rem 1.5rem 1rem 1.5rem !important;
  border-top: 1px solid #ececec !important;
  padding-top: 1rem !important;
}

.autuneo-mobile-quicklink {
  display: flex !important;
  align-items: center !important;
  gap: .75rem !important;
  width: 100% !important;
  padding: .9rem 0 !important;
  color: #1A1A1A !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  border-bottom: 1px solid #f5f5f5 !important;
}

.autuneo-mobile-quicklink .material-icons {
  color: #D61F26 !important;
  font-size: 1.25rem !important;
}

/* AUTUNEO WhatsApp CTA */
.ps-mainmenu--mobile #_mobile_ps_contactinfo {
  width: 100% !important;
}

.ps-mainmenu--mobile #_mobile_ps_contactinfo .autuneo-whatsapp-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .65rem !important;
  width: 100% !important;
  padding: 1rem 1.25rem !important;
  border-radius: 14px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  text-decoration: none !important;
}

.ps-mainmenu--mobile #_mobile_ps_contactinfo .autuneo-whatsapp-icon {
  color: #ffffff !important;
}

/* AUTUNEO desktop premium search bar */
@media (min-width: 768px) {
  .ps-searchbar__form {
    border-radius: 12px !important;
  }

  .ps-searchbar__input {
    min-height: 52px !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    transition: border-color .25s ease, box-shadow .25s ease !important;
  }

  .ps-searchbar__input:focus {
    border-color: #B81A20 !important;
    box-shadow: 0 0 0 3px rgba(184,26,32,.12) !important;
  }

  .ps-searchbar__magnifier {
    color: #1A1A1A !important;
  }
}

/* AUTUNEO desktop main menu real selectors */
@media (min-width: 1200px) {
  .ps-mainmenu__tree {
    gap: 1.25rem !important;
  }

  .ps-mainmenu__tree-link {
    position: relative !important;
    color: #1A1A1A !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: .2px !important;
    transition: color .25s ease !important;
  }

  .ps-mainmenu__tree-link::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -0.35rem !important;
    height: 2px !important;
    background: #D61F26 !important;
    transform: scaleX(0) !important;
    transform-origin: center !important;
    transition: transform .25s ease !important;
  }

  .ps-mainmenu__tree-link:hover {
    color: #D61F26 !important;
  }

  .ps-mainmenu__tree-link:hover::after {
    transform: scaleX(1) !important;
  }

  .ps-mainmenu__tree-dropdown-toggle {
    color: #D61F26 !important;
  }
}

/* AUTUNEO desktop account and cart */
@media (min-width: 768px) {
  #_desktop_ps_customersignin,
  #_desktop_ps_shoppingcart {
    display: inline-flex !important;
    align-items: center !important;
  }

  #_desktop_ps_customersignin .header-block__action-btn,
  #_desktop_ps_shoppingcart .header-block__action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: .35rem !important;
    color: #1A1A1A !important;
    font-weight: 500 !important;
    transition: color .25s ease, transform .25s ease !important;
  }

  #_desktop_ps_customersignin .header-block__action-btn:hover,
  #_desktop_ps_shoppingcart .header-block__action-btn:hover {
    color: #D61F26 !important;
    transform: translateY(-1px) !important;
  }

  #_desktop_ps_customersignin .header-block__icon,
  #_desktop_ps_shoppingcart .header-block__icon {
    color: #B81A20 !important;
    font-size: 1.35rem !important;
  }

  #_desktop_ps_shoppingcart .header-block__badge {
    background: #D61F26 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    min-width: 1.25rem !important;
    height: 1.25rem !important;
    padding: 0 .35rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
  }
}

/* AUTUNEO desktop logo */
@media (min-width: 1200px) {

  .header-bottom__logo .logo {
    max-height: 56px !important;
    width: auto !important;
  }

}

/* AUTUNEO desktop logo size */
@media (min-width: 992px) {
  .header-bottom .navbar-brand .logo {
    max-width: 180px !important;
    max-height: none !important;
    height: auto !important;
    width: auto !important;
  }
}

/* AUTUNEO desktop product cards */
@media (min-width: 992px) {
  .product-miniature__inner {
    transition: all .25s ease !important;
    border: 1px solid #ececec !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .product-miniature__inner:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(184,26,32,.25) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.10) !important;
  }
}

/* AUTUNEO desktop menu focus cleanup */
@media (min-width: 992px) {
  .ps-mainmenu--desktop .ps-mainmenu__tree-link:focus,
  .ps-mainmenu--desktop .ps-mainmenu__tree-link:active,
  .ps-mainmenu--desktop .ps-mainmenu__tree-dropdown-toggle:focus,
  .ps-mainmenu--desktop .ps-mainmenu__tree-dropdown-toggle:active {
    outline: none !important;
    box-shadow: none !important;
  }
}

/* AUTUNEO Perú: ocultar país fijo en formularios de dirección */
body#address .js-country,
body#checkout .js-country {
  display: none !important;
}

body#address label[for="field-id_country"],
body#checkout label[for="field-id_country"] {
  display: none !important;
}

/* AUTUNEO registro cliente - layout documento y celular */
.autuneo-doc-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  align-items: end;
}

.autuneo-doc-row .mb-3 {
  margin-bottom: 1rem;
}

.autuneo-mobile-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.autuneo-mobile-prefix {
  font-weight: 600;
  min-width: 32px;
}

.autuneo-mobile-row input {
  flex: 1;
}

@media (max-width: 576px) {
  .autuneo-doc-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* AUTUNEO registro cliente - campos requeridos */
.autuneo-required-star {
  color: #D61F26;
}

/* AUTUNEO account dropdown */
@media (min-width: 768px) {
  .autuneo-account-menu .header-block__action-btn {
    border: 1px solid #e6e6e6 !important;
    border-radius: 8px !important;
    padding: .45rem .75rem !important;
    color: #1A1A1A !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .autuneo-account-menu .header-block__action-btn:hover,
  .autuneo-account-menu .header-block__action-btn.show {
    color: #D61F26 !important;
    border-color: #D61F26 !important;
  }

  .autuneo-account-dropdown {
    min-width: 190px !important;
    padding: .45rem 0 !important;
    border: 1px solid #eeeeee !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.10) !important;
    overflow: hidden !important;
  }

  .autuneo-account-dropdown__title {
    padding: .6rem .95rem !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    font-size: .95rem !important;
  }

  .autuneo-account-dropdown .dropdown-divider {
    margin: 0 !important;
    border-color: #eeeeee !important;
  }

  .autuneo-account-dropdown .dropdown-item {
    padding: .7rem .95rem !important;
    color: #1A1A1A !important;
    font-size: .95rem !important;
  }

  .autuneo-account-dropdown .dropdown-item:hover,
  .autuneo-account-dropdown .dropdown-item:focus {
    color: #D61F26 !important;
    background: #fafafa !important;
  }

  .autuneo-account-menu .dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}

/* AUTUNEO login modal */
.autuneo-login-modal .modal-dialog {
  max-width: 520px !important;
}

.autuneo-login-modal .modal-content {
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.22) !important;
  overflow: hidden !important;
}

.autuneo-login-modal__close {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  z-index: 2 !important;
}

.autuneo-login-modal .modal-body {
  padding: 2.25rem 2.5rem 2rem !important;
}

.autuneo-login-modal__brand {
  color: #B81A20 !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.15rem !important;
}

.autuneo-login-modal__brand span {
  color: #1A1A1A !important;
  font-size: .82em !important;
}

.autuneo-login-modal__title {
  color: #1A1A1A !important;
  font-size: 1.65rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

.autuneo-login-modal__text {
  color: #555 !important;
  font-size: .98rem !important;
  margin-bottom: 1.5rem !important;
}

.autuneo-login-modal__field {
  margin-bottom: 1rem !important;
}

.autuneo-login-modal__field label {
  display: block !important;
  color: #1A1A1A !important;
  font-size: .95rem !important;
  margin-bottom: .35rem !important;
}

.autuneo-login-modal__field input {
  width: 100% !important;
  border: 0 !important;
  border-bottom: 1px solid #d6d6d6 !important;
  padding: .55rem 0 !important;
  color: #777 !important;
  background: #fff !important;
}

.autuneo-login-modal__button {
  width: 100% !important;
  margin-top: 1.25rem !important;
  padding: .85rem 1rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.autuneo-login-modal__register {
  margin-top: 1.35rem !important;
  text-align: center !important;
  color: #666 !important;
  font-size: .95rem !important;
}

.autuneo-login-modal__register a {
  color: #B81A20 !important;
  font-weight: 600 !important;
}

/* AUTUNEO login modal overlay fix */
.modal-backdrop.show {
  opacity: .62 !important;
  background-color: #000 !important;
}

.autuneo-login-modal {
  z-index: 1060 !important;
}

.autuneo-login-modal .modal-dialog,
.autuneo-login-modal .modal-content {
  opacity: 1 !important;
}

.autuneo-login-modal__logo {
  display: block !important;
  max-width: 220px !important;
  height: auto !important;
  margin-bottom: 1.25rem !important;
}

/* AUTUNEO modal backdrop final fix */
.modal-backdrop {
  z-index: 1040 !important;
}

.modal-backdrop.show {
  opacity: .58 !important;
  background-color: #000 !important;
}

.autuneo-login-modal {
  z-index: 1080 !important;
}

.autuneo-login-modal .modal-dialog {
  z-index: 1090 !important;
}

.autuneo-login-modal .modal-content {
  background: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
}

/* AUTUNEO login modal body placement */
body > .autuneo-login-modal {
  z-index: 20000 !important;
}

body > .autuneo-login-modal.show {
  display: block !important;
}

body > .autuneo-login-modal .modal-dialog {
  z-index: 20001 !important;
}

body > .autuneo-login-modal .modal-content {
  background-color: #fff !important;
  opacity: 1 !important;
  filter: none !important;
}

.modal-backdrop {
  z-index: 19990 !important;
}

/* AUTUNEO login modal logo alignment */
.autuneo-login-modal__brand {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
}

.autuneo-login-modal__logo {
  display: block !important;
  max-width: 240px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto 1.25rem auto !important;
}

/* AUTUNEO login modal responsive height */
.autuneo-login-modal .modal-dialog {
  max-width: 520px !important;
  margin: 1rem auto !important;
}

.autuneo-login-modal .modal-content {
  max-height: calc(100vh - 2rem) !important;
  overflow-y: auto !important;
}

.autuneo-login-modal .modal-body {
  padding: 1.5rem 2.25rem 1.5rem !important;
}

.autuneo-login-modal__brand {
  text-align: center !important;
  margin-bottom: 1rem !important;
}

.autuneo-login-modal__logo {
  display: block !important;
  margin: 0 auto !important;
  max-width: 210px !important;
  height: auto !important;
}

.autuneo-login-modal__title {
  font-size: 1.45rem !important;
  margin-bottom: .75rem !important;
}

.autuneo-login-modal__text {
  margin-bottom: 1rem !important;
}

.autuneo-login-modal__field {
  margin-bottom: .75rem !important;
}

.autuneo-login-modal__button {
  margin-top: 1rem !important;
  padding: .75rem 1rem !important;
}

.autuneo-login-modal__register {
  margin-top: 1rem !important;
}

@media (max-height: 720px) {
  .autuneo-login-modal .modal-body {
    padding: 1.1rem 2rem 1.1rem !important;
  }

  .autuneo-login-modal__logo {
    max-width: 180px !important;
  }

  .autuneo-login-modal__title {
    font-size: 1.25rem !important;
    margin-bottom: .5rem !important;
  }

  .autuneo-login-modal__text {
    font-size: .9rem !important;
    margin-bottom: .75rem !important;
  }

  .autuneo-login-modal__field label {
    margin-bottom: .2rem !important;
  }

  .autuneo-login-modal__field input {
    padding: .35rem 0 !important;
  }

  .autuneo-login-modal__button {
    margin-top: .8rem !important;
    padding: .65rem 1rem !important;
  }

  .autuneo-login-modal__register {
    margin-top: .75rem !important;
  }
}

/* AUTUNEO login modal - balance visual */

.autuneo-login-modal__logo {
  max-width: 240px !important;
}

.autuneo-login-modal__brand {
  margin-bottom: 1.5rem !important;
}

.autuneo-login-modal__title {
  margin-bottom: 1rem !important;
}

.autuneo-login-modal__text {
  margin-bottom: 1.5rem !important;
  line-height: 1.5 !important;
}

.autuneo-login-modal__field {
  margin-bottom: 1rem !important;
}

.autuneo-login-modal__button {
  margin-top: 1.5rem !important;
}

.autuneo-login-modal__register {
  margin-top: 1.25rem !important;
}

/* solo para pantallas bajas */
@media (max-height: 720px) {

  .autuneo-login-modal__logo {
    max-width: 200px !important;
  }

  .autuneo-login-modal__brand {
    margin-bottom: 1rem !important;
  }

  .autuneo-login-modal__text {
    margin-bottom: 1rem !important;
  }

  .autuneo-login-modal__button {
    margin-top: 1rem !important;
  }
}

/* AUTUNEO login modal real form */
.autuneo-login-modal__form {
  margin: 0 !important;
}

.autuneo-login-modal__button {
  display: block !important;
  text-align: center !important;
}

/* AUTUNEO real login form formatting */
.autuneo-login-modal__field input {
  width: 100% !important;
  display: block !important;
  border: 0 !important;
  border-bottom: 1px solid #d6d6d6 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: .55rem 0 !important;
  color: #1A1A1A !important;
  font-size: 1rem !important;
}

.autuneo-login-modal__field input:focus {
  border-bottom-color: #B81A20 !important;
  box-shadow: none !important;
}

.autuneo-login-modal__field input::placeholder {
  color: #777 !important;
  opacity: 1 !important;
}

.autuneo-login-modal__field input:-webkit-autofill,
.autuneo-login-modal__field input:-webkit-autofill:hover,
.autuneo-login-modal__field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #1A1A1A !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  border-bottom: 1px solid #d6d6d6 !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

.autuneo-login-modal__button {
  border: 0 !important;
  color: #fff !important;
}

/* AUTUNEO mobile account: no dropdown */
@media (max-width: 767.98px) {
  .autuneo-account-menu .autuneo-account-dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* AUTUNEO mobile modal backdrop - phase 1 */
@media (max-width: 767.98px) {

  .modal-backdrop.show {
    opacity: 0.88 !important;
    background-color: #000 !important;
  }

}

/* AUTUNEO mobile login modal - dark red LED halo */
@media (max-width: 767.98px) {

  body > .autuneo-login-modal .modal-content {
    border: 1px solid rgba(184, 26, 32, .28) !important;
    box-shadow:
      0 0 0 1px rgba(184, 26, 32, .18),
      0 0 24px rgba(184, 26, 32, .32),
      0 18px 55px rgba(0, 0, 0, .65) !important;
  }

}

/* AUTUNEO mobile login modal - visible dark red LED effect */
@media (max-width: 767.98px) {

  body > .autuneo-login-modal .modal-content {
    position: relative !important;
    border: 1px solid rgba(184, 26, 32, .55) !important;
    box-shadow:
      0 0 0 1px rgba(184, 26, 32, .35),
      0 0 22px rgba(184, 26, 32, .55),
      0 0 46px rgba(184, 26, 32, .32),
      0 24px 70px rgba(0, 0, 0, .75) !important;
    overflow: visible !important;
  }

  body > .autuneo-login-modal .modal-content::before {
    content: "" !important;
    position: absolute !important;
    left: 10% !important;
    right: 10% !important;
    top: -2px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(184, 26, 32, .25),
      rgba(184, 26, 32, .95),
      rgba(184, 26, 32, .25),
      transparent
    ) !important;
    box-shadow:
      0 0 12px rgba(184, 26, 32, .85),
      0 0 26px rgba(184, 26, 32, .55) !important;
    pointer-events: none !important;
  }

  body > .autuneo-login-modal .modal-content::after {
    content: "" !important;
    position: absolute !important;
    top: 28% !important;
    bottom: 18% !important;
    left: -7px !important;
    right: -7px !important;
    border-radius: 22px !important;
    border-left: 4px solid rgba(184, 26, 32, .72) !important;
    border-right: 4px solid rgba(184, 26, 32, .72) !important;
    box-shadow:
      -8px 0 18px rgba(184, 26, 32, .42),
      8px 0 18px rgba(184, 26, 32, .42) !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }
}

/* AUTUNEO mobile login modal - halo rojo completo y elegante */
@media (max-width: 767.98px) {

  body > .autuneo-login-modal .modal-content {

    border: 1px solid rgba(184, 26, 32, .30) !important;
    border-radius: 18px !important;

    box-shadow:
      0 0 0 1px rgba(184, 26, 32, .15),
      0 0 12px rgba(184, 26, 32, .28),
      0 0 24px rgba(184, 26, 32, .18),
      0 18px 45px rgba(0, 0, 0, .65) !important;

    background: #fff !important;
  }

  /* elimina cualquier efecto direccional previo */
  body > .autuneo-login-modal .modal-content::before,
  body > .autuneo-login-modal .modal-content::after {
    display: none !important;
    content: none !important;
  }
}

/* AUTUNEO desktop login modal - dark backdrop and subtle full LED border */
@media (min-width: 768px) {

  .modal-backdrop.show {
    opacity: .76 !important;
    background-color: #000 !important;
  }

  body > .autuneo-login-modal .modal-content {
    border: 1px solid rgba(184, 26, 32, .24) !important;
    border-radius: 16px !important;

    box-shadow:
      0 0 0 1px rgba(184, 26, 32, .12),
      0 0 10px rgba(184, 26, 32, .22),
      0 0 22px rgba(184, 26, 32, .14),
      0 20px 60px rgba(0, 0, 0, .45) !important;

    background: #fff !important;
  }

  body > .autuneo-login-modal .modal-content::before,
  body > .autuneo-login-modal .modal-content::after {
    display: none !important;
    content: none !important;
  }
}

/* AUTUNEO desktop login modal - darker backdrop */
@media (min-width: 768px) {
  .modal-backdrop.show {
    opacity: .90 !important;
    background-color: #000 !important;
  }
}

/* AUTUNEO desktop login modal - option 2 */

@media (min-width: 768px) {

  body > .autuneo-login-modal .modal-content {

    border: 1px solid rgba(184,26,32,.28) !important;
    border-radius: 18px !important;
    background: #fff !important;

    box-shadow:
      0 0 0 1px rgba(184,26,32,.15),
      0 0 12px rgba(184,26,32,.30),
      0 0 24px rgba(184,26,32,.22),
      0 0 40px rgba(184,26,32,.16),
      0 20px 60px rgba(0,0,0,.45) !important;
  }

  body > .autuneo-login-modal .modal-content::before,
  body > .autuneo-login-modal .modal-content::after {
    display: none !important;
    content: none !important;
  }
}

/* AUTUNEO desktop login modal - subtle premium glow */
@media (min-width: 768px) {

  body > .autuneo-login-modal .modal-content {

    border: 1px solid rgba(184,26,32,.24) !important;
    border-radius: 18px !important;

    box-shadow:
      0 0 0 1px rgba(184,26,32,.12),
      0 0 10px rgba(184,26,32,.22),
      0 0 22px rgba(184,26,32,.14),
      0 20px 60px rgba(0,0,0,.45) !important;

    background: #fff !important;
  }

  body > .autuneo-login-modal .modal-content::before,
  body > .autuneo-login-modal .modal-content::after {
    display: none !important;
    content: none !important;
  }
}

/* AUTUNEO mobile login modal - match desktop premium glow */
@media (max-width: 767.98px) {

  .modal-backdrop.show {
    opacity: .90 !important;
    background-color: #000 !important;
  }

  body > .autuneo-login-modal .modal-content {

    border: 1px solid rgba(184,26,32,.24) !important;
    border-radius: 18px !important;

    box-shadow:
      0 0 0 1px rgba(184,26,32,.12),
      0 0 10px rgba(184,26,32,.22),
      0 0 22px rgba(184,26,32,.14),
      0 20px 60px rgba(0,0,0,.45) !important;

    background: #fff !important;
  }

  body > .autuneo-login-modal .modal-content::before,
  body > .autuneo-login-modal .modal-content::after {
    display: none !important;
    content: none !important;
  }
}

/* AUTUNEO fix: blockcart modal clickable over backdrop */
#blockcart-modal,
.blockcart-modal.modal {
  z-index: 1065 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}

#blockcart-modal .modal-dialog,
#blockcart-modal .modal-content {
  pointer-events: auto !important;
}

/* AUTUNEO - Libro de Reclamaciones en footer */
.autuneo-claims-book {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 290px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none !important;
  background: rgba(255,255,255,.025);
  box-shadow: 0 0 16px rgba(255,255,255,.04);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.autuneo-claims-book:hover {
  border-color: rgba(214,31,38,.85);
  background: rgba(214,31,38,.06);
  transform: translateY(-1px);
}

.autuneo-claims-book__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
}

.autuneo-claims-book__icon svg {
  width: 48px;
  height: 48px;
}

.autuneo-claims-book__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.autuneo-claims-book__icon .autuneo-claims-book__bookmark {
  fill: #D61F26;
  stroke: #D61F26;
}

.autuneo-claims-book__text {
  flex: 1 1 auto;
  font-weight: 700;
  line-height: 1.15;
  font-size: 1rem;
}

.autuneo-claims-book__arrow {
  color: #D61F26;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 300;
}

@media (max-width: 767.98px) {
  .autuneo-claims-book {
    max-width: 100%;
    margin-top: 16px;
    padding: 12px 14px;
  }

  .autuneo-claims-book__icon,
  .autuneo-claims-book__icon svg {
    width: 40px;
    height: 40px;
  }

  .autuneo-claims-book__text {
    font-size: .95rem;
  }
}

/* AUTUNEO - Libro de Reclamaciones Footer */
.autuneo-libro-reclamaciones{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:18px;
    padding:14px 16px;
    border:1px solid rgba(255,255,255,.45);
    border-radius:12px;
    text-decoration:none !important;
    color:#fff !important;
    transition:.25s ease;
    max-width:280px;
}

.autuneo-libro-reclamaciones:hover{
    border-color:#D61F26;
    background:rgba(214,31,38,.06);
}

.autuneo-libro-icon{
    font-size:34px;
    line-height:1;
}

.autuneo-libro-texto{
    flex:1;
    line-height:1.15;
    font-weight:600;
    color:#fff;
}

.autuneo-libro-flecha{
    color:#D61F26;
    font-size:36px;
    line-height:1;
}

/* AUTUNEO - Icono libro SVG */

.autuneo-libro-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    flex-shrink:0;
}

.autuneo-libro-icon svg{
    width:42px;
    height:42px;
    display:block;
}

/* AUTUNEO - Mi cuenta: menú lateral limpio tipo tarjeta */
.page-my-account #content-wrapper,
.page-identity #content-wrapper,
.page-addresses #content-wrapper,
.page-history #content-wrapper,
.page-order-detail #content-wrapper {
  background: #f3f3f3;
}

/* Ocultar opciones no usadas del menú cliente */
.account-list a[href*="order-slip"],
.account-list a[href*="module/ps_emailalerts"],
.account-list a[href*="psgdpr"],
.account-list a[href*="alerts"],
.account-list a[href*="credit-slip"],
.account-list a[href*="discount"],
.account-list a[href*="vouchers"] {
  display: none !important;
}

/* Contenedor del menú */
.account-list {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(0,0,0,.08);
  overflow: hidden;
  padding: 0 !important;
}

/* Items del menú */
.account-list a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 18px 22px !important;
  border-bottom: 1px solid #e8e8e8;
  color: #111827 !important;
  font-weight: 500;
  text-decoration: none !important;
  background: #fff;
}

/* Flecha derecha */
.account-list a::after {
  content: "›";
  margin-left: auto;
  font-size: 34px;
  line-height: 1;
  color: #9ca3af;
}

/* Activo / hover */
.account-list a:hover,
.account-list a.active {
  background: #fafafa;
  color: #B81A20 !important;
}

/* Último item */
.account-list a:last-child {
  border-bottom: 0;
}

/* Cerrar sesión con rojo AUTUNEO */
.account-list a[href*="logout"] {
  color: #D61F26 !important;
}

/* Ajuste general del bloque Mi cuenta */
.page-my-account .page-header h1,
.page-identity .page-header h1,
.page-addresses .page-header h1,
.page-history .page-header h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 28px;
}


/* AUTUNEO - Mi cuenta: menú lateral tipo tarjeta */
.account-menu {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  overflow: hidden;
  padding: 0;
}

.account-menu__link {
  min-height: 64px;
  padding: 18px 20px !important;
  border-bottom: 1px solid #ececec;
  color: #111827 !important;
  font-weight: 500;
  background: #fff;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease;
}

.account-menu__link:last-child {
  border-bottom: 0;
}

.account-menu__link:hover,
.account-menu__link--active {
  background: #f7f7f7;
  color: #B81A20 !important;
}

.account-menu__icon {
  margin-right: 12px;
  font-size: 22px;
}

.account-menu__link::after {
  content: "›";
  margin-left: auto;
  font-size: 32px;
  line-height: 1;
  color: #9ca3af;
}

.account-menu__link--active .account-menu__icon,
.account-menu__link:hover .account-menu__icon {
  color: #D61F26;
}

.account-menu__link[href*="logout"] {
  color: #D61F26 !important;
}

.account-menu__link[href*="logout"]::after {
  color: #D61F26;
}


/* AUTUNEO - Configurar cuenta */
#account-config_link {
  color: #374151 !important;
}

#account-config_link .account-menu__icon {
  color: #374151 !important;
}

#account-config_link:hover {
  color: #111827 !important;
}

#account-config_link:hover .account-menu__icon {
  color: #111827 !important;
}


/* AUTUNEO - Página Configurar mi cuenta */
.autuneo-account-config {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.autuneo-account-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.autuneo-account-card h2 {
  font-size: 22px;
  margin: 0 0 14px;
  font-weight: 600;
}

.autuneo-account-muted {
  color: #6b7280;
  margin: 0;
  font-size: 17px;
}

.autuneo-account-btn {
  min-width: 230px;
  border-radius: 999px;
  font-weight: 700;
}

.autuneo-account-danger-btn {
  min-width: 220px;
  border: 1px solid #D61F26;
  color: #B81A20;
  border-radius: 999px;
  font-weight: 700;
  background: #fff;
}

.autuneo-account-danger-btn:hover {
  background: #fff5f5;
  color: #B81A20;
}

@media (max-width: 768px) {
  .autuneo-account-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .autuneo-account-btn,
  .autuneo-account-danger-btn {
    width: 100%;
  }
}


/* AUTUNEO - Datos personales estilo tarjeta */
.page-identity .page-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  padding: 28px 32px;
}

.autuneo-identity-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.autuneo-identity-row {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 16px;
}

.autuneo-identity-field {
  margin-bottom: 0;
}

.autuneo-identity-field--readonly input,
.autuneo-identity-field--readonly select {
  background: #f5f5f5 !important;
  color: #6b7280 !important;
  pointer-events: none;
}

.page-identity input[name="new_password"],
.page-identity input[name="password"] {
  display: none !important;
}

.page-identity input[name="new_password"] + label,
.page-identity input[name="password"] + label {
  display: none !important;
}

.page-identity [data-ps-ref="password-field"] {
  display: none !important;
}

.page-identity .form-control-submit {
  border-radius: 999px;
  min-width: 180px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .autuneo-identity-row {
    grid-template-columns: 1fr;
  }

  .page-identity .page-content {
    padding: 22px 18px;
  }
}


/* AUTUNEO - Pulido Datos personales */
.page-identity .page-content > p:first-child {
  display: none !important;
}

.page-identity .autuneo-identity-form {
  gap: 22px;
}

.page-identity .autuneo-identity-field,
.page-identity .autuneo-identity-row {
  width: 100%;
}

.page-identity .autuneo-identity-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: end;
}

.page-identity .autuneo-identity-field .form-group,
.page-identity .autuneo-identity-field .input-group,
.page-identity .autuneo-identity-field input,
.page-identity .autuneo-identity-field select {
  width: 100% !important;
  max-width: 100% !important;
}

.page-identity .form-control-comment,
.page-identity .form-text,
.page-identity small {
  display: none !important;
}

.page-identity .autuneo-identity-field--readonly input,
.page-identity .autuneo-identity-field--readonly select {
  background: #f3f4f6 !important;
  color: #6b7280 !important;
  border-color: #d1d5db !important;
}

.page-identity .autuneo-identity-field label {
  font-weight: 700;
}

.page-identity .buttons-wrapper {
  margin-top: 10px;
}

.page-identity .form-control-submit {
  min-width: 190px;
  padding-left: 28px;
  padding-right: 28px;
}

@media (max-width: 768px) {
  .page-identity .autuneo-identity-row {
    grid-template-columns: 1fr;
  }
}


/* AUTUNEO - Fix ancho documento en datos personales */
.page-identity input[name="autuneo_document_number"] {
  width: 100% !important;
  min-width: 100% !important;
}

.page-identity .autuneo-identity-row > .autuneo-identity-field:nth-child(2) {
  min-width: 0;
  width: 100%;
}

.page-identity .autuneo-identity-row > .autuneo-identity-field:nth-child(2) .form-group,
.page-identity .autuneo-identity-row > .autuneo-identity-field:nth-child(2) .form-control,
.page-identity .autuneo-identity-row > .autuneo-identity-field:nth-child(2) input {
  width: 100% !important;
  max-width: none !important;
}


/* AUTUNEO - Corrección fuerte de wrappers internos en documento */
.page-identity .autuneo-identity-row {
  grid-template-columns: 220px minmax(360px, 1fr) !important;
}

.page-identity .autuneo-identity-field:has(input[name="autuneo_document_number"]),
.page-identity .autuneo-identity-field:has(select[name="autuneo_document_type"]) {
  width: 100% !important;
  max-width: 100% !important;
}

.page-identity .autuneo-identity-field:has(input[name="autuneo_document_number"]) *,
.page-identity .autuneo-identity-field:has(select[name="autuneo_document_type"]) * {
  max-width: 100% !important;
}

.page-identity .autuneo-identity-field:has(input[name="autuneo_document_number"]) input {
  width: 100% !important;
  min-width: 360px !important;
}

.page-identity .autuneo-identity-field:has(input[name="autuneo_document_number"]) label {
  white-space: nowrap !important;
}


/* AUTUNEO - Ajuste final documento */
.page-identity .autuneo-identity-row {
  grid-template-columns: 170px 280px !important;
}

.page-identity input[name="autuneo_document_number"] {
  min-width: 280px !important;
}


/* AUTUNEO - Campos bloqueados sin asterisco */
.page-identity .autuneo-identity-field--readonly label .required,
.page-identity .autuneo-identity-field--readonly label sup,
.page-identity .autuneo-identity-field--readonly .form-control-label .required {
  display: none !important;
}


/* AUTUNEO - Correo visualmente bloqueado */
.page-identity input[name="email"] {
  background: #f3f4f6 !important;
  color: #6b7280 !important;
  border-color: #d1d5db !important;
}


/* AUTUNEO - Nombre y apellidos en una fila */
.page-identity .autuneo-identity-row--names {
  grid-template-columns: 1fr 1fr !important;
}

@media (max-width: 768px) {
  .page-identity .autuneo-identity-row--names {
    grid-template-columns: 1fr !important;
  }
}


/* AUTUNEO - Últimos pedidos en Mi cuenta */
.autuneo-last-orders__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.autuneo-last-orders__head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.autuneo-last-orders__head a {
  display: inline-flex;
  align-items: center;
  color: #1A1A1A;
  text-decoration: none;
  font-weight: 600;
}

.autuneo-last-orders__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.autuneo-last-order-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  padding: 18px;
  min-height: 130px;
  display: flex;
  gap: 16px;
  position: relative;
}

.autuneo-last-order-card__badge {
  position: absolute;
  top: 14px;
  left: 18px;
  background: #c7f35b;
  color: #1A1A1A;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 13px;
}

.autuneo-last-order-card__icon {
  width: 72px;
  height: 72px;
  margin-top: 30px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.autuneo-last-order-card__icon i {
  font-size: 34px;
  color: #B81A20;
}

.autuneo-last-order-card__body {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.autuneo-last-orders__empty {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  padding: 24px;
  color: #6b7280;
}

@media (max-width: 768px) {
  .autuneo-last-orders__grid {
    grid-template-columns: 1fr;
  }
}


/* AUTUNEO - Imagen real en últimos pedidos */
.autuneo-last-order-card__image {
  width: 72px;
  height: 72px;
  margin-top: 30px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.autuneo-last-order-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.autuneo-last-order-card__image i {
  font-size: 34px;
  color: #B81A20;
}


/* AUTUNEO - Tarjetas clickeables */
.autuneo-last-order-card {
  position: relative;
  display: flex;
  text-decoration: none !important;
  color: inherit !important;
  transition: all .18s ease;
}

.autuneo-last-order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* Estados */
.autuneo-last-order-card__badge.status-pending {
  background: #facc15 !important;
  color: #111827 !important;
}

.autuneo-last-order-card__badge.status-paid {
  background: #22c55e !important;
  color: #ffffff !important;
}

.autuneo-last-order-card__badge.status-cancelled {
  background: #ef4444 !important;
  color: #ffffff !important;
}


/* AUTUNEO - Últimos pedidos: indicar tarjeta clickeable */
.autuneo-last-order-card {
  cursor: pointer;
}

.autuneo-last-order-card::after {
  content: "›";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 34px;
  font-weight: 600;
  transition: all .18s ease;
}

.autuneo-last-order-card:hover::after {
  right: 14px;
  color: #B81A20;
}


/* AUTUNEO - Corrección título menú Mi cuenta */
.account-menu__title {
  margin: 0 !important;
  padding: 18px 22px 16px !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  display: block !important;
}

.account-menu--sidebar {
  overflow: hidden;
}


/* AUTUNEO - Historial de pedidos en tarjetas */
.autuneo-orders-page__head {
  margin-bottom: 20px;
}

.autuneo-orders-page__head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
}

.autuneo-orders-page__head p {
  margin: 0;
  color: #6b7280;
}

.autuneo-orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.autuneo-order-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.autuneo-order-card__main {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.autuneo-order-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #B81A20;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.autuneo-order-card__icon i {
  font-size: 34px;
}

.autuneo-order-card__info {
  min-width: 0;
}

.autuneo-order-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.autuneo-order-card__top strong {
  font-size: 18px;
}

.autuneo-order-card__badge {
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 700;
  font-size: 13px;
  background: #e5e7eb;
  color: #111827;
}

.autuneo-order-card__badge.status-pending {
  background: #facc15;
  color: #111827;
}

.autuneo-order-card__badge.status-paid {
  background: #22c55e;
  color: #fff;
}

.autuneo-order-card__badge.status-cancelled {
  background: #ef4444;
  color: #fff;
}

.autuneo-order-card__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #6b7280;
  font-size: 14px;
}

.autuneo-order-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.autuneo-order-card__meta i {
  font-size: 18px;
}

.autuneo-order-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.autuneo-orders-empty {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  padding: 24px;
  color: #6b7280;
}

@media (max-width: 768px) {
  .autuneo-order-card {
    flex-direction: column;
    align-items: stretch;
  }

  .autuneo-order-card__actions {
    justify-content: stretch;
  }

  .autuneo-order-card__actions .btn {
    width: 100%;
  }
}


/* AUTUNEO - Corrección móvil Libro de Reclamaciones */
@media (max-width: 767.98px) {
  .autuneo-libro-reclamaciones {
    max-width: 100%;
    padding: 12px 14px;
    gap: 12px;
  }

  .autuneo-libro-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
  }

  .autuneo-libro-icon svg {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    display: block;
  }

  .autuneo-libro-texto {
    font-size: 1rem;
    line-height: 1.2;
  }

  .autuneo-libro-flecha {
    font-size: 24px;
  }
}

/* AUTUNEO mobile header click fix - account/cart */
@media (max-width: 767.98px) {
  .header-bottom,
  .header-bottom__container,
  .header-bottom__row {
    position: relative !important;
    z-index: 50 !important;
  }

  #_mobile_ps_customersignin,
  #_mobile_ps_shoppingcart {
    position: relative !important;
    z-index: 80 !important;
    pointer-events: auto !important;
  }

  #_mobile_ps_customersignin .header-block,
  #_mobile_ps_shoppingcart .header-block,
  #_mobile_ps_customersignin .header-block__action-btn,
  #_mobile_ps_shoppingcart .header-block__action-btn {
    position: relative !important;
    z-index: 90 !important;
    pointer-events: auto !important;
  }

  #_mobile_ps_customersignin .header-block__action-btn,
  #_mobile_ps_shoppingcart .header-block__action-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* AUTUNEO mobile customer box */
@media (max-width: 767.98px) {
  .autuneo-mobile-customer-box {
    margin: .75rem 1rem .5rem 1rem !important;
    padding: .9rem 1rem !important;
    border: 1px solid rgba(184, 26, 32, .18) !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, rgba(184, 26, 32, .06), rgba(0, 0, 0, .025)) !important;
  }

  .autuneo-mobile-customer-box__hello {
    color: #1A1A1A !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: .25rem !important;
  }

  .autuneo-mobile-customer-box__link {
    color: #B81A20 !important;
    font-size: .88rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  .autuneo-mobile-customer-box__link:hover,
  .autuneo-mobile-customer-box__link:focus {
    color: #D61F26 !important;
    text-decoration: none !important;
  }
}

/* AUTUNEO mobile customer inline */
@media (max-width: 767.98px) {

  .autuneo-mobile-customer-box {
    display: none !important;
  }

  .autuneo-mobile-customer-inline {
    display: flex !important;
    align-items: center !important;
    gap: .75rem !important;
    margin: .9rem 1rem .4rem 1rem !important;
    padding: 0 .25rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
  }

  .autuneo-mobile-customer-inline .material-icons {
    color: #B81A20 !important;
    font-size: 1.5rem !important;
  }
}

/* AUTUNEO mobile hello under logo */
@media (max-width: 767.98px) {
  .autuneo-mobile-customer-inline,
  .autuneo-mobile-customer-box {
    display: none !important;
  }

  .autuneo-mobile-hello-top {
    padding: .35rem 1rem 1rem 1rem !important;
    text-align: center !important;
    color: #1A1A1A !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }
}

/* AUTUNEO mobile hello top fine tuning */
@media (max-width: 767.98px) {
  .autuneo-mobile-hello-top {
    padding: .15rem 1rem .65rem 1rem !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
  }

  .ps-mainmenu--mobile .ps-mainmenu__mobile {
    padding-top: .25rem !important;
  }
}

/* AUTUNEO mobile hello top final tuning */
@media (max-width: 767.98px) {
  .autuneo-mobile-hello-top {
    font-size: .95rem !important;
    font-weight: 600 !important;
    padding: .1rem 1rem .55rem 1rem !important;
  }
}

/* AUTUNEO mobile menu: remove line between logo and hello */
@media (max-width: 767.98px) {
  .ps-mainmenu--mobile .offcanvas-header,
  .ps-mainmenu--mobile .autuneo-mobile-menu-header,
  .ps-mainmenu--mobile .autuneo-mobile-hello-top {
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  .ps-mainmenu--mobile .autuneo-mobile-hello-top {
    margin-top: 0 !important;
  }
}

/* AUTUNEO - Checkout payment cards */
body#checkout section.checkout-step .payment-options {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

body#checkout section.checkout-step .payment-options .payment-option {
  position: relative;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body#checkout section.checkout-step .payment-options .payment-option:hover {
  border-color: rgba(184,26,32,.35);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

body#checkout section.checkout-step .payment-options .payment-option label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #1A1A1A;
  cursor: pointer;
}

body#checkout section.checkout-step .payment-options .payment-option input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: #B81A20;
  flex: 0 0 auto;
}

body#checkout section.checkout-step .payment-options .payment-option:has(input[type="radio"]:checked) {
  border-color: #B81A20;
  background: linear-gradient(180deg, rgba(184,26,32,.045), #fff 70%);
  box-shadow: 0 14px 34px rgba(184,26,32,.10);
}

body#checkout section.checkout-step .payment-options .payment-option:has(input[type="radio"]:checked)::after {
  content: "Seleccionado";
  position: absolute;
  top: 14px;
  right: 16px;
  background: #B81A20;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}

body#checkout section.checkout-step .payment-options .payment-option .payment-option-info,
body#checkout section.checkout-step .payment-options .payment-option .additional-information {
  margin-top: 12px;
  padding-left: 38px;
  color: #555;
  font-size: 15px;
  line-height: 1.45;
}

body#checkout section.checkout-step .payment-options .payment-option .additional-information p {
  margin-bottom: 0;
}

body#checkout section.checkout-step .condition-label {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
}

@media (max-width: 575px) {
  body#checkout section.checkout-step .payment-options .payment-option {
    padding: 16px;
    border-radius: 14px;
  }

  body#checkout section.checkout-step .payment-options .payment-option label {
    font-size: 17px;
  }

  body#checkout section.checkout-step .payment-options .payment-option:has(input[type="radio"]:checked)::after {
    position: static;
    display: inline-block;
    margin-top: 10px;
  }

  body#checkout section.checkout-step .payment-options .payment-option .payment-option-info,
  body#checkout section.checkout-step .payment-options .payment-option .additional-information {
    padding-left: 0;
  }
}


/* AUTUNEO - Payment methods as cards - Hummingbird */
body#checkout .payment-option {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  background: #fff;
  padding: 18px 20px !important;
  margin: 0 0 14px 0 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body#checkout .payment-option:hover {
  border-color: rgba(184,26,32,.35);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

body#checkout .payment-option input[type="radio"] {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  accent-color: #B81A20;
  flex: 0 0 auto;
}

body#checkout .payment-option label {
  margin: 0 !important;
  font-size: 20px;
  font-weight: 800;
  color: #1A1A1A;
  cursor: pointer;
}

body#checkout .payment-option:has(input[type="radio"]:checked) {
  border-color: #B81A20;
  background: linear-gradient(180deg, rgba(184,26,32,.045), #fff 75%);
  box-shadow: 0 14px 34px rgba(184,26,32,.10);
}

body#checkout .payment-option:has(input[type="radio"]:checked)::after {
  content: "Seleccionado";
  position: absolute;
  top: 14px;
  right: 16px;
  background: #B81A20;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}

body#checkout .payment-option + .additional-information,
body#checkout .payment-option + div.additional-information {
  margin: -8px 0 14px 0;
  padding: 0 20px 16px 58px;
  border: 1px solid rgba(184,26,32,.18);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #fff, rgba(184,26,32,.035));
  color: #555;
  font-size: 15px;
  line-height: 1.45;
}

body#checkout .payment-option:has(input[type="radio"]:checked) + .additional-information {
  display: block;
}

body#checkout .payment-option:not(:has(input[type="radio"]:checked)) + .additional-information {
  display: none;
}

@media (max-width: 575px) {
  body#checkout .payment-option {
    padding: 16px !important;
    border-radius: 14px;
  }

  body#checkout .payment-option label {
    font-size: 17px;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked)::after {
    position: static;
    margin-left: auto;
    align-self: flex-start;
  }

  body#checkout .payment-option + .additional-information,
  body#checkout .payment-option + div.additional-information {
    padding: 0 16px 14px 16px;
  }
}


/* AUTUNEO - Payment cards refinement */
body#checkout .payment-option {
  display: grid !important;
  grid-template-columns: 28px 1fr auto;
  align-items: start;
  column-gap: 12px;
  min-height: 72px;
}

body#checkout .payment-option input[type="radio"] {
  grid-column: 1;
  margin-top: 4px;
}

body#checkout .payment-option label {
  grid-column: 2;
  max-width: none;
  line-height: 1.25;
  white-space: normal;
}

body#checkout .payment-option:has(input[type="radio"]:checked) {
  border-color: rgba(184,26,32,.85);
  background: linear-gradient(180deg, rgba(184,26,32,.035), #fff 82%);
}

body#checkout .payment-option:has(input[type="radio"]:checked)::after {
  grid-column: 3;
  position: static;
  align-self: start;
  justify-self: end;
  margin-top: 0;
}

body#checkout .payment-option + .additional-information,
body#checkout .payment-option + div.additional-information {
  margin: -22px 0 16px 0;
  padding: 0 72px 20px 60px;
  border: 1px solid rgba(184,26,32,.85);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #fff, rgba(184,26,32,.025));
  font-size: 16px;
}

body#checkout .payment-option:not(:has(input[type="radio"]:checked)) {
  box-shadow: 0 8px 22px rgba(0,0,0,.035);
}

body#checkout .payment-option:not(:has(input[type="radio"]:checked)) + .additional-information,
body#checkout .payment-option:not(:has(input[type="radio"]:checked)) + div.additional-information {
  display: none !important;
}

@media (max-width: 575px) {
  body#checkout .payment-option {
    grid-template-columns: 26px 1fr;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked)::after {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }

  body#checkout .payment-option + .additional-information,
  body#checkout .payment-option + div.additional-information {
    margin-top: -18px;
    padding: 0 16px 16px 54px;
    font-size: 14px;
  }
}


/* AUTUNEO - Fix payment card layout */
body#checkout .payment-option {
  display: block !important;
  padding: 18px 20px !important;
}

body#checkout .payment-option label {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  font-size: 19px !important;
  line-height: 1.2 !important;
}

body#checkout .payment-option input[type="radio"] {
  margin: 0 !important;
  width: 22px !important;
  height: 22px !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked)::after {
  top: 16px !important;
  right: 16px !important;
  position: absolute !important;
}

body#checkout .payment-option + .additional-information,
body#checkout .payment-option + div.additional-information {
  margin: -12px 0 16px 0 !important;
  padding: 0 20px 18px 54px !important;
}

@media (max-width: 575px) {
  body#checkout .payment-option label {
    white-space: normal !important;
    font-size: 17px !important;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked)::after {
    position: static !important;
    display: inline-block;
    margin-top: 10px;
  }

  body#checkout .payment-option + .additional-information,
  body#checkout .payment-option + div.additional-information {
    padding: 0 16px 16px 16px !important;
  }
}


/* AUTUNEO - Reset final payment card layout */
body#checkout .payment-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 82px !important;
  padding: 18px 20px !important;
  margin: 0 0 14px 0 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.045) !important;
}

body#checkout .payment-option input[type="radio"] {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  accent-color: #B81A20 !important;
  flex: 0 0 auto !important;
}

body#checkout .payment-option label {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  color: #1A1A1A !important;
}

body#checkout .payment-option label::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #f4f4f4;
  background-size: 72%;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 54px;
}

body#checkout .payment-option label[for*="yape" i]::before,
body#checkout .payment-option:has(label:contains("Yape")) label::before {
  background-color: #6F1685;
}

body#checkout .payment-option label[for*="plin" i]::before {
  background-color: #20A6A6;
}

/* fallback visual logos */
body#checkout .payment-option label::after {
  display: none;
}

body#checkout .payment-option label {
  position: relative;
}

body#checkout .payment-option label[for*="yape" i] {
  color: #1A1A1A !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) {
  border-color: #B81A20 !important;
  box-shadow: 0 14px 34px rgba(184,26,32,.11) !important;
  background: linear-gradient(180deg, rgba(184,26,32,.035), #fff 80%) !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked)::after {
  content: "Seleccionado";
  position: absolute;
  top: 14px;
  right: 16px;
  background: #B81A20;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
}

body#checkout .payment-option + .additional-information,
body#checkout .payment-option + div.additional-information {
  display: none !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) + .additional-information,
body#checkout .payment-option:has(input[type="radio"]:checked) + div.additional-information {
  display: block !important;
  margin: -8px 0 16px 0 !important;
  padding: 0 22px 18px 92px !important;
  color: #555 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

/* Yape / Plin visual text inside logo block */
body#checkout .payment-option label {
  overflow: visible !important;
}

@media (max-width: 575px) {
  body#checkout .payment-option {
    padding: 16px !important;
    min-height: 76px !important;
  }

  body#checkout .payment-option label {
    font-size: 18px !important;
  }

  body#checkout .payment-option label::before {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked)::after {
    top: 10px;
    right: 10px;
    font-size: 11px;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked) + .additional-information,
  body#checkout .payment-option:has(input[type="radio"]:checked) + div.additional-information {
    padding: 0 16px 16px 16px !important;
  }
}


/* AUTUNEO - Checkout payment cards with real icons */
body#checkout .payment-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 86px !important;
  padding: 18px 20px !important;
  margin: 0 0 14px 0 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.045) !important;
}

body#checkout .payment-option input[type="radio"] {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  accent-color: #B81A20 !important;
  flex: 0 0 auto !important;
}

body#checkout .payment-option label {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #1A1A1A !important;
  white-space: nowrap !important;
}

body#checkout .payment-option label::before {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background-color: #f6f6f6;
  background-size: 76%;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 58px;
}

/* Banco / transferencia */
body#checkout .payment-option label:not([for*="yape" i]):not([for*="plin" i])::before {
  background-image: url("/modules/autuneopagomanual/views/img/payment-icons/bank.png");
}

/* Yape */
body#checkout .payment-option label[for*="yape" i]::before {
  background-image: url("/modules/autuneopagomanual/views/img/payment-icons/yape.png");
  background-color: #6F1685;
}

/* Plin */
body#checkout .payment-option label[for*="plin" i]::before {
  background-image: url("/modules/autuneopagomanual/views/img/payment-icons/plin.png");
  background-color: #20A6A6;
}

body#checkout .payment-option:hover {
  border-color: rgba(184,26,32,.35) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.08) !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) {
  border-color: #B81A20 !important;
  background: linear-gradient(180deg, rgba(184,26,32,.035), #fff 80%) !important;
  box-shadow: 0 14px 34px rgba(184,26,32,.11) !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked)::after {
  content: "Seleccionado";
  position: absolute;
  top: 14px;
  right: 16px;
  background: #B81A20;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
}

body#checkout .payment-option + .additional-information,
body#checkout .payment-option + div.additional-information {
  display: none !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) + .additional-information,
body#checkout .payment-option:has(input[type="radio"]:checked) + div.additional-information {
  display: block !important;
  margin: -8px 0 16px 0 !important;
  padding: 0 22px 18px 96px !important;
  color: #555 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

@media (max-width: 575px) {
  body#checkout .payment-option {
    min-height: 78px !important;
    padding: 16px !important;
  }

  body#checkout .payment-option label {
    font-size: 18px !important;
  }

  body#checkout .payment-option label::before {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked)::after {
    top: 10px;
    right: 10px;
    font-size: 11px;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked) + .additional-information,
  body#checkout .payment-option:has(input[type="radio"]:checked) + div.additional-information {
    padding: 0 16px 16px 16px !important;
  }
}


/* AUTUNEO - Checkout payment cards with real icons */
body#checkout .payment-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 86px !important;
  padding: 18px 20px !important;
  margin: 0 0 14px 0 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.045) !important;
}

body#checkout .payment-option input[type="radio"] {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  accent-color: #B81A20 !important;
  flex: 0 0 auto !important;
}

body#checkout .payment-option label {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #1A1A1A !important;
  white-space: nowrap !important;
}

body#checkout .payment-option label::before {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background-color: #f6f6f6;
  background-size: 76%;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 58px;
}

/* Banco / transferencia */
body#checkout .payment-option label:not([for*="yape" i]):not([for*="plin" i])::before {
  background-image: url("/modules/autuneopagomanual/views/img/payment-icons/bank.png");
}

/* Yape */
body#checkout .payment-option label[for*="yape" i]::before {
  background-image: url("/modules/autuneopagomanual/views/img/payment-icons/yape.png");
  background-color: #6F1685;
}

/* Plin */
body#checkout .payment-option label[for*="plin" i]::before {
  background-image: url("/modules/autuneopagomanual/views/img/payment-icons/plin.png");
  background-color: #20A6A6;
}

body#checkout .payment-option:hover {
  border-color: rgba(184,26,32,.35) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.08) !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) {
  border-color: #B81A20 !important;
  background: linear-gradient(180deg, rgba(184,26,32,.035), #fff 80%) !important;
  box-shadow: 0 14px 34px rgba(184,26,32,.11) !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked)::after {
  content: "Seleccionado";
  position: absolute;
  top: 14px;
  right: 16px;
  background: #B81A20;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
}

body#checkout .payment-option + .additional-information,
body#checkout .payment-option + div.additional-information {
  display: none !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) + .additional-information,
body#checkout .payment-option:has(input[type="radio"]:checked) + div.additional-information {
  display: block !important;
  margin: -8px 0 16px 0 !important;
  padding: 0 22px 18px 96px !important;
  color: #555 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

@media (max-width: 575px) {
  body#checkout .payment-option {
    min-height: 78px !important;
    padding: 16px !important;
  }

  body#checkout .payment-option label {
    font-size: 18px !important;
  }

  body#checkout .payment-option label::before {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked)::after {
    top: 10px;
    right: 10px;
    font-size: 11px;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked) + .additional-information,
  body#checkout .payment-option:has(input[type="radio"]:checked) + div.additional-information {
    padding: 0 16px 16px 16px !important;
  }
}


/* AUTUNEO - Payment icons fixed by option order */
body#checkout .payment-option label::before {
  background-image: none !important;
}

body#checkout .payment-option:nth-of-type(1) label::before {
  background-image: url("/modules/autuneopagomanual/views/img/payment-icons/bank.png") !important;
  background-color: #f4f6f8 !important;
}

body#checkout .payment-option:nth-of-type(2) label::before {
  background-image: url("/modules/autuneopagomanual/views/img/payment-icons/yape.png") !important;
  background-color: #6F1685 !important;
}

body#checkout .payment-option:nth-of-type(3) label::before {
  background-image: url("/modules/autuneopagomanual/views/img/payment-icons/plin.png") !important;
  background-color: #20A6A6 !important;
}


/* AUTUNEO - Payment cards refined final */
body#checkout .payment-option {
  min-height: 92px !important;
  padding: 18px 22px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.045) !important;
  transition: all .18s ease !important;
}

body#checkout .payment-option:hover {
  transform: translateY(-1px);
  border-color: rgba(184,26,32,.28) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.075) !important;
}

body#checkout .payment-option input[type="radio"] {
  width: 23px !important;
  height: 23px !important;
  margin-right: 2px !important;
}

body#checkout .payment-option label {
  font-size: 20px !important;
  font-weight: 900 !important;
  gap: 18px !important;
}

body#checkout .payment-option label::before {
  width: 64px !important;
  height: 64px !important;
  flex: 0 0 64px !important;
  border-radius: 18px !important;
  background-size: 82% !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 8px 18px rgba(0,0,0,.08);
}

/* Banco */
body#checkout .payment-option:nth-of-type(1) label::before {
  background-color: #F3F6F8 !important;
  background-size: 70% !important;
}

/* Yape */
body#checkout .payment-option:nth-of-type(2) label::before {
  background-color: #742282 !important;
  background-size: 88% !important;
}

/* Plin */
body#checkout .payment-option:nth-of-type(3) label::before {
  background-color: #1FA7A8 !important;
  background-size: 88% !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) {
  border-color: #B81A20 !important;
  background: linear-gradient(180deg, rgba(184,26,32,.035), #fff 82%) !important;
  box-shadow:
    0 0 0 1px rgba(184,26,32,.12),
    0 16px 40px rgba(184,26,32,.10) !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked)::after {
  content: "Seleccionado";
  top: 16px !important;
  right: 18px !important;
  background: #B81A20 !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 5px 12px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) label {
  color: #111 !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) input[type="radio"] {
  accent-color: #B81A20 !important;
}

body#checkout .payment-option:has(input[type="radio"]:checked) + .additional-information,
body#checkout .payment-option:has(input[type="radio"]:checked) + div.additional-information {
  margin: -10px 0 16px 0 !important;
  padding: 0 26px 18px 112px !important;
  font-size: 15px !important;
  color: #555 !important;
}

@media (max-width: 575px) {
  body#checkout .payment-option {
    min-height: 82px !important;
    padding: 15px 16px !important;
    border-radius: 16px !important;
  }

  body#checkout .payment-option label {
    font-size: 18px !important;
    gap: 14px !important;
  }

  body#checkout .payment-option label::before {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
    border-radius: 15px !important;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked)::after {
    top: 10px !important;
    right: 10px !important;
  }

  body#checkout .payment-option:has(input[type="radio"]:checked) + .additional-information,
  body#checkout .payment-option:has(input[type="radio"]:checked) + div.additional-information {
    padding: 0 16px 16px 16px !important;
  }
}


/* AUTUNEO - Corrección iconos checkout */

body#checkout .payment-option {
    display:flex !important;
    align-items:center !important;
}

body#checkout .payment-option input[type="radio"]{
    margin:0 18px 0 0 !important;
    align-self:center !important;
    flex-shrink:0 !important;
}

body#checkout .payment-option label{
    display:flex !important;
    align-items:center !important;
    gap:18px !important;
    width:100% !important;
    margin:0 !important;
}

body#checkout .payment-option label::before{
    background-color:transparent !important;
    box-shadow:none !important;
    border:none !important;
}

/* Banco */
body#checkout .payment-option:nth-of-type(1) label::before{
    background-image:url("/modules/autuneopagomanual/views/img/payment-icons/bank.png") !important;
    background-size:contain !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
}

/* Yape */
body#checkout .payment-option:nth-of-type(2) label::before{
    background-image:url("/modules/autuneopagomanual/views/img/payment-icons/yape.png") !important;
    background-size:contain !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
}

/* Plin */
body#checkout .payment-option:nth-of-type(3) label::before{
    background-image:url("/modules/autuneopagomanual/views/img/payment-icons/plin.png") !important;
    background-size:contain !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
}


/* AUTUNEO - Centrar radio checkout */
body#checkout .payment-option {
    display:flex !important;
    align-items:center !important;
}

body#checkout .payment-option input[type="radio"]{
    position:relative !important;
    top:0 !important;
    margin:0 18px 0 0 !important;
    align-self:center !important;
    vertical-align:middle !important;
}

body#checkout .payment-option label{
    display:flex !important;
    align-items:center !important;
    min-height:48px !important;
}


/* AUTUNEO - Radio personalizado centrado en tarjetas de pago */
body#checkout .payment-option {
  position: relative !important;
  padding-left: 78px !important;
}

body#checkout .payment-option input[type="radio"] {
  position: absolute !important;
  left: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  opacity: 0 !important;
  z-index: 2 !important;
  cursor: pointer !important;
}

body#checkout .payment-option::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 1.8px solid #D5DCE3;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

body#checkout .payment-option:has(input[type="radio"]:checked)::before {
  border-color: #B81A20;
  box-shadow: inset 0 0 0 5px #fff;
  background: #B81A20;
}

body#checkout .payment-option label {
  margin-left: 0 !important;
}

@media (max-width: 575px) {
  body#checkout .payment-option {
    padding-left: 62px !important;
  }

  body#checkout .payment-option input[type="radio"],
  body#checkout .payment-option::before {
    left: 20px !important;
  }
}

/* ==========================================================
   AUTUNEO HERO - MOBILE OPTIMIZATION
   ========================================================== */

@media (max-width: 767px) {

  /* Ocultar botones del slider en móvil */
  .autuneo-hero__actions {
    display: none !important;
  }

  /* Compactar contenido */
  .autuneo-hero__content {
    padding-bottom: 0 !important;
  }

  /* Dar más espacio a la imagen */
  .autuneo-hero__visual img {
    max-height: 220px !important;
    width: auto !important;
  }

  /* Reducir altura total */
  .autuneo-hero__slide {
    min-height: auto !important;
  }
}


/* ==========================================================
   AUTUNEO HERO MOBILE COMPACT
   ========================================================== */

@media (max-width: 767px) {

  /* Ocultar eyebrow */
  .autuneo-hero__eyebrow {
    display: none !important;
  }

  /* Título más compacto */
  .autuneo-hero__content h1 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }

  /* Descripción más compacta */
  .autuneo-hero__content p {
    font-size: 14px !important;
    line-height: 1.45 !important;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* ==========================================================
   AUTUNEO HERO MOBILE TUNING V2
   ========================================================== */

@media (max-width: 767px) {

  /* Más ancho para el texto */
  .autuneo-hero__content {
    max-width: 55% !important;
  }

  /* Título más elegante y menos alto */
  .autuneo-hero__content h1 {
    font-size: 44px !important;
    line-height: .95 !important;
    letter-spacing: -.5px;
    margin-bottom: 12px !important;
  }

  /* Descripción más compacta */
  .autuneo-hero__content p {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin-bottom: 0 !important;
  }

  /* Imagen un poco más abajo */
  .autuneo-hero__visual {
    margin-top: 20px !important;
  }

  /* Imagen más grande sin deformarla */
  .autuneo-hero__visual img {
    max-height: 240px !important;
    width: auto !important;
    object-fit: contain !important;
  }
}

/* ==========================================================
   AUTUNEO HERO MOBILE - LAYOUT VERTICAL PREMIUM
   ========================================================== */

@media (max-width: 767px) {

  .autuneo-hero__slide {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-height: auto !important;
    padding: 30px 24px 80px !important;
  }

  .autuneo-hero__content {
    width: 100% !important;
    max-width: 100% !important;
    order: 1 !important;
  }

  .autuneo-hero__content h1 {
    font-size: 42px !important;
    line-height: 1.05 !important;
    margin-bottom: 12px !important;
  }

  .autuneo-hero__content p {
    max-width: 90% !important;
    margin: 0 auto 20px auto !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
  }

  .autuneo-hero__visual {
    order: 2 !important;
    width: 100% !important;
    margin-top: 10px !important;
    display: flex !important;
    justify-content: center !important;
  }

  .autuneo-hero__visual img {
    max-width: 85% !important;
    max-height: 240px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .autuneo-hero__actions {
    display: none !important;
  }

  .autuneo-hero__eyebrow {
    margin-bottom: 10px !important;
  }

  .autuneo-hero__nav {
    top: 55% !important;
  }
}

/* ==========================================================
   AUTUNEO HERO MOBILE COMPACT
   ========================================================== */

@media (max-width: 767px) {

  /* Hero más compacto */
  .autuneo-hero__slide {
    min-height: 360px !important;
    padding-top: 24px !important;
    padding-bottom: 16px !important;
  }

  /* Título más pequeño */
  .autuneo-hero__content h1,
  .autuneo-hero__title {
    font-size: 2.4rem !important;
    line-height: 1.05 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  /* Descripción más compacta */
  .autuneo-hero__content p,
  .autuneo-hero__description {
    font-size: 1rem !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  /* Imagen más pequeña */
  .autuneo-hero__visual img,
  .autuneo-hero__image img {
    max-height: 140px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  /* Menos espacio bajo la imagen */
  .autuneo-hero__visual {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }

  /* Indicadores más cerca */
  .autuneo-hero__dots,
  .autuneo-hero__pagination {
    margin-top: 8px !important;
  }

}

/* AUTUNEO HERO - TITULO MOVIL MAS PEQUEÑO */

@media (max-width: 767px) {

  .autuneo-hero__content h1 {
    font-size: 2rem !important;
    line-height: 1.05 !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE FINAL TUNING
   ========================================================== */

@media (max-width: 767px) {

  /* Título un poco más pequeño */
  .autuneo-hero__content h1,
  .autuneo-hero__title {
    font-size: 1.65rem !important;
    line-height: 1.05 !important;
  }

  /* Texto ligeramente más pequeño */
  .autuneo-hero__content p,
  .autuneo-hero__description {
    font-size: 0.95rem !important;
    line-height: 1.30 !important;
  }

  /* Acercar imagen al bloque de texto */
  .autuneo-hero__visual {
    margin-top: -20px !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE - SUBIR CONTENIDO
   ========================================================== */

@media (max-width: 767px) {

  .autuneo-hero__slide {
    padding-top: 10px !important;
  }

  .autuneo-hero__content {
    margin-top: -30px !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE - COMPACTAR PARTE INFERIOR
   ========================================================== */

@media (max-width: 767px) {

  /* Menos espacio bajo la imagen */
  .autuneo-hero__visual {
    margin-bottom: -15px !important;
  }

  /* Indicadores más cerca de la imagen */
  .autuneo-hero__dots,
  .autuneo-hero__pagination,
  .autuneo-hero__indicators {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
  }

  /* Menos padding inferior del slide */
  .autuneo-hero__slide {
    padding-bottom: 4px !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE - AJUSTE FINAL
   ========================================================== */

@media (max-width: 767px) {

  /* Imagen ligeramente más grande */
  .autuneo-hero__visual img,
  .autuneo-hero__image img {
    max-height: 170px !important;
    width: auto !important;
  }

  /* Subir un poco la imagen */
  .autuneo-hero__visual {
    margin-top: -10px !important;
    margin-bottom: -35px !important;
  }

  /* Acercar indicadores a la imagen */
  .autuneo-hero__dots {
    bottom: 8px !important;
  }

  /* Reducir espacio inferior del slide */
  .autuneo-hero__slide {
    padding-bottom: 0 !important;
    min-height: auto !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE - SUBIR INDICADORES
   ========================================================== */

@media (max-width: 767px) {

  .autuneo-hero__dots,
  .autuneo-hero__pagination,
  .autuneo-hero__indicators {
    margin-top: -20px !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE - AJUSTE FINAL V2
   ========================================================== */

@media (max-width: 767px) {

  /* Imagen un poco más grande */
  .autuneo-hero__visual img,
  .autuneo-hero__image img {
    max-height: 185px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  /* Acercar más la imagen al contenido */
  .autuneo-hero__visual {
    margin-top: -15px !important;
    margin-bottom: -45px !important;
  }

  /* Subir más los indicadores */
  .autuneo-hero__dots,
  .autuneo-hero__pagination,
  .autuneo-hero__indicators {
    margin-top: -35px !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE - COMPACTAR IMAGEN E INDICADORES V3
   ========================================================== */

@media (max-width: 767px) {

  /* Acercar más la imagen al texto */
  .autuneo-hero__visual {
    margin-top: -32px !important;
    margin-bottom: -60px !important;
  }

  /* Imagen ligeramente más grande */
  .autuneo-hero__visual img,
  .autuneo-hero__image img {
    max-height: 200px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  /* Acercar indicadores a la imagen */
  .autuneo-hero__dots,
  .autuneo-hero__pagination,
  .autuneo-hero__indicators {
    margin-top: -50px !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE - AJUSTE FINO EXTRA
   ========================================================== */

@media (max-width: 767px) {

  /* Imagen más cerca del texto */
  .autuneo-hero__visual {
    margin-top: -50px !important;
  }

  /* Indicadores más cerca de la imagen */
  .autuneo-hero__dots,
  .autuneo-hero__pagination,
  .autuneo-hero__indicators {
    margin-top: -70px !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE - AJUSTE FINO FINAL
   ========================================================== */

@media (max-width: 767px) {

  /* Alejar ligeramente la imagen del texto */
  .autuneo-hero__visual {
    margin-top: -40px !important;
  }

  /* Acercar bastante más los indicadores a la imagen */
  .autuneo-hero__dots,
  .autuneo-hero__pagination,
  .autuneo-hero__indicators {
    margin-top: -100px !important;
  }

}

/* ==========================================================
   AUTUNEO HERO MOBILE - INDICADORES MAS CERCA
   ========================================================== */

@media (max-width: 767px) {

  .autuneo-hero__dots,
  .autuneo-hero__pagination,
  .autuneo-hero__indicators {
    margin-top: -130px !important;
  }

}
