/* AUTUNEO Premium Checkout Summary */
.autuneo-checkout-summary {
  border: 0;
}

.autuneo-summary-address,
.autuneo-summary-card {
  background: #fff;
  border: 1px solid rgba(26,26,26,.08);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(26,26,26,.08);
}

.autuneo-summary-address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  margin-bottom: 14px;
}

.autuneo-summary-address__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(184,26,32,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.autuneo-summary-address__body {
  flex: 1;
  min-width: 0;
}

.autuneo-summary-address__label,
.autuneo-summary-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #B81A20;
}

.autuneo-summary-address__title {
  font-weight: 800;
  color: #1A1A1A;
}

.autuneo-summary-address__text {
  font-size: 13px;
  color: #555;
  line-height: 1.35;
  margin-top: 2px;
}

.autuneo-summary-address__change {
  border: 0;
  background: transparent;
  color: #B81A20;
  font-weight: 800;
  padding: 0;
  white-space: nowrap;
}

.autuneo-summary-card {
  padding: 16px;
}

.autuneo-summary-card__head {
  margin-bottom: 12px;
}

.autuneo-summary-card__head h3 {
  font-size: 18px;
  margin: 2px 0 0;
  font-weight: 900;
  color: #1A1A1A;
}

.autuneo-summary-card .cart-summary__line {
  padding: 10px 0;
  border-bottom: 1px solid rgba(26,26,26,.07);
}

.autuneo-summary-card .cart-summary__line--bold {
  border-bottom: 0;
  padding-top: 14px;
}

.autuneo-summary-card .cart-summary__line--bold .cart-summary__value {
  color: #B81A20;
  font-size: 22px;
  font-weight: 900;
}

.autuneo-summary-trust {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(26,26,26,.07);
  font-size: 12px;
  font-weight: 700;
  color: #333;
}

.autuneo-summary-trust span::before {
  content: "✓";
  color: #B81A20;
  font-weight: 900;
  margin-right: 6px;
}

@media (min-width: 992px) {
  .checkout-grid__aside-wrapper {
    position: sticky;
    top: 96px;
  }
}

/* AUTUNEO Premium Address Cards */
.autuneo-address-card {
  border: 1px solid rgba(26,26,26,.10) !important;
  border-radius: 18px !important;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26,26,26,.06);
  margin-bottom: 14px;
  overflow: hidden;
}

.autuneo-address-card.selected {
  border-color: #B81A20 !important;
  box-shadow: 0 12px 34px rgba(184,26,32,.10);
}

.autuneo-address-card__container {
  display: grid !important;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  padding: 16px !important;
  cursor: pointer;
}

.autuneo-address-card__radio {
  margin-top: 5px;
}

.autuneo-address-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(184,26,32,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.autuneo-address-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 5px;
}

.autuneo-address-card__alias {
  font-size: 18px;
  font-weight: 900;
  color: #1A1A1A;
}

.autuneo-address-card__badge {
  font-size: 11px;
  font-weight: 800;
  color: #B81A20;
  background: rgba(184,26,32,.08);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}

.autuneo-address-card__content {
  font-size: 14px;
  line-height: 1.35;
  color: #444;
  margin: 0;
}

.autuneo-address-card__actions {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .autuneo-address-card__container {
    grid-template-columns: auto 1fr;
  }

  .autuneo-address-card__icon {
    display: none;
  }

  .autuneo-address-card__top {
    align-items: flex-start;
  }

  .autuneo-address-card__badge {
    margin-top: 3px;
  }
}

/* AUTUNEO summary-first checkout flow */
.autuneo-summary-continue {
  width: 100%;
  margin-top: 18px;
  border-radius: 14px;
  font-weight: 900;
  min-height: 52px;
  background: #B81A20;
  border-color: #B81A20;
}

.autuneo-summary-continue:hover {
  background: #D61F26;
  border-color: #D61F26;
}

.autuneo-summary-continue .material-icons {
  font-size: 20px;
  vertical-align: middle;
  margin-left: 4px;
}

@media (max-width: 991px) {
  .checkout-grid__aside {
    order: -1;
  }

  .checkout-grid__content {
    order: 2;
  }
}

/* AUTUNEO: forzar resumen primero en mobile */
@media (max-width: 991px) {
  .checkout-grid.row {
    display: flex !important;
    flex-direction: column !important;
  }

  .checkout-grid__aside {
    order: -10 !important;
    width: 100% !important;
  }

  .checkout-grid__content {
    order: 20 !important;
    width: 100% !important;
  }

  body:not(.autuneo-show-address-selector) #checkout-addresses-step {
    display: none !important;
  }

  body.autuneo-show-address-selector #checkout-addresses-step {
    display: block !important;
  }

  .autuneo-summary-continue {
    width: 100% !important;
  }
}

/* AUTUNEO: resumen primero real en mobile */
@media (max-width: 991px) {
  .checkout-grid__aside {
    display: none !important;
  }

  body:not(.autuneo-show-address-selector) #checkout-addresses-step {
    display: none !important;
  }

  body.autuneo-show-address-selector #checkout-addresses-step {
    display: block !important;
  }

  .autuneo-mobile-summary-first {
    margin-bottom: 18px;
  }
}

/* AUTUNEO Checkout Mobile Clean */

body#checkout @media (max-width: 991px) {
}

/* Reassurance */
@media (max-width: 991px) {
  body#checkout .blockreassurance,
  body#checkout .block-reassurance,
  body#checkout #block-reassurance {
    display: none !important;
  }

  /* Newsletter */
  body#checkout #blockEmailSubscription_displayFooterBefore,
  body#checkout .block_newsletter,
  body#checkout .footer-before {
    display: none !important;
  }

  /* Footer completo */
  body#checkout footer,
  body#checkout #footer,
  body#checkout .footer-container {
    display: none !important;
  }
}

/* AUTUNEO checkout as cart view */
body#checkout .checkout-navigation,
body#checkout .checkout-progress,
body#checkout .checkout-step-navigation {
  display: none !important;
}

body#checkout #checkout-delivery-step .step__title,
body#checkout #checkout-addresses-step .step__title {
  display: none !important;
}

body#checkout .autuneo-mobile-summary-first::before {
  content: "Carrito";
  display: block;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 900;
  color: #1A1A1A;
  margin: 22px 0 18px;
}

body#checkout .autuneo-summary-continue {
  font-size: 0 !important;
}

body#checkout .autuneo-summary-continue::before {
  content: "Finalizar compra";
  font-size: 18px;
}

body#checkout .autuneo-summary-continue .material-icons {
  font-size: 22px !important;
}

/* AUTUNEO ajuste fino carrito checkout mobile */
@media (max-width: 991px) {
  body#checkout .columns-container {
    padding-top: 0 !important;
  }

  body#checkout .autuneo-mobile-summary-first::before {
    margin: 14px 0 16px !important;
  }

  body#checkout .autuneo-summary-address {
    margin-bottom: 12px !important;
  }

  body#checkout .autuneo-summary-card {
    margin-bottom: 12px !important;
  }
}

