/* ZMC store product pages: brand descriptions (desktop + mobile images) and the delivery / payment box. */

/* ---------- description ---------- */
.zmc-lf { --zmc-lf-r: 18px; }
.zmc-lf-intro { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.zmc-lf-intro p { font-size: 17px; line-height: 1.6; }
.zmc-lf-intro ul { display: inline-block; margin: 0; padding: 0; list-style: none; text-align: left; }
.zmc-lf-intro li { position: relative; padding-left: 22px; margin: 6px 0; }
.zmc-lf-intro li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--wd-primary-color, #2b5ba8); }
.zmc-lf-b { margin: 0 0 16px; border-radius: var(--zmc-lf-r); overflow: hidden; background: #f4f4f5; }
.zmc-lf-b img { display: block; width: 100%; height: auto; margin: 0; }
.zmc-lf .zmc-m { display: none; }
.zmc-lf-h { margin: 56px 0 10px; font-size: 32px; line-height: 1.2; text-align: center; }
.zmc-lf-sub { max-width: 760px; margin: 0 auto 24px; text-align: center; font-size: 17px; line-height: 1.6; color: #555; }
.zmc-lf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 48px 0 16px; }
.zmc-lf-split img { display: block; width: 100%; height: auto; border-radius: var(--zmc-lf-r); }
.zmc-lf-split h3 { margin: 0 0 8px; font-size: 22px; }
.zmc-lf-split p { margin: 0 0 22px; color: #555; line-height: 1.6; }
.zmc-lf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 16px; }
.zmc-lf-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
.zmc-lf-grid.is-2 { grid-template-columns: repeat(2, 1fr); }
.zmc-lf-grid figure { margin: 0; }
.zmc-lf-grid img, .zmc-lf-grid video { display: block; width: 100%; height: auto; border-radius: var(--zmc-lf-r); background: #f4f4f5; }
.zmc-lf-grid figcaption { margin-top: 10px; text-align: center; font-weight: 600; }
.zmc-lf-grid figcaption small { display: block; font-weight: 400; color: #666; }
.zmc-lf-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 6px 0 16px; font-weight: 600; }
.zmc-lf-checks span::before { content: "\2713"; margin-right: 8px; color: var(--wd-primary-color, #2b5ba8); }

/* carousel: swipe on phones, arrows + dots everywhere */
.zmc-car { position: relative; margin: 0 0 16px; }
.zmc-car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--zmc-lf-r); }
.zmc-car-track::-webkit-scrollbar { display: none; }
.zmc-car-track > .zmc-lf-b { flex: 0 0 100%; margin: 0; border-radius: 0; scroll-snap-align: start; }
.zmc-car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.zmc-car-dots button { width: 8px; height: 8px; min-height: 0; padding: 0; border: 0; border-radius: 4px; background: #d0d3d9; transition: width .25s, background .25s; }
.zmc-car-dots button.is-on { width: 24px; background: #1d1d1f; }
.zmc-car-arrow { position: absolute; top: calc(50% - 16px); width: 44px; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); color: #1d1d1f; font-size: 22px; line-height: 44px; transform: translateY(-50%); }
.zmc-car-arrow.is-prev { left: 14px; }
.zmc-car-arrow.is-next { right: 14px; }
.zmc-car-arrow[disabled] { opacity: 0; pointer-events: none; }

@media (max-width: 767px) {
	.zmc-lf { --zmc-lf-r: 14px; }
	.zmc-lf .zmc-d { display: none; }
	.zmc-lf .zmc-m { display: block; }
	.zmc-lf-h { margin-top: 40px; font-size: 24px; }
	.zmc-lf-sub, .zmc-lf-intro p { font-size: 15px; }
	.zmc-lf-split { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
	.zmc-lf-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.zmc-lf-grid.is-2.is-stack { grid-template-columns: 1fr; }
	.zmc-car-arrow { display: none; }
}

/* ---------- delivery & payment box (HTML block "Single product delivery") ---------- */
.zmc-deliv { display: flex; flex-direction: column; gap: 16px; }
.zmc-deliv-row { display: flex; align-items: center; gap: 14px; }
.zmc-deliv-ic { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(43, 91, 168, .09); color: var(--wd-primary-color, #2b5ba8); }
.zmc-deliv-ic svg { width: 22px; height: 22px; }
.zmc-deliv-row strong { display: block; color: #242424; font-size: 15px; font-weight: 600; line-height: 1.3; }
.zmc-deliv-row span:not(.zmc-deliv-ic) { display: block; color: #6b6b6b; font-size: 14px; line-height: 1.4; }
.zmc-deliv-pay { padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, .08); }
.zmc-deliv-pay > span { display: block; margin-bottom: 10px; color: #242424; font-size: 15px; font-weight: 600; }
.zmc-deliv-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zmc-deliv-logos > * { display: grid; place-items: center; height: 34px; padding: 0 8px; border: 1px solid rgba(0, 0, 0, .09); border-radius: 8px; background: #fff; font-size: 12px; font-weight: 600; color: #242424; }
.zmc-deliv-logos img { display: block; width: auto; max-width: none; height: 20px; }
.zmc-deliv-logos .is-app { padding: 3px; }
.zmc-deliv-logos .is-app img { height: 26px; border-radius: 6px; }

/* ---------- colour choice: buttons with dot + name instead of small dots ---------- */
.single-product form.variations_form table.variations tr { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.single-product form.variations_form table.variations th,
.single-product form.variations_form table.variations td { display: block; width: 100%; padding: 0; }
.single-product form.variations_form .wd-attr-selected { font-weight: 400; color: #6b6b6b; }
.single-product form.variations_form .wd-swatches-single { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; width: 100%; margin: 0; }
.single-product form.variations_form .wd-swatches-single .wd-swatch { position: relative; display: flex; align-items: center; gap: 10px; width: auto; height: auto; min-height: 48px; margin: 0; padding: 8px 12px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.single-product form.variations_form .wd-swatches-single .wd-swatch::before,
.single-product form.variations_form .wd-swatches-single .wd-swatch::after { display: none; }
.single-product form.variations_form .wd-swatches-single .wd-swatch .wd-swatch-bg { position: static; flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.single-product form.variations_form .wd-swatches-single .wd-swatch .wd-swatch-text { position: static; display: block; opacity: 1; visibility: visible; font-size: 14px; font-weight: 500; line-height: 1.2; color: #242424; }
.single-product form.variations_form .wd-swatches-single .wd-swatch.wd-active { border-color: var(--wd-primary-color, #2b5ba8); box-shadow: 0 0 0 1px var(--wd-primary-color, #2b5ba8); }
.single-product form.variations_form .wd-swatches-single .wd-swatch:not(.wd-enabled) { opacity: .45; }
.single-product .wd-reset-var, .single-product .reset_variations { display: none !important; }

@media (max-width: 768.98px) {
	.single-product form.variations_form .wd-swatches-single { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.single-product form.variations_form .wd-swatches-single .wd-swatch { gap: 7px; min-height: 46px; padding: 8px; }
	.single-product form.variations_form .wd-swatches-single .wd-swatch .wd-swatch-bg { width: 18px; height: 18px; }
	.single-product form.variations_form .wd-swatches-single .wd-swatch .wd-swatch-text { font-size: 13px; }
	/* payment chips: all six on one line */
	.zmc-deliv-logos { gap: 6px; }
	.zmc-deliv-logos > * { height: 30px; padding: 0 6px; }
	.zmc-deliv-logos .is-app { padding: 2px; }
	.zmc-deliv-logos .is-app img { height: 24px; }
	.zmc-lf-grid.is-3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.zmc-lf-grid.is-3 figcaption { font-size: 13px; }
}

/* text and images are separate: no grey box behind the whole description, only around the intro text */
.elementor-widget-container:has(> .zmc-lf) { padding: 0 !important; border-radius: 0 !important; background: transparent !important; }
.zmc-lf .zmc-lf-intro { max-width: none; margin: 0 0 32px; padding: 32px; border-radius: 20px; background: #f4f4f4; }
.zmc-lf .zmc-lf-intro > * { max-width: 860px; margin-inline: auto; }

/* banners run the full width: the whole content width on computers, edge to edge on phones (like laifentech.com) */
.zmc-lf > .zmc-lf-b { margin-bottom: 0; border-radius: 0; }
.zmc-lf > .zmc-car { margin-bottom: 8px; }
.zmc-lf > .zmc-car .zmc-car-track { border-radius: 0; }
@media (max-width: 767px) {
	/* !important: Elementor resets figure margins with a long :not() selector */
	.zmc-lf > .zmc-lf-b, .zmc-lf > .zmc-car { margin-inline: calc(50% - 50vw) !important; }
	.zmc-lf .zmc-lf-intro { margin-bottom: 24px; padding: 22px 20px; border-radius: 16px; }
}

/* G-Tab style descriptions: square infographics in a grid, tall/small ones centred in a column */
.zmc-gt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.zmc-gt-grid figure, .zmc-gt-col figure { margin: 0 !important; }
.zmc-gt-grid figure { overflow: hidden; border-radius: 16px; background: #f4f4f5; }
.zmc-gt-grid img, .zmc-gt-col img { display: block; width: 100%; height: auto; margin: 0; }
.zmc-gt-col { max-width: 860px; margin: 0 auto 16px; }
.zmc-gt-col.is-small { max-width: 970px; }
@media (max-width: 767px) {
	.zmc-lf > .zmc-gt-grid { grid-template-columns: 1fr; gap: 0; margin-inline: calc(50% - 50vw) !important; }
	.zmc-gt-grid figure { border-radius: 0; }
	.zmc-lf > .zmc-gt-col { max-width: none; margin-inline: calc(50% - 50vw) !important; }
}

