/* ==========================================================================
   Jagmag Cart V2 — 2026-08-17
   Owns the `jlc2-` namespace only. Loaded AFTER jagmag-cart.css so it wins
   on any accidental overlap, but the namespaces do not collide by design.
   ========================================================================== */

.jlc2 {
	/* All values inherit from assets/css/jl-tokens.css (--jl2-*). Local aliases
	   only, so the cart tracks brand changes automatically. Fallbacks match the
	   token defaults in case jl-tokens is ever dequeued. */
	--jlc2-bg:        var(--jl2-color-cream, #faf8f2);
	--jlc2-surface:   var(--jl2-color-white, #ffffff);
	--jlc2-line:      var(--jl2-color-line, rgba(20, 20, 15, 0.10));
	--jlc2-line-soft: var(--jl2-color-line-soft, rgba(20, 20, 15, 0.05));
	--jlc2-ink:       var(--jl2-color-ink, #14140f);
	--jlc2-ink-soft:  var(--jl2-color-mute, #6b6660);
	--jlc2-ink-mute:  var(--jl2-color-mute-soft, #58544e);
	--jlc2-accent:    var(--jl2-color-gold, #8f6b3d);
	--jlc2-accent-hi: var(--jl2-color-gold-hover, #7a5a30);
	--jlc2-accent-bg: var(--jl2-color-gold-soft, rgba(143, 107, 61, 0.16));
	--jlc2-green:     var(--jl2-color-olive-deep, #3a4732);
	--jlc2-green-bg:  var(--jl2-color-olive-line, rgba(74, 88, 65, 0.12));
	/* Mehndi green — brand accent added 2026-08-17. Deep henna-leaf green. */
	--jlc2-mehndi:      var(--jl2-color-mehndi, #4d6b1f);
	--jlc2-mehndi-deep: var(--jl2-color-mehndi-deep, #3d551a);
	--jlc2-mehndi-bg:   var(--jl2-color-mehndi-bg, rgba(77, 107, 31, 0.10));
	--jlc2-mehndi-wash: var(--jl2-color-mehndi-wash, #eef3e2);
	--jlc2-mehndi-line: var(--jl2-color-mehndi-line, rgba(77, 107, 31, 0.22));
	--jlc2-dark:      var(--jl2-color-ink, #14140f);
	--jlc2-radius:    var(--jl2-radius-sm, 12px);
	--jlc2-radius-sm: var(--jl2-radius-card, 2px);
	--jlc2-radius-pill: var(--jl2-radius-pill, 999px);
	--jlc2-shadow:    var(--jl2-shadow-soft, 0 8px 24px rgba(20, 20, 15, 0.06));
	--jlc2-font:      var(--jl2-font-sans, "Open Sans", sans-serif);

	background: var(--jlc2-bg);
	color: var(--jlc2-ink);
	font-family: var(--jlc2-font);
	/* Header is position:fixed and body already carries its offset
	   (--jleh-header-offset-desktop). This is breathing room BELOW that. */
	padding: 44px 0 56px;
}

.jlc2 *, .jlc2 *::before, .jlc2 *::after { box-sizing: border-box; }

.jlc2__shell {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ---------- Hero ---------- */
.jlc2-hero { text-align: center; margin: 0 0 20px; }

.jlc2-hero__eyebrow span { display: block; }
.jlc2-hero__eyebrow {
	font-family: var(--jlc2-font);
	font-size: 10px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--jlc2-mehndi);
	margin: 0 0 8px;
	line-height: 1.5;
}

body .jlc2 .jlc2-hero__title,
body .jlc2 h1.jlc2-hero__title {
	font-family: var(--jl2-font-display, "Sriracha", cursive) !important;
	font-weight: 400 !important; font-style: normal !important;
	font-size: clamp(22px, 4.2vw, 40px) !important;
	line-height: 1.15; letter-spacing: -.01em;
	margin: 0;
}
.jlc2-hero__title-a,
.jlc2-hero__title-b { display: block; }
.jlc2-hero__title-a { color: var(--jlc2-ink); }
.jlc2-hero__title-b { color: var(--jlc2-mehndi); }

/* Project band -> horizontal snap carousel of spotlight cards. */
.jlc2-hero__band { margin: 22px 0 20px; }
.jlc2-hero__band .jl-cartproof { margin: 0; }
.jlc2-hero__band .jl-cartproof__head { display: none; }

.jlc2-hero__band .jl-cartproof__grid {
	/* Legacy jagmag-cart.css sets grid-template-columns:repeat(3,1fr) here.
	   It MUST be cleared or the carousel silently renders as 3 fixed columns. */
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	grid-auto-flow: row !important;
	gap: 14px;
	overflow-x: visible;
	scroll-snap-type: none;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.jlc2-hero__band .jl-cartproof__grid::-webkit-scrollbar { display: none; }

.jlc2-hero__band .jl-cartproof__item {
	flex: 1 1 auto !important;
	max-width: 100% !important;
	position: relative;
	scroll-snap-align: center;
	margin: 0;
	border-radius: var(--jlc2-radius);
	overflow: hidden;
	background: var(--jlc2-surface);
	border: 1px solid var(--jlc2-line-soft);
}
.jlc2-hero__band .jl-cartproof__video {
	border: 0 !important; background: none !important;
	display: block; width: 100%; padding: 0; border: 0;
	background: none; cursor: pointer;
}
.jlc2-hero__band .jl-cartproof__video img {
	display: block; width: 100%; height: 100%;
	aspect-ratio: 3 / 2; object-fit: cover;
}
/* Readability scrim so the caption sits over the photo. */

/* Scrim: strong enough to read white text over a busy YouTube still. */
.jlc2-hero__band .jl-cartproof__item::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(20,20,15,.45) 0%, rgba(20,20,15,.05) 34%, rgba(20,20,15,.55) 72%, rgba(20,20,15,.88) 100%);
	pointer-events: none; z-index: 1;
}
.jlc2-hero__band .jl-cartproof__cap {
	margin: 0 !important;
	position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 3;
	font-family: var(--jlc2-font);
	text-align: left;
}
.jlc2-hero__band .jl-cartproof__play { z-index: 3; }

/* Spotlight pill, top-left over the still. */
.jlc2-hero__band .jlc2-spot {
	position: absolute; top: 12px; left: 12px; z-index: 3;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 4px 12px 4px 4px;
	border-radius: var(--jlc2-radius-pill);
	background: rgba(20, 20, 15, .62);
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.jlc2-spot__logo { width: 28px; height: 28px; border-radius: 50%; display: block; object-fit: cover; }
.jlc2-spot__txt {
	font-family: var(--jlc2-font);
	font-size: 10px; font-weight: 400; letter-spacing: .1em;
	text-transform: uppercase; color: #fff; white-space: nowrap;
}

/* Caption stack: title / place / installed badge. */
.jlc2-hero__band .jl-cartproof__cap { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.jlc2-spot__title {
	font-family: var(--jlc2-font);
	font-size: 12px; font-weight: 700; line-height: 1.25; color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
.jlc2-spot__place {
	font-family: var(--jlc2-font);
	font-size: 10px; font-weight: 500; line-height: 1.3; color: rgba(255,255,255,.9);
	text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
.jlc2-spot__badge {
	display: inline-flex; align-items: center; gap: 5px;
	margin-top: 5px; padding: 4px 11px;
	border-radius: var(--jlc2-radius-pill);
	background: var(--jlc2-mehndi);
	font-family: var(--jlc2-font);
	font-size: 10px; font-weight: 700; line-height: 1.2;
	color: #fff; text-shadow: none;
}
.jlc2-spot__badge svg { width: 12px; height: 12px; flex: none; }

/* Scroll dots, injected by cart-v2.js. */
.jlc2-dots {
	display: none;
	justify-content: center; align-items: center; gap: 7px;
	margin: 12px 0 0;
}
.jlc2-dots__dot {
	width: 7px; height: 7px; padding: 0;
	border: 0; border-radius: 50%; cursor: pointer;
	background: var(--jlc2-line-strong, rgba(20,20,15,.20));
	transition: width .2s ease, background .2s ease;
}
.jlc2-dots__dot.is-active { width: 20px; border-radius: 999px; background: var(--jlc2-mehndi); }
.jlc2-dots__dot:focus-visible { outline: 2px solid var(--jlc2-accent); outline-offset: 2px; }

/* ---------- Trust strip ---------- */
/* Six separate rounded tiles in a 3-column grid — no outer container box. */
.jlc2-strip {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
	background: none;
	border: 0;
	padding: 0;
	margin-bottom: 18px;
}
.jlc2-strip__item {
	display: flex; align-items: center; gap: 9px; min-width: 0;
	padding: 11px 10px;
	background: var(--jlc2-surface);
	border: 1px solid var(--jlc2-line-soft);
	border-radius: 12px;
}
.jlc2-strip__icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--jlc2-mehndi-bg); color: var(--jlc2-mehndi); }
.jlc2-strip__icon svg { width: 16px; height: 16px; }
.jlc2-strip__text { display: flex; flex-direction: column; min-width: 0; }
.jlc2-strip__text { min-width: 0; }
/* Wrapping is intentional: truncating these labels makes them unreadable. */
.jlc2-strip__text strong,
.jlc2-strip__text small { display: block; white-space: normal; overflow-wrap: break-word; }
.jlc2-strip__text strong { font-size: 10px; font-weight: 400; line-height: 1.3; margin-bottom: 0; }
.jlc2-strip__text small { font-size: 11px; color: var(--jlc2-ink-soft); line-height: 1.35; }

/* ---------- Layout ---------- */
.jlc2__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 20px;
	align-items: start;
}

/* ---------- Items ---------- */
.jlc2-items {
	background: var(--jlc2-surface);
	border: 1px solid var(--jlc2-line);
	border-radius: var(--jlc2-radius);
	padding: 20px 22px 16px;
}
.jlc2-items__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.jlc2-items__title { font-family: var(--jlc2-font) !important; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .04em; margin: 0; text-transform: uppercase; }
body .jlc2 .jlc2-summary__title,
body .jlc2 .jlc2-card__name,
body .jlc2 .jlc2-card__name a,
body .jlc2 .jlc2-items__title,
body .jlc2 .jlc2-benefit h3 { font-family: var(--jlc2-font) !important; font-style: normal; }
.jlc2-items__count { font-size: 13px; font-weight: 500; color: var(--jlc2-ink-soft); text-transform: none; letter-spacing: 0; margin-left: 4px; }
.jlc2-items__continue { font-size: 13.5px; font-weight: 500; color: var(--jlc2-accent); text-decoration: none; white-space: nowrap; }
.jlc2-items__continue:hover { text-decoration: underline; }
.jlc2-items__continue-chev { margin-right: 3px; }

.jlc2-freeship {
	display: flex; align-items: center; gap: 9px;
	/* Solid mehndi wash, not a 10% alpha tint — an opaque panel keeps the
	   green reading the same over the white card and the cream page. */
	background: var(--jlc2-mehndi-wash);
	border: 1px solid var(--jlc2-mehndi-line);
	color: var(--jlc2-mehndi);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 13.5px; font-weight: 600;
	line-height: 1.3;
	margin: 0 0 16px;
}
.jlc2-freeship__icon svg { width: 19px; height: 19px; display: block; }

/* ---------- Product card ---------- */
.jlc2-items__list { display: flex; flex-direction: column; }

.jlc2-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	grid-template-areas: "media body";
	column-gap: 16px;
	row-gap: 12px;
	align-items: start;
	padding: 18px 0;
	border-top: 1px solid var(--jlc2-line-soft);
}
.jlc2-card:first-child { border-top: 0; padding-top: 2px; }
.jlc2-card:last-child  { padding-bottom: 4px; }

.jlc2-card__media { grid-area: media; width: 112px; }
.jlc2-card__media a { display: block; }
.jlc2-card__media img,
.jlc2-card__img {
	width: 100%; height: 112px;
	object-fit: cover; display: block;
	border-radius: var(--jlc2-radius-sm);
	background: var(--jlc2-bg);
}

/* Body holds title, meta, price AND the action row — so everything lines up
   on one left edge instead of the actions starting under the image. */
.jlc2-card__body { grid-area: body; min-width: 0; display: flex; flex-direction: column; }

.jlc2-card__name { font-family: var(--jlc2-font) !important; font-size: 14.5px; font-weight: 600; line-height: 1.38; margin: 0 0 5px; letter-spacing: 0; font-style: normal; }
.jlc2-card__name a { color: var(--jlc2-ink); text-decoration: none; }
.jlc2-card__name a:hover { color: var(--jlc2-accent); }

.jlc2-card__variation { font-size: 12px; color: var(--jlc2-ink-soft); margin-bottom: 4px; }
.jlc2-card__variation p { margin: 0; }

.jlc2-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 7px; }
.jlc2-card__sku { font-size: 12px; color: var(--jlc2-ink-mute); }

.jlc2-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 500; padding: 2px 8px; border-radius: var(--jlc2-radius-pill); }
.jlc2-pill svg { width: 12px; height: 12px; }
.jlc2-pill--stock { background: var(--jlc2-mehndi-wash); color: var(--jlc2-mehndi); }
.jlc2-pill--oos { background: var(--jl2-color-gold-soft, rgba(143,107,61,.16)); color: var(--jl2-color-gold-deep, #6e4d11); }

.jlc2-card__note { font-size: 12px; color: var(--jl2-color-gold-deep, #6e4d11); margin: 0 0 7px; }
.jlc2-card__unit { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.jlc2-card__unit del { font-weight: 400; font-size: 13px; color: var(--jlc2-ink-mute); margin-right: 6px; }
.jlc2-card__unit ins { text-decoration: none; }

/* Action row: qty stepper left, line total right, delete pinned at the far
   right where destructive actions belong (away from + / -). */
.jlc2-card__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.jlc2-card__qty {
	flex: none;
	display: inline-flex; align-items: center;
	border: 1px solid var(--jlc2-line); border-radius: var(--jlc2-radius-pill);
	background: var(--jlc2-surface); overflow: hidden;
}
.jlc2-card__qty .quantity { display: flex; align-items: center; margin: 0; }
.jlc2-step {
	flex: none; width: 34px; height: 34px;
	display: grid; place-items: center;
	background: none; border: 0; cursor: pointer;
	font-family: inherit; font-size: 17px; line-height: 1;
	color: var(--jlc2-ink-soft);
}
.jlc2-step:hover { color: var(--jlc2-ink); background: var(--jlc2-bg); }
.jlc2-step:focus-visible { outline: 2px solid var(--jlc2-accent); outline-offset: -2px; }
.jlc2-card__qty input.qty {
	width: 34px; height: 34px; text-align: center;
	border: 0; border-radius: 0;
	background: transparent; color: var(--jlc2-ink);
	font-size: 14px; font-weight: 600; font-family: inherit;
	padding: 0; -moz-appearance: textfield; appearance: textfield;
}
.jlc2-card__qty input.qty::-webkit-outer-spin-button,
.jlc2-card__qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.jlc2-card__qty input.qty:focus { outline: 2px solid var(--jlc2-accent); outline-offset: -1px; }
.jlc2-card__qty-fixed {
	display: inline-grid; place-items: center;
	width: 68px; height: 36px;
	border: 1px solid var(--jlc2-line); border-radius: var(--jlc2-radius-pill);
	font-weight: 600; font-size: 14px;
}

.jlc2-card__remove {
	flex: none; order: 99; margin-left: auto;
	display: grid; place-items: center;
	width: 34px; height: 34px; border-radius: 50%;
	color: var(--jlc2-ink-mute); text-decoration: none;
	transition: background .15s, color .15s;
}
.jlc2-card__remove svg { width: 17px; height: 17px; }
.jlc2-card__remove:hover { background: rgba(179,38,30,.08); color: #b3261e; }
.jlc2-card__remove:focus-visible { outline: 2px solid #b3261e; outline-offset: 2px; }
/* update cart */
.jlc2-items__foot { display: flex; justify-content: flex-end; padding-top: 14px; border-top: 1px solid var(--jlc2-line); }
.jlc2-update {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--jlc2-surface); border: 1px solid var(--jlc2-line);
	border-radius: 999px; padding: 9px 18px;
	font-size: 13.5px; font-weight: 500; font-family: inherit;
	color: var(--jlc2-ink); cursor: pointer;
}
.jlc2-update svg { width: 15px; height: 15px; }
.jlc2-update:hover { border-color: var(--jlc2-accent); color: var(--jlc2-accent); }

/* ---------- Summary ---------- */
.jlc2-summary { position: sticky; top: 24px; }
.jlc2-summary__inner {
	background: var(--jlc2-surface);
	border: 1px solid var(--jlc2-line);
	border-radius: var(--jlc2-radius);
	padding: 20px 22px 22px;
	box-shadow: var(--jlc2-shadow);
}
.jlc2-summary__title { font-size: 17px; font-weight: 600; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .02em; }
.jlc2-summary__rows { margin: 0; }
.jlc2-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--jlc2-line); }
.jlc2-row dt { font-size: 14px; color: var(--jlc2-ink); margin: 0; }
.jlc2-row dd { font-size: 14.5px; font-weight: 600; margin: 0; text-align: right; }
.jlc2-row--ship dt small { display: block; font-size: 12px; font-weight: 400; color: var(--jlc2-green); margin-top: 2px; }
.jlc2-row__free { color: var(--jlc2-green); font-weight: 700; letter-spacing: .03em; }
.jlc2-row--coupon dd { color: var(--jlc2-green); }

/* coupon accordion */
.jlc2-coupon { border: 1px solid var(--jlc2-line); border-radius: var(--jlc2-radius-sm); margin: 14px 0 16px; overflow: hidden; }
.jlc2-coupon__toggle {
	display: flex; align-items: center; gap: 10px; width: 100%;
	background: var(--jlc2-surface); border: 0; cursor: pointer;
	padding: 13px 14px; font-family: inherit; font-size: 14px; color: var(--jlc2-ink); text-align: left;
}
.jlc2-coupon__tag { flex: none; color: var(--jlc2-ink-soft); display: grid; place-items: center; }
.jlc2-coupon__tag svg { width: 17px; height: 17px; }
.jlc2-coupon__label { flex: 1 1 auto; }
.jlc2-coupon__chev { flex: none; color: var(--jlc2-ink-soft); transition: transform .2s ease; display: grid; place-items: center; }
.jlc2-coupon__chev svg { width: 17px; height: 17px; }
.jlc2-coupon__toggle[aria-expanded="true"] .jlc2-coupon__chev { transform: rotate(180deg); }
.jlc2-coupon__panel { display: flex; gap: 8px; padding: 0 14px 14px; }
.jlc2-coupon__panel[hidden] { display: none; }
.jlc2-coupon__input {
	flex: 1 1 auto; min-width: 0; height: 42px;
	border: 1px solid var(--jlc2-line); border-radius: var(--jlc2-radius-sm);
	padding: 0 12px; font-size: 14px; font-family: inherit; background: var(--jlc2-bg);
}
.jlc2-coupon__input:focus { outline: 2px solid var(--jlc2-accent); outline-offset: -1px; background: var(--jlc2-surface); }
.jlc2-coupon__btn {
	flex: none; height: 42px; padding: 0 20px;
	border: 0; border-radius: var(--jlc2-radius-sm);
	background: var(--jl2-color-gold-soft, rgba(143,107,61,.16)); color: var(--jl2-color-gold-deep, #6e4d11);
	font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.jlc2-coupon__btn:hover { background: var(--jlc2-accent); color: #fff; }

/* total block */
.jlc2-total { background: var(--jlc2-bg); border-radius: var(--jlc2-radius-sm); padding: 16px; }
.jlc2-total__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.jlc2-total__label { font-size: 15px; font-weight: 600; }
.jlc2-total__value { font-size: 23px; font-weight: 700; letter-spacing: -.01em; }
.jlc2-total__value .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; }
.jlc2-total__save { font-size: 13px; font-weight: 600; color: var(--jlc2-green); text-align: right; margin: 4px 0 0; }

.jlc2-cta {
	display: flex; align-items: center; justify-content: center; gap: 9px;
	background: var(--jlc2-dark); color: #fff;
	border-radius: 999px; padding: 15px 20px;
	font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
	text-decoration: none; text-transform: uppercase;
	margin-top: 14px;
	transition: background .15s, transform .12s;
}
.jlc2-cta svg { width: 17px; height: 17px; }
.jlc2-cta:hover { background: var(--jl2-color-ink, #14140f); color: #fff; transform: translateY(-1px); }

.jlc2-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--jlc2-green); margin: 10px 0 0; }
.jlc2-secure svg { width: 15px; height: 15px; }

/* payment lockup */
/* Label and the six chips share ONE row: label auto-width, chips take the rest. */
.jlc2-pay {
	display: flex; align-items: center; gap: 10px;
	margin-top: 18px; padding-top: 16px;
	border-top: 1px solid var(--jlc2-line);
}
.jlc2-pay__eyebrow {
	flex: none; white-space: nowrap;
	font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
	color: var(--jlc2-ink-mute);
}
.jlc2-pay__logos { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.jlc2-pay__chip {
	display: grid; place-items: center;
	min-width: 0; height: 34px; padding: 0 6px;
	border: 1px solid var(--jlc2-line-soft); border-radius: var(--jlc2-radius-sm);
	background: var(--jlc2-surface);
}
.jlc2-pay__chip img { max-height: 17px; max-width: 100%; width: auto; height: auto; display: block; object-fit: contain; }
/* UPI mark is square — let it sit a touch taller so it reads at the same optical size. */
.jlc2-pay__chip img[alt="UPI"] { max-height: 20px; max-width: 20px; }

/* ---------- Proof band ---------- */
.jlc2-proof { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 22px; }
.jlc2-proof__benefits {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
	background: var(--jlc2-surface); border: 1px solid var(--jlc2-line);
	border-radius: var(--jlc2-radius); padding: 20px 22px;
}
.jlc2-benefit { display: flex; gap: 11px; align-items: flex-start; }
.jlc2-benefit__icon { flex: none; color: var(--jlc2-ink); }
.jlc2-benefit__icon svg { width: 20px; height: 20px; }
.jlc2-benefit h3 { font-size: 13.5px; font-weight: 600; margin: 0 0 3px; }
.jlc2-benefit p { font-size: 12.5px; line-height: 1.5; color: var(--jlc2-ink-soft); margin: 0; }

.jlc2-help {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	background: var(--jlc2-surface); border: 1px solid var(--jlc2-line);
	border-radius: var(--jlc2-radius); padding: 16px 22px;
}
.jlc2-help p { font-size: 14px; margin: 0; font-weight: 500; }
.jlc2-help__btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--jlc2-mehndi); color: #fff; text-decoration: none;
	border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 600;
}
.jlc2-help__btn svg { width: 17px; height: 17px; }
.jlc2-help__btn:hover { background: var(--jlc2-mehndi-deep); color: #fff; }

/* certs block injected by jl_cart_render_certs() */
.jlc2-proof .jl-cart-certs,
.jlc2-proof .jl-cartpage__certs {
	background: var(--jlc2-surface); border: 1px solid var(--jlc2-line);
	border-radius: var(--jlc2-radius); padding: 18px 22px;
}
/* Override the legacy flex-wrap row: equal tiles, no ragged last line. */
.jlc2-proof .jl-cartpage__certs-eyebrow {
	display: block; font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
	color: var(--jlc2-ink-mute); margin-bottom: 12px;
}
.jlc2-proof .jl-cartpage__certs-row {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; flex-wrap: nowrap;
}
.jlc2-proof .jl-cartpage__cert {
	display: grid; place-items: center; padding: 6px; margin: 0;
	border: 1px solid var(--jlc2-line-soft); border-radius: var(--jlc2-radius-sm);
	background: var(--jlc2-surface); aspect-ratio: 1 / 1;
}
.jlc2-proof .jl-cartpage__cert img {
	height: auto; width: 100%; max-height: 100%; object-fit: contain;
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
	.jlc2__layout { grid-template-columns: minmax(0,1fr); }
	.jlc2-summary { position: static; }
	.jlc2-proof__benefits { grid-template-columns: repeat(2, 1fr); }
	.jlc2-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
	.jlc2 { padding: 28px 0 40px; }
	.jlc2__shell { padding: 0 12px; }

	/* 3 columns held on phone: ~110px per tile, so icon sits above the text. */
	.jlc2-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0; }
	.jlc2-strip__item { flex-direction: row; align-items: center; padding: 11px 10px; gap: 9px; border-radius: 10px; }
	.jlc2-strip__icon { width: 32px; height: 32px; }
	.jlc2-strip__icon svg { width: 16px; height: 16px; }
	.jlc2-strip__text strong { font-size: 10px; font-weight: 400; line-height: 1.3; }
	.jlc2-strip__text small { font-size: 10px; line-height: 1.35; }

	.jlc2-hero { margin-bottom: 16px; }
	.jlc2-hero__eyebrow { font-size: 9px; letter-spacing: .11em; margin-bottom: 6px; }
	.jlc2-spot__txt { font-size: 10px; font-weight: 400; }
	.jlc2-hero__band .jlc2-spot { top: 10px; left: 10px; padding: 3px 10px 3px 3px; gap: 6px; }
	.jlc2-spot__logo { width: 24px; height: 24px; }
	body .jlc2 .jlc2-hero__title { font-size: 22px !important; }
	.jlc2-hero__band { margin: 14px 0 16px; }
	/* Carousel is mobile-only; desktop shows all three side by side. */
	.jlc2-hero__band .jl-cartproof__grid {
		display: flex !important; grid-template-columns: none !important;
		flex-wrap: nowrap !important; gap: 10px;
		overflow-x: auto; scroll-snap-type: x mandatory;
	}
	.jlc2-hero__band .jl-cartproof__item { flex: 0 0 90% !important; max-width: 90% !important; }
	.jlc2-dots { display: flex; }
	.jlc2-hero__band .jl-cartproof__cap { left: 12px; right: 12px; bottom: 11px; }
	.jlc2-strip__icon { width: 30px; height: 30px; }
	.jlc2-strip__icon svg { width: 16px; height: 16px; }
	.jlc2-strip__text strong { font-size: 10px; font-weight: 400; }
	.jlc2-strip__text small { font-size: 11px; }

	.jlc2-items { padding: 16px 14px 12px; }
	.jlc2-items__head { flex-wrap: wrap; gap: 6px; }
	.jlc2-items__title { font-size: 17px; }

	/* Phone: narrower thumb, actions stay inside the body column so the
	   qty / total / delete row lines up with the title above it. */
	.jlc2-card { grid-template-columns: 88px minmax(0,1fr); column-gap: 12px; padding: 16px 0; }
	.jlc2-card__media { width: 88px; }
	.jlc2-card__media img, .jlc2-card__img { height: 88px; }
	.jlc2-card__sku, .jlc2-card__variation { font-size: 11.5px; }
	.jlc2-card__unit { font-size: 14.5px; margin-bottom: 10px; }
	.jlc2-card__actions { gap: 8px; }
	/* 10px set explicitly at Chirag's request (2026-08-17). */
	.jlc2-freeship { font-size: 10px; padding: 8px 10px; gap: 6px; line-height: 1.35; }
	.jlc2-freeship__icon svg { width: 14px; height: 14px; }
	body .jlc2 .jlc2-items__title { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
	.jlc2-items__count { font-size: 10px; margin-left: 3px; }
	.jlc2-items__continue { font-size: 10px; }
	body .jlc2 .jlc2-card__name,
	body .jlc2 .jlc2-card__name a { font-size: 10px; line-height: 1.4; }
	.jlc2-card__qty input.qty { width: 30px; height: 32px; font-size: 13.5px; }
	.jlc2-card__qty-fixed { width: 60px; height: 32px; font-size: 13.5px; }
	.jlc2-step { width: 30px; height: 32px; font-size: 16px; }
	.jlc2-card__remove { width: 32px; height: 32px; }

	.jlc2-summary__inner { padding: 16px 14px 18px; }
	.jlc2-total__value { font-size: 21px; }
	.jlc2-cta { padding: 15px 16px; font-size: 13.5px; }

	.jlc2-proof__benefits { grid-template-columns: 1fr; gap: 14px; padding: 16px 14px; }

	/* Payment chips: all six stay on ONE row at phone width. ~348px usable
	   minus 5 x 4px gaps leaves ~65px per chip, so padding and logo caps
	   are tightened rather than letting the grid wrap. */
	.jlc2-pay { gap: 8px; }
	.jlc2-pay__eyebrow { font-size: 9.5px; letter-spacing: .05em; max-width: 46px; white-space: normal; line-height: 1.15; }
	.jlc2-pay__logos { grid-template-columns: repeat(6, 1fr); gap: 3px; }
	.jlc2-pay__chip { height: 30px; padding: 0 2px; min-width: 0; }
	.jlc2-pay__chip img { max-height: 13px; max-width: 100%; }
	.jlc2-pay__chip img[alt="UPI"] { max-height: 15px; max-width: 15px; }

	/* Certificates: 4 across stays legible at phone width as small square tiles. */
	.jlc2-proof .jl-cartpage__certs { padding: 14px; }
	.jlc2-proof .jl-cartpage__certs-row { grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.jlc2-proof .jl-cartpage__cert { padding: 4px; }

	/* Help block: stack, tighter, button not full-bleed-huge. */
	.jlc2-help { padding: 14px; flex-direction: column; align-items: stretch; gap: 12px; }
	.jlc2-help p { font-size: 14px; line-height: 1.45; }
	.jlc2-help__btn { width: 100%; justify-content: center; padding: 13px 18px; font-size: 14px; }

	/* Chat launcher sits above the sticky checkout bar, never on top of it. */
	#pl-fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important; }
	#pl-panel, .pl-panel { bottom: calc(146px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ---------- Sticky mobile checkout bar ----------
   On mobile the summary stacks BELOW the item list, so with 2+ items the
   real CTA sits far down the page. This bar keeps total + checkout in reach
   at all times. Hidden on desktop where the summary is already sticky. */
.jlc2-stickybar { display: none; }

@media (max-width: 720px) {
	.jlc2-summary__inner { padding-bottom: 18px; }

	.jlc2-stickybar {
		display: flex;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 140;
		align-items: center;
		gap: 12px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--jlc2-surface);
		border-top: 1px solid var(--jlc2-line);
		box-shadow: 0 -6px 20px rgba(20, 20, 15, .08);
		transform: translateY(110%);
		transition: transform .22s ease;
	}
	.jlc2-stickybar.is-visible { transform: translateY(0); }

	.jlc2-stickybar__meta { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
	.jlc2-stickybar__label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--jlc2-ink-soft); }
	.jlc2-stickybar__value { font-size: 17px; font-weight: 700; line-height: 1.2; }
	.jlc2-stickybar__value .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; }

	.jlc2-stickybar__cta {
		flex: none;
		display: inline-flex; align-items: center; gap: 7px;
		background: var(--jlc2-dark); color: #fff;
		border-radius: var(--jlc2-radius-pill);
		padding: 13px 20px;
		font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
		text-decoration: none; text-transform: uppercase;
	}
	.jlc2-stickybar__cta svg { width: 15px; height: 15px; }
	.jlc2-stickybar__cta:hover { color: #fff; }

	/* Stop the bar covering the last of the page content. */
	.jlc2 { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
	.jlc2-stickybar { transition: none; }
}

/* ---------- Update-cart: hidden submit, auto-fired by cart-v2.js ---------- */
.jlc2-update-hidden {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.jlc2-card.is-updating { opacity: .55; transition: opacity .15s ease; pointer-events: none; }

/* ---------- Woo notices ("Cart updated.") in mehndi ---------- */
body .jlc2 .woocommerce-message,
body .jlc2 .woocommerce-info {
	background: var(--jlc2-mehndi-wash);
	border: 1px solid var(--jlc2-mehndi-line);
	border-left: 1px solid var(--jlc2-mehndi-line);
	border-radius: 10px;
	color: var(--jlc2-mehndi);
	font-family: var(--jlc2-font);
	font-size: 10px; font-weight: 600; line-height: 1.35;
	padding: 8px 10px;
	margin: 0 0 14px;
	list-style: none;
	display: flex; align-items: center; gap: 6px;
}
body .jlc2 .woocommerce-message::before,
body .jlc2 .woocommerce-info::before {
	position: static; color: var(--jlc2-mehndi);
	font-size: 12px; margin: 0;
}
body .jlc2 .woocommerce-message a,
body .jlc2 .woocommerce-info a { color: var(--jlc2-mehndi); font-weight: 700; }

/* ---------- Summary type scale (set at 10px on request) ---------- */
body .jlc2 .jlc2-summary__title { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
/* Row labels (Subtotal / Shipping) bold 10px; values stay regular weight. */
body .jlc2 .jlc2-row dt { font-size: 10px; font-weight: 700; }
body .jlc2 .jlc2-row dd { font-size: 10px; }
body .jlc2 .jlc2-row--ship dt small { font-size: 10px; }
body .jlc2 .jlc2-row__free { font-size: 10px; }
body .jlc2 .jlc2-coupon__toggle,
body .jlc2 .jlc2-coupon__label { font-size: 10px; }
body .jlc2 .jlc2-coupon__input,
body .jlc2 .jlc2-coupon__btn { font-size: 10px; }
body .jlc2 .jlc2-total__label { font-size: 16px; font-weight: 600; }
body .jlc2 .jlc2-total__save { font-size: 10px; color: var(--jlc2-mehndi); font-weight: 700; }
body .jlc2 .jlc2-secure { font-size: 10px; }
body .jlc2 .jlc2-secure svg { width: 12px; height: 12px; }

/* ---------- Section headings: bold 12px ---------- */
body .jlc2 .jl-cartpage__certs-eyebrow { font-size: 12px; font-weight: 700; color: var(--jlc2-ink); letter-spacing: .06em; }
body .jlc2 .jlc2-help p { font-size: 12px; font-weight: 700; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.jlc2-cta, .jlc2-coupon__chev, .jlc2-card__remove { transition: none; }
	.jlc2-cta:hover { transform: none; }
}