/* AUTUNEO: quitar espacio vacío de navegación checkout en mobile */
@media (max-width: 991px) {
  body#checkout .checkout-steps {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body#checkout .columns-container,
  body#checkout #center-column {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* AUTUNEO: eliminar espacio superior real del checkout mobile */
@media (max-width: 991px) {
  body#checkout .checkout-navigation,
  body#checkout .checkout-steps,
  body#checkout .checkout-steps__mobile {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body#checkout main,
  body#checkout #wrapper,
  body#checkout .columns-container,
  body#checkout #center-column,
  body#checkout .center-column,
  body#checkout .page--full-width {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body#checkout .checkout-grid,
  body#checkout .checkout-grid__content,
  body#checkout .tab-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* AUTUNEO SAFE: bloque de control de pantalla retirado */

/* AUTUNEO desktop cart premium */
@media (min-width: 992px) {
  .autuneo-cart-page {
    padding: 28px 0 40px;
  }

  .autuneo-cart-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 18px;
  }

  .autuneo-cart-address {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(26,26,26,.08);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(26,26,26,.08);
    padding: 18px 22px;
    margin-bottom: 24px;
  }

  .autuneo-cart-address__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(184,26,32,.08);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .autuneo-cart-address__label {
    color: #B81A20;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .autuneo-cart-address__title {
    font-size: 20px;
    font-weight: 800;
    color: #1A1A1A;
  }

  .autuneo-cart-address__text {
    color: #666;
    font-size: 14px;
  }

  .autuneo-cart-address__change {
    margin-left: auto;
    color: #B81A20;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
  }

  .autuneo-cart-products-card,
  .autuneo-cart-summary-box {
    background: #fff;
    border: 1px solid rgba(26,26,26,.08);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(26,26,26,.08);
  }

  .autuneo-cart-products-card {
    padding: 0 24px 22px;
  }

  .autuneo-cart-seller {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(26,26,26,.10);
    font-size: 16px;
  }

  .autuneo-cart-seller__check {
    background: #1A1A1A;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
  }

  .autuneo-cart-products-card .cart__overview hr {
    display: none;
  }

  .autuneo-cart-products-card .cart__item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(26,26,26,.10);
  }

  .autuneo-cart-summary-box {
    position: sticky;
    top: 105px;
    padding: 24px;
  }

  .autuneo-cart-summary-box h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 22px;
  }

  .autuneo-cart-summary-box .cart-summary__line {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(26,26,26,.10);
    font-size: 16px;
  }

  .autuneo-cart-summary-box .cart-summary__line--bold {
    font-size: 18px;
    font-weight: 800;
  }

  .autuneo-cart-summary-box .cart-summary__line--bold .cart-summary__value {
    color: #B81A20;
    font-size: 26px;
    font-weight: 900;
  }

  .autuneo-cart-summary-box .btn-primary {
    width: 100%;
    border-radius: 999px;
    background: #B81A20;
    border-color: #B81A20;
    font-size: 20px;
    font-weight: 800;
    padding: 15px 20px;
    margin-top: 16px;
  }

  .autuneo-cart-summary-box .btn-primary:hover {
    background: #D61F26;
    border-color: #D61F26;
  }
}

/* AUTUNEO: métodos de envío premium */
body#checkout .delivery-options__list {
  display: grid;
  gap: 14px;
}

body#checkout .delivery-option__item {
  background: #fff;
  border: 1px solid rgba(26,26,26,.12);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(26,26,26,.06);
  overflow: hidden;
  transition: all .18s ease;
}

body#checkout .delivery-option__item:hover {
  border-color: rgba(184,26,32,.45);
  box-shadow: 0 14px 34px rgba(184,26,32,.10);
  transform: translateY(-1px);
}

body#checkout .delivery-option__item:has(.form-check-input:checked) {
  border-color: #B81A20;
  box-shadow: 0 16px 38px rgba(184,26,32,.14);
}

body#checkout .delivery-option__label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
}

body#checkout .delivery-option__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body#checkout .delivery-option__check {
  padding-left: 0;
}

body#checkout .delivery-option__check .form-check-input {
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid rgba(26,26,26,.35);
}

body#checkout .delivery-option__check .form-check-input:checked {
  background-color: #B81A20;
  border-color: #B81A20;
}

body#checkout .delivery-option__carrier-name {
  color: #1A1A1A;
  font-size: 17px;
  font-weight: 800;
}

body#checkout .delivery-option__content {
  grid-column: 1 / -1;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
  padding-left: 32px;
}

body#checkout .delivery-option__price {
  color: #B81A20;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
  text-align: right;
}

body#checkout .delivery-option__extra-content {
  padding: 0 18px 18px 50px;
}

@media (max-width: 767px) {
  body#checkout .delivery-option__label {
    grid-template-columns: 1fr;
  }

  body#checkout .delivery-option__price {
    text-align: left;
    padding-left: 32px;
  }
}

/* AUTUNEO SAFE: bloque de control de pantalla retirado */

body#checkout .autuneo-delivery-method-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

body#checkout .autuneo-delivery-method-actions .btn-primary {
  background: #B81A20;
  border-color: #B81A20;
  font-weight: 800;
}

@media (max-width: 768px) {
  body#checkout .autuneo-delivery-method-actions {
    flex-direction: column-reverse;
  }

  body#checkout .autuneo-delivery-method-actions .btn {
    width: 100%;
  }
}

/* AUTUNEO: checkout desktop/mobile sin barra superior y primera pantalla resumen */
body#checkout .checkout-navigation {
  display: none !important;
}

/* AUTUNEO SAFE: bloque de control de pantalla retirado */

body#checkout .autuneo-checkout-first-screen {
  max-width: 1120px;
  margin: 34px auto 48px;
}

body#checkout .autuneo-checkout-first-main .checkout-grid__aside-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

body#checkout .autuneo-checkout-first-main .autuneo-summary-address {
  min-height: 0 !important;
  padding: 14px 20px !important;
  border-radius: 18px !important;
}

body#checkout .autuneo-checkout-first-main .autuneo-summary-address__icon {
  width: 38px !important;
  height: 38px !important;
}

body#checkout .autuneo-checkout-first-main .autuneo-summary-address__label {
  font-size: 12px !important;
}

body#checkout .autuneo-checkout-first-main .autuneo-summary-address__title {
  font-size: 18px !important;
}

body#checkout .autuneo-checkout-first-main .autuneo-summary-address__text {
  font-size: 14px !important;
}

body#checkout .autuneo-checkout-first-main .autuneo-summary-card {
  padding: 24px !important;
}

body#checkout .autuneo-checkout-first-main .checkout-grid__aside-wrapper {
  max-width: 820px;
}

@media (min-width: 992px) {
  body#checkout .autuneo-checkout-first-main {
    display: block;
  }
}


/* =====================================================
   AUTUNEO CHECKOUT - BLOQUE FINAL LIMPIO
   ===================================================== */

body#checkout .checkout-navigation,
body#checkout .checkout-steps,
body#checkout .checkout-steps__desktop,
body#checkout .checkout-steps__mobile {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body#checkout main,
body#checkout #main,
body#checkout .columns-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* AUTUNEO SAFE: bloque de control de pantalla retirado */

body#checkout .autuneo-checkout-first-screen {
  max-width: 1220px;
  margin: 30px auto 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: start;
}

body#checkout .autuneo-checkout-first-left .checkout__summary-accordion-header {
  display: none !important;
}

body#checkout .autuneo-checkout-first-left .checkout__summary-accordion,
body#checkout .autuneo-checkout-first-left .checkout__summary-accordion-item {
  border: 0 !important;
  background: transparent !important;
}

/* Dirección */
body#checkout .autuneo-summary-address__label {
  display: none !important;
}

body#checkout .autuneo-summary-address {
  min-height: 58px !important;
  padding: 10px 20px !important;
  margin-bottom: 14px !important;
  border-radius: 18px !important;
}

body#checkout .autuneo-summary-address__icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
}

body#checkout .autuneo-summary-address__title {
  font-size: 18px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

body#checkout .autuneo-summary-address__text {
  font-size: 14px !important;
  line-height: 1.15 !important;
}

body#checkout .autuneo-summary-address__change {
  font-size: 17px !important;
  font-weight: 900 !important;
}

/* Resumen izquierdo */
body#checkout .autuneo-checkout-first-left .autuneo-summary-card {
  border-radius: 18px !important;
  padding: 24px !important;
}

body#checkout .autuneo-checkout-first-left .autuneo-summary-card__eyebrow {
  color: #B81A20 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
}

body#checkout .autuneo-checkout-first-left .autuneo-summary-card__head h3 {
  font-size: 24px !important;
  font-weight: 900 !important;
}

body#checkout .autuneo-checkout-first-left #cart-summary-product-list {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
}

body#checkout .autuneo-checkout-first-left .autuneo-summary-continue {
  display: none !important;
}

/* Producto izquierdo */
body#checkout .autuneo-checkout-first-left .cart-summary__product {
  padding: 0 !important;
  margin: 18px 0 22px !important;
}

body#checkout .autuneo-checkout-first-left .cart-summary-product {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  align-items: center !important;
  padding: 14px !important;
  border: 1px solid rgba(26,26,26,.10) !important;
  border-radius: 14px !important;
  background: #fff !important;
}

