/* Ajustes da loja copiada do skinupmx.com: gaveta do carrinho e pequenas correções. */

/* O checkout novo aceita só SPEI e OXXO: os outros selos de pagamento ficam escondidos. */
.payment-badges li:has(svg:not([aria-labelledby="pi-spei"]):not([aria-labelledby="pi-oxxo"])),
.payment-badges > svg:not([aria-labelledby="pi-spei"]):not([aria-labelledby="pi-oxxo"]) {
  display: none !important;
}

/* Busca e conta da Shopify não existem aqui. */
.header__icon--search,
.header__icon--account,
.menu-drawer__utility-links .menu-drawer__account {
  display: none !important;
}

/* ---------------- gaveta do carrinho ---------------- */
html.skcart-lock,
html.skcart-lock body {
  overflow: hidden;
}
.skcart {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  visibility: hidden;
  pointer-events: none;
  font-family: var(--font-body-family, Arial, sans-serif);
  color: #29242f;
  letter-spacing: 0.02em;
}
.skcart.is-open {
  visibility: visible;
  pointer-events: auto;
}
.skcart__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.skcart.is-open .skcart__overlay {
  opacity: 1;
}
.skcart__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: #fff5f6;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  outline: none;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
}
.skcart.is-open .skcart__panel {
  transform: translateX(0);
}
.skcart__head {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px 16px;
  background: #fff;
}
.skcart__head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  font-family: var(--font-body-family, Arial, sans-serif);
  color: #29242f;
}
.skcart__x {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #29242f;
  padding: 4px 8px;
}
.skcart__timer {
  background: #2cc515;
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 6px 10px;
}
.skcart__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 16px 12px;
}
.skcart__empty {
  text-align: center;
  padding: 60px 10px;
}
.skcart__empty p {
  font-size: 18px;
  margin-bottom: 20px;
}
.skcart__line {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  align-items: start;
}
.skcart__img img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: #fff;
}
.skcart__title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #29242f;
  text-decoration: none;
  line-height: 1.25;
}
.skcart__opt {
  margin: 4px 0 8px;
  font-size: 13px;
  color: #555;
}
.skcart__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #29242f;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  margin-top: 4px;
}
.skcart__qty button {
  border: 0;
  background: none;
  width: 26px;
  height: 26px;
  font-size: 16px;
  cursor: pointer;
  color: #29242f;
}
.skcart__qty input {
  width: 30px;
  border: 0;
  text-align: center;
  font-size: 14px;
  -moz-appearance: textfield;
  background: transparent;
  color: #29242f;
}
.skcart__qty input::-webkit-outer-spin-button,
.skcart__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.skcart__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.skcart__del {
  border: 0;
  background: none;
  cursor: pointer;
  color: #29242f;
  padding: 2px;
  margin-bottom: 18px;
}
.skcart__price {
  font-size: 15px;
  white-space: nowrap;
}
.skcart__price s {
  color: #777;
  margin-right: 2px;
  font-size: 14px;
}
.skcart__price b {
  color: #2cc515;
}
.skcart__save {
  color: #2cc515;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.skcart__gifts {
  background: #fde7ee;
  border: 1px solid #f7c6d6;
  border-radius: 8px;
  margin: 4px 0 10px;
  font-size: 13px;
}
.skcart__gifts summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  cursor: pointer;
}
.skcart__gifts summary::-webkit-details-marker {
  display: none;
}
.skcart__gifts b {
  color: #2cc515;
}
.skcart__gift-imgs {
  display: inline-flex;
}
.skcart__gift-imgs img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #fff;
  margin-left: -6px;
  background: #fff;
}
.skcart__gift-imgs img:first-child {
  margin-left: 0;
}
.skcart__chev {
  margin-left: auto;
  font-size: 18px;
  transition: transform 0.2s;
}
.skcart__gifts[open] .skcart__chev {
  transform: rotate(90deg);
}
.skcart__gifts ul {
  list-style: none;
  margin: 0;
  padding: 0 10px 8px;
}
.skcart__gifts li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
}
.skcart__gifts li img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}
/* "Mejora tu rutina con:" com as medidas do carrinho original */
.skcart__upsell-title {
  font-family: var(--font-heading-family, Poppins, sans-serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.78px;
  color: #2f2a3a;
  margin: 10px 0 8px;
}
.skcart__upsell {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  min-height: 68px;
  box-sizing: border-box;
}
.skcart__upsell img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
}
.skcart__upsell div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  letter-spacing: 0.96px;
}
.skcart__upsell div > b {
  font-family: var(--font-heading-family, Poppins, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.78px;
  color: #2f2a3a;
}
.skcart__upsell div > span {
  font-size: 11.5px;
  color: rgba(47, 42, 58, 0.9);
  line-height: 1.25;
}
.skcart__upsell .skcart__upsell-price b {
  font-size: 14px;
  font-weight: 700;
  color: #25be04;
}
.skcart__upsell .skcart__upsell-price s {
  font-size: 11.2px;
  color: rgba(47, 42, 58, 0.7);
}
.skcart__add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 11px 0 9px;
  border: 0;
  border-radius: 100px;
  background: #2f2a3a;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.96px;
  cursor: pointer;
  white-space: nowrap;
}
.skcart__add:hover {
  background: #403a4d;
}
/* títulos do carrinho na fonte do tema, como no original */
.skcart__title,
.skcart__warranty b:first-child,
.skcart__gifts summary {
  font-family: var(--font-heading-family, Poppins, sans-serif);
  font-weight: 600;
}
.skcart__foot {
  padding: 10px 16px 12px;
  background: #fff5f6;
  border-top: 1px solid #f3d9df;
}
.skcart__warranty {
  display: grid;
  grid-template-columns: 34px 1fr auto 40px;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
  cursor: pointer;
  position: relative;
}
.skcart__warranty img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.skcart__warranty span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.25;
}
.skcart__warranty small {
  font-size: 12px;
  color: #555;
}
.skcart__wprice {
  color: #2cc515;
  font-size: 15px;
}
.skcart__warranty input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.skcart__switch {
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: #ddd;
  position: relative;
  transition: background 0.2s;
}
.skcart__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.skcart__warranty input:checked + .skcart__switch {
  background: #2cc515;
}
.skcart__warranty input:checked + .skcart__switch::after {
  transform: translateX(16px);
}
.skcart__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 18px;
  margin: 2px 0;
}
.skcart__row--disc {
  color: #2cc515;
  font-weight: 700;
}
.skcart__row--total {
  font-weight: 700;
}
.skcart__row--total s {
  color: #888;
  font-weight: 400;
  font-size: 16px;
}
.skcart__checkout {
  display: block;
  text-align: center;
  background: #29242f;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  padding: 14px 10px;
  border-radius: 8px;
  margin-top: 10px;
}
.skcart__checkout:hover {
  background: #3b3442;
}
.skcart__ship {
  margin-top: 6px;
  text-align: center;
  font-weight: 700;
  color: #2cc515;
  background: #eaffe5;
  border: 1px dashed #2cc515;
  border-radius: 4px;
  padding: 3px;
  font-size: 14px;
}
.skcart__pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  color: #666;
}
.skcart__pay img {
  width: 34px;
  height: 22px;
  object-fit: contain;
}

