/* ==========================================================================
   CloudJersey — Cajón del carrito · diseño renovado (capa sobre cart-drawer.css) · cj-cart-ajax 1.1.0
   --------------------------------------------------------------------------
   La encola el plugin (Ajustes → Carrito sin recarga → Diseño del cajón) DESPUÉS de la hoja del tema y no toca
   su marcado: solo redefine cómo se ve. Para ganar a las reglas del tema (muchas con !important e id) todo cuelga
   de `html body #cj-mobile-cart-drawer`, que tiene más especificidad. Tokens tomados del tema (style.css:
   --cj-blue, --cj-grey, --cj-grey-border) y del header nuevo.

   Escritorio: panel lateral a toda altura (440 px). Móvil (≤ 922 px): hoja inferior a pantalla completa.
   ========================================================================== */

:root {
	--cjd-navy:    #002041;
	--cjd-navy-2:  #0f2d4c;
	--cjd-text:    #1a1a1a;
	--cjd-muted:   #6b7280;
	--cjd-faint:   #9aa3b2;
	--cjd-soft:    #f5f7fb;
	--cjd-line:    #e3e7f2;
	--cjd-line-2:  #eef1f6;
	--cjd-green:   #137333;
	--cjd-green-bg:#eaf7ee;
	--cjd-red:     #d02424;
	--cjd-radius:  14px;
	--cjd-w:       440px;
	--cjd-ease:    cubic-bezier(.22, .8, .24, 1);
}

/* ── Overlay ─────────────────────────────────────────────────────────── */
html body .cj-cart-overlay {
	background: rgba(0, 32, 65, .42) !important;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	transition: opacity .3s ease, visibility .3s ease !important;
}

/* ── Panel ───────────────────────────────────────────────────────────── */
html body #cj-mobile-cart-drawer {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: auto !important;
	left: auto !important;
	width: min(var(--cjd-w), 100vw) !important;
	height: 100vh !important;
	height: 100dvh !important;
	margin: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--cjd-text);
	box-shadow: -24px 0 60px rgba(0, 32, 65, .18) !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden !important;
	transform: translateX(104%) !important;
	transition: transform .38s var(--cjd-ease) !important;
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
}
html body #cj-mobile-cart-drawer.open {
	right: 0 !important;
	left: auto !important;
	transform: translateX(0) !important;
}

/* ── Cabecera ────────────────────────────────────────────────────────── */
html body #cj-mobile-cart-drawer .cj-drawer-header {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 14px 16px 14px 22px !important;
	background: #fff !important;
	border-bottom: 1px solid var(--cjd-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}
html body div#cj-mobile-cart-drawer > div.cj-drawer-header > h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	letter-spacing: -.01em;
	text-transform: none !important;
	color: var(--cjd-navy) !important;
	line-height: 1.2;
}
/* Nº de artículos: lo escribe el plugin en data-count (vacío = sin píldora) */
html body #cj-mobile-cart-drawer .cj-drawer-header h2[data-count]:not([data-count=""]):not([data-count="0"])::after {
	content: attr(data-count);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--cjd-navy);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
}
html body #cj-mobile-cart-drawer .cj-drawer-close {
	width: 36px !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--cjd-soft) !important;
	color: var(--cjd-navy) !important;
	font-size: 22px !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
html body #cj-mobile-cart-drawer .cj-drawer-close:hover {
	background: var(--cjd-line) !important;
	transform: rotate(90deg);
}

/* ── Zona con scroll ─────────────────────────────────────────────────── */
html body #cj-mobile-cart-drawer .cj-drawer-content {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	overflow-y: auto !important;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--cjd-line) transparent;
}
/* degradado pegado al borde inferior de la zona con scroll: avisa de que hay más contenido */
html body #cj-mobile-cart-drawer .cj-drawer-content::after {
	content: "";
	position: sticky;
	bottom: 0;
	display: block;
	height: 28px;
	margin-top: -28px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}

/* ── Lista de artículos ──────────────────────────────────────────────── */
html body #cj-mobile-cart-drawer .cj-cart-items {
	list-style: none;
	margin: 0 !important;
	padding: 4px 0 8px !important;
	background: #fff !important;
	flex: none !important;
	overflow: visible !important;
}
html body #cj-mobile-cart-drawer .cj-cart-item {
	position: relative !important;
	display: grid !important;
	grid-template-columns: 78px minmax(0, 1fr) 32px;
	grid-template-areas: "img info remove";
	column-gap: 14px;
	align-items: start !important;
	width: auto !important;
	margin: 0 20px !important;
	padding: 16px 0 !important;
	border-bottom: 1px solid var(--cjd-line-2) !important;
	overflow: visible !important;
}
html body #cj-mobile-cart-drawer .cj-cart-item:last-child { border-bottom: 0 !important; }