body#checkout .autuneo-checkout-first-left .cart-summary-product__image {
  width: 78px !important;
  height: 78px !important;
  border: 1px solid rgba(26,26,26,.08) !important;
  border-radius: 12px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

body#checkout .autuneo-checkout-first-left .cart-summary-product__img {
  max-width: 70px !important;
  max-height: 70px !important;
  object-fit: contain !important;
}

body#checkout .autuneo-checkout-first-left .cart-summary-product__info {
  min-width: 0 !important;
}

body#checkout .autuneo-checkout-first-left .cart-summary-product__link {
  color: #1A1A1A !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body#checkout .autuneo-checkout-first-left .cart-summary-product__quantity {
  color: #666 !important;
  font-size: 13px !important;
  margin-top: 6px !important;
}

body#checkout .autuneo-checkout-first-left .cart-summary-product__total {
  color: #1A1A1A !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  align-self: start !important;
  padding-top: 2px !important;
}

@media (max-width: 767px) {
  body#checkout .autuneo-checkout-first-left .cart-summary-product {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body#checkout .autuneo-checkout-first-left .cart-summary-product__image {
    width: 66px !important;
    height: 66px !important;
  }

  body#checkout .autuneo-checkout-first-left .cart-summary-product__img {
    max-width: 60px !important;
    max-height: 60px !important;
  }

  body#checkout .autuneo-checkout-first-left .cart-summary-product__total {
    grid-column: 2 !important;
    justify-self: start !important;
  }
}

/* Sidebar derecho */
body#checkout .autuneo-side-info-card {
  position: sticky;
  top: 105px;
  background: #fff;
  border: 1px solid rgba(26,26,26,.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(26,26,26,.08);
  padding: 24px;
}

body#checkout .autuneo-side-info-card__eyebrow {
  color: #B81A20;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
  margin-bottom: 22px;
}

body#checkout .autuneo-side-info-card .cart-summary__products-number,
body#checkout .autuneo-side-info-card .cart-summary__products-list,
body#checkout .autuneo-side-info-card .cart-summary__products hr {
  display: none !important;
}

body#checkout .autuneo-side-info-card .accordion-button {
  padding: 0 0 18px !important;
  font-weight: 800 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#checkout .autuneo-side-info-card .cart-summary__line {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(26,26,26,.12);
}

body#checkout .autuneo-side-info-card .cart-summary__line--bold {
  padding-top: 22px;
  font-weight: 900;
}

body#checkout .autuneo-side-info-card .cart-summary__line--bold .cart-summary__value {
  color: #B81A20;
  font-size: 28px;
  font-weight: 900;
}

body#checkout .autuneo-side-info-card__trust .autuneo-summary-trust {
  display: grid !important;
  gap: 12px !important;
  margin: 20px 0 !important;
}

body#checkout .autuneo-side-continue {
  width: 100%;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 900;
  background: #B81A20;
  border-color: #B81A20;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

@media (max-width: 991px) {
  body#checkout .autuneo-checkout-first-screen {
    display: block;
    margin: 20px 14px 36px;
  }

  body#checkout .autuneo-side-info-card {
    position: static;
    margin-top: 18px;
  }
}


/* AUTUNEO: producto resumen orden - selector real */
body#checkout .autuneo-summary-products__list .cart-summary__product {
  padding: 0 !important;
  margin: 18px 0 22px !important;
}

body#checkout .autuneo-summary-products__list .cart-summary-product {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  align-items: center !important;
  padding: 14px !important;
  border: 1px solid rgba(26,26,26,.10) !important;
  border-radius: 14px !important;
  background: #fff !important;
}

body#checkout .autuneo-summary-products__list .cart-summary-product__image {
  width: 82px !important;
  height: 82px !important;
  border: 1px solid rgba(26,26,26,.08) !important;
  border-radius: 12px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body#checkout .autuneo-summary-products__list .cart-summary-product__img {
  max-width: 74px !important;
  max-height: 74px !important;
  object-fit: contain !important;
}

body#checkout .autuneo-summary-products__list .cart-summary-product__info {
  min-width: 0 !important;
}

body#checkout .autuneo-summary-products__list .cart-summary-product__link {
  color: #1A1A1A !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

body#checkout .autuneo-summary-products__list .cart-summary-product__quantity {
  color: #555 !important;
  font-size: 13px !important;
  margin-top: 6px !important;
}

body#checkout .autuneo-summary-products__list .cart-summary-product__total {
  color: #1A1A1A !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  align-self: start !important;
}

/* AUTUNEO: producto resumen con estilo fila carrito */
body#checkout .autuneo-summary-products__list .cart-summary__product {
  padding: 0 !important;
  margin: 18px 0 22px !important;
}

body#checkout .autuneo-summary-product-line {
  display: grid !important;
  grid-template-columns: 140px minmax(0, 1fr) 150px !important;
  gap: 26px !important;
  align-items: center !important;
  padding: 18px 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  min-height: 132px !important;
}

body#checkout .autuneo-summary-product-line__image {
  width: 120px !important;
  height: 120px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body#checkout .autuneo-summary-product-line__img {
  max-width: 110px !important;
  max-height: 110px !important;
  object-fit: contain !important;
}

body#checkout .autuneo-summary-product-line__title {
  color: #1A1A1A !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 6px !important;
}

body#checkout .autuneo-summary-product-line__attribute,
body#checkout .autuneo-summary-product-line__quantity {
  color: #444 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

body#checkout .autuneo-summary-product-line__price {
  color: #B81A20 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-align: right !important;
  align-self: center !important;
}

@media (max-width: 767px) {
  body#checkout .autuneo-summary-product-line {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    gap: 14px !important;
    min-height: auto !important;
    padding: 14px 0 !important;
  }

  body#checkout .autuneo-summary-product-line__image {
    width: 78px !important;
    height: 78px !important;
  }

  body#checkout .autuneo-summary-product-line__img {
    max-width: 72px !important;
    max-height: 72px !important;
  }

  body#checkout .autuneo-summary-product-line__price {
    grid-column: 2 !important;
    text-align: left !important;
    font-size: 18px !important;
  }
}


/* AUTUNEO: fuente oculta para totales del sidebar */
body#checkout .autuneo-checkout-first-left .autuneo-summary-sidebar-source {
  display: none !important;
}

/* AUTUNEO SAFE: bloque de control de pantalla retirado */

/* =====================================================
   AUTUNEO - CART HEADER COMPACTO
   ===================================================== */

body#checkout .autuneo-summary-card__eyebrow,
body#checkout .autuneo-summary-card__head h3 {
    display:none !important;
}

body#checkout .autuneo-summary-products__count {
    display:block !important;
    margin:0 0 18px 0 !important;
    padding:0 !important;
    font-size:18px !important;
    font-weight:700 !important;
    color:#1A1A1A !important;
}

body#checkout .autuneo-summary-products__count::before {
    content:"Carrito: ";
    color:#B81A20;
    font-weight:900;
}

body#checkout .autuneo-summary-card {
    padding-top:18px !important;
}

body#checkout .autuneo-summary-products {
    margin-top:0 !important;
}

body#checkout .autuneo-summary-products__list {
    margin-top:8px !important;
}

body#checkout .autuneo-summary-product-line {
    min-height:120px !important;
    padding:18px 22px !important;
}

body#checkout .autuneo-summary-product-line__image {
    width:96px !important;
    height:96px !important;
}

body#checkout .autuneo-summary-product-line__img {
    max-width:88px !important;
    max-height:88px !important;
}

body#checkout .autuneo-summary-product-line__title {
    font-size:18px !important;
    line-height:1.25 !important;
}

body#checkout .autuneo-summary-product-line__quantity {
    margin-top:6px !important;
    font-size:14px !important;
}

body#checkout .autuneo-summary-product-line__price {
    font-size:22px !important;
    font-weight:900 !important;
}


/* =====================================================
   AUTUNEO: checkout step 3 con diseño tipo carrito
   ===================================================== */

