/* ==========================================================================
   CoreLix Core — product cards, condition meter, product page extras,
   Elementor widgets, app install prompt.
   Colours come from the theme's CSS variables (Appearance → Customize).
   ========================================================================== */

.cx-icon { display: inline-block; flex: none; vertical-align: middle; }

/* ---------- Condition meter: four rising bars, like signal strength ---------- */
.cx-grade {
	--g-on: var(--cx-success);
	--g-off: var(--cx-line, #e2e3eb);
	--g-w: 4px;
	--g-h: 15px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	line-height: 1;
	vertical-align: middle;
}
.cx-grade__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: var(--g-h); }
.cx-grade__bars i { display: block; width: var(--g-w); border-radius: 2px; background: var(--g-off); }
.cx-grade__bars i:nth-child(1) { height: 40%; }
.cx-grade__bars i:nth-child(2) { height: 60%; }
.cx-grade__bars i:nth-child(3) { height: 80%; }
.cx-grade__bars i:nth-child(4) { height: 100%; }
.cx-grade__bars i.on { background: var(--g-on); }
.cx-grade--l4 { --g-on: var(--cx-success); }
.cx-grade--l3 { --g-on: #3f9e5a; }
.cx-grade--l2 { --g-on: #d99a0b; }
.cx-grade--l1 { --g-on: #df6b2c; }
.cx-grade--new { --g-on: var(--cx-primary); }
.cx-grade--sm { --g-w: 3px; --g-h: 12px; gap: 6px; }
.cx-grade--lg { --g-w: 7px; --g-h: 30px; gap: 10px; }
.cx-grade--lg .cx-grade__bars { gap: 4px; }
.cx-grade__label { font-size: 12.5px; font-weight: 600; color: var(--cx-ink); letter-spacing: 0; }

/* ---------- Product card ---------- */
.cx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--cx-surface, #fff);
	border: 1px solid var(--cx-line);
	border-radius: var(--cx-r, 14px);
	transition: border-color .18s, box-shadow .18s;
}
.cx-card:hover { border-color: #c9c8d6; box-shadow: 0 14px 30px -20px rgba(21, 19, 43, .45); }
.cx-card__media { position: relative; aspect-ratio: 1 / 1; background: #F1F2F7; }
.cx-card__imglink { display: block; height: 100%; }
.cx-card__img, .cx-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cx-card.is-out .cx-card__img { opacity: .55; filter: grayscale(.4); }
.cx-card__flags { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.cx-flag { padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.cx-flag--sale { background: var(--cx-danger, #C4333A); color: #fff; }
.cx-flag--new { background: var(--cx-primary); color: #fff; }
.cx-card__wish {
	position: absolute; top: 8px; inset-inline-end: 8px;
	display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--cx-ink);
	cursor: pointer; box-shadow: 0 2px 8px rgba(21, 19, 43, .12);
}
.cx-card__wish:hover { color: var(--cx-danger, #C4333A); }
.cx-card__wish[aria-pressed="true"] { color: var(--cx-danger, #C4333A); }
.cx-card__wish[aria-pressed="true"] svg { fill: currentColor; }
.cx-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px 14px 10px; }
.cx-card__cond { display: flex; align-items: center; gap: 6px; margin: 0; }
.cx-card__more { padding: 1px 6px; border-radius: 6px; background: var(--cx-line-soft, #eceef4); color: var(--cx-ink-2); font-size: 11px; font-weight: 700; }
.cx-card__title { margin: 0; font-family: var(--cx-font, inherit); font-size: 14.5px; font-weight: 500; line-height: 1.35; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.cx-card__title a { color: var(--cx-ink); text-decoration: none; }
.cx-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.cx-card__wish, .cx-card__foot, .cx-card__flags { z-index: 1; }
.cx-card__foot { position: relative; }
/* Neutralise WooCommerce's default loop styles inside CoreLix cards. */
.woocommerce ul.products li.product .cx-card strong, .cx-card strong { display: inline; }
.woocommerce ul.products li.product .cx-card__title { padding: 0; margin: 0; font-size: 14.5px; }
.woocommerce ul.products li.product .cx-card__img, .woocommerce ul.products li.product .cx-card a img { margin: 0; box-shadow: none; }
.woocommerce ul.products li.product .cx-card__price { margin-bottom: 0; }
.cx-card__rating { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 12.5px; font-weight: 600; }
.cx-card__rating .cx-icon { color: var(--cx-accent); fill: var(--cx-accent); }
.cx-card__rating small { color: var(--cx-muted); font-weight: 400; }
.cx-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; padding-top: 4px; }
.cx-card__from { width: 100%; color: var(--cx-muted); font-size: 12px; line-height: 1; }
.cx-card__now { font-family: var(--cx-font-display, inherit); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--cx-ink); }
.cx-card__was { color: var(--cx-muted); font-size: 13px; }
.cx-save { align-self: flex-start; margin: 0; padding: 3px 8px; border-radius: 6px; background: var(--cx-accent-soft, #fff0d0); color: #7a4b00; font-size: 12px; line-height: 1.35; }
.cx-save strong { font-weight: 700; color: var(--cx-ink); }
.cx-save .woocommerce-Price-currencySymbol { font-weight: 700; }
.cx-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--cx-ink-2); }
.cx-card__warranty { display: inline-flex; align-items: center; gap: 4px; }
.cx-card__foot { padding: 0 14px 14px; }
.cx-card__btn, .cx-card .cx-card__btn.button {
	display: flex !important; align-items: center; justify-content: center; gap: 6px;
	width: 100%; min-height: 40px; margin: 0 !important; padding: 8px 12px !important;
	border: 1.5px solid var(--cx-primary) !important; border-radius: var(--cx-r-pill, 999px) !important;
	background: var(--cx-primary) !important; color: #fff !important;
	font-size: 14px !important; font-weight: 600 !important; line-height: 1.2; text-decoration: none; text-align: center;
}
.cx-card__btn:hover { background: var(--cx-primary-dark) !important; border-color: var(--cx-primary-dark) !important; }
.cx-card__btn--ghost { background: transparent !important; color: var(--cx-ink) !important; border-color: var(--cx-line) !important; }
.cx-card__btn--ghost:hover { border-color: var(--cx-ink) !important; background: transparent !important; }
.cx-card__btn.loading { opacity: .7; }
.cx-card__btn.added::after { content: none !important; }
.cx-card .added_to_cart { display: none !important; }
@media (max-width: 639px) {
	.cx-card__body { padding: 10px 10px 8px; }
	.cx-card__foot { padding: 0 10px 10px; }
	.cx-card__title { font-size: 13.5px; }
	.cx-card__now { font-size: 17px; }
	.cx-card__wish { width: 32px; height: 32px; }
	.cx-card__meta .cx-card__warranty { display: none; }
	.cx-save { font-size: 11px; padding: 2px 6px; }
}

/* Stock labels */
.cx-stock { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.cx-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cx-stock--in { color: var(--cx-success); }
.cx-stock--low { color: #9a5500; }
.cx-stock--out { color: var(--cx-danger, #C4333A); }
.cx-stock--back { color: var(--cx-primary); }

/* ---------- Product page extras ---------- */
.cx-pdp-save:empty { display: none; }
.cx-from { font-size: .5em; font-weight: 600; color: var(--cx-muted); letter-spacing: 0; }
.price ins, .price ins .amount { text-decoration: none; }
.cx-has-main-price .woocommerce-variation-price { display: none; }
.cx-pdp-save .cx-save { margin: 4px 0 8px; font-size: 14px; padding: 5px 10px; }
.cx-instalments { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; color: var(--cx-ink-2); font-size: 14px; }
.cx-condbox { margin: 14px 0 6px; padding: 14px 16px; border: 1px solid var(--cx-line); border-radius: var(--cx-r); background: var(--cx-surface, #fff); }
.cx-condbox[hidden] { display: none; }
.cx-condbox__head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cx-condbox__desc { margin: 8px 0 0; color: var(--cx-ink-2); font-size: 14px; line-height: 1.55; }

.cx-swatch-field { width: 100%; }
.cx-swatch-field select[data-cx-swatch-select] { position: absolute !important; width: 1px !important; min-width: 0 !important; max-width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0 !important; }
.cx-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-swatch {
	display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px;
	min-width: 104px; padding: 10px 14px; border: 1.5px solid var(--cx-line); border-radius: var(--cx-r-sm, 10px);
	background: var(--cx-surface, #fff); color: var(--cx-ink); cursor: pointer; text-align: start; font: inherit;
	transition: border-color .15s, box-shadow .15s;
}
.cx-swatches:not(.cx-swatches--condition) .cx-swatch { min-width: 0; flex-direction: row; align-items: center; padding: 9px 14px; }
.cx-swatch:hover { border-color: var(--cx-ink-2); }
.cx-swatch.is-selected { border-color: var(--cx-primary); box-shadow: 0 0 0 3px var(--cx-primary-soft); }
.cx-swatch.is-unavailable { opacity: .45; text-decoration: line-through; }
.cx-swatch__label { font-weight: 600; font-size: 14px; }
.cx-swatch__price { color: var(--cx-ink-2); font-size: 13px; }
.cx-swatch.is-selected .cx-swatch__price { color: var(--cx-primary-dark); font-weight: 600; }

.cx-avail { display: grid; gap: 10px; margin: 14px 0 4px; padding: 14px 16px; border-radius: var(--cx-r); background: var(--cx-surface, #fff); border: 1px solid var(--cx-line); }
.cx-avail__stock { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.cx-avail__qty { color: var(--cx-muted); font-size: 13px; }
.cx-avail__hint { margin: 0; color: var(--cx-ink-2); font-size: 14px; }
.cx-delivery { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.cx-delivery > .cx-icon { margin-top: 2px; color: var(--cx-primary); }
.cx-delivery p { margin: 0; }
.cx-delivery__date strong { color: var(--cx-ink); }
.cx-delivery__cut { color: var(--cx-success); font-weight: 600; font-size: 13px; }
.cx-delivery__note { color: var(--cx-muted); font-size: 13px; }
.cx-wa-order { margin: 10px 0 0; min-height: 50px; }
.cx-promises { display: grid; gap: 10px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--cx-line); list-style: none; }
.cx-promises li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--cx-ink-2); }
.cx-promises .cx-icon { color: var(--cx-success); }

/* WooCommerce built-in back-in-stock form + fallback form */
.wc_bis_form, .cx-bis { margin: 14px 0; padding: 16px; border: 1px dashed var(--cx-primary); border-radius: var(--cx-r); background: var(--cx-primary-soft); }
.wc_bis_form h3 { margin: 0 0 10px; font-size: 16px; }
.wc_bis_form form, .cx-bis__row { display: flex; flex-wrap: wrap; gap: 8px; }
.wc_bis_form .wc_bis_form__form-row { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.wc_bis_form input[type="email"], .cx-bis input[type="email"] { flex: 1 1 200px; min-height: 46px; }
.wc_bis_form button, .wc_bis_form .button { min-height: 46px; }
.cx-bis label { display: block; margin-bottom: 8px; font-weight: 600; }
.cx-bis__done { margin: 0; font-weight: 600; color: var(--cx-success); }

/* Thank-you page */
.cx-thanks { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; padding: 18px 20px; border-radius: var(--cx-r-lg, 20px); background: #e6f7ee; }
.cx-thanks p { margin: 0; }
.cx-thanks__title { font-weight: 700; font-size: 17px; }

/* ---------- Elementor widgets: shared ---------- */
.cxw { --cxw-gap: 16px; position: relative; }
.cxw-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 16px; }
.cxw-head__text { min-width: 0; }
.cxw-head__title { margin: 0; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.85rem); }
.cxw-head__sub { margin: 4px 0 0; color: var(--cx-ink-2); font-size: 15px; }
.cxw-head__link { flex: none; padding-bottom: 2px; border-bottom: 2px solid var(--cx-primary); color: var(--cx-primary); font-weight: 600; font-size: 15px; text-decoration: none; }
.cxw-head__link:hover { color: var(--cx-primary-dark); }
.cxw-empty { padding: 20px; border: 1px dashed var(--cx-line); border-radius: var(--cx-r); color: var(--cx-muted); text-align: center; }

.cxw-grid { --cxw-cols: 4; display: grid; grid-template-columns: repeat(var(--cxw-cols), minmax(0, 1fr)); gap: var(--cxw-gap); margin: 0; padding: 0; list-style: none; }
.cxw-grid__item { min-width: 0; }
.cxw-grid--auto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .cxw-grid--auto { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cxw-grid--auto { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cxw-carousel { position: relative; }
.cxw-track {
	--cxw-cols: 4;
	--cxw-peek: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--cxw-cols) + var(--cxw-peek) - 1) * var(--cxw-gap)) / (var(--cxw-cols) + var(--cxw-peek)));
	gap: var(--cxw-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 2px;
}
.cxw-track::-webkit-scrollbar { display: none; }
.cxw-track__item { min-width: 0; scroll-snap-align: start; }
@media (max-width: 767px) {
	.cxw { --cxw-gap: 10px; }
	.cxw-track { --cxw-peek: .35; }
	.cxw-track--plain { --cxw-peek: .3; }
}
.cxw-arrow {
	position: absolute; top: 38%; z-index: 3;
	display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
	border: 1px solid var(--cx-line); border-radius: 50%; background: var(--cx-surface, #fff); color: var(--cx-ink);
	box-shadow: 0 8px 20px -10px rgba(21, 19, 43, .5); cursor: pointer;
}
.cxw-arrow:hover { background: var(--cx-ink); color: #fff; border-color: var(--cx-ink); }
.cxw-arrow--prev { inset-inline-start: -14px; }
.cxw-arrow--next { inset-inline-end: -14px; }
.cxw-arrow[disabled] { opacity: 0; pointer-events: none; }
[dir="rtl"] .cxw-arrow svg { transform: scaleX(-1); }
@media (max-width: 1023px) { .cxw-arrow { display: none; } }

/* ---------- Hero ---------- */
.cxw-hero { --cxw-hero-h: 460px; --cxw-hero-r: 22px; display: grid; gap: 14px; }
@media (min-width: 1024px) { .cxw-hero--tiles { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); } }
.cxw-hero__slider { position: relative; height: var(--cxw-hero-h); overflow: hidden; border-radius: var(--cxw-hero-r); background: var(--cx-ink); }
.cxw-hero__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.cxw-hero__track::-webkit-scrollbar { display: none; }
.cxw-slide {
	position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always;
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 12px;
	padding: 36px 48px 64px; overflow: hidden;
}
.cxw-slide--light { color: #fff; }
.cxw-slide--dark { color: var(--cx-ink); }
.cxw-slide__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cxw-slide__tag { display: inline-block; padding: 6px 12px; border-radius: var(--cx-r-pill, 999px); background: var(--cx-accent); color: var(--cx-ink); font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.cxw-slide--dark .cxw-slide__tag { background: var(--cx-ink); color: #fff; }
.cxw-slide__heading { margin: 0; color: inherit; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.cxw-slide__text { max-width: 44ch; margin: 0; font-size: 16.5px; line-height: 1.5; opacity: .86; }
.cxw-slide .cx-btn { margin-top: 6px; min-height: 50px; padding-inline: 26px; }
.cxw-slide--dark .cx-btn { background: var(--cx-ink); border-color: var(--cx-ink); color: #fff; }
.cxw-slide__media { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.cxw-slide__media img { max-height: 108%; width: auto; max-width: 100%; object-fit: contain; }
.cxw-hero__dots { position: absolute; bottom: 20px; inset-inline-end: 28px; z-index: 2; display: flex; gap: 6px; }
.cxw-dot { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .2s, background-color .2s; }
.cxw-dot.is-active { width: 42px; background: #fff; }
.cxw-hero__slider[data-tone="dark"] .cxw-dot { background: rgba(21, 19, 43, .25); }
.cxw-hero__slider[data-tone="dark"] .cxw-dot.is-active { background: var(--cx-ink); }
.cxw-hero__tiles { display: grid; gap: 14px; }
@media (min-width: 1024px) { .cxw-hero__tiles { grid-template-rows: 1fr 1fr; height: var(--cxw-hero-h); } }
@media (max-width: 1023px) { .cxw-hero__tiles { grid-template-columns: 1fr 1fr; } }
.cxw-tile {
	position: relative; display: flex; align-items: flex-start; min-height: 150px; padding: 20px;
	overflow: hidden; border-radius: var(--cxw-hero-r); color: var(--cx-ink); text-decoration: none;
}
.cxw-tile__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; max-width: 60%; }
.cxw-tile__title { font-family: var(--cx-font-display, inherit); font-size: 21px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.cxw-tile__sub { font-size: 14px; color: var(--cx-ink-2); }
.cxw-tile__img { position: absolute; bottom: -6%; inset-inline-end: -4%; width: 62%; height: auto; transition: transform .3s var(--cx-ease, ease); }
.cxw-tile:hover { color: var(--cx-ink); }
.cxw-tile:hover .cxw-tile__img { transform: translateY(-4px); }
@media (max-width: 767px) {
	.cxw-hero { --cxw-hero-h: 470px; --cxw-hero-r: 18px; }
	.cxw-slide { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; padding: 26px 22px 40px; gap: 0; }
	.cxw-slide__text { font-size: 15px; }
	.cxw-slide__media { height: 100%; margin-inline: -10px; }
	.cxw-slide__media img { max-height: 100%; }
	.cxw-hero__dots { inset-inline-end: auto; inset-inline-start: 22px; bottom: 16px; }
	.cxw-tile { min-height: 132px; padding: 14px; }
	.cxw-tile__title { font-size: 16px; }
	.cxw-tile__sub { font-size: 12.5px; }
	.cxw-tile__text { max-width: 75%; }
	.cxw-tile__img { width: 70%; }
}

/* ---------- Category tiles & chips ---------- */
.cxw-cat { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--cx-ink); text-decoration: none; text-align: center; }
.cxw-cat__media { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--cx-r-lg, 20px); background: #F1F2F7; border: 1px solid var(--cx-line-soft, #eceef4); transition: border-color .15s; }
.cxw-cat__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.cxw-cat:hover .cxw-cat__media { border-color: var(--cx-primary); }
.cxw-cat:hover .cxw-cat__media img { transform: scale(1.05); }
.cxw-cat__icon { color: var(--cx-primary); }
.cxw-cat__name { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.cxw-cat__count { margin-top: -6px; color: var(--cx-muted); font-size: 12.5px; }
.cxw-cat:hover { color: var(--cx-primary); }
@media (max-width: 767px) {
	.cxw-cats--tiles .cxw-track { --cxw-peek: .5; }
	.cxw-cat__name { font-size: 13px; }
	.cxw-cat__count { display: none; }
	.cxw-cat__media { border-radius: 16px; }
}
.cxw-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--cx-line); border-radius: var(--cx-r-pill, 999px); background: var(--cx-surface, #fff); color: var(--cx-ink); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.cxw-chip__icon { color: var(--cx-primary); }
.cxw-chip:hover { border-color: var(--cx-primary); color: var(--cx-primary); }

/* ---------- Deals ---------- */
.cxw-deals { padding: 22px; border-radius: 22px; background: var(--cx-ink); }
.cxw-deals .cxw-head__title { color: #fff; }
.cxw-deals .cxw-head__sub { color: rgba(255, 255, 255, .7); }
.cxw-deals .cxw-head__link { color: var(--cx-accent); border-color: var(--cx-accent); }
.cxw-timer { display: flex; gap: 6px; margin-inline-start: auto; }
.cxw-timer__unit { display: grid; justify-items: center; min-width: 56px; padding: 7px 8px 6px; border-radius: 10px; background: var(--cx-accent); color: var(--cx-ink); line-height: 1; }
.cxw-timer__unit b { font-family: var(--cx-font-display, inherit); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cxw-timer__unit small { margin-top: 3px; font-size: 11px; font-weight: 600; opacity: .75; }
.cxw-timer.is-ended { display: none; }
.cxw-deals .cxw-arrow { border-color: transparent; }
@media (max-width: 767px) {
	.cxw-deals { padding: 16px 12px; border-radius: 18px; margin-inline: -4px; }
	.cxw-deals .cxw-head { align-items: flex-start; }
	.cxw-timer { order: 3; width: 100%; margin: 4px 0 0; }
	.cxw-timer__unit { min-width: 48px; }
	.cxw-timer__unit b { font-size: 18px; }
	.cxw-deals .cxw-head__link { order: 2; }
}

/* ---------- Shop by condition ---------- */
.cxw-cond {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%;
	padding: 20px; border: 1px solid var(--cx-line); border-radius: var(--cx-r-lg, 20px);
	background: var(--cx-surface, #fff); color: var(--cx-ink); text-decoration: none;
	transition: border-color .15s, transform .15s;
}
.cxw-cond:hover { border-color: var(--cx-ink); color: var(--cx-ink); }
.cxw-cond__name { font-family: var(--cx-font-display, inherit); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.cxw-cond__desc { color: var(--cx-ink-2); font-size: 14px; line-height: 1.5; }
.cxw-cond__from { margin-top: auto; padding-top: 6px; color: var(--cx-ink-2); font-size: 14px; }
.cxw-cond__from strong { color: var(--cx-ink); font-size: 16px; }
@media (max-width: 767px) {
	.cxw-conds .cxw-grid { --cxw-gap: 8px; }
	.cxw-cond { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "meter name" "meter from" "desc desc"; gap: 2px 14px; padding: 14px 16px; }
	.cxw-cond .cx-grade { grid-area: meter; align-self: center; }
	.cxw-cond__name { grid-area: name; font-size: 18px; }
	.cxw-cond__from { grid-area: from; margin: 0; padding: 0; font-size: 13px; }
	.cxw-cond__desc { grid-area: desc; margin-top: 8px; font-size: 13px; }
}

/* ---------- Trust badges ---------- */
.cxw-trust .cxw-grid { --cxw-gap: 10px; }
.cxw-trust__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--cx-r); background: var(--cx-surface, #fff); border: 1px solid var(--cx-line-soft, #eceef4); color: var(--cx-ink); text-decoration: none; }
.cxw-trust__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cx-primary-soft); color: var(--cx-primary); }
.cxw-trust__icon svg, .cxw-trust__icon i { width: 22px; height: 22px; font-size: 22px; }
.cxw-trust__text { display: flex; flex-direction: column; line-height: 1.3; }
.cxw-trust__text strong { font-size: 15px; }
.cxw-trust__text span { color: var(--cx-ink-2); font-size: 13px; }
@media (max-width: 767px) {
	.cxw-trust__item { gap: 10px; padding: 10px; }
	.cxw-trust__icon { width: 36px; height: 36px; border-radius: 10px; }
	.cxw-trust__text strong { font-size: 13px; }
	.cxw-trust__text span { font-size: 11.5px; }
}

/* ---------- Brands ---------- */
.cxw-brand { display: grid; place-items: center; height: 76px; padding: 12px; border: 1px solid var(--cx-line-soft, #eceef4); border-radius: var(--cx-r); background: var(--cx-surface, #fff); color: var(--cx-ink-2); font-family: var(--cx-font-display, inherit); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.cxw-brand img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.cxw-brand:hover { color: var(--cx-ink); border-color: var(--cx-line); }
.cxw-brand:hover img { filter: none; opacity: 1; }

/* ---------- Banner ---------- */
.cxw-banner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 12px; min-height: 230px; height: 100%; padding: 24px 28px; overflow: hidden; border-radius: 22px; background: var(--cx-accent-soft); color: var(--cx-ink); }
.cxw-banner--img-start { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.cxw-banner--img-start .cxw-banner__media { order: -1; }
.cxw-banner__content { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cxw-banner .cxw-slide__tag { background: var(--cx-ink); color: #fff; }
.cxw-banner__heading { margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.cxw-banner__text { margin: 0; color: var(--cx-ink-2); font-size: 15px; }
.cxw-banner__media img { width: 100%; max-height: 240px; object-fit: contain; }
@media (max-width: 639px) {
	.cxw-banner { grid-template-columns: 1.3fr 1fr; min-height: 0; padding: 18px; border-radius: 18px; }
	.cxw-banner__text { display: none; }
	.cxw-banner .cx-btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
}

/* ---------- Steps ---------- */
.cxw-steps__list { counter-reset: none; }
.cxw-step { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--cx-r-lg, 20px); background: var(--cx-surface, #fff); border: 1px solid var(--cx-line-soft, #eceef4); }
.cxw-step__num { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--cx-primary); border-radius: 50%; color: var(--cx-primary); font-family: var(--cx-font-display, inherit); font-weight: 800; font-size: 18px; }
.cxw-step__title { font-family: var(--cx-font-display, inherit); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--cx-ink); }
.cxw-step__text { color: var(--cx-ink-2); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 767px) {
	.cxw-step { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 14px 16px; }
	.cxw-step__num { grid-row: span 2; }
}

/* ---------- App / WhatsApp promo ---------- */
.cxw-app { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 20px; min-height: 280px; padding: 32px 40px; overflow: hidden; border-radius: 24px; background: var(--cx-primary); color: #fff; }
.cxw-app h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; }
.cxw-app p { max-width: 52ch; margin: 0 0 20px; opacity: .88; }
.cxw-app__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cxw-app__media { align-self: end; margin-bottom: -60px; }
.cxw-app__media img { width: 100%; max-height: 340px; object-fit: contain; }
@media (max-width: 767px) {
	.cxw-app { grid-template-columns: 1fr; padding: 24px 20px 0; border-radius: 20px; }
	.cxw-app__media { margin: 0 auto -40px; max-width: 280px; }
}
.cxw-search .cx-search { max-width: none; }

/* ---------- Install prompt ---------- */
.cx-install {
	position: fixed; inset-inline: 12px; bottom: calc(var(--cx-bottomnav-h, 0px) + 12px); z-index: 85;
	display: flex; align-items: center; gap: 12px; padding: 12px; max-width: 520px; margin-inline: auto;
	border-radius: 18px; background: var(--cx-surface, #fff); box-shadow: 0 18px 50px -14px rgba(21, 19, 43, .45); border: 1px solid var(--cx-line);
	animation: cx-rise .35s cubic-bezier(.2, .8, .2, 1);
}
.cx-install[hidden] { display: none; }
.cx-install__icon { flex: none; width: 44px; height: 44px; border-radius: 11px; }
.cx-install__text { flex: 1; min-width: 0; }
.cx-install__title { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.25; }
.cx-install__sub { margin: 2px 0 0; color: var(--cx-ink-2); font-size: 12.5px; line-height: 1.35; }
.cx-install__btn { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.cx-install__close { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cx-muted); cursor: pointer; }
@keyframes cx-rise { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cx-ios-tip { position: fixed; inset: 0; z-index: 120; display: grid; place-items: end center; padding: 16px; background: rgba(21, 19, 43, .5); }
.cx-ios-tip[hidden] { display: none; }
.cx-ios-tip__card { width: min(100%, 420px); padding: 22px; border-radius: 20px; background: var(--cx-surface, #fff); }
.cx-ios-tip__title { margin: 0 0 10px; font-weight: 800; font-size: 18px; font-family: var(--cx-font-display, inherit); }
.cx-ios-tip ol { margin: 0 0 18px; padding-inline-start: 20px; color: var(--cx-ink-2); line-height: 1.7; }

/* Toast (wishlist) */
.cx-toast { position: fixed; inset-inline: 0; bottom: calc(var(--cx-bottomnav-h, 0px) + 18px); z-index: 130; display: flex; justify-content: center; pointer-events: none; }
.cx-toast__msg { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--cx-ink); color: #fff; font-size: 14px; box-shadow: var(--cx-shadow-lg, 0 20px 50px -20px rgba(0, 0, 0, .5)); pointer-events: auto; animation: cx-rise .25s ease; }
.cx-toast__msg a { color: var(--cx-accent); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
	.cxw-track, .cxw-hero__track { scroll-behavior: auto; }
	.cx-install, .cx-toast__msg { animation: none; }
}

/* ==========================================================================
   1.1 additions
   ========================================================================== */

/* Card polish: brand line, calmer title, lift on hover */
.cx-card { transition: border-color .18s, box-shadow .2s, transform .2s cubic-bezier(.2, .8, .2, 1); }
.cx-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(21, 19, 43, .5); }
.cx-card__media img { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.cx-card:hover .cx-card__media img { transform: scale(1.03); }
.cx-card__body { gap: 4px; }
.cx-card__brand { margin: 2px 0 0; color: var(--cx-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.cx-card__title { min-height: 2.7em; }
.cx-card__cond + .cx-card__brand { margin-top: 2px; }

/* Sale end line on product pages */
.cx-sale-end { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 2px 0 10px; color: var(--cx-danger, #C4333A); font-size: 14px; font-weight: 600; }
.cx-sale-end__left { color: var(--cx-ink-2); font-weight: 500; }

/* Demo notices */
.cx-demobar { background: repeating-linear-gradient(135deg, #fff3c4 0 14px, #ffeaa0 14px 28px); color: #4b3600; font-size: 13.5px; border-bottom: 1px solid #f0d77a; }
.cx-demobar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; min-height: 36px; padding-block: 6px; text-align: center; }
.cx-demobar strong { padding: 2px 8px; border-radius: 6px; background: #4b3600; color: #fff7d6; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.cx-demobar a { color: #4b3600; font-weight: 700; }
.cx-demobar em { font-style: normal; font-weight: 700; color: #8a2d00; }
.cx-demo-note { margin: 14px 0 4px; padding: 12px 14px; border-radius: var(--cx-r, 14px); background: #fff6d8; border: 1px solid #f2d98a; color: #4b3600; font-size: 14px; line-height: 1.5; }
.cx-demo-note strong { display: block; margin-bottom: 2px; }
.cx-demo-note p, p.cx-demo-note { margin-top: 18px; }

/* Store pages: review notes, placeholders, tables, contact list, grade guide */
.cx-review-note { margin: 0 0 22px; padding: 14px 16px; border-radius: var(--cx-r, 14px); border: 1px dashed #d99a0b; background: #fff8e6; color: #5a4300; font-size: 14.5px; line-height: 1.55; }
.cx-review-note strong { display: inline-block; margin-inline-end: 6px; padding: 1px 8px; border-radius: 6px; background: #5a4300; color: #fff4cf; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
.cx-tbc { padding: 1px 6px; border-radius: 5px; background: #fff0c2; color: #6b4e00; font-style: normal; }
.cx-policy-table { width: 100%; margin: 8px 0 20px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--cx-line); border-radius: var(--cx-r, 14px); background: var(--cx-surface, #fff); font-size: 15px; }
.cx-policy-table th, .cx-policy-table td { padding: 12px 16px; border-bottom: 1px solid var(--cx-line-soft, #eceef4); text-align: start; vertical-align: top; }
.cx-policy-table th { width: 42%; color: var(--cx-ink); font-weight: 600; background: #fafafd; }
.cx-policy-table tr:last-child th, .cx-policy-table tr:last-child td { border-bottom: 0; }
.cx-contact-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 12px 0 24px; padding: 0; list-style: none; }
.cx-contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--cx-line); border-radius: var(--cx-r, 14px); background: var(--cx-surface, #fff); }
.cx-contact-list .cx-icon { margin-top: 2px; color: var(--cx-primary); }
.cx-contact-list span { display: grid; gap: 2px; }
.cx-contact-list strong { font-size: 13px; color: var(--cx-muted); font-weight: 600; }
.cx-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; padding: 0; list-style: none; }
.cx-chip-list li { padding: 6px 12px; border-radius: 999px; background: var(--cx-primary-soft); color: var(--cx-primary-dark, #4027b8); font-weight: 600; font-size: 14px; }
.cx-grade-guide { display: grid; gap: 12px; margin: 12px 0 24px; }
.cx-grade-guide__item { display: flex; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--cx-line); border-radius: var(--cx-r, 14px); background: var(--cx-surface, #fff); }
.cx-grade-guide__item h3 { margin: 0 0 4px; font-size: 18px; }
.cx-grade-guide__item p { margin: 0; color: var(--cx-ink-2); }

/* Product page: claims and policy links */
.cx-promises a { color: inherit; text-decoration: underline; text-decoration-color: var(--cx-line); }
.cx-promises a:hover { color: var(--cx-primary); }
.cx-policy-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; font-size: 13.5px; }
.cx-policy-links a { color: var(--cx-ink-2); text-decoration: underline; text-decoration-color: var(--cx-line); text-underline-offset: 3px; }
.cx-policy-links a:hover { color: var(--cx-primary); text-decoration-color: currentColor; }
.cx-delivery { padding: 12px 14px; border-radius: var(--cx-r, 14px); background: var(--cx-primary-soft); }
.cx-delivery[hidden] { display: none; }
.cx-delivery__date { color: var(--cx-ink); font-weight: 500; line-height: 1.5; }

/* Laptops row: brand chips */
.cxw-brandchips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; padding: 0; list-style: none; }
.cxw-brandchips a { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 16px; border: 1px solid var(--cx-line); border-radius: 999px; background: var(--cx-surface, #fff); color: var(--cx-ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
.cxw-brandchips a:hover { border-color: var(--cx-primary); background: var(--cx-primary); color: #fff; }

/* Buying guide */
.cxw-guide .cxw-grid { --cxw-gap: 14px; }
.cxw-guide__card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; border: 1px solid var(--cx-line); border-radius: var(--cx-r-lg, 20px); background: var(--cx-surface, #fff); transition: box-shadow .2s, transform .2s cubic-bezier(.2, .8, .2, 1); }
.cxw-guide__card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(21, 19, 43, .5); }
.cxw-guide__card .cxw-trust__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cx-primary-soft); color: var(--cx-primary); }
.cxw-guide__title { margin: 4px 0 0; font-size: 17px; }
.cxw-guide__text { flex: 1; margin: 0; color: var(--cx-ink-2); font-size: 14.5px; line-height: 1.55; }
.cxw-guide__link { align-self: flex-start; color: var(--cx-primary); font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 2px solid currentColor; }

/* App section: install steps and help links */
.cxw-app__steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.cxw-app__steps li { position: relative; padding-inline-start: 22px; opacity: .9; }
.cxw-app__steps li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--cx-accent); }
.cxw-app__help { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); }
.cxw-app__help-title { margin: 0 0 10px !important; font-weight: 700; opacity: 1 !important; }
.cxw-app__links { display: flex; flex-wrap: wrap; gap: 8px; }
.cxw-app__links a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.cxw-app__links a:hover { background: #fff; color: var(--cx-ink); }
.cxw-app { padding-block: 36px; }

/* Hero tiles: keep text clear of the artwork */
.cxw-tile__text { max-width: 52%; }
@media (min-width: 1024px) { .cxw-tile__img { width: 50%; bottom: -4%; inset-inline-end: -2%; } }
.cxw-tile__sub { line-height: 1.35; }

/* Wishlist page */
.cx-wishlist__loading { padding: 32px; border-radius: var(--cx-r, 14px); background: var(--cx-surface, #fff); color: var(--cx-muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
	.cx-card, .cx-card__media img, .cxw-guide__card { transition: none; }
	.cx-card:hover, .cxw-guide__card:hover { transform: none; }
	.cx-card:hover .cx-card__media img { transform: none; }
}

/* <picture> wrappers must not break the size limits of their images */
.cxw-slide__media picture, .cxw-banner picture, .cxw-tile picture, .cxw-app__media picture { display: contents; }
@media (max-width: 767px) {
	.cxw-app__media { max-width: 220px; }
	.cxw-guide__card { padding: 16px; }
	.cx-demobar { font-size: 12.5px; }
	.cx-demobar__inner { gap: 2px 8px; min-height: 0; padding-block: 5px; }
}