html body #cj-mobile-cart-drawer .cj-col.cj-img {
	grid-area: img;
	width: 78px !important;
	height: 86px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: var(--cjd-soft) !important;
	border-radius: 12px !important;
	overflow: hidden;
}
html body #cj-mobile-cart-drawer .cj-col.cj-img a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
html body #cj-mobile-cart-drawer .cj-col.cj-img img {
	width: auto !important;
	height: auto !important;
	max-width: 66px !important;
	max-height: 74px !important;
	margin: 0 !important;
	border-radius: 0 !important;
	filter: drop-shadow(0 4px 8px rgba(0, 32, 65, .14)) !important;
}

html body #cj-mobile-cart-drawer .cj-col.cj-info {
	grid-area: info;
	display: flex !important;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	height: auto !important;
	padding-right: 4px;
}
html body #cj-mobile-cart-drawer .cj-item-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	white-space: normal !important;
	text-overflow: clip;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.3;
	color: var(--cjd-navy) !important;
	text-decoration: none !important;
}
html body #cj-mobile-cart-drawer .cj-item-name:hover { text-decoration: underline !important; }

/* Talla · nombre · número · parches como píldoras */
html body #cj-mobile-cart-drawer .cj-item-metaaa {
	order: 2;
	margin: 0 !important;
	padding: 0 !important;
}
html body #cj-mobile-cart-drawer .cj-item-meta-text {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	font-size: 11px !important;
	line-height: 1 !important;
	color: var(--cjd-muted) !important;
}
html body #cj-mobile-cart-drawer .meta-piece {
	position: static !important;
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 9px !important;
	margin: 0 !important;
	border-radius: 999px;
	background: var(--cjd-soft);
	color: #3b4a5f;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}
html body #cj-mobile-cart-drawer .meta-piece::before { content: none !important; }
html body #cj-mobile-cart-drawer .meta-piece:first-child {
	background: var(--cjd-navy);
	color: #fff;
}
html body #cj-mobile-cart-drawer .cj-item-patches {
	order: 3;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0 !important;
	font-size: 11px;
	color: var(--cjd-muted);
}
html body #cj-mobile-cart-drawer .cj-item-patches .patch-thumb {
	width: 20px !important;
	height: 20px;
	object-fit: contain;
	border-radius: 4px;
	background: var(--cjd-soft);
	padding: 2px;
}

html body #cj-mobile-cart-drawer .cj-item-price {
	order: 4;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: baseline !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	margin: 2px 0 0 !important;
	line-height: 1.2 !important;
	color: var(--cjd-navy) !important;
	font-weight: 800 !important;
}
html body #cj-mobile-cart-drawer .cj-item-price ins {
	order: 1;
	font-size: 16px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	text-shadow: none !important;
	color: var(--cjd-navy) !important;
}
html body #cj-mobile-cart-drawer .cj-item-price del {
	order: 2;
	font-size: 12px !important;
	font-weight: 500 !important;
	color: var(--cjd-faint) !important;
	text-shadow: none !important;
}
html body #cj-mobile-cart-drawer .cj-item-price .screen-reader-text { display: none !important; }

/* Eliminar: arriba a la derecha, siempre visible y cómodo de pulsar */
html body #cj-mobile-cart-drawer .cj-col.cj-remove {
	grid-area: remove;
	position: static !important;
	width: 32px !important;
	height: 32px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
}
html body #cj-mobile-cart-drawer .cj-item-remove {
	position: static !important;
	width: 32px !important;
	height: 32px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: var(--cjd-faint) !important;
	box-shadow: none !important;
	cursor: pointer;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, color .15s ease;
}
html body #cj-mobile-cart-drawer .cj-item-remove:hover {
	background: #fff1f1 !important;
	color: var(--cjd-red) !important;
}
html body #cj-mobile-cart-drawer .cj-item-remove:hover .cj-ico { transform: none !important; }
html body #cj-mobile-cart-drawer .cj-item-remove .cj-ico {
	width: 15px !important;
	height: 15px !important;
	transition: none !important;
}