body#checkout .autuneo-checkout-cartlike {
  max-width: 1180px !important;
  margin: 34px auto 56px !important;
}

body#checkout .autuneo-checkout-cartlike__title {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #1A1A1A !important;
  margin: 0 0 22px !important;
}

body#checkout .autuneo-checkout-cartlike__address {
  margin-bottom: 22px !important;
}

body#checkout .autuneo-checkout-cartlike__address .autuneo-summary-address {
  width: 100% !important;
  min-height: 78px !important;
  margin-bottom: 0 !important;
  padding: 16px 22px !important;
}

body#checkout .autuneo-checkout-cartlike__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 24px !important;
  align-items: start !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-card {
  border-radius: 18px !important;
  padding: 28px !important;
  min-height: auto !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-card__head {
  display: none !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-products__count {
  font-size: 20px !important;
  font-weight: 800 !important;
  margin-bottom: 26px !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-products__count::before {
  content: "Carrito: ";
  color: #B81A20;
  font-weight: 900;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) 150px !important;
  gap: 28px !important;
  align-items: center !important;
  min-height: 132px !important;
  padding: 16px 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line + .autuneo-summary-product-line {
  border-top: 1px solid rgba(26,26,26,.10) !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__image {
  width: 118px !important;
  height: 118px !important;
  border: 0 !important;
  background: transparent !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__img {
  max-width: 110px !important;
  max-height: 110px !important;
  object-fit: contain !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__title {
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  color: #1A1A1A !important;
  text-decoration: none !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__quantity {
  font-size: 15px !important;
  color: #555 !important;
  margin-top: 8px !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__price {
  color: #B81A20 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-side-info-card {
  position: sticky !important;
  top: 100px !important;
  border-radius: 18px !important;
  padding: 24px !important;
}

body#checkout .autuneo-side-info-card__title {
  font-size: 24px !important;
  font-weight: 900 !important;
  margin: 0 0 24px !important;
  color: #1A1A1A !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-side-info-card__eyebrow {
  display: none !important;
}

@media (max-width: 991px) {
  body#checkout .autuneo-checkout-cartlike {
    margin: 20px 14px 36px !important;
  }

  body#checkout .autuneo-checkout-cartlike__grid {
    display: block !important;
  }

  body#checkout .autuneo-checkout-first-right {
    margin-top: 18px !important;
  }
}

@media (max-width: 767px) {
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 14px !important;
    min-height: auto !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__image {
    width: 72px !important;
    height: 72px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__img {
    max-width: 66px !important;
    max-height: 66px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__price {
    grid-column: 2 !important;
    text-align: left !important;
    font-size: 18px !important;
  }
}

/* AUTUNEO FIX: checkout tipo carrito en bloque normal */
body#checkout .autuneo-checkout-first-screen.autuneo-checkout-cartlike {
  display: block !important;
  grid-template-columns: none !important;
  max-width: 1180px !important;
  margin: 34px auto 56px !important;
}

body#checkout .autuneo-checkout-cartlike__title {
  display: block !important;
  width: 100% !important;
}

body#checkout .autuneo-checkout-cartlike__address {
  display: block !important;
  width: 100% !important;
  margin: 0 0 22px 0 !important;
}

body#checkout .autuneo-checkout-cartlike__address .autuneo-summary-address {
  width: 100% !important;
  max-width: none !important;
}

body#checkout .autuneo-checkout-cartlike__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 24px !important;
  align-items: start !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-checkout-first-left {
  min-width: 0 !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-card {
  width: 100% !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line {
  grid-template-columns: 140px minmax(0, 1fr) 160px !important;
  width: 100% !important;
}

@media (max-width: 991px) {
  body#checkout .autuneo-checkout-cartlike__grid {
    display: block !important;
  }
}

/* AUTUNEO CHECKOUT - CONTROLES A LA DERECHA */
body#checkout .autuneo-summary-product-line {
  display: grid !important;
  grid-template-columns: 120px minmax(0,1fr) 220px !important;
  gap: 24px !important;
  align-items: center !important;
}

body#checkout .autuneo-summary-product-line__info {
  min-width: 0 !important;
}

body#checkout .autuneo-summary-product-line__quantity {
  display: none !important;
}

body#checkout .autuneo-summary-product-line__actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 12px !important;
}

body#checkout .autuneo-summary-product-line__price {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #B81A20 !important;
  line-height: 1 !important;
  text-align: right !important;
}

body#checkout .autuneo-summary-product-line__qty {
  width: 140px !important;
}

body#checkout .autuneo-summary-product-line__remove {
  color: #B81A20 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

body#checkout .autuneo-summary-product-line__remove:hover {
  color: #D61F26 !important;
}

body#checkout .autuneo-summary-product-line__title {
  max-width: 520px !important;
}

@media (max-width: 991px) {
  body#checkout .autuneo-summary-product-line {
    grid-template-columns: 90px minmax(0,1fr) !important;
  }

  body#checkout .autuneo-summary-product-line__actions {
    grid-column: 2 !important;
    align-items: flex-start !important;
    margin-top: 10px !important;
  }

  body#checkout .autuneo-summary-product-line__price {
    text-align: left !important;
  }
}

/* AUTUNEO: ocultar dirección en checkout tipo carrito */
body#checkout .autuneo-summary-address {
  display: none !important;
}

/* =====================================================
   AUTUNEO MOBILE CART/CHECKOUT FINAL V4
   Solo mobile/tablet chica - desktop intacto
   ===================================================== */