/* Bloco "compra junto": item desmarcado fica apagado. */
.upsell--unchecked {
  opacity: 0.45;
}

/* o tema estiliza <header>/<footer>; a gaveta usa o próprio layout */
.skcart .skcart__head { display: flex !important; justify-content: center; }
.skcart .skcart__head h2 { flex: 1; text-align: center; }
.skcart .skcart__foot { display: block !important; }
.skcart .skcart__foot[hidden] { display: none !important; }
.skcart .skcart__foot > * { width: 100%; box-sizing: border-box; }
.skcart .skcart__warranty { display: grid !important; }
.skcart .skcart__row { display: flex !important; }

/* carrossel simples no lugar do Splide: rolagem lateral com encaixe */
.skin-splide .splide__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.skin-splide .splide__track::-webkit-scrollbar { display: none; }
.skin-splide .splide__slide { scroll-snap-align: start; }

/* Preço da página de produto no formato Viva Cuerpo: ~~$ 1,098.00 MXN~~  $ 499.00 MXN */
.skin-viva-price .price__container { display: flex; }
.skin-viva-price .price__sale { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; }
.skin-viva-price .price__compare-price s.price-item { font-size: 17px; font-weight: 400; color: #555; text-decoration: line-through; }
.skin-viva-price .price-item--sale,
.skin-viva-price .price__regular .price-item--regular { font-size: 19px; font-weight: 600; }

/* Barra "91% YA VENDIDOS" (igual à Viva Cuerpo) */
.skin-sold { width: 275px; max-width: 100%; margin: 12px 0 14px; font-size: 12px; color: #111; }
.skin-sold__label { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: normal; color: #111; }
.skin-sold__track { margin-top: 7px; height: 10px; border-radius: 20px; background: #ddd; overflow: hidden; }
.skin-sold__fill { display: block; height: 100%; background: #f40000; }
