/* ===== FIX CARRITO ESTILO SEPHORA ===== */

.cart-main{
  background:#fff;
}

.cart-hero{
  padding:34px 0 24px;
  text-align:left;
  background:#fff;
}

.cart-hero .container{
  max-width:1200px;
}

.cart-eyebrow{
  display:block;
  font-size:13px;
  color:#666;
  margin-bottom:14px;
}

.cart-hero h1{
  margin:0;
  text-align:left;
  font-size:30px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.03em;
  color:#111;
}

.cart-hero p{
  max-width:760px;
  margin:12px 0 0;
  font-size:14px;
  line-height:1.5;
  color:#555;
}

.cart-section{
  padding:0 0 70px;
}

.cart-section .container{
  max-width:1200px;
}

.cart-page{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:24px;
  align-items:start;
}

/* Encabezado productos */
.cart-content__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.cart-content__head h2,
.cart-summary__head h2{
  margin:0;
  font-size:22px;
  line-height:1.2;
  font-weight:800;
  color:#111;
  text-align:left;
}

.cart-back-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:10px 16px;

  font-size:13px;
  font-weight:600;
  letter-spacing:.03em;

  color:#fff;
  background:#444;

  border-radius:8px;

  text-decoration:none;

  transition:
    background .2s ease,
    transform .2s ease,
    opacity .2s ease;
}

.cart-back-link:hover{
  background:#222;
  transform:translateY(-1px);
}

/* Items más tipo Sephora */
.cart__items{
  gap:0;
  border-top:1px solid #e8e8e8;
}

.cart-item{
  border:0;
  border-bottom:1px solid #e8e8e8;
  border-radius:0;
  box-shadow:none;
  padding:22px 0;
  grid-template-columns:86px minmax(0,1fr) 140px 28px;
  background:#fff;
}

.cart-item__img,
.cart-item img{
  width:76px;
  height:76px;
  border-radius:10px;
  border:1px solid #eee;
}

.cart-item__title{
  font-size:14px;
  font-weight:800;
  margin-bottom:5px;
}

.cart-item__code{
  font-size:12px;
  color:#555;
}

.cart-item__price{
  font-size:15px;
  font-weight:800;
  text-align:right;
}

/* Botones cantidad */
.cart-item__actions{
  justify-content:center;
}

.cart-item button,
.cart-item__btn{
  background:#061f3f;
  color:#fff;
  border-color:#061f3f;
  width:36px;
  height:36px;
}

.cart-item__qty{
  border:0;
  background:transparent;
  font-weight:700;
}

/* Resumen derecho */
.cart-summary{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:4px;
  padding:20px;
  box-shadow:0 3px 12px rgba(0,0,0,.08);
  position:sticky;
  top:20px;
}

.cart-summary__head{
  margin-bottom:18px;
}

.cart-summary__head p{
  margin:8px 0 0;
  font-size:13px;
  color:#555;
}

.cart__total{
  padding:16px 0;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
}

.cart__total span{
  font-size:14px;
  color:#111;
}

.cart__total strong{
  font-size:28px;
  font-weight:800;
}

/* Form */
.cart-checkout{
  margin-top:18px;
}

.cart-field label{
  font-size:11px;
  letter-spacing:.06em;
  color:#111;
}

.cart-field input,
.cart-field textarea{
  border-radius:12px;
  background:#fff;
}

.btn--whats{
  border-radius:14px;
  background:#25d366;
  border-color:#25d366;
}

.btn--whats:hover{
  background:#111;
  border-color:#111;
}

/* Nota */
.cart-summary__note{
  margin-top:16px;
  font-size:13px;
  line-height:1.45;
  color:#444;
}

/* Beneficios tipo tarjeta */
.cart-summary__benefits{
  margin-top:18px;
  background:#f6f6f8;
  border-radius:12px;
  padding:14px;
  display:grid;
  gap:0;
}

.cart-benefit{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 0;
  border-bottom:1px solid #e5e5e5;
}

.cart-benefit:last-child{
  border-bottom:0;
}

.cart-benefit span{
  width:22px;
  height:22px;
  border-radius:999px;
  background:#111;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:800;
}

.cart-benefit p{
  margin:0;
  font-size:14px;
  font-weight:600;
  color:#111;
}

/* Responsive */
@media(max-width:900px){
  .cart-page{
    grid-template-columns:1fr;
  }

  .cart-summary{
    position:static;
  }

  .cart-hero h1{
    font-size:28px;
  }
}

@media(max-width:600px){
  .cart-item{
    grid-template-columns:76px minmax(0,1fr) 28px;
    gap:12px;
  }

  .cart-item__actions{
    grid-column:2 / -1;
    justify-content:flex-start;
    padding-top:8px;
  }

  .cart-item__price{
    text-align:left;
  }
}

.cart-save-btn{
  margin-top:12px;
  background:#fff;
  border:1px solid #111;
  color:#111;
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  transition:.2s;
}

.cart-save-btn:hover{
  background:#111;
  color:#fff;
}

/* =========================
   HEADER MOBILE COMPACTO
========================= */

@media (max-width:900px){

  .sb-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;              /* 🔥 más compacto */
    padding-right:4px;    /* 🔥 los pega más a la derecha */
  }

  .sb-ico{
    width:30px;
    height:30px;
  }

  .sb-ico img{
    width:16px;
    height:16px;
  }

  .sb-ico span{
    font-size:18px !important;
  }

  /* 🔥 Esto le da más espacio al logo */
  .sb-mainbar__inner{
    grid-template-columns: 44px 1fr auto;
  }

  .sb-brand{
    justify-self:center;
  }

}



/* politicas*/
.politicas__internas{
  margin-top:50px;

  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:30px;

  font-size:12px;
}

.politica a{
  color:#444;
  text-decoration:underline;
}