@media (max-width: 991px) {
  body#checkout .columns-container.container,
  body#checkout #center-column,
  body#checkout .page--full-width {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body#checkout .autuneo-checkout-first-screen.autuneo-checkout-cartlike {
    display: block !important;
    max-width: none !important;
    width: 100% !important;
    margin: 8px 0 92px !important;
    padding: 0 8px !important;
  }

  body#checkout .autuneo-checkout-cartlike__title {
    font-size: 21px !important;
    line-height: 1.15 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike__grid {
    display: block !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-products,
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-products__list {
    margin: 0 !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-products__list {
    display: grid !important;
    gap: 8px !important;
  }

  body#checkout .autuneo-checkout-cartlike .cart-summary__product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
    background: #fff !important;
    border: 1px solid rgba(26,26,26,.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 22px rgba(26,26,26,.08) !important;
    overflow: hidden !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-areas:
      "img info"
      "price controls" !important;
    gap: 7px 8px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__image {
    grid-area: img !important;
    width: 54px !important;
    height: 54px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__img {
    max-width: 52px !important;
    max-height: 52px !important;
    object-fit: contain !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__info {
    grid-area: info !important;
    min-width: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
    color: #1A1A1A !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__attribute {
    display: none !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__actions {
    grid-area: price / price / controls / controls !important;
    display: grid !important;
    grid-template-columns: 1fr 108px !important;
    gap: 5px 8px !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__price {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    color: #B81A20 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-align: left !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty {
    grid-column: 2 !important;
    width: 108px !important;
    justify-self: end !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .quantity-button__group {
    display: grid !important;
    grid-template-columns: 34px 40px 34px !important;
    width: 108px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .btn,
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .js-cart-line-product-quantity {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__remove {
    grid-column: 2 !important;
    justify-self: end !important;
    color: #B81A20 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  body#checkout .autuneo-side-info-card {
    display: none !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    background: #fff !important;
    border-top: 1px solid rgba(26,26,26,.10) !important;
    box-shadow: 0 -12px 28px rgba(26,26,26,.14) !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total {
    flex: 1 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    color: #1A1A1A !important;
    line-height: 1.15 !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total span {
    display: block !important;
    color: #B81A20 !important;
    font-size: 21px !important;
    font-weight: 900 !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__btn {
    background: #B81A20 !important;
    border-color: #B81A20 !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: 13px 18px !important;
    font-weight: 900 !important;
    min-width: 132px !important;
  }
}

@media (min-width: 992px) {
  body#checkout .autuneo-mobile-sticky-checkout {
    display: none !important;
  }
}


/* AUTUNEO MOBILE - ajustes título, precio, cantidad y subtotal */
@media (max-width: 991px) {
  body#checkout .autuneo-mobile-cart-titlebar {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    background: #fff !important;
    display: grid !important;
    grid-template-columns: 44px 1fr 44px !important;
    align-items: center !important;
    min-height: 48px !important;
    margin: 0 -8px 8px !important;
    padding: 0 8px !important;
    border-bottom: 1px solid rgba(26,26,26,.08) !important;
  }

  body#checkout .autuneo-mobile-cart-back {
    border: 0 !important;
    background: transparent !important;
    color: #1A1A1A !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-mobile-cart-titlebar .autuneo-checkout-cartlike__title {
    grid-column: 2 !important;
    text-align: center !important;
    font-size: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__actions {
    grid-template-columns: 1fr 108px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__price {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    justify-self: start !important;
    text-align: left !important;
    padding-left: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty {
    grid-column: 2 !important;
    justify-self: end !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .quantity-button__group {
    display: grid !important;
    grid-template-columns: 34px 40px 34px !important;
    width: 108px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .js-cart-line-product-quantity {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 40px !important;
    min-width: 40px !important;
    color: #1A1A1A !important;
    background: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .btn {
    width: 34px !important;
    min-width: 34px !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total {
    text-transform: none !important;
  }
}

/* AUTUNEO MOBILE - barra carrito fija y subtotal en una línea */
@media (max-width: 991px) {
  body#checkout .autuneo-mobile-cart-titlebar {
    position: sticky !important;
    top: 0 !important;
    z-index: 9998 !important;
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(26,26,26,.06) !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total span {
    display: inline !important;
    font-size: 22px !important;
  }
}

/* AUTUNEO MOBILE - refinamiento barra, eliminar y subtotal */
@media (max-width: 991px) {
  body#checkout .autuneo-mobile-cart-titlebar {
    top: 0 !important;
    min-height: 54px !important;
    margin: 0 -8px 10px !important;
    padding: 0 10px !important;
    border-bottom: 1px solid rgba(26,26,26,.10) !important;
    box-shadow: 0 8px 20px rgba(26,26,26,.08) !important;
  }

  body#checkout .autuneo-mobile-cart-titlebar .autuneo-checkout-cartlike__title {
    font-size: 19px !important;
    line-height: 1.1 !important;
  }

  body#checkout .autuneo-mobile-cart-back {
    font-size: 30px !important;
  }

  body#checkout .autuneo-summary-product-line__remove {
    justify-self: center !important;
    text-align: center !important;
    width: 108px !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total {
    font-size: 16px !important;
    gap: 6px !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total span {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__btn {
    min-width: 128px !important;
    padding: 12px 16px !important;
    font-size: 17px !important;
  }
}

/* AUTUNEO - ocultar flecha volver en desktop */
@media (min-width: 992px) {
  body#checkout .autuneo-mobile-cart-back,
  body#cart .autuneo-mobile-cart-back {
    display: none !important;
  }

  body#checkout .autuneo-mobile-cart-titlebar,
  body#cart .autuneo-mobile-cart-titlebar {
    display: block !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body#checkout .autuneo-mobile-cart-titlebar .autuneo-checkout-cartlike__title,
  body#cart .autuneo-mobile-cart-titlebar .autuneo-checkout-cartlike__title {
    text-align: left !important;
  }
}



/* =====================================================
   AUTUNEO DESKTOP FINAL - carrito checkout
   Solo desktop - NO toca mobile
   ===================================================== */

@media (min-width: 992px) {
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-products__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .cart-summary__product {
    position: relative !important;
    margin: 0 !important;
    padding: 24px 24px 28px !important;
    background: #fff !important;
    border: 1px solid rgba(26,26,26,.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(26,26,26,.08) !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line {
    display: grid !important;
    grid-template-columns: 140px minmax(0,1fr) 150px !important;
    gap: 24px !important;
    align-items: center !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__image {
    grid-column: 1 !important;
    justify-self: center !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__info {
    grid-column: 2 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__actions {
    grid-column: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__price {
    position: absolute !important;
    left: 48px !important;
    bottom: 24px !important;
    color: #B81A20 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty {
    width: 112px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .quantity-button__group {
    display: grid !important;
    grid-template-columns: 34px 44px 34px !important;
    width: 112px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .js-cart-line-product-quantity {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 44px !important;
    min-width: 44px !important;
    color: #1A1A1A !important;
    background: #fff !important;
    text-align: center !important;
    font-weight: 700 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__remove {
    width: 112px !important;
    text-align: center !important;
    color: #B81A20 !important;
    font-weight: 800 !important;
  }

  body#checkout .autuneo-side-info-card #cart-subtotal-shipping,
  body#checkout .autuneo-side-info-card .cart-summary__total,
  body#checkout .autuneo-side-info-card__trust {
    display: none !important;
  }

  body#checkout .autuneo-side-info-card .cart-summary__label {
    font-size: 17px !important;
    font-weight: 800 !important;
  }

  body#checkout .autuneo-side-info-card .cart-summary__value {
    color: #B81A20 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
  }
}


/* AUTUNEO SAFE FIX - mostrar step actual del checkout en mobile/desktop */
body#checkout.autuneo-checkout-ready .checkout-grid {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body#checkout.autuneo-checkout-ready .checkout-grid__content,
body#checkout.autuneo-checkout-ready .tab-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body#checkout.autuneo-checkout-ready #checkout-personal-information-step.step--current,
body#checkout.autuneo-checkout-ready #checkout-addresses-step.step--current,
body#checkout.autuneo-checkout-ready #checkout-delivery-step.step--current,
body#checkout.autuneo-checkout-ready #checkout-payment-step.step--current {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 991px) {
  body#checkout.autuneo-checkout-ready .checkout-grid {
    display: block !important;
  }
}

/* AUTUNEO MOBILE - Dirección checkout respirable */
@media (max-width: 991px) {
  body#checkout.autuneo-checkout-ready .checkout-grid__content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 14px 96px !important;
    box-sizing: border-box !important;
  }

  body#checkout #checkout-addresses-step.step--current {
    padding: 0 !important;
  }

  body#checkout #checkout-addresses-step .step__title,
  body#checkout #checkout-addresses-step .page-title-section {
    margin: 0 0 14px !important;
  }

  body#checkout #checkout-addresses-step p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
  }

  body#checkout #checkout-addresses-step label {
    font-size: 15px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
  }

  body#checkout #checkout-addresses-step input,
  body#checkout #checkout-addresses-step select,
  body#checkout #checkout-addresses-step textarea {
    min-height: 48px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }

  body#checkout #checkout-addresses-step .form-group,
  body#checkout #checkout-addresses-step .mb-3 {
    margin-bottom: 16px !important;
  }
}

/* AUTUNEO SAFE FIX - en pantalla carrito no mostrar checkout real debajo */
body#checkout.autuneo-checkout-ready.autuneo-checkout-summary-screen .checkout-grid {
  display: none !important;
}

/* =====================================================
   AUTUNEO CHECKOUT V2 - bloque final consolidado desde custom.css
   ===================================================== */
   AUTUNEO - CHECKOUT CARRITO FINAL LIMPIO
   Desktop + Mobile
   ===================================================== */

/* Base precios carrito */
body#checkout .autuneo-cart-price {
  margin: 0 !important;
  line-height: 1.05 !important;
}

body#checkout .autuneo-cart-price__methods {
  color: #6f747a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  margin-bottom: 3px !important;
  white-space: nowrap !important;
}

body#checkout .autuneo-cart-price__base {
  color: #D61F26 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body#checkout .autuneo-cart-price__card {
  color: #6f747a !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  margin-top: 3px !important;
}

/* Desktop */
@media (min-width: 992px) {
  body#checkout .autuneo-checkout-cartlike {
    max-width: 1180px !important;
    margin: 34px auto 56px !important;
  }

  body#checkout .autuneo-checkout-cartlike__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 24px !important;
    align-items: start !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-products__list {
    display: grid !important;
    gap: 12px !important;
  }

  body#checkout .autuneo-checkout-cartlike .cart-summary__product {
    margin: 0 !important;
    padding: 14px 18px !important;
    background: #fff !important;
    border: 1px solid rgba(26,26,26,.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 26px rgba(26,26,26,.07) !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) 190px 150px !important;
    gap: 16px !important;
    align-items: center !important;
    min-height: 88px !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__image {
    grid-column: 1 !important;
    width: 68px !important;
    height: 68px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__img {
    max-width: 66px !important;
    max-height: 66px !important;
    object-fit: contain !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__info {
    grid-column: 2 !important;
    min-width: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__brand {
    color: #B81A20 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    margin: 0 0 2px !important;
    line-height: 1.05 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__title {
    color: #1A1A1A !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    margin: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__attribute,
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__quantity {
    display: none !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__price {
    grid-column: 3 !important;
    position: static !important;
    width: 190px !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__actions {
    grid-column: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    margin: 0 !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty {
    width: 118px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .quantity-button__group {
    display: grid !important;
    grid-template-columns: 36px 46px 36px !important;
    width: 118px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .btn,
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .js-cart-line-product-quantity {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__remove {
    color: #6f747a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__remove:hover {
    color: #B81A20 !important;
    text-decoration: underline !important;
  }

  body#checkout .autuneo-side-info-card .cart-summary__line,
  body#checkout .autuneo-side-info-card .cart-summary__total,
  body#checkout .autuneo-side-info-card .autuneo-cart-total,
  body#checkout .autuneo-side-info-card .autuneo-cart-total__row {
    border: 0 !important;
  }

  body#checkout .autuneo-cart-total {
    display: grid !important;
    gap: 8px !important;
  }

  body#checkout .autuneo-cart-total__row {
    display: grid !important;
    gap: 3px !important;
  }

  body#checkout .autuneo-cart-total__row--card {
    order: 1 !important;
  }

  body#checkout .autuneo-cart-total__row--base {
    order: 2 !important;
  }

  body#checkout .autuneo-cart-total__label {
    color: #6f747a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 0 !important;
  }

  body#checkout .autuneo-cart-total__card {
    color: #1A1A1A !important;
    font-size: 29px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  body#checkout .autuneo-cart-total__base {
    color: #D61F26 !important;
    font-size: 25px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }
}

/* Mobile */
@media (max-width: 991px) {
  body#checkout .autuneo-checkout-cartlike .cart-summary__product {
    padding: 10px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-areas:
      "img info"
      "price actions" !important;
    gap: 7px 8px !important;
    padding: 0 !important;
    min-height: auto !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__image {
    grid-area: img !important;
    width: 54px !important;
    height: 54px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__img {
    max-width: 52px !important;
    max-height: 52px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__info {
    grid-area: info !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__price {
    grid-area: price !important;
    width: auto !important;
    text-align: left !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__actions {
    grid-area: actions !important;
    align-items: flex-end !important;
  }

  body#checkout .autuneo-cart-price__methods {
    font-size: 11px !important;
  }

  body#checkout .autuneo-cart-price__base {
    font-size: 20px !important;
  }

  body#checkout .autuneo-cart-price__card {
    font-size: 17px !important;
  }
}


/* =====================================================
   AUTUNEO - RESUMEN FINAL + BOTONES QTY PREMIUM
   ===================================================== */

/* Resumen */
body#checkout .autuneo-cart-total {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

body#checkout .autuneo-cart-total__row--card {
  order: 1 !important;
}

body#checkout .autuneo-cart-total__row--base {
  order: 2 !important;
}

body#checkout .autuneo-cart-total__row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body#checkout .autuneo-cart-total__label {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: #6f747a !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body#checkout .autuneo-cart-total__card {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: #1A1A1A !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body#checkout .autuneo-cart-total__base {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: #D61F26 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Qty premium */
body#checkout .autuneo-summary-product-line__qty {
  width: 150px !important;
}

body#checkout .autuneo-summary-product-line__qty .quantity-button__group,
body#checkout .autuneo-summary-product-line__qty .input-group {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  border: 1px solid #DDE2E8 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;

  width: 150px !important;
  height: 58px !important;
}

body#checkout .autuneo-summary-product-line__qty button,
body#checkout .autuneo-summary-product-line__qty .btn {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  width: 48px !important;
  min-width: 48px !important;
  height: 58px !important;

  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1A1A1A !important;
}

body#checkout .autuneo-summary-product-line__qty input,
body#checkout .autuneo-summary-product-line__qty .js-cart-line-product-quantity {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  width: 54px !important;
  min-width: 54px !important;
  height: 58px !important;

  text-align: center !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1A1A1A !important;
}

body#checkout .autuneo-summary-product-line__qty button:hover,
body#checkout .autuneo-summary-product-line__qty .btn:hover {
  background: #F8F9FB !important;
}


/* =====================================================
   AUTUNEO - CART SUMMARY + QTY FINAL 10/10
   ===================================================== */

/* Mostrar resumen aunque algún bloque anterior lo oculte */
body#checkout .autuneo-side-info-card .cart-summary__total,
body#checkout .autuneo-side-info-card .cart-summary__line,
body#checkout .autuneo-side-info-card .autuneo-cart-total {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Resumen de la orden */
body#checkout .autuneo-side-info-card .autuneo-cart-total {
  width: 100% !important;
  margin: 22px 0 22px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

body#checkout .autuneo-side-info-card .autuneo-cart-total__row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 7px !important;
  padding: 0 0 18px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(26,26,26,.12) !important;
}

body#checkout .autuneo-side-info-card .autuneo-cart-total__row:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body#checkout .autuneo-side-info-card .autuneo-cart-total__row--card {
  order: 1 !important;
}

body#checkout .autuneo-side-info-card .autuneo-cart-total__row--base {
  order: 2 !important;
}

