/* =========================================================================
   STOIC · Compra: carrito, pago, compra exitosa y Mi cuenta (WooCommerce clásico)
   Blanco de fondo, petróleo para estructura, lima solo en el botón principal.
   Campos de 16 px (en iPhone no hacen zoom) y botones de 52–56 px (fáciles de tocar).
   ========================================================================= */

body.stoic-compra { background: #FFFFFF; }
body.stoic-compra .site-content, body.stoic-compra .content-area, body.stoic-compra .site-main,
body.stoic-compra .inside-article, body.stoic-compra .entry-content { margin: 0; padding: 0; background: none; box-shadow: none; }
body.stoic-compra .entry-header, body.stoic-compra .page-header, body.stoic-compra .woocommerce-breadcrumb { display: none; }
body.stoic-compra #right-sidebar, body.stoic-compra .sidebar { display: none !important; }
body.stoic-compra .content-area { width: 100% !important; float: none; }

body.stoic-compra .entry-content > .woocommerce {
  --ck-gut: 20px;
  --ck-ease: cubic-bezier(.23, 1, .32, 1);
  --ck-texto: #1C3A41;
  --ck-suave: #3E646E;
  --ck-neutro: #5F7F87;
  --ck-linea: #DCE4E8;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--ck-gut) clamp(80px, 10vw, 128px);
  color: #102D35;
  font-family: var(--font);
}
@media (min-width: 760px) { body.stoic-compra .entry-content > .woocommerce { --ck-gut: 40px; } }
body.stoic-compra .woocommerce :where(*, *::before, *::after) { box-sizing: border-box; }


/* -------------------------------------------------------------------------
   Piezas comunes
   ------------------------------------------------------------------------- */
.ck-pasos { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; font: 500 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ck-neutro); }
.ck-pasos li { display: flex; align-items: center; gap: 8px; margin: 0; }
.ck-pasos li + li::before { content: ""; width: clamp(20px, 5vw, 56px); height: 1px; margin-right: 2px; background: var(--ck-linea); }
.ck-pasos li.is-hecho + li::before { background: #102D35; }
.ck-paso-n { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--ck-linea); border-radius: 50%; font-size: 11px; letter-spacing: 0; }
.ck-pasos .is-actual, .ck-pasos .is-hecho { color: #102D35; }
.ck-pasos .is-actual .ck-paso-n { background: #102D35; border-color: #102D35; color: #FFFFFF; }
.ck-pasos .is-hecho .ck-paso-n { background: #DBFF00; border-color: #DBFF00; color: #102D35; }

.ck-cabeza { margin: 0 0 28px; }
.ck-cabeza h1 { margin: 0; font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1; letter-spacing: -.035em; color: #102D35; }
.ck-cabeza p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--ck-suave); }
.ck-cabeza-centro { text-align: center; }

.ck-confianza { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; }
.ck-confianza li { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: var(--ck-suave); }
.ck-confianza svg, .ck-vacio-icono svg, .ck-panel-accesos svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ck-confianza svg { width: 16px; height: 16px; }

/* campos */
body.stoic-compra .woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
body.stoic-compra .woocommerce form .form-row label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 500; line-height: 1.3; color: #102D35; }
body.stoic-compra .woocommerce form .form-row .required { color: var(--ck-neutro); text-decoration: none; border: 0; }
body.stoic-compra .woocommerce form .form-row .optional { color: var(--ck-neutro); font-weight: 400; }
body.stoic-compra .woocommerce :is(input.input-text, select, textarea),
body.stoic-compra .woocommerce .select2-container .select2-selection--single {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--ck-linea);
  border-radius: 8px;
  background: #FFFFFF;
  color: #102D35;
  font: 400 16px/1.2 var(--font);
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
body.stoic-compra .woocommerce textarea { height: 96px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
body.stoic-compra .woocommerce :is(input.input-text, select, textarea)::placeholder { color: var(--ck-neutro); }
body.stoic-compra .woocommerce :is(input.input-text, select, textarea):focus,
body.stoic-compra .woocommerce .select2-container--focus .select2-selection--single,
body.stoic-compra .woocommerce .select2-container--open .select2-selection--single { outline: 0; border-color: #2D5560; box-shadow: 0 0 0 3px rgba(45, 85, 96, .14); }
body.stoic-compra .woocommerce .select2-selection__rendered { padding: 0 !important; line-height: 50px !important; color: #102D35 !important; }
body.stoic-compra .woocommerce .select2-selection__arrow { top: 12px !important; right: 12px !important; }
body.stoic-compra .woocommerce form .form-row.woocommerce-invalid :is(input.input-text, select),
body.stoic-compra .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: #B42318; }
body.stoic-compra .woocommerce input[type="checkbox"], body.stoic-compra .woocommerce input[type="radio"] { width: 18px; height: 18px; margin: 0 10px 0 0; accent-color: #102D35; vertical-align: -3px; }

/* botones: el principal es lima; los secundarios, contorno petróleo */
body.stoic-compra .woocommerce :is(a.button, button.button, input.button) { min-height: 52px; border-radius: 999px; }
body.stoic-compra .woocommerce :is(a.checkout-button, #place_order) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 24px;
  border: 1px solid #DBFF00;
  border-radius: 999px;
  background: #DBFF00;
  color: #102D35;
  font: 500 14px/1 var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
  float: none !important;
  transition: transform 160ms var(--ck-ease), background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
body.stoic-compra .woocommerce :is(a.checkout-button, #place_order):active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  body.stoic-compra .woocommerce :is(a.checkout-button, #place_order):hover { background: #102D35; border-color: #102D35; color: #DBFF00; }
}
.ck-boton-sec, body.stoic-compra .woocommerce :is(button[name="apply_coupon"], .woocommerce-orders-table .button, .woocommerce-MyAccount-content .woocommerce-Button--previous, .woocommerce-MyAccount-content .woocommerce-Button--next) {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #102D35;
  background: #FFFFFF;
  color: #102D35;
  font-size: 12px;
}
body.stoic-compra .woocommerce :is(button[name="apply_coupon"], .woocommerce-orders-table .button):hover { background: #102D35; color: #FFFFFF; }
body.stoic-compra .woocommerce a:focus-visible, body.stoic-compra .woocommerce button:focus-visible { outline: 2px solid #102D35; outline-offset: 3px; }

/* avisos de WooCommerce: discretos */
body.stoic-compra .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { border-radius: 8px; }
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info { margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 14px; color: var(--ck-suave) !important; }
.woocommerce-form-coupon-toggle .woocommerce-info::before, .woocommerce-form-login-toggle .woocommerce-info::before { display: none; }
.woocommerce-form-coupon-toggle a, .woocommerce-form-login-toggle a { color: #102D35; text-decoration: underline; text-underline-offset: 3px; }
body.stoic-compra .woocommerce form.checkout_coupon, body.woocommerce-checkout .woocommerce > form.woocommerce-form-login.login {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid var(--ck-linea);
  border-radius: 8px;
}
body.stoic-compra .woocommerce form.checkout_coupon .form-row { flex: 1 1 200px; float: none; width: auto; margin: 0; }
body.stoic-compra .woocommerce form.checkout_coupon p:not(.form-row) { flex-basis: 100%; margin: 0; font-size: 14px; }
body.stoic-compra .woocommerce form.checkout_coupon .clear { display: none; }

/* -------------------------------------------------------------------------
   1. Carrito: piezas en tarjetas a la izquierda, resumen petróleo a la derecha
   ------------------------------------------------------------------------- */
/* piezas compartidas con Mi cuenta */
body.woocommerce-account { background: #F7FAFC; }
body.woocommerce-account .entry-content > .woocommerce { max-width: 1080px; padding-top: clamp(20px, 3vw, 32px); }
body.stoic-compra .woocommerce a.ck-btn, body.stoic-compra .woocommerce a.ck-btn-sec {
  display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px;
  border: 1px solid #102D35; border-radius: 999px; font: 500 12px/1 var(--font); letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ck-ease), background-color 180ms ease, color 180ms ease;
}
body.stoic-compra .woocommerce a.ck-btn { border-color: #DBFF00; background: #DBFF00; color: #102D35; }
body.stoic-compra .woocommerce a.ck-btn-sec { background: #FFFFFF; color: #102D35; }
body.stoic-compra .woocommerce :is(a.ck-btn, a.ck-btn-sec):active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  body.stoic-compra .woocommerce a.ck-btn:hover { background: #102D35; border-color: #102D35; color: #DBFF00; }
  body.stoic-compra .woocommerce a.ck-btn-sec:hover { background: #102D35; color: #FFFFFF; }
}
.ck-tarjeta { border: 1px solid var(--ck-linea); border-radius: 8px; background: #FFFFFF; }
.ck-mini { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 16px; }
.ck-mini h1 { margin: 0; font: 700 22px/1.2 var(--font); letter-spacing: -.02em; color: #102D35; }
.ck-mini span, .ck-mini p { margin: 0; font-size: 14px; color: var(--ck-suave); }
.ck-mini p { flex-basis: 100%; }
.ck-mini-centro { justify-content: center; text-align: center; }

/* encabezado de compra: barra petróleo sin menú (menos distracciones) */
.ck-barra-top { background: #102D35; color: #FFFFFF; }
.ck-barra-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1160px; height: 64px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .ck-barra-in { padding: 0 40px; } }
.ck-logo img { display: block; width: 104px; height: auto; }
.ck-volver, .ck-seguro { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--font); color: rgba(255, 255, 255, .85); text-decoration: none; }
.ck-volver { justify-self: start; transition: color 160ms ease; }
.ck-volver:hover { color: #FFFFFF; }
.ck-seguro { justify-self: end; }
.ck-volver svg, .ck-seguro svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ck-seguro svg { color: #DBFF00; }
@media (max-width: 559px) { .ck-volver span, .ck-seguro span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .ck-barra-in { height: 56px; } }
body.stoic-compra:has(.ck-barra-top) { --head-h: 0px; }

/* rejilla del carrito */
body.woocommerce-cart .entry-content > .woocommerce { max-width: 1120px; }
body.woocommerce-cart .entry-content > .woocommerce:has(.woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; align-items: start; }
body.woocommerce-cart .entry-content > .woocommerce:has(.woocommerce-cart-form) > * { grid-column: 1 / -1; }
@media (min-width: 960px) {
  body.woocommerce-cart .entry-content > .woocommerce:has(.woocommerce-cart-form) { grid-template-columns: minmax(0, 1fr) 360px; }
  body.woocommerce-cart .entry-content > .woocommerce:has(.woocommerce-cart-form) > .woocommerce-cart-form { grid-column: 1; }
  body.woocommerce-cart .entry-content > .woocommerce:has(.woocommerce-cart-form) > .cart-collaterals { grid-column: 2; position: sticky; top: 24px; }
  body.woocommerce-cart .ck-pasos { justify-content: flex-start; }
}
body.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }

/* piezas en tarjetas */
.woocommerce-cart-form table.shop_table.cart { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-radius: 0; }
.woocommerce-cart-form table.cart thead { display: none; }
.woocommerce-cart-form table.cart, .woocommerce-cart-form table.cart tbody { display: block; }
.woocommerce-cart-form table.cart tr.cart_item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  grid-template-areas: "foto nombre total" "foto quitar total" "foto cant cant";
  align-items: center;
  gap: 2px 16px;
  margin: 0 0 12px;
  padding: 16px;
  border: 1px solid var(--ck-linea);
  border-radius: 8px;
  background: #FFFFFF;
  transition: border-color 200ms ease;
}
@media (min-width: 640px) {
  .woocommerce-cart-form table.cart tr.cart_item { grid-template-columns: 96px minmax(0, 1fr) auto 112px; grid-template-areas: "foto nombre cant total" "foto quitar cant total"; gap: 4px 20px; padding: 18px 20px 18px 18px; }
}
@media (hover: hover) and (pointer: fine) { .woocommerce-cart-form table.cart tr.cart_item:hover { border-color: #B9C8CE; } }
body.stoic-compra .woocommerce .woocommerce-cart-form table.cart td { display: block !important; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important; }
body.stoic-compra .woocommerce .woocommerce-cart-form table.cart td::before { display: none !important; }
body.stoic-compra .woocommerce .woocommerce-cart-form table.cart td.product-price { display: none !important; }
.woocommerce-cart-form td.product-thumbnail { grid-area: foto; align-self: start; width: auto !important; }
.woocommerce-cart-form td.product-thumbnail img { width: 100% !important; height: auto; aspect-ratio: 5 / 6; object-fit: contain; padding: 8px; border-radius: 8px; background: #F7FAFC; }
.woocommerce-cart-form td.product-name { grid-area: nombre; align-self: end; font-size: 16px; font-weight: 600; line-height: 1.3; }
.woocommerce-cart-form td.product-name a { color: #102D35; text-decoration: none; }
.ck-var { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--ck-suave); }
.woocommerce-cart-form td.product-remove { grid-area: quitar; align-self: start; }
body.stoic-compra .woocommerce .woocommerce-cart-form a.remove {
  display: inline; width: auto; height: auto; border-radius: 0; background: none !important;
  color: #2D5560 !important; font: 400 13px/1.8 var(--font); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ck-linea);
}
body.stoic-compra .woocommerce .woocommerce-cart-form a.remove:hover { color: #102D35 !important; text-decoration-color: #102D35; }
.woocommerce-cart-form td.product-quantity { grid-area: cant; justify-self: start; margin-top: 10px; }
@media (min-width: 640px) { .woocommerce-cart-form td.product-quantity { justify-self: center; margin-top: 0; } }
body.stoic-compra .woocommerce .woocommerce-cart-form table.cart td.product-subtotal { grid-area: total; justify-self: end; text-align: right !important; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; color: #102D35; }

/* cantidad con − / + */
.woocommerce-cart-form .quantity { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--ck-linea); border-radius: 999px; background: #FFFFFF; }
body.stoic-compra .woocommerce .woocommerce-cart-form .quantity input.qty { flex: none; width: 34px !important; min-width: 34px; height: 36px; padding: 0 !important; border: 0 !important; background: none; text-align: center; font: 600 15px/1 var(--font); color: #102D35; -moz-appearance: textfield; box-shadow: none !important; }
.woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button, .woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce-cart-form .ck-q { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: #102D35; font: 400 18px/1 var(--font); cursor: pointer; transition: background-color 150ms ease, transform 150ms var(--ck-ease); }
.woocommerce-cart-form .ck-q:hover { background: #F7FAFC; color: #102D35; }
.woocommerce-cart-form .ck-q:active { transform: scale(.9); }

/* cupón plegado */
.woocommerce-cart-form table.cart tr:not(.cart_item) { display: block; padding: 4px 0 0; }
.woocommerce-cart-form td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; float: none !important; margin-top: 10px; }
.woocommerce-cart-form td.actions .coupon label { display: none; }
.woocommerce-cart-form td.actions .coupon input#coupon_code { flex: 1 1 180px; width: auto !important; height: 44px; margin: 0; padding: 0 16px; border: 1px solid var(--ck-linea); border-radius: 999px; font-size: 16px; }
body.stoic-compra .woocommerce .woocommerce-cart-form button[name="apply_coupon"] { min-height: 44px; padding: 0 18px; font-size: 12px; }
body.ck-auto .woocommerce-cart-form button[name="update_cart"] { display: none !important; }
body.ck-cupon-js .woocommerce-cart-form td.actions .coupon:not(.is-abierto) { display: none; }
.ck-cupon-link { padding: 0; border: 0; background: none; color: #2D5560; font: 400 14px/1.6 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-cupon-link:hover { background: none; color: #102D35; }
.woocommerce-cart-form.processing, .cart_totals.processing { opacity: .6; transition: opacity 180ms ease; }

/* resumen petróleo */
body.woocommerce-cart .cart-collaterals { width: 100%; margin: 20px 0 0; }
@media (min-width: 960px) { body.woocommerce-cart .cart-collaterals { margin: 0; } }
body.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100% !important; padding: 24px; border-radius: 8px; background: #102D35; color: #FFFFFF; }
body.woocommerce-cart .cart_totals > h2 { margin: 0 0 12px; font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
body.stoic-compra .woocommerce .cart_totals table.shop_table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
body.stoic-compra .woocommerce .cart_totals table.shop_table :is(th, td) { padding: 10px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .12); background: none; font-size: 14px; color: rgba(255, 255, 255, .8); vertical-align: top; }
body.stoic-compra .woocommerce .cart_totals table.shop_table tr:first-child :is(th, td) { border-top: 0; }
body.stoic-compra .woocommerce .cart_totals table.shop_table th { font-weight: 400; text-align: left; }
body.stoic-compra .woocommerce .cart_totals table.shop_table td { text-align: right; font-variant-numeric: tabular-nums; color: #FFFFFF; }
body.stoic-compra .woocommerce .cart_totals table.shop_table td::before { display: none; }
body.stoic-compra .woocommerce .cart_totals table.shop_table_responsive tr { display: table-row; }
body.stoic-compra .woocommerce .cart_totals table.shop_table_responsive tr :is(th, td) { display: table-cell !important; }
body.stoic-compra .woocommerce .cart_totals tr.woocommerce-shipping-totals td { font-weight: 600; color: #DBFF00; }
body.stoic-compra .woocommerce .cart_totals tr.order-total :is(th, td) { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .28); font-size: 20px; font-weight: 700; color: #FFFFFF; }
body.stoic-compra .woocommerce .cart_totals tr.order-total small { display: block; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .6); }
body.stoic-compra .woocommerce ul#shipping_method { margin: 0; padding: 0; list-style: none; }
body.stoic-compra .woocommerce ul#shipping_method li { margin: 0; padding: 0; text-indent: 0; }
body.stoic-compra .woocommerce .woocommerce-shipping-calculator, body.woocommerce-cart .woocommerce-shipping-destination { display: none; }
body.woocommerce-cart .wc-proceed-to-checkout { padding: 14px 0 0; }
body.stoic-compra .woocommerce .cart_totals a.checkout-button { min-height: 54px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { body.stoic-compra .woocommerce .cart_totals a.checkout-button:hover { background: #FFFFFF; border-color: #FFFFFF; color: #102D35; } }
body.woocommerce-cart .cart_totals .ck-seguir { display: block; margin-top: 14px; text-align: center; font: 400 13px/1 var(--font); color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }
body.woocommerce-cart .cart_totals .ck-seguir:hover { color: #FFFFFF; }
body.woocommerce-cart .cart_totals .ck-confianza { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
body.woocommerce-cart .cart_totals .ck-confianza li { color: rgba(255, 255, 255, .72); }
body.woocommerce-cart .cart_totals .ck-confianza svg { color: #DBFF00; }

/* celular: barra fija con total y botón cuando el resumen no se ve */
.ck-barra-pago { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #102D35; color: #FFFFFF; transform: translate3d(0, 110%, 0); visibility: hidden; transition: transform 360ms cubic-bezier(.32, .72, 0, 1), visibility 0s linear 360ms; }
.ck-barra-pago.is-on { transform: none; visibility: visible; transition: transform 360ms cubic-bezier(.32, .72, 0, 1), visibility 0s; }
.ck-barra-pago-t { display: grid; gap: 2px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.ck-barra-pago-t strong { font-size: 17px; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.ck-barra-pago a { display: inline-flex; align-items: center; height: 48px; margin-left: auto; padding: 0 22px; border-radius: 999px; background: #DBFF00; color: #102D35; font: 500 13px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: transform 160ms var(--ck-ease); }
.ck-barra-pago a:active { transform: scale(.97); }
@media (min-width: 960px) { .ck-barra-pago { display: none; } }

/* carrito vacío */
.ck-vacio { max-width: 480px; margin: clamp(24px, 6vw, 72px) auto 0; text-align: center; }
.ck-vacio-icono { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #102D35; color: #DBFF00; }
.ck-vacio-icono svg { width: 26px; height: 26px; }
.ck-vacio h1 { margin: 20px 0 0; font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--font); letter-spacing: -.03em; color: #102D35; }
.ck-vacio p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--ck-suave); }
body.woocommerce-cart .wc-empty-cart-message { display: none; }
body.woocommerce-cart .return-to-shop { margin: 24px 0 0; text-align: center; }
body.woocommerce-cart .return-to-shop .button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 32px; }

/* -------------------------------------------------------------------------
   2. Pago
   ------------------------------------------------------------------------- */
body.woocommerce-checkout:not(.woocommerce-order-received) .ck-pasos { justify-content: center; }
body.woocommerce-checkout:not(.woocommerce-order-received) .ck-cabeza { text-align: center; }
body.stoic-compra .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 56px; }
body.stoic-compra .woocommerce form.checkout > * { grid-column: 1; }
body.stoic-compra .woocommerce form.checkout > #order_review { order: -1; margin-bottom: 32px; }
@media (min-width: 1000px) {
  body.stoic-compra .woocommerce form.checkout { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .85fr); }
  body.stoic-compra .woocommerce form.checkout > #order_review { order: 0; grid-column: 2; grid-row: 1 / span 30; position: sticky; top: calc(var(--head-h, 81px) + 24px); align-self: start; margin-bottom: 0; }
}
#order_review_heading, .woocommerce-billing-fields > h3 { display: none; }
/* nombre/apellidos y código postal/ciudad comparten línea aunque WooCommerce cambie sus clases al cargar México */
body.stoic-compra .woocommerce .woocommerce-billing-fields__field-wrapper > :is(#billing_first_name_field, #billing_last_name_field, #billing_postcode_field, #billing_city_field) { grid-column: auto; float: none; width: auto; }
/* solo vendemos en México: el país no necesita una fila (el dato se envía igual) */
#billing_country_field, #shipping_country_field { display: none !important; }
body.woocommerce-cart .woocommerce-shipping-destination { display: none; }
body.stoic-compra .woocommerce #customer_details.col2-set { width: 100%; }
body.stoic-compra .woocommerce #customer_details .col-1, body.stoic-compra .woocommerce #customer_details .col-2 { float: none; width: 100% !important; max-width: none; }
.ck-seccion { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.015em; color: #102D35; }
.ck-seccion span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #102D35; color: #FFFFFF; font-size: 13px; letter-spacing: 0; }
.ck-seccion-pago { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--ck-linea); }

/* campos en dos columnas donde tiene sentido (nombre/apellido, código postal/ciudad) */
body.stoic-compra .woocommerce :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
body.stoic-compra .woocommerce :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm) > * { grid-column: 1 / -1; }
body.stoic-compra .woocommerce :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm) > :is(.form-row-first, .form-row-last) { grid-column: auto; float: none; width: auto; }
body.stoic-compra .woocommerce .woocommerce-EditAccountForm .clear { display: none; }
#ship-to-different-address { margin: 8px 0 14px; font-size: 15px; font-weight: 500; }
#ship-to-different-address label { display: flex; align-items: center; cursor: pointer; }
.woocommerce-additional-fields { margin-top: 6px; }
.woocommerce-additional-fields > h3 { display: none; }

/* métodos de pago como tarjetas */
body.stoic-compra .woocommerce #payment { background: none; border-radius: 0; }
body.stoic-compra .woocommerce #payment ul.payment_methods { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; border: 0; list-style: none; }
body.stoic-compra .woocommerce #payment ul.payment_methods li { position: relative; margin: 0; padding: 16px 18px; border: 1px solid var(--ck-linea); border-radius: 8px; line-height: 1.4; transition: border-color 160ms ease, box-shadow 160ms ease; }
body.stoic-compra .woocommerce #payment ul.payment_methods li:has(> input:checked) { border-color: #102D35; box-shadow: inset 0 0 0 1px #102D35; }
body.stoic-compra .woocommerce #payment ul.payment_methods li > label { display: inline; font-size: 15px; font-weight: 500; color: #102D35; cursor: pointer; }
body.stoic-compra .woocommerce #payment ul.payment_methods li img { max-height: 22px; margin: 0 0 0 8px; vertical-align: middle; }
body.stoic-compra .woocommerce #payment div.payment_box { margin: 12px 0 0; padding: 14px 16px; border-radius: 8px; background: #F7FAFC; color: var(--ck-texto); font-size: 14px; line-height: 1.55; }
body.stoic-compra .woocommerce #payment div.payment_box::before { display: none; }
body.stoic-compra .woocommerce #payment div.form-row.place-order { margin: 0; padding: 0; }
body.stoic-compra .woocommerce .woocommerce-privacy-policy-text, body.stoic-compra .woocommerce .woocommerce-terms-and-conditions-wrapper { margin: 0 0 16px; font-size: 12px; line-height: 1.5; color: var(--ck-suave); }
body.stoic-compra .woocommerce .woocommerce-privacy-policy-text a { color: #102D35; }
body.stoic-compra .woocommerce .ck-legal { margin: 0 0 14px; font-size: 12px; line-height: 1.5; color: var(--ck-suave); }
body.stoic-compra .woocommerce .ck-legal a { color: #102D35; text-decoration: underline; text-underline-offset: 2px; }

/* resumen del pedido */
body.stoic-compra .woocommerce #order_review { padding: 20px 24px 24px; border: 1px solid var(--ck-linea); border-radius: 8px; background: #FFFFFF; }
.ck-resumen-btn { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 8px; padding: 0; border: 0; background: none; color: #102D35; font: 700 18px/1.2 var(--font); text-align: left; cursor: default; }
.ck-resumen-btn:hover, .ck-resumen-btn:focus { background: none; color: #102D35; }
.ck-resumen-ver, .ck-resumen-total { display: none; }
body.stoic-compra .woocommerce #order_review table.shop_table thead { display: none; }
body.stoic-compra .woocommerce #order_review table.shop_table :is(th, td) { padding: 12px 0; border: 0; border-top: 1px solid var(--ck-linea); background: none; font-size: 14px; vertical-align: middle; }
body.stoic-compra .woocommerce #order_review table.shop_table tbody tr:first-child td { border-top: 0; }
body.stoic-compra .woocommerce #order_review table.shop_table tfoot th { font-weight: 400; color: var(--ck-suave); text-align: left; }
body.stoic-compra .woocommerce #order_review table.shop_table :is(td.product-total, tfoot td) { text-align: right; font-variant-numeric: tabular-nums; }
.ck-item { display: flex; align-items: center; gap: 14px; }
.ck-thumb { position: relative; flex: none; width: 64px; height: 72px; border-radius: 8px; background: #F7FAFC; }
.ck-thumb img { width: 100% !important; height: 100%; object-fit: contain; padding: 6px; }
.ck-cant { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #102D35; color: #FFFFFF; font: 500 11px/1 var(--font); }
.ck-nombre { font-size: 14px; font-weight: 500; line-height: 1.35; color: #102D35; }
body.stoic-compra .woocommerce #order_review .product-name > .product-quantity { display: none; }
body.stoic-compra .woocommerce #order_review .product-name :is(dl.variation, .wc-item-meta) { margin: 4px 0 0 78px; font-size: 12px; color: var(--ck-suave); }

/* celular: el resumen queda arriba y se pliega */
@media (max-width: 999px) {
  .ck-resumen-btn { margin: 0; cursor: pointer; font-size: 16px; }
  .ck-resumen-ver { display: inline; margin-right: auto; font: 500 12px/1 var(--font); letter-spacing: .06em; color: var(--ck-suave); text-decoration: underline; text-underline-offset: 3px; }
  .ck-resumen-total { display: inline; font-variant-numeric: tabular-nums; }
  body.stoic-compra .woocommerce #order_review { padding: 16px 18px; }
  body.stoic-compra .woocommerce #order_review:not(.is-plegado) .ck-resumen-btn { margin-bottom: 8px; }
  body.stoic-compra .woocommerce #order_review.is-plegado table.shop_table { display: none; }
}

/* -------------------------------------------------------------------------
   3. Compra exitosa
   ------------------------------------------------------------------------- */
.ck-gracias { max-width: 880px; margin: 0 auto; }
.ck-exito { max-width: 600px; margin: 0 auto; text-align: center; }
.ck-check { display: inline-block; width: 76px; height: 76px; }
.ck-check svg { width: 100%; height: 100%; overflow: visible; }
.ck-check circle { fill: #102D35; transform-origin: 50% 50%; animation: ckCirculo 600ms var(--ck-ease) both; }
.ck-check path { fill: none; stroke: #DBFF00; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ckPalomita 560ms var(--ck-ease) 380ms forwards; }
@keyframes ckCirculo { from { transform: scale(.6); opacity: 0; } }
@keyframes ckPalomita { to { stroke-dashoffset: 0; } }
.ck-exito-pedido { margin: 22px 0 0; font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ck-suave); }
.ck-exito h1 { margin: 12px 0 0; font-weight: 700; font-size: clamp(2.25rem, 4.4vw, 3.25rem); line-height: 1; letter-spacing: -.04em; color: #102D35; }
.ck-exito-lead { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--ck-texto); }
.ck-exito > * { animation: ckSube 700ms var(--ck-ease) both; }
.ck-exito > :nth-child(2) { animation-delay: 300ms; }
.ck-exito > :nth-child(3) { animation-delay: 380ms; }
.ck-exito > :nth-child(4) { animation-delay: 460ms; }
.ck-exito > .ck-check { animation: none; }
@keyframes ckSube { from { opacity: 0; transform: translate3d(0, 12px, 0); } }

body.stoic-compra .woocommerce ul.ck-resumen-datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 36px 0 0; padding: 0; border: 1px solid var(--ck-linea); border-radius: 8px; list-style: none; overflow: hidden; }
@media (min-width: 760px) { body.stoic-compra .woocommerce ul.ck-resumen-datos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.stoic-compra .woocommerce ul.ck-resumen-datos::before, body.stoic-compra .woocommerce ul.ck-resumen-datos::after { display: none; }
body.stoic-compra .woocommerce ul.ck-resumen-datos li { float: none; margin: 0; padding: 18px 20px; border: 0; border-left: 1px solid var(--ck-linea); font-size: 12px; text-transform: none; line-height: 1.3; }
body.stoic-compra .woocommerce ul.ck-resumen-datos li:first-child { border-left: 0; }
@media (max-width: 759px) {
  body.stoic-compra .woocommerce ul.ck-resumen-datos li:nth-child(odd) { border-left: 0; }
  body.stoic-compra .woocommerce ul.ck-resumen-datos li:nth-child(n+3) { border-top: 1px solid var(--ck-linea); }
}
.ck-resumen-datos li > span { display: block; font: 500 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ck-suave); }
body.stoic-compra .woocommerce ul.ck-resumen-datos li strong { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; text-transform: none; color: #102D35; }

.ck-sigue { margin-top: 48px; }
.ck-sigue h2 { margin: 0; font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ck-suave); }
.ck-sigue ol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; margin: 16px 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .ck-sigue ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ck-sigue li { margin: 0; padding: 18px 0; border-top: 1px solid #102D35; }
.ck-sigue li > span { font: 500 11px/1 var(--font); letter-spacing: .14em; color: var(--ck-neutro); }
.ck-sigue li strong { display: block; margin-top: 10px; font-size: 16px; color: #102D35; }
.ck-sigue li p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--ck-texto); }

/* instrucciones de la pasarela y detalle del pedido */
.ck-gracias-detalle { margin-top: 48px; }
.ck-gracias-detalle > :not(section):not(:empty) { margin-bottom: 24px; }
body.stoic-compra .woocommerce .ck-gracias-detalle :is(.woocommerce-order-details, .woocommerce-customer-details) { margin: 0 0 32px; }
body.stoic-compra .woocommerce .ck-gracias-detalle h2 { margin: 0 0 14px; font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ck-suave); }
body.stoic-compra .woocommerce :is(.woocommerce-table--order-details, .woocommerce-orders-table, .woocommerce-table--customer-details) { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-radius: 0; }
body.stoic-compra .woocommerce :is(.woocommerce-table--order-details, .woocommerce-orders-table) :is(th, td) { padding: 14px 0; border: 0; border-top: 1px solid var(--ck-linea); background: none; font-size: 14px; text-align: left; }
body.stoic-compra .woocommerce .woocommerce-table--order-details :is(td:last-child, tfoot td) { text-align: right; font-variant-numeric: tabular-nums; }
body.stoic-compra .woocommerce .woocommerce-table--order-details thead th, body.stoic-compra .woocommerce .woocommerce-orders-table thead th { border-top: 0; font: 500 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ck-suave); }
body.stoic-compra .woocommerce .woocommerce-table--order-details tfoot tr:last-child :is(th, td) { border-top: 1px solid #102D35; font-size: 16px; font-weight: 700; }
body.stoic-compra .woocommerce .woocommerce-customer-details address { padding: 20px; border: 1px solid var(--ck-linea); border-radius: 8px; font-style: normal; font-size: 14px; line-height: 1.6; color: var(--ck-texto); }
body.stoic-compra .woocommerce .woocommerce-customer-details .col2-set { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { body.stoic-compra .woocommerce .woocommerce-customer-details .col2-set { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.stoic-compra .woocommerce .woocommerce-customer-details .col2-set > .col-1, body.stoic-compra .woocommerce .woocommerce-customer-details .col2-set > .col-2 { float: none; width: auto; }
body.stoic-compra .woocommerce .woocommerce-customer-details .col2-set::before, body.stoic-compra .woocommerce .woocommerce-customer-details .col2-set::after { display: none; }

/* detalle del pedido: enlaces en petróleo, total alineado y "Cancelar" como botón secundario */
body.stoic-compra .woocommerce .woocommerce-table--order-details a { color: #102D35; text-decoration: none; font-weight: 500; }
body.stoic-compra .woocommerce .woocommerce-table--order-details thead th:last-child { text-align: right; }
body.stoic-compra .woocommerce .woocommerce-table--order-details .order-actions-button { display: inline-flex; align-items: center; min-height: 40px; margin: 0 0 0 6px; padding: 0 18px; font-size: 12px; }
body.stoic-compra .woocommerce .woocommerce-table--order-details .order-actions-button.cancel { border: 1px solid #102D35; background: #FFFFFF; color: #102D35; }

/* página "Pagar por el pedido" (a la que lleva la pasarela) */
body.woocommerce-order-pay .entry-content > .woocommerce { max-width: 720px; }
body.woocommerce-order-pay .woocommerce ul.order_details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 28px; padding: 0; border: 1px solid var(--ck-linea); border-radius: 8px; list-style: none; overflow: hidden; }
@media (min-width: 760px) { body.woocommerce-order-pay .woocommerce ul.order_details { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.woocommerce-order-pay .woocommerce ul.order_details::before, body.woocommerce-order-pay .woocommerce ul.order_details::after { display: none; }
body.woocommerce-order-pay .woocommerce ul.order_details li { float: none; margin: 0; padding: 16px 18px; border: 0; border-left: 1px solid var(--ck-linea); font: 500 11px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ck-suave); }
body.woocommerce-order-pay .woocommerce ul.order_details li:first-child { border-left: 0; }
body.woocommerce-order-pay .woocommerce ul.order_details li strong { display: block; margin-top: 8px; font-size: 15px; letter-spacing: 0; text-transform: none; color: #102D35; }

.ck-gracias-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin: 40px 0 0; }
.ck-gracias-ctas .button { display: inline-flex !important; align-items: center; min-height: 52px; padding: 0 32px !important; }
.ck-link { font: 500 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #102D35; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ck-linea); }
.ck-link:hover { text-decoration-color: #102D35; }

/* -------------------------------------------------------------------------
   4. Mi cuenta compacta: menú lateral con íconos, mosaicos y pedidos en tarjetas
   ------------------------------------------------------------------------- */
/* campos más compactos en la cuenta */
body.woocommerce-account .woocommerce :is(input.input-text, select, textarea),
body.woocommerce-account .woocommerce .select2-container .select2-selection--single { height: 44px; font-size: 15px; }
body.woocommerce-account .woocommerce .select2-selection__rendered { line-height: 42px !important; }
body.woocommerce-account .woocommerce .select2-selection__arrow { top: 8px !important; }
body.woocommerce-account .woocommerce :is(a.button, button.button) { min-height: 44px; font-size: 12px; }

/* acceso */
body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce { max-width: 860px; }
body.woocommerce-account:not(.logged-in) .woocommerce > h2:first-of-type { display: none; }
body.woocommerce-account:not(.logged-in) .woocommerce > form.login,
body.stoic-compra .woocommerce #customer_login .u-column1, body.stoic-compra .woocommerce #customer_login .u-column2 {
  max-width: 400px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--ck-linea);
  border-radius: 8px;
  background: #FFFFFF;
}
body.stoic-compra .woocommerce #customer_login.col2-set { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; width: 100%; }
@media (min-width: 760px) { body.stoic-compra .woocommerce #customer_login.col2-set { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.stoic-compra .woocommerce #customer_login .u-column1, body.stoic-compra .woocommerce #customer_login .u-column2 { float: none; width: auto; max-width: none; }
body.stoic-compra .woocommerce #customer_login::before, body.stoic-compra .woocommerce #customer_login::after { display: none; }
body.stoic-compra .woocommerce #customer_login h2 { margin: 0 0 14px; font: 600 16px/1.3 var(--font); color: #102D35; }
body.stoic-compra .woocommerce :is(form.login, form.register) { margin: 0; }
body.stoic-compra .woocommerce :is(form.login, form.register, form.lost_reset_password) .button { width: 100%; margin: 4px 0 0; }
body.stoic-compra .woocommerce .woocommerce-form-login__rememberme { display: flex; align-items: center; margin: 2px 0 6px; font-size: 13px; }
body.stoic-compra .woocommerce .lost_password { margin: 14px 0 0; font-size: 13px; text-align: center; }
body.stoic-compra .woocommerce .lost_password a { color: #2D5560; }

/* panel: menú a la izquierda, contenido a la derecha */
body.woocommerce-account.logged-in .entry-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 20px; align-items: start; }
body.woocommerce-account.logged-in .entry-content > .woocommerce > * { grid-column: 1 / -1; }
@media (min-width: 900px) {
  body.woocommerce-account.logged-in .entry-content > .woocommerce { grid-template-columns: 232px minmax(0, 1fr); }
  body.woocommerce-account.logged-in .entry-content > .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; position: sticky; top: calc(var(--head-h, 81px) + 20px); }
  body.woocommerce-account.logged-in .entry-content > .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; }
}
body.stoic-compra .woocommerce .woocommerce-MyAccount-navigation, body.stoic-compra .woocommerce .woocommerce-MyAccount-content { float: none; width: auto; }

.woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; border: 1px solid var(--ck-linea); border-radius: 8px; background: #FFFFFF; list-style: none; }
.woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ck-suave);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.woocommerce-MyAccount-navigation a::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--ck-ico) center / contain no-repeat;
  mask: var(--ck-ico) center / contain no-repeat;
}
.woocommerce-MyAccount-navigation-link--dashboard { --ck-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11 12 4l8 7v8a1 1 0 0 1-1 1h-4v-6H9v6H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders { --ck-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address { --ck-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods { --ck-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account { --ck-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20c.8-3.6 3.8-5.5 7.5-5.5s6.7 1.9 7.5 5.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --ck-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 16l4-4-4-4M14 12H4'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation .is-active a { background: #F7FAFC; color: #102D35; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .woocommerce-MyAccount-navigation a:hover { background: #F7FAFC; color: #102D35; } }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--ck-linea); }
@media (max-width: 899px) {
  .woocommerce-MyAccount-navigation ul { display: flex; gap: 6px; overflow-x: auto; padding: 6px; scrollbar-width: none; }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-MyAccount-navigation a { flex: none; white-space: nowrap; font-size: 13px; padding: 8px 10px; }
  .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
}

/* contenido */
.woocommerce-MyAccount-content { font-size: 14px; line-height: 1.55; color: var(--ck-texto); }
.woocommerce-MyAccount-content > :is(form, .woocommerce-order-details, .woocommerce-customer-details, .woocommerce-Addresses + p) { margin: 0 0 16px; padding: 20px; border: 1px solid var(--ck-linea); border-radius: 8px; background: #FFFFFF; }
.woocommerce-MyAccount-content > p:first-child { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--ck-linea); border-radius: 8px; background: #FFFFFF; font-size: 14px; }
.woocommerce-MyAccount-content mark { padding: 0; background: none; font-weight: 600; color: #102D35; }
.woocommerce-MyAccount-content :is(h2, h3, legend) { margin: 0 0 12px; font: 600 16px/1.3 var(--font); color: #102D35; }
.woocommerce-MyAccount-content fieldset { margin: 16px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--ck-linea); }
.woocommerce-MyAccount-content .ck-panel ~ p, .woocommerce-MyAccount-content > p:not(:first-child):empty { display: none; }

.ck-tarjeta-t { margin: 0 0 12px; font: 600 15px/1.3 var(--font); color: #102D35; }
.ck-ultimo { margin: 0 0 16px; padding: 18px 20px; }

/* pedido en tarjeta (último pedido y lista de pedidos) */
.ck-pedidos { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ck-pedido { margin: 0; overflow: hidden; }
.ck-pedido-h { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--ck-linea); background: #FBFCFD; font-size: 12px; color: var(--ck-suave); }
.ck-pedido-h span { font-weight: 600; color: #102D35; }
.ck-pedido .ck-pedido-c { padding: 16px 18px; }
.ck-pedido-c { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px 14px; align-items: center; }
@media (min-width: 640px) { .ck-pedido-c { grid-template-columns: 56px minmax(0, 1fr) auto; } }
.ck-pedido-foto { width: 56px; height: 56px; border: 1px solid var(--ck-linea); border-radius: 6px; background: #FFFFFF; overflow: hidden; }
.ck-pedido-foto img { width: 100% !important; height: 100%; object-fit: contain; padding: 4px; }
.ck-pedido-info { display: grid; gap: 3px; min-width: 0; }
.ck-pedido-info strong { overflow: hidden; font-size: 14px; font-weight: 600; color: #102D35; white-space: nowrap; text-overflow: ellipsis; }
.ck-pedido-info > span:not(.ck-estado) { font-size: 13px; color: var(--ck-suave); }
.ck-pedido-acc { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
@media (min-width: 640px) { .ck-pedido-acc { grid-column: auto; justify-content: flex-end; } }
.ck-ultimo .ck-btn-sec { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 640px) { .ck-ultimo .ck-btn-sec { grid-column: auto; justify-self: end; } }

/* estado del pedido */
.ck-estado { justify-self: start; padding: 3px 8px; border-radius: 999px; background: #EEF3F5; font: 600 11px/1.3 var(--font); letter-spacing: .02em; color: #2D5560; }
.ck-estado-completed, .ck-estado-processing { background: #102D35; color: #FFFFFF; }
.ck-estado-cancelled, .ck-estado-failed, .ck-estado-refunded { background: #F7FAFC; color: var(--ck-neutro); text-decoration: line-through; }

/* mosaicos */
.ck-mosaico { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ck-mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ck-mosaico li { margin: 0; }
.ck-mosaico a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--ck-linea);
  border-radius: 8px;
  background: #FFFFFF;
  color: #102D35;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms var(--ck-ease);
}
.ck-mosaico a:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .ck-mosaico a:hover { border-color: #102D35; } }
.ck-mosaico-icono { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #F7FAFC; color: #102D35; }
.ck-mosaico-icono svg, .ck-sin-pedidos svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ck-mosaico-txt { display: grid; gap: 2px; }
.ck-mosaico-txt strong { font-size: 15px; font-weight: 600; }
.ck-mosaico-txt span { font-size: 13px; line-height: 1.45; color: var(--ck-suave); }

/* sin pedidos */
.ck-sin-pedidos { display: grid; justify-items: center; gap: 6px; padding: 32px 24px; text-align: center; }
.ck-sin-pedidos strong { margin-top: 8px; font-size: 16px; color: #102D35; }
.ck-sin-pedidos p { margin: 0 0 10px; font-size: 14px; color: var(--ck-suave); }
.ck-paginas { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

/* mi dirección (una sola) */
body.stoic-compra .woocommerce .woocommerce-Addresses.col2-set { display: block; width: 100%; }
body.stoic-compra .woocommerce .woocommerce-Addresses::before, body.stoic-compra .woocommerce .woocommerce-Addresses::after { display: none; }
body.stoic-compra .woocommerce .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; padding: 18px 20px; border: 1px solid var(--ck-linea); border-radius: 8px; background: #FFFFFF; }
body.stoic-compra .woocommerce .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.stoic-compra .woocommerce .woocommerce-Address-title::before, body.stoic-compra .woocommerce .woocommerce-Address-title::after { display: none; }
body.stoic-compra .woocommerce .woocommerce-Address-title h2 { margin: 0; font: 600 15px/1.3 var(--font); float: none; }
body.stoic-compra .woocommerce .woocommerce-Address-title .edit { float: none; font-size: 13px; color: #2D5560; }
body.stoic-compra .woocommerce .woocommerce-Address address { margin: 10px 0 0; font-style: normal; font-size: 14px; line-height: 1.6; color: var(--ck-texto); }
.woocommerce-MyAccount-content > p:first-child:has(+ .woocommerce-Addresses) { display: none; }

/* detalle de un pedido dentro de la cuenta */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-customer-details address { padding: 0; border: 0; }
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-customer-details .col2-set { display: block; }

/* -------------------------------------------------------------------------
   5. Pago con más petróleo, avisos flotantes y errores en cada casilla
   ------------------------------------------------------------------------- */

/* avisos flotantes (reemplazan los anuncios de WooCommerce arriba) */
.ck-avisos { position: fixed; left: 50%; bottom: 24px; z-index: 1000; display: grid; gap: 8px; width: min(460px, calc(100vw - 32px)); transform: translateX(-50%); pointer-events: none; }
@media (max-width: 759px) { .ck-avisos { bottom: calc(16px + env(safe-area-inset-bottom)); } }
body:has(.ck-barra-pago.is-on) .ck-avisos { bottom: calc(88px + env(safe-area-inset-bottom)); }
.ck-aviso {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 12px 14px 16px;
  border-radius: 8px;
  background: #102D35;
  color: #FFFFFF;
  font: 400 14px/1.45 var(--font);
  box-shadow: 0 16px 40px rgba(16, 45, 53, .22);
  animation: ckAvisoEntra 420ms cubic-bezier(.32, .72, 0, 1);
}
.ck-aviso.is-saliendo { animation: ckAvisoSale 200ms cubic-bezier(.23, 1, .32, 1) forwards; }
@keyframes ckAvisoEntra { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(.98); } }
@keyframes ckAvisoSale { to { opacity: 0; transform: translate3d(0, 10px, 0); } }
.ck-aviso-icono { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: #DBFF00; color: #102D35; }
.ck-aviso-icono svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ck-aviso-txt { flex: 1; min-width: 0; }
.ck-aviso-txt :is(a, a.button, a.wc-forward) { float: none; display: inline; min-height: 0; margin: 0 0 0 6px; padding: 0; border: 0; border-radius: 0; background: none; color: #DBFF00; font: 600 14px/1.45 var(--font); letter-spacing: 0; text-transform: none; text-decoration: underline; text-underline-offset: 3px; }
.ck-aviso-txt :is(a, a.button):hover { background: none; color: #FFFFFF; }
.ck-aviso .ck-aviso-x { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin: -3px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.ck-aviso .ck-aviso-x:hover { background: rgba(255, 255, 255, .1); color: #FFFFFF; }
.ck-aviso-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ck-aviso.is-error { border: 1px solid #F1C9C5; background: #FFFFFF; color: #102D35; }
.ck-aviso.is-error .ck-aviso-icono { background: #B42318; color: #FFFFFF; }
.ck-aviso.is-error .ck-aviso-txt a { color: #102D35; }
.ck-aviso.is-error .ck-aviso-x { color: #3E646E; }
.ck-aviso.is-error .ck-aviso-x:hover { background: #F7FAFC; color: #102D35; }

/* errores en la casilla: borde rojo y el mensaje justo debajo */
body.stoic-compra .woocommerce form .form-row.woocommerce-invalid :is(input.input-text, select, textarea),
body.stoic-compra .woocommerce form .form-row.woocommerce-invalid .select2-container .select2-selection { border-color: #B42318 !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .1); }
body.stoic-compra .woocommerce form .form-row.woocommerce-invalid > label { color: #B42318; }
body.stoic-compra .woocommerce form .form-row.woocommerce-invalid > label .required { color: #B42318; }
.ck-error { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; line-height: 1.35; color: #B42318; animation: ckErrorEntra 220ms cubic-bezier(.23, 1, .32, 1); }
.ck-error::before { content: "!"; display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #B42318; color: #FFFFFF; font: 700 11px/1 var(--font); }
@keyframes ckErrorEntra { from { opacity: 0; transform: translate3d(0, -4px, 0); } }
.ck-sacude { animation: ckSacude 360ms cubic-bezier(.23, 1, .32, 1); }
@keyframes ckSacude { 0%, 100% { transform: none; } 30% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }

/* pago: pie mínimo y resumen siempre visible */
.ck-pie { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ck-linea, #DCE4E8); font: 400 12px/1.4 var(--font); color: #5F7F87; }
.ck-pie a { color: #3E646E; text-decoration: none; }
.ck-pie a:hover { color: #102D35; text-decoration: underline; }
.ck-resumen-t2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 16px; font: 700 18px/1.2 var(--font); letter-spacing: -.01em; color: #102D35; }
.ck-resumen-t2 span { font: 400 13px/1 var(--font); color: var(--ck-suave); }

/* -------------------------------------------------------------------------
   6. Compra exitosa: "Ya eres STOIC." con ráfagas de viento lima
   ------------------------------------------------------------------------- */
body.woocommerce-order-received { overflow-x: clip; }
body.woocommerce-order-received .entry-content > .woocommerce { padding-top: 0; }
.ck-wow {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(440px, 64svh, 620px);
  margin: 0 calc(50% - 50vw) 40px;
  padding: 64px 20px 56px;
  overflow: hidden;
  background: #102D35;
  color: #FFFFFF;
  text-align: center;
  isolation: isolate;
}
.ck-wow::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 45%, rgba(219, 255, 0, .07), rgba(16, 45, 53, 0) 70%); }
.ck-wow-lienzo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.ck-wow-in { position: relative; max-width: 640px; }
.ck-wow .ck-check { width: 72px; height: 72px; }
.ck-wow .ck-check circle { fill: #DBFF00; }
.ck-wow .ck-check path { stroke: #102D35; }
.ck-wow-pedido { margin: 22px 0 0; font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .65); animation: ckSube 700ms var(--ck-ease) 300ms both; }
.ck-wow-t { margin: 14px 0 0; font-weight: 700; font-size: clamp(3rem, 9vw, 6rem); line-height: .92; letter-spacing: -.05em; color: #FFFFFF; }
.ck-wow-l { display: block; overflow: hidden; padding-bottom: .06em; }
.ck-wow-l > span { display: inline-block; animation: ckWowSube 1100ms var(--ck-ease) both; }
.ck-wow-l:nth-child(1) > span { animation-delay: 420ms; }
.ck-wow-l:nth-child(2) > span { animation-delay: 540ms; }
.ck-wow-lima { color: #DBFF00; }
@keyframes ckWowSube { from { transform: translate3d(0, 105%, 0); } }
.ck-wow-lead { max-width: 52ch; margin: 22px auto 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .85); animation: ckSube 800ms var(--ck-ease) 820ms both; }
.ck-wow-lead strong { color: #FFFFFF; }
.ck-wow-frase { min-height: 3em; margin: 22px auto 0; max-width: 46ch; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font: 500 clamp(1.0625rem, 1.6vw, 1.25rem)/1.45 var(--font); color: #FFFFFF; animation: ckSube 800ms var(--ck-ease) 1000ms both; transition: opacity 400ms ease, filter 400ms ease, transform 400ms var(--ck-ease); }
.ck-wow-frase.is-cambiando { opacity: 0; filter: blur(4px); transform: translate3d(0, 6px, 0); }
body.woocommerce-order-received .ck-pasos { margin-top: 0; }

/* barra "te faltan $X para el envío gratis" */
.ck-envio { margin: 0 0 16px; }
.ck-envio p { margin: 0 0 8px; font-size: 13px; line-height: 1.4; color: #3E646E; }
.ck-envio p strong { color: #102D35; }
.ck-envio-barra { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #DCE4E8; }
.ck-envio-barra span { display: block; width: var(--p, 0%); height: 100%; border-radius: inherit; background: #102D35; transform-origin: left; animation: ckEnvio 900ms var(--ck-ease, cubic-bezier(.23, 1, .32, 1)) 200ms both; }
.ck-envio.is-listo .ck-envio-barra span { background: #DBFF00; }
@keyframes ckEnvio { from { transform: scaleX(0); } }
.ck-envio-oscuro p { color: rgba(255, 255, 255, .75); }
.ck-envio-oscuro p strong { color: #DBFF00; }
.ck-envio-oscuro .ck-envio-barra { background: rgba(255, 255, 255, .14); }
.ck-envio-oscuro .ck-envio-barra span { background: #DBFF00; }
body.woocommerce-checkout #order_review .ck-envio { margin: 4px 0 12px; }

/* -------------------------------------------------------------------------
   7. Pago en una página: formulario blanco a la izquierda, resumen gris a la
   derecha de alto completo (en celular, el resumen va arriba y siempre abierto).
   Lima solo en el botón de pagar, sobre blanco; nunca sobre el gris.
   ------------------------------------------------------------------------- */
body.ck-pago { --head-h: 0px; background: #FFFFFF; }
body.ck-pago .entry-content > .woocommerce { max-width: none; padding: 0 20px 48px; }
body.ck-pago .woocommerce-form-coupon-toggle, body.ck-pago .woocommerce form.checkout_coupon,
body.ck-pago .woocommerce-form-login-toggle, body.ck-pago .ck-seccion, body.ck-pago .ck-pasos { display: none !important; }

/* encabezado dentro de la columna: logo y bolsa */
.ck-pago-top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.ck-pago-logo img { display: block; width: 112px; height: auto; }
.ck-pago-bolsa { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 50%; color: #102D35; transition: background-color 160ms ease; }
.ck-pago-bolsa:hover { background: #F7FAFC; }
.ck-pago-bolsa svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

/* nota de bienvenida */

/* títulos de sección, sin números: limpios */
.ck-h-fila { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.ck-pago .ck-h { margin: 0 0 14px; font: 700 20px/1.2 var(--font); letter-spacing: -.015em; color: #102D35; }
.ck-h-fila .ck-h { margin-bottom: 14px; }
.ck-h-link { font-size: 14px; color: #102D35; text-decoration: underline; text-underline-offset: 3px; }
.ck-h-sub { margin: -8px 0 14px; font-size: 14px; color: var(--ck-suave); }
body.ck-pago .woocommerce-billing-fields__field-wrapper > .ck-h { margin: 22px 0 14px; }
body.ck-pago form.checkout > .ck-h, body.ck-pago #payment, body.ck-pago form.checkout > .ck-h-pago { margin-top: 0; }
body.ck-pago form.checkout > h2.ck-h { margin-top: 18px; }
body.ck-pago form.login { margin: 0 0 24px; }

/* campos: 52 px, etiqueta dentro de la casilla (sube al escribir) */
body.ck-pago .woocommerce form .form-row { margin-bottom: 12px; }
body.ck-pago .woocommerce form .form-row.ck-flota { position: relative; }
body.ck-pago .woocommerce form .form-row.ck-flota > label {
  position: absolute; z-index: 1; top: 16px; left: 14px; right: 14px;
  margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 15px; font-weight: 400; line-height: 20px; color: var(--ck-neutro);
  pointer-events: none; transform-origin: 0 0;
  transition: transform 160ms var(--ck-ease), color 160ms ease;
}
body.ck-pago .woocommerce form .form-row.ck-flota > label .required { display: none; }
body.ck-pago .woocommerce form .form-row.ck-flota:is(.is-arriba, :focus-within) > label { transform: translateY(-9px) scale(.8); }
body.ck-pago .woocommerce form .form-row.ck-flota:has(input:-webkit-autofill) > label { transform: translateY(-9px) scale(.8); }
body.ck-pago .woocommerce form .form-row.ck-flota :is(input.input-text, textarea) { padding: 22px 14px 6px; }
body.ck-pago .woocommerce form .form-row.ck-flota textarea { height: 96px; padding-top: 26px; }
body.ck-pago .woocommerce form .form-row.ck-flota .select2-container .select2-selection--single { padding: 18px 14px 0; }
body.ck-pago .woocommerce form .form-row.ck-flota .select2-selection__rendered { line-height: 32px !important; }
body.ck-pago .woocommerce form .form-row.ck-flota select { padding: 18px 14px 0; }
body.ck-pago .woocommerce form .form-row.woocommerce-invalid.ck-flota > label { color: #B42318; }

/* método de envío: una tarjeta con la tarifa que aplica */
.ck-envio-metodo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 32px; padding: 16px; border: 1px solid #102D35; border-radius: 8px; font-size: 15px; color: #102D35; }
.ck-envio-metodo strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.ck-envio-metodo span:only-child { color: var(--ck-suave); font-size: 14px; }

/* pago: lista tipo acordeón en una sola caja */
body.ck-pago .woocommerce #payment ul.payment_methods { gap: 0; margin: 0 0 20px; overflow: hidden; border: 1px solid var(--ck-linea); border-radius: 8px; }
body.ck-pago .woocommerce #payment ul.payment_methods li { padding: 16px; border: 0; border-top: 1px solid var(--ck-linea); border-radius: 0; box-shadow: none; background: #FFFFFF; }
body.ck-pago .woocommerce #payment ul.payment_methods li:first-child { border-top: 0; }
body.ck-pago .woocommerce #payment ul.payment_methods li:has(> input:checked) { box-shadow: inset 0 0 0 1px #102D35; border-radius: 0; }
body.ck-pago .woocommerce #payment ul.payment_methods li:first-child:has(> input:checked) { border-radius: 8px 8px 0 0; }
body.ck-pago .woocommerce #payment ul.payment_methods li:last-child:has(> input:checked) { border-radius: 0 0 8px 8px; }
body.ck-pago .woocommerce #payment ul.payment_methods li:only-child:has(> input:checked) { border-radius: 8px; }
body.ck-pago .woocommerce #payment ul.payment_methods li > label { font-size: 15px; }
body.ck-pago .woocommerce #payment div.payment_box { width: auto; margin: 14px -16px -16px; padding: 16px; border-radius: 0; border-top: 1px solid var(--ck-linea); background: #F7FAFC; }
.ck-total-movil { display: none; }
body.ck-pago .woocommerce #place_order { min-height: 58px; font-size: 15px; }
body.ck-pago .ck-confianza { justify-content: flex-start; }

/* enlaces legales al final del formulario */
.ck-pago-pie { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--ck-linea); }
.ck-pago-pie a { font-size: 13px; color: var(--ck-suave); text-decoration: underline; text-underline-offset: 3px; }
.ck-pago-pie a:hover { color: #102D35; }

/* resumen: gris, sin caja */
body.ck-pago .woocommerce #order_review { padding: 0; border: 0; border-radius: 0; background: none; color: #102D35; }
body.ck-pago .woocommerce #order_review table.shop_table { margin: 0; border: 0; border-radius: 0; border-collapse: collapse; background: none; }
body.ck-pago .woocommerce #order_review table.shop_table :is(th, td) { padding: 8px 0; border: 0; color: var(--ck-texto); font-size: 14px; }
body.ck-pago .woocommerce #order_review table.shop_table tbody td { padding: 10px 0; }
body.ck-pago .woocommerce #order_review table.shop_table td.product-total { color: #102D35; font-weight: 500; }
body.ck-pago .woocommerce #order_review table.shop_table tfoot tr.cart-subtotal :is(th, td) { padding-top: 20px; }
body.ck-pago .woocommerce #order_review tr.woocommerce-shipping-totals td { color: #102D35; }
body.ck-pago .woocommerce #order_review tr.woocommerce-shipping-totals ul#shipping_method { margin: 0; padding: 0; list-style: none; }
body.ck-pago .woocommerce #order_review tr.woocommerce-shipping-totals ul#shipping_method li { margin: 0; padding: 0; text-indent: 0; }
body.ck-pago .woocommerce #order_review tr.woocommerce-shipping-totals ul#shipping_method label { display: inline; margin: 0; font-size: 14px; color: #102D35; }
body.ck-pago .woocommerce #order_review table.shop_table tfoot tr.order-total :is(th, td) { padding-top: 16px; font-size: 20px; font-weight: 700; color: #102D35; }
body.ck-pago .woocommerce #order_review tr.order-total td strong { font-weight: 700; }
body.ck-pago .woocommerce #order_review tr.order-total small { display: block; font-size: 12px; font-weight: 400; color: var(--ck-suave); }
body.ck-pago .ck-thumb { width: 64px; height: 64px; border: 1px solid var(--ck-linea); background: #FFFFFF; }
body.ck-pago .ck-cant { background: #102D35; color: #FFFFFF; }
body.ck-pago .ck-nombre { color: #102D35; }
body.ck-pago .ck-nombre .ck-var { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--ck-suave); }
/* barra de envío gratis sobre gris: sin lima */
body.ck-pago #order_review .ck-envio.is-listo .ck-envio-barra span { background: #102D35; }

/* código de descuento */
body.ck-pago .woocommerce #order_review tr.ck-cupon-fila td { padding: 14px 0 6px; }
.ck-cupon { display: flex; gap: 8px; }
body.ck-pago .woocommerce .ck-cupon .ck-cupon-input { flex: 1; min-width: 0; height: 48px; margin: 0; padding: 0 14px; border: 1px solid var(--ck-linea); border-radius: 8px; background: #FFFFFF; color: #102D35; font: 400 16px/1.2 var(--font); }
body.ck-pago .woocommerce .ck-cupon .ck-cupon-input:focus { outline: 0; border-color: #2D5560; box-shadow: 0 0 0 3px rgba(45, 85, 96, .14); }
body.ck-pago .woocommerce .ck-cupon .ck-cupon-btn { flex: none; height: 48px; padding: 0 18px; border: 1px solid #102D35; border-radius: 8px; background: #FFFFFF; color: #102D35; font: 500 13px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: transform 160ms var(--ck-ease), background-color 180ms ease, color 180ms ease; }
body.ck-pago .woocommerce .ck-cupon .ck-cupon-btn:hover { background: #102D35; color: #FFFFFF; }
body.ck-pago .woocommerce .ck-cupon .ck-cupon-btn:active { transform: scale(.97); }

/* celular y tableta: una columna, resumen arriba en banda gris de borde a borde */
@media (max-width: 999px) {
  body.ck-pago .woocommerce form.checkout { display: flex; flex-direction: column; }
  body.ck-pago .woocommerce form.checkout > #order_review { order: -1; margin: 0 -20px 28px; padding: 20px; border-top: 1px solid var(--ck-linea); border-bottom: 1px solid var(--ck-linea); background: #F7FAFC; }
  .ck-total-movil { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; font-size: 15px; color: #102D35; }
  .ck-total-movil strong { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
  body.ck-pago .woocommerce .form-row-first, body.ck-pago .woocommerce .form-row-last { width: auto; }
}
@media (max-width: 999px) and (min-width: 600px) {
  body.ck-pago .entry-content > .woocommerce { max-width: 600px; margin: 0 auto; }
}

/* computadora: dos mitades; la derecha gris de arriba abajo */
@media (min-width: 1000px) {
  body.ck-pago { background: linear-gradient(90deg, #FFFFFF calc(50% - .5px), #DCE4E8 calc(50% - .5px), #DCE4E8 calc(50% + .5px), #F7FAFC calc(50% + .5px)); }
  body.ck-pago .site, body.ck-pago .site-content, body.ck-pago .inside-article { background: none; }
  body.ck-pago .entry-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; }
  body.ck-pago .entry-content > .woocommerce > *,
  body.ck-pago .woocommerce form.checkout > *,
  body.ck-pago .woocommerce form.checkout > #customer_details.col2-set { grid-column: 1; justify-self: end; width: min(560px, calc(100% - 96px)); margin-right: 56px; }
  body.ck-pago .entry-content > .woocommerce > form.checkout { grid-column: 1 / -1; justify-self: stretch; width: auto; margin: 0 0 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  body.ck-pago .woocommerce form.checkout > #order_review { grid-column: 2; grid-row: 1 / span 40; justify-self: start; position: sticky; top: 0; width: min(440px, calc(100% - 96px)); margin: -96px 0 0 48px; padding: 44px 0 40px; }
  body.ck-pago .woocommerce form.checkout > #order_review_heading { display: none; }
  body.ck-pago .ck-pago-top { height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ck-pago .woocommerce form .form-row.ck-flota > label { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ck-envio-barra span { animation: none; }
  .ck-wow-l > span, .ck-wow-pedido, .ck-wow-lead, .ck-wow-frase { animation: none; }
  .ck-wow-frase { transition: none; }
  .ck-wow-lienzo { display: none; }
  .ck-aviso, .ck-aviso.is-saliendo, .ck-error, .ck-sacude { animation: none; }
  .ck-barra-pago { transition: none; }
  .ck-check circle, .ck-check path, .ck-exito > * { animation: none; stroke-dashoffset: 0; }
  .ck-mosaico a, .ck-q, body.stoic-compra .woocommerce :is(a.ck-btn, a.ck-btn-sec), body.stoic-compra .woocommerce :is(a.checkout-button, #place_order) { transition: none; }
}