/* Carrito vacío */
html body #cj-mobile-cart-drawer .cj-empty-cart {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 !important;
	padding: 64px 28px 24px !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	color: var(--cjd-navy) !important;
	text-align: center;
	line-height: 1.3;
}
html body #cj-mobile-cart-drawer .cj-empty-cart::before {
	content: "";
	width: 64px;
	height: 64px;
	border-radius: 20px;
	background: var(--cjd-soft);
	-webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002041' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5z'/%3E%3Cpath d='M9 7V6a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E") center / 34px no-repeat, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002041' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5z'/%3E%3Cpath d='M9 7V6a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E") center / 34px no-repeat, linear-gradient(#000 0 0);
	mask-composite: exclude;
	background-color: var(--cjd-navy);
	opacity: .9;
}
html body #cj-mobile-cart-drawer .cj-cart-empty {
	margin: 0 !important;
	padding: 0 28px 20px !important;
	text-align: center;
	font-size: 13px;
	line-height: 1.5;
	color: var(--cjd-muted);
	background: #fff;
}
html body #cj-mobile-cart-drawer .cj-cart-empty small { font-size: 12px; color: var(--cjd-faint); }

/* ── Relacionados: fila con desplazamiento horizontal ─────────────────── */
html body #cj-mobile-cart-drawer .cj-related-products {
	margin: 8px 0 0 !important;
	padding: 18px 0 16px 20px !important;
	border-top: 8px solid var(--cjd-soft) !important;
	background: #fff !important;
	overflow: hidden !important;
	width: auto !important;
	max-width: none !important;
}
html body #cj-mobile-cart-drawer .cj-related-products h3 {
	margin: 0 0 12px !important;
	padding-right: 20px;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--cjd-muted) !important;
}
html body #cj-mobile-cart-drawer .cj-related-list {
	display: flex !important;
	grid-template-columns: none !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 0 20px 6px 0 !important;
	width: auto !important;
	max-width: none !important;
	list-style: none;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
html body #cj-mobile-cart-drawer .cj-related-list::-webkit-scrollbar { display: none; }
html body #cj-mobile-cart-drawer .cj-related-list .related-item {
	flex: 0 0 136px !important;
	min-width: 0 !important;
	scroll-snap-align: start;
}
html body #cj-mobile-cart-drawer .cj-related-list .related-item a {
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	width: 100% !important;
	background: transparent !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	color: inherit;
}
html body #cj-mobile-cart-drawer .cj-related-list .related-item img {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 124px !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 12px !important;
	object-fit: contain;
	background: var(--cjd-soft);
	border-radius: 12px !important;
	filter: drop-shadow(0 4px 8px rgba(0, 32, 65, .14)) !important;
	transition: transform .2s ease;
}
html body #cj-mobile-cart-drawer .cj-related-list .related-item a:hover img { transform: translateY(-2px); }
html body #cj-mobile-cart-drawer .cj-related-list .rel-title {
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: var(--cjd-navy) !important;
}
html body #cj-mobile-cart-drawer .cj-related-list .rel-price {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: baseline;
	gap: 6px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	color: var(--cjd-navy) !important;
}
html body #cj-mobile-cart-drawer .cj-related-list .rel-price ins { order: 1; text-decoration: none; }
html body #cj-mobile-cart-drawer .cj-related-list .rel-price del { order: 2; font-size: 11px !important; font-weight: 500; color: var(--cjd-faint) !important; }

/* ── Cromo gratis: franja fija sobre el pie, ya no flota ──────────────── */
html body #cj-mobile-cart-drawer .cjv2-cart-cromo-badge {
	position: static !important;
	order: 0;
	flex: 0 0 auto;
	display: flex !important;
	align-items: center;
	gap: 12px;
	width: auto !important;
	margin: 0 !important;
	padding: 10px 20px !important;
	border: 0 !important;
	border-top: 1px solid var(--cjd-line) !important;
	border-radius: 0 !important;
	background: #fbfcfe !important;
	box-shadow: none !important;
	z-index: auto !important;
}
html body #cj-mobile-cart-drawer .cjv2-cart-cromo-badge[style*="display:none"],
html body #cj-mobile-cart-drawer .cjv2-cart-cromo-badge[style*="display: none"] { display: none !important; }
html body #cj-mobile-cart-drawer .cjv2-cart-cromo-img {
	width: 28px !important;
	height: 36px !important;
	border-radius: 4px !important;
	box-shadow: 0 2px 6px rgba(0, 32, 65, .18);
}
html body #cj-mobile-cart-drawer .cjv2-cart-cromo-texto { gap: 2px !important; }
html body #cj-mobile-cart-drawer .cjv2-cart-cromo-label {
	margin: 0 !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cjd-muted) !important;
}
html body #cj-mobile-cart-drawer .cjv2-cart-cromo-titulo {
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	color: var(--cjd-navy) !important;
}
html body #cj-mobile-cart-drawer .cjv2-cart-cromo-badge::after {
	content: "Regalo";
	margin-left: auto;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--cjd-green-bg);
	color: var(--cjd-green);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* ── Pie: seguro, envío, resumen y pago ───────────────────────────────── */