body#checkout .autuneo-side-info-card .autuneo-cart-total__label {
  display: block !important;
  width: 100% !important;
  color: #6f747a !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#checkout .autuneo-side-info-card .autuneo-cart-total__card {
  display: block !important;
  color: #1A1A1A !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#checkout .autuneo-side-info-card .autuneo-cart-total__base {
  display: block !important;
  color: #D61F26 !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ocultar líneas nativas que duplican o ensucian */
body#checkout .autuneo-side-info-card #cart-subtotal-shipping,
body#checkout .autuneo-side-info-card .autuneo-side-info-card__trust {
  display: none !important;
}

/* Botón cantidad tipo cápsula */
body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty {
  width: 148px !important;
  height: 50px !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .quantity-button__group,
body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .input-group {
  display: grid !important;
  grid-template-columns: 48px 52px 48px !important;
  width: 148px !important;
  height: 50px !important;
  border: 1px solid #DCE2E8 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 10px 22px rgba(26,26,26,.06) !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty button,
body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .btn {
  width: 48px !important;
  min-width: 48px !important;
  height: 50px !important;
  min-height: 50px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #1A1A1A !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding: 0 !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty button:hover,
body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .btn:hover {
  background: #F7F8FA !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty input,
body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .js-cart-line-product-quantity {
  width: 52px !important;
  min-width: 52px !important;
  height: 50px !important;
  min-height: 50px !important;
  border: 0 !important;
  border-left: 1px solid #DCE2E8 !important;
  border-right: 1px solid #DCE2E8 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #1A1A1A !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-align: center !important;
  padding: 0 !important;
}

/* Eliminar más fino */
body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__remove {
  color: #B81A20 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__remove .material-icons {
  font-size: 20px !important;
}

/* Mobile no tocar demasiado */
@media (max-width: 991px) {
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty {
    width: 120px !important;
    height: 40px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .quantity-button__group,
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .input-group {
    grid-template-columns: 38px 44px 38px !important;
    width: 120px !important;
    height: 40px !important;
  }

  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty button,
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .btn,
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty input,
  body#checkout .autuneo-checkout-cartlike .autuneo-summary-product-line__qty .js-cart-line-product-quantity {
    height: 40px !important;
    min-height: 40px !important;
  }
}


/* AUTUNEO - Qty: desactivar menos en 1 */
body#checkout .autuneo-summary-product-line__qty .btn:disabled,
body#checkout .autuneo-summary-product-line__qty button:disabled {
  opacity: .32 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

body#checkout .autuneo-summary-product-line__remove {
  color: #B81A20 !important;
  opacity: .9 !important;
}


/* AUTUNEO - qty minus disabled */
body#checkout .autuneo-qty-minus-disabled {
  opacity: .32 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}


/* AUTUNEO - resumen compacto final */

body#checkout .autuneo-cart-total {
  gap: 8px !important;
}

body#checkout .autuneo-cart-total__row {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body#checkout .autuneo-cart-total__row--card {
  margin-bottom: 8px !important;
}

body#checkout .autuneo-cart-total__row--base {
  margin-top: 0 !important;
}

body#checkout .autuneo-cart-total__label {
  margin-bottom: 4px !important;
}

body#checkout .autuneo-cart-total__card,
body#checkout .autuneo-cart-total__base {
  margin: 0 !important;
  padding: 0 !important;
  line-height: .95 !important;
}

body#checkout .autuneo-cart-total__card {
  font-size: 30px !important;
}

body#checkout .autuneo-cart-total__base {
  font-size: 30px !important;
}

/* mobile */
@media (max-width: 991px) {

  body#checkout .autuneo-mobile-sticky-checkout__total {
    gap: 6px !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total .autuneo-cart-total__row {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total .autuneo-cart-total__label {
    margin-bottom: 2px !important;
  }

  body#checkout .autuneo-mobile-sticky-checkout__total .autuneo-cart-total__card,
  body#checkout .autuneo-mobile-sticky-checkout__total .autuneo-cart-total__base {
    line-height: .95 !important;
    margin: 0 !important;
  }
}


/* AUTUNEO - resumen orden compacto definitivo */
body#checkout .autuneo-side-info-card .autuneo-cart-total,
body#checkout .autuneo-mobile-sticky-checkout__total .autuneo-cart-total {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* AUTUNEO: CSS de /carrito retirado. Vive en autuneo-cart.css */

/* AUTUNEO Checkout - cuenta obligatoria */
body#checkout .autuneo-checkout-account-intro {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid rgba(184,26,32,.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(184,26,32,.045), #fff);
}

body#checkout .autuneo-checkout-account-intro > span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #B81A20;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex: 0 0 auto;
}

body#checkout .autuneo-checkout-account-intro strong {
  display: block;
  color: #101820;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 4px;
}

body#checkout .autuneo-checkout-account-intro small {
  display: block;
  color: #5f6872;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 575px) {
  body#checkout .autuneo-checkout-account-intro {
    padding: 15px;
  }

  body#checkout .autuneo-checkout-account-intro strong {
    font-size: 16px;
  }

  body#checkout .autuneo-checkout-account-intro small {
    font-size: 13px;
  }
}


/* =====================================================
   AUTUNEO CHECKOUT V4 - normalización canónica 20260707
   Responsabilidad:
   - Retícula principal de /pedido
   - Resumen lateral
   - Iconos de pago
   - Ocultación segura de componentes nativos/JS fuera de contexto
   Nota: /carrito vive en autuneo-cart.css
   ===================================================== */

/* Contenedor base: evita doble margen de Bootstrap + checkout-grid */
@media (min-width: 992px) {
  body#checkout .columns-container,
  body#checkout .columns-container.container,
  body#checkout #center-column,
  body#checkout .page--full-width {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    width: 100% !important;
    max-width: 1360px !important;
    margin: 0 auto 56px !important;
    padding: 0 28px !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 460px !important;
    gap: 48px !important;
    align-items: start !important;
  }

  body#checkout .checkout-grid__content,
  body#checkout .checkout-grid__aside {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body#checkout .checkout-grid__aside-wrapper {
    width: 100% !important;
    max-width: 460px !important;
    margin-left: auto !important;
    position: sticky !important;
    top: 106px !important;
  }

  body#checkout .autuneo-checkout-summary-title,
  body#checkout .checkout-grid__aside h1,
  body#checkout .checkout-grid__aside h2 {
    margin-top: 0 !important;
  }

  body#checkout .step--current,
  body#checkout #checkout-payment-step.step--current,
  body#checkout #checkout-delivery-step.step--current,
  body#checkout #checkout-addresses-step.step--current {
    margin: 0 !important;
  }
}

/* Desktop mediano: retícula más compacta sin pegar al borde */
@media (min-width: 992px) and (max-width: 1199px) {
  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    max-width: 1120px !important;
    grid-template-columns: minmax(0, 1fr) 420px !important;
    gap: 36px !important;
    padding: 0 24px !important;
  }

  body#checkout .checkout-grid__aside-wrapper {
    max-width: 420px !important;
  }
}

/* Mobile: mantiene el flujo vertical y evita heredar grid desktop */
@media (max-width: 991px) {
  body#checkout .columns-container,
  body#checkout .columns-container.container,
  body#checkout #center-column,
  body#checkout .page--full-width {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 14px 96px !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  body#checkout .checkout-grid__content,
  body#checkout .checkout-grid__aside {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Iconos pequeños y controlados dentro del checkout */
body#checkout .autuneo-cart-price__methods,
body#checkout .autuneo-cart-payment-icons,
body#checkout .autuneo-cart-total__label--icons {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
}

body#checkout .autuneo-cart-price__methods {
  min-height: 22px !important;
}

body#checkout .autuneo-cart-payment-icons {
  gap: 5px !important;
  flex: 0 0 auto !important;
}

body#checkout .autuneo-cart-total__label--icons {
  gap: 8px !important;
  white-space: nowrap !important;
}

body#checkout .autuneo-cart-payment-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  flex: 0 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 4px 10px rgba(15,23,42,.05) !important;
  box-sizing: border-box !important;
  cursor: default !important;
}

body#checkout .autuneo-cart-payment-icon img {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  display: block !important;
  object-fit: contain !important;
  flex: 0 0 14px !important;
}

body#checkout .autuneo-cart-total__label--icons .autuneo-cart-payment-icon {
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  flex-basis: 21px !important;
  border-radius: 7px !important;
}

body#checkout .autuneo-cart-total__label--icons .autuneo-cart-payment-icon img {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  min-height: 13px !important;
  max-width: 13px !important;
  max-height: 13px !important;
  flex-basis: 13px !important;
}

/* Seguridad: componente mobile JS solo visible cuando el body lo habilita */
body#checkout .autuneo-mobile-summary-v5 {
  display: none !important;
}

@media (max-width: 991px) {
  body#checkout.autuneo-mobile-summary-v5-on .autuneo-mobile-summary-v5.is-visible {
    display: block !important;
  }
}

body#checkout:not(.autuneo-mobile-summary-v5-on) .autuneo-mobile-summary-v5 {
  display: none !important;
}

/* Evita totales nativos o auxiliares impresos visualmente fuera del layout */
body#checkout > .cart-summary__totals,
body#checkout > .js-cart-detailed-totals,
body#checkout > .cart-summary__subtotals,
body#checkout > .cart-detailed-actions,
body#checkout > .autuneo-mobile-summary-v5:not(.is-visible) {
  display: none !important;
}


/* =====================================================
   AUTUNEO CHECKOUT - PULIDO VISUAL DESKTOP 20260707
   Basado en auditoría de contenedores:
   - .checkout-grid ocupa todo el ancho disponible
   - el exceso visual viene de padding/gap interno
   ===================================================== */

@media (min-width: 992px) {
  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 44px !important;
  }

  body#checkout .autuneo-summary-address {
    padding: 18px 22px !important;
  }

  body#checkout #checkout-delivery-step .step__content,
  body#checkout #checkout-addresses-step .step__content,
  body#checkout #checkout-payment-step .step__content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body#checkout .delivery-option__label {
    padding: 16px 18px !important;
  }

  body#checkout .delivery-option__extra-content {
    padding: 0 18px 16px 50px !important;
  }

  body#checkout .autuneo-checkout-summary-v3,
  body#checkout .autuneo-checkout-summary-v3__card,
  body#checkout .autuneo-side-info-card {
    max-width: 100% !important;
  }
}

@media (min-width: 1400px) {
  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    gap: 48px !important;
  }
}