html body #cj-mobile-cart-drawer .cj-drawer-footer {
	position: static !important;
	flex: 0 0 auto !important;
	width: auto !important;
	margin: 0 !important;
	padding: 10px 20px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
	border-top: 1px solid var(--cjd-line) !important;
	border-radius: 0 !important;
	background: #fff !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	box-shadow: 0 -12px 30px rgba(0, 32, 65, .06) !important;
	z-index: auto !important;
}

/* seguro de envío (plugin cjv2-shipping-insurance) */
html body #cj-mobile-cart-drawer #cjv2-insurance-wrapper { margin: 0 0 8px; }
html body #cj-mobile-cart-drawer #cjv2-insurance-wrapper:empty { margin: 0; }
html body #cj-mobile-cart-drawer .cjv2-insurance-popup {
	margin: 0 !important;
	border: 1px solid var(--cjd-line) !important;
	border-radius: 12px !important;
	background: var(--cjd-soft) !important;
}
html body #cj-mobile-cart-drawer .cjv2-insurance-popup-inner { padding: 8px 10px !important; gap: 10px !important; }
html body #cj-mobile-cart-drawer .cjv2-insurance-icon { width: 28px !important; height: 28px !important; }
html body #cj-mobile-cart-drawer .cjv2-insurance-title { font-size: 12px !important; color: var(--cjd-navy) !important; }
html body #cj-mobile-cart-drawer .cjv2-insurance-desc { font-size: 10.5px !important; line-height: 1.3 !important; color: var(--cjd-muted) !important; }
html body #cj-mobile-cart-drawer .cjv2-insurance-btn {
	padding: 8px 12px !important;
	border-radius: 10px !important;
	background: #fff !important;
	border: 1.5px solid var(--cjd-navy) !important;
	color: var(--cjd-navy) !important;
	font-size: 11px !important;
	letter-spacing: .06em !important;
}
html body #cj-mobile-cart-drawer .cjv2-insurance-btn:hover { background: var(--cjd-navy) !important; color: #fff !important; }
html body #cj-mobile-cart-drawer .cjv2-insurance-active {
	margin: 0 !important;
	border-radius: 12px !important;
	background: var(--cjd-green-bg) !important;
	border: 1px solid #bfe6cc !important;
	color: var(--cjd-green);
	font-size: 12px;
	font-weight: 600;
}

/* envío gratis */
html body #cj-mobile-cart-drawer #cj-shipping-progress-wrapper { margin: 0 0 10px !important; }
html body #cj-mobile-cart-drawer #cj-shipping-progress-wrapper:empty { margin: 0 !important; }
html body #cj-mobile-cart-drawer .cj-ship-msg {
	margin: 0 0 6px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-align: left !important;
	color: var(--cjd-muted) !important;
}
html body #cj-mobile-cart-drawer .cj-ship-msg strong { font-weight: 800 !important; color: var(--cjd-navy); }
html body #cj-mobile-cart-drawer .cj-ship-msg .woocommerce-Price-amount { color: var(--cjd-navy); font-weight: 800; }
html body #cj-mobile-cart-drawer .cj-ship-msg.success { color: var(--cjd-green) !important; }
html body #cj-mobile-cart-drawer .cj-ship-msg.success strong { color: var(--cjd-green); }
html body #cj-mobile-cart-drawer .cj-progress-bar {
	height: 6px !important;
	border-radius: 999px !important;
	background: var(--cjd-line-2) !important;
}
html body #cj-mobile-cart-drawer .cj-progress-bar span {
	border-radius: 999px;
	background: linear-gradient(90deg, var(--cjd-navy-2), var(--cjd-navy)) !important;
	transition: width .5s var(--cjd-ease) !important;
}
html body #cj-mobile-cart-drawer .cj-ship-msg.success + .cj-progress-bar span { background: var(--cjd-green) !important; }

/* resumen */
html body #cj-mobile-cart-drawer #cj-summary-wrapper {
	padding: 8px 0 0 !important;
	border-top: 1px solid var(--cjd-line-2) !important;
}
html body #cj-mobile-cart-drawer #cj-summary-wrapper:empty { display: none !important; }
html body #cj-mobile-cart-drawer .cj-summary-block dl { margin: 0; display: grid; gap: 2px; }
html body #cj-mobile-cart-drawer .row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 12px !important;
	line-height: 1.4 !important;
	color: var(--cjd-muted) !important;
}
html body #cj-mobile-cart-drawer .row dt { margin: 0; font-weight: 500; }
html body #cj-mobile-cart-drawer .row dd { margin: 0; font-weight: 600; color: var(--cjd-navy); font-variant-numeric: tabular-nums; }
html body #cj-mobile-cart-drawer .row--promo dt,
html body #cj-mobile-cart-drawer .row--promo dd,
html body #cj-mobile-cart-drawer .row--insurance dt,
html body #cj-mobile-cart-drawer .row--insurance dd { color: var(--cjd-green) !important; }
html body #cj-mobile-cart-drawer .cj-cart-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 6px 0 10px !important;
	padding: 8px 0 0 !important;
	border-top: 1px solid var(--cjd-line) !important;
	border-bottom: 0 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	color: var(--cjd-navy) !important;
	font-variant-numeric: tabular-nums;
}
html body #cj-mobile-cart-drawer .cj-cart-total > span:first-child {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cjd-muted);
}

/* pago */
html body #cj-mobile-cart-drawer .cj-footer-buttons { margin: 0 !important; gap: 10px; }
html body #cj-mobile-cart-drawer .cj-footer-buttons a,
html body #cj-mobile-cart-drawer .checkout-button {
	position: relative;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px;
	width: 100% !important;
	height: 50px !important;
	border-radius: var(--cjd-radius) !important;
	background: var(--cjd-navy) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	letter-spacing: .04em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(0, 32, 65, .22);
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
html body #cj-mobile-cart-drawer .checkout-button::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .15s ease;
}
html body #cj-mobile-cart-drawer .checkout-button:hover {
	background: var(--cjd-navy-2) !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(0, 32, 65, .26);
}
html body #cj-mobile-cart-drawer .checkout-button:hover::after { transform: translateX(3px); }
html body #cj-mobile-cart-drawer .checkout-button.disabled {
	background: #cfd5e1 !important;
	color: #fff !important;
	box-shadow: none !important;
	cursor: not-allowed;
	pointer-events: none;
}
html body #cj-mobile-cart-drawer .checkout-button.disabled::after { display: none; }

/* ── Móvil: hoja inferior a pantalla completa ─────────────────────────── */
@media (max-width: 922px) {
	html body #cj-mobile-cart-drawer {
		top: auto !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: 100vw !important;
		height: 92vh !important;
		height: 92dvh !important;
		border-radius: 22px 22px 0 0 !important;
		box-shadow: 0 -20px 50px rgba(0, 32, 65, .22) !important;
		transform: translateY(104%) !important;
	}
	html body #cj-mobile-cart-drawer.open {
		left: 0 !important;
		transform: translateY(0) !important;
	}
	/* asa */
	html body #cj-mobile-cart-drawer .cj-drawer-header { padding-top: 18px !important; }
	html body #cj-mobile-cart-drawer .cj-drawer-header::before {
		content: "";
		position: absolute;
		top: 8px;
		left: 50%;
		width: 40px;
		height: 4px;
		border-radius: 999px;
		background: var(--cjd-line);
		transform: translateX(-50%);
	}
	html body #cj-mobile-cart-drawer .cj-cart-item { margin: 0 16px !important; }
	html body #cj-mobile-cart-drawer .cj-related-products { padding-left: 16px !important; }
	html body #cj-mobile-cart-drawer .cj-drawer-footer,
	html body #cj-mobile-cart-drawer .cjv2-cart-cromo-badge { padding-left: 16px !important; padding-right: 16px !important; }
	html body #cj-mobile-cart-drawer .cj-related-list .related-item img { height: 112px !important; }
}

@media (prefers-reduced-motion: reduce) {
	html body #cj-mobile-cart-drawer,
	html body .cj-cart-overlay,
	html body #cj-mobile-cart-drawer .cj-progress-bar span { transition: none !important; }
}