/* =====================================================
   AUTUNEO CHECKOUT - UNIFICACIÓN CONTAINER-MD 20260707
   Alinea /pedido con el ancho visual del header/footer Hummingbird.
   No toca mobile.
   ===================================================== */

@media (min-width: 992px) {
  body#checkout .columns-container,
  body#checkout .columns-container.container,
  body#checkout #center-column,
  body#checkout .page--full-width {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    width: 100% !important;
    max-width: 960px !important;
    margin: 0 auto 56px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 28px !important;
    align-items: start !important;
  }

  body#checkout .checkout-grid__content,
  body#checkout .checkout-grid__aside {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body#checkout .checkout-grid__aside-wrapper {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    position: sticky !important;
    top: 106px !important;
  }
}

@media (min-width: 1200px) {
  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    max-width: 1140px !important;
    grid-template-columns: minmax(0, 1fr) 400px !important;
    gap: 34px !important;
  }

  body#checkout .checkout-grid__aside-wrapper {
    max-width: 400px !important;
  }
}

@media (min-width: 1400px) {
  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    max-width: 1320px !important;
    grid-template-columns: minmax(0, 1fr) 440px !important;
    gap: 40px !important;
  }

  body#checkout .checkout-grid__aside-wrapper {
    max-width: 440px !important;
  }
}


/* =====================================================
   AUTUNEO CHECKOUT - CENTRADO REAL TIPO CARRITO 20260707
   Diagnóstico:
   - .checkout-grid estaba bien medido, pero el padre
     .columns-container quedaba pegado a la izquierda.
   - Se centra el contenedor padre y el grid trabaja dentro.
   ===================================================== */

@media (min-width: 992px) {
  body#checkout .columns-container,
  body#checkout .columns-container.container {
    width: 100% !important;
    max-width: 1360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body#checkout #center-column,
  body#checkout .center-column,
  body#checkout .page--full-width {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 56px !important;
    margin-left: 0 !important;

    padding-left: 24px !important;
    padding-right: 24px !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 420px !important;
    column-gap: 36px !important;
    row-gap: 18px !important;
    align-items: start !important;
    box-sizing: border-box !important;
  }

  body#checkout .checkout-grid__content,
  body#checkout .checkout-grid__aside {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body#checkout .checkout-grid__aside-wrapper {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    position: sticky !important;
    top: 106px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  body#checkout .columns-container,
  body#checkout .columns-container.container {
    max-width: 1120px !important;
  }

  body#checkout .checkout-grid,
  body#checkout .checkout-grid.row {
    grid-template-columns: minmax(0, 1fr) 390px !important;
    column-gap: 30px !important;
  }

  body#checkout .checkout-grid__aside-wrapper {
    max-width: 390px !important;
  }
}


/* =====================================================
   AUTUNEO ADDRESS SELECTOR PHASE 1
   Desktop: modal centrado. Mobile: bottom sheet.
   ===================================================== */

body.autuneo-address-selector-open {
  overflow: hidden !important;
}

.autuneo-address-selector {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.autuneo-address-selector.is-open {
  display: flex;
}

.autuneo-address-selector__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, .58);
  backdrop-filter: blur(2px);
}

.autuneo-address-selector__dialog {
  position: relative;
  width: min(720px, calc(100vw - 40px));
  max-height: min(720px, calc(100vh - 48px));
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(7, 17, 31, .24);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  transform: translateY(8px) scale(.985);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}

.autuneo-address-selector.is-open .autuneo-address-selector__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.autuneo-address-selector__header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 40px;
  gap: 14px;
  align-items: start;
  padding: 24px 26px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.autuneo-address-selector__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(184, 26, 32, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.autuneo-address-selector__header h2 {
  margin: 0 0 4px;
  color: #07111f;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.autuneo-address-selector__header p {
  margin: 0;
  color: #5f6872;
  font-size: 14px;
  line-height: 1.35;
}

.autuneo-address-selector__close {
  border: 0;
  background: transparent;
  color: #07111f;
  font-size: 34px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.autuneo-address-selector__body {
  overflow: auto;
  padding: 18px 26px;
}

.autuneo-address-selector__list {
  display: grid;
  gap: 12px;
}

.autuneo-address-selector__option {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .13);
  background: #fff;
  border-radius: 16px;
  min-height: 88px;
  padding: 16px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.autuneo-address-selector__option:hover,
.autuneo-address-selector__option.is-selected {
  border-color: #B81A20;
  box-shadow: 0 12px 28px rgba(184, 26, 32, .10);
}

.autuneo-address-selector__option:active {
  transform: scale(.995);
}

.autuneo-address-selector__radio {
  width: 22px;
  height: 22px;
  border: 2px solid #B8C1CC;
  border-radius: 999px;
  position: relative;
  display: inline-block;
}

.autuneo-address-selector__option.is-selected .autuneo-address-selector__radio {
  border-color: #B81A20;
}

.autuneo-address-selector__option.is-selected .autuneo-address-selector__radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: #B81A20;
}

.autuneo-address-selector__option-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.autuneo-address-selector__option-body strong {
  color: #07111f;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 900;
}

.autuneo-address-selector__option-body strong em {
  display: inline-flex;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(184, 26, 32, .08);
  color: #B81A20;
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
}

.autuneo-address-selector__option-body small {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.35;
}

.autuneo-address-selector__arrow {
  color: #B8C1CC;
  font-size: 28px;
  line-height: 1;
}

.autuneo-address-selector__add {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border: 1px solid #B81A20;
  border-radius: 14px;
  background: #fff;
  color: #B81A20;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.autuneo-address-selector__empty {
  border: 1px dashed rgba(15, 23, 42, .22);
  border-radius: 16px;
  padding: 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.35;
}

.autuneo-address-selector__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 26px 24px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.autuneo-address-selector__cancel,
.autuneo-address-selector__confirm {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.autuneo-address-selector__cancel {
  border: 1px solid rgba(15, 23, 42, .18);
  background: #fff;
  color: #07111f;
}

.autuneo-address-selector__confirm {
  border: 1px solid #B81A20;
  background: #B81A20;
  color: #fff;
}

@media (max-width: 767px) {
  .autuneo-address-selector {
    align-items: flex-end;
    padding: 0;
  }

  .autuneo-address-selector__dialog {
    width: 100%;
    max-height: calc(88vh - env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }

  .autuneo-address-selector.is-open .autuneo-address-selector__dialog {
    transform: translateY(0);
  }

  .autuneo-address-selector__dialog::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 48px;
    height: 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .18);
    transform: translateX(-50%);
  }

  .autuneo-address-selector__header {
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    padding: 28px 18px 16px;
    gap: 12px;
  }

  .autuneo-address-selector__icon {
    width: 38px;
    height: 38px;
  }

  .autuneo-address-selector__header h2 {
    font-size: 20px;
  }

  .autuneo-address-selector__header p {
    font-size: 13px;
  }

  .autuneo-address-selector__body {
    padding: 14px 18px;
  }

  .autuneo-address-selector__option {
    min-height: 82px;
    padding: 14px;
    border-radius: 14px;
  }

  .autuneo-address-selector__option-body strong {
    font-size: 16px;
  }

  .autuneo-address-selector__option-body small {
    font-size: 13px;
  }

  .autuneo-address-selector__footer {
    padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .autuneo-address-selector__cancel,
  .autuneo-address-selector__confirm {
    width: 100%;
    padding: 0 12px;
  }
}


/* AUTUNEO CHECKOUT INIT GUARD v19
   Evita el flash del formulario/CTA nativo antes de que autuneo-checkout.js termine
   de sincronizar la vista final. */
html.autuneo-checkout-init-pending body#checkout #checkout-addresses-step.step--current .js-address-form,
html.autuneo-checkout-init-pending body#checkout #checkout-addresses-step.step--current .buttons-wrapper,
html.autuneo-checkout-init-pending body#checkout #checkout-addresses-step.step--current button[name="confirm-addresses"],
html.autuneo-checkout-init-pending body#checkout #checkout-addresses-step.step--current button[type="submit"] {
  visibility: hidden !important;
}

html.autuneo-checkout-init-pending body#checkout #checkout-addresses-step.step--current .js-address-form {
  min-height: 360px !important;
}
