/* Behinpa Core — front-end (language switcher, products, gallery). Logical properties → works RTL & LTR. */
:root {
	--bp-primary: #1e73be;
	--bp-primary-dark: #155a96;
	--bp-text: #222;
	--bp-muted: #666;
	--bp-border: #e5e7eb;
	--bp-bg-soft: #f6f8fb;
	--bp-radius: 12px;
	--bp-shadow: 0 6px 24px rgba(16, 24, 40, .08);
	--bp-shadow-hover: 0 14px 34px rgba(16, 24, 40, .14);
}

/* ---------- Language switcher ---------- */
.main-navigation .bp-lang-switcher > a { font-weight: 600; }
.main-navigation .bp-lang-item.current-lang > a,
.main-navigation .bp-lang-item a[aria-current] { font-weight: 700; }
.bp-switcher ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.bp-switcher a { display: inline-block; padding: 4px 12px; border: 1px solid var(--bp-border); border-radius: 20px; text-decoration: none; font-size: 14px; color: var(--bp-text); }
.bp-switcher li.is-active a { background: var(--bp-primary); border-color: var(--bp-primary); color: #fff; }

/* ---------- Layout ---------- */
.bp-product-page .site-content, .bp-product-archive .site-content { display: block; }
.bp-content-area { width: 100%; }
.bp-main { max-width: 1200px; margin-inline: auto; padding: 28px 20px 60px; }
.bp-product { color: var(--bp-text); line-height: 1.9; }

/* Breadcrumb */
.bp-breadcrumb { font-size: 13px; color: var(--bp-muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bp-breadcrumb a { color: var(--bp-muted); text-decoration: none; }
.bp-breadcrumb a:hover { color: var(--bp-primary); }
.bp-breadcrumb__sep { opacity: .5; }
[dir="rtl"] .bp-breadcrumb__sep, .rtl .bp-breadcrumb__sep { transform: scaleX(-1); display: inline-block; }

/* Hero */
.bp-product__hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.bp-product__title { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.35; margin: 10px 0 14px; font-weight: 800; }
.bp-product__summary { font-size: 17px; color: #444; margin: 0 0 20px; }
.bp-product__info { position: sticky; top: 24px; }
.bp-chip { display: inline-block; padding: 4px 14px; border-radius: 20px; background: var(--bp-bg-soft); color: var(--bp-primary); font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: all .15s; }
.bp-chip:hover, .bp-chip.is-active { background: var(--bp-primary); color: #fff; }
.bp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.bp-product__quickspecs { list-style: none; margin: 0 0 24px; padding: 0; border: 1px solid var(--bp-border); border-radius: var(--bp-radius); overflow: hidden; }
.bp-product__quickspecs li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 16px; margin: 0; font-size: 14px; }
.bp-product__quickspecs li + li { border-top: 1px solid var(--bp-border); }
.bp-product__quickspecs span { color: var(--bp-muted); }
.bp-product__quickspecs strong { text-align: end; }

.bp-product__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; transition: all .2s; border: 2px solid var(--bp-primary); line-height: 1.4; }
.bp-btn--primary { background: var(--bp-primary); color: #fff; }
.bp-btn--primary:hover { background: var(--bp-primary-dark); border-color: var(--bp-primary-dark); color: #fff; transform: translateY(-1px); }
.bp-btn--ghost { background: transparent; color: var(--bp-primary); }
.bp-btn--ghost:hover { background: var(--bp-bg-soft); color: var(--bp-primary-dark); }

/* Body */
.bp-product__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 44px; margin-top: 56px; align-items: start; }
.bp-product__body > :only-child { grid-column: 1 / -1; }
.bp-section { margin-top: 0; }
.bp-section__title { font-size: 22px; font-weight: 800; margin: 0 0 16px; padding-bottom: 10px; position: relative; }
.bp-section__title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 48px; height: 3px; border-radius: 2px; background: var(--bp-primary); }
.bp-prose { font-size: 16px; text-align: justify; }
.bp-prose h2, .bp-prose h3, .bp-prose h4 { margin: 1.4em 0 .6em; line-height: 1.5; }
.bp-prose ul, .bp-prose ol { margin-inline-start: 1.4em; }
.bp-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.bp-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.bp-prose td, .bp-prose th { border: 1px solid var(--bp-border); padding: 8px 10px; }
.bp-specs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--bp-border); border-radius: var(--bp-radius); overflow: hidden; font-size: 14px; margin: 0; }
.bp-specs th, .bp-specs td { padding: 11px 14px; border: 0; text-align: start; vertical-align: top; }
.bp-specs tr:nth-child(odd) { background: var(--bp-bg-soft); }
.bp-specs th { color: var(--bp-muted); font-weight: 600; width: 45%; }
.bp-related { margin-top: 64px; }

/* ---------- Gallery ---------- */
.bp-gallery { position: relative; }
.bp-gallery__stage { position: relative; border-radius: var(--bp-radius); overflow: hidden; background: #fff; border: 1px solid var(--bp-border); box-shadow: var(--bp-shadow); }
.bp-gallery__track { display: flex; transition: transform .45s cubic-bezier(.22, .8, .3, 1); touch-action: pan-y; direction: ltr; }
.bp-gallery__slide { flex: 0 0 100%; margin: 0; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #fff; }
.bp-gallery__zoom { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; cursor: zoom-in; padding: 18px; box-sizing: border-box; }
.bp-gallery__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; transition: transform .35s; }
.bp-gallery__zoom:hover img { transform: scale(1.03); }
.bp-gallery--single .bp-gallery__slide { aspect-ratio: auto; min-height: 280px; max-height: 620px; }
.bp-gallery--single .bp-gallery__slide img { max-height: 580px; }
.bp-gallery--empty { aspect-ratio: 4 / 3; border-radius: var(--bp-radius); background: var(--bp-bg-soft); display: flex; align-items: center; justify-content: center; }

.bp-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--bp-text); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); display: flex; align-items: center; justify-content: center; padding: 0 0 4px; transition: all .15s; z-index: 2; }
.bp-gallery__nav:hover { background: var(--bp-primary); color: #fff; }
.bp-gallery__nav--prev { left: 12px; }
.bp-gallery__nav--next { right: 12px; }
.bp-gallery__counter { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; padding: 2px 12px; border-radius: 12px; z-index: 2; }
.bp-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.bp-gallery__thumb { flex: 0 0 76px; height: 76px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid var(--bp-border); background: #fff; cursor: pointer; opacity: .65; transition: all .15s; }
.bp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-gallery__thumb:hover { opacity: 1; }
.bp-gallery__thumb.is-active { border-color: var(--bp-primary); opacity: 1; }

/* Lightbox */
.bp-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(10, 12, 16, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s; }
.bp-lightbox.is-open { opacity: 1; visibility: visible; }
.bp-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.bp-lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 30px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.bp-lightbox button:hover { background: rgba(255, 255, 255, .28); }
.bp-lightbox__close { top: 18px; right: 18px; }
.bp-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.bp-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Product grid ---------- */
.bp-grid { --bp-cols: 3; display: grid; grid-template-columns: repeat(var(--bp-cols), minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.bp-card { margin: 0; }
.bp-card__link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--bp-border); border-radius: var(--bp-radius); overflow: hidden; text-decoration: none; color: var(--bp-text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.bp-card__link:hover { transform: translateY(-4px); box-shadow: var(--bp-shadow-hover); border-color: transparent; color: var(--bp-text); }
.bp-card__media { aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--bp-border); }
.bp-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; transition: transform .35s; }
.bp-card__link:hover .bp-card__media img { transform: scale(1.05); }
.bp-card__placeholder { width: 64px; height: 64px; border-radius: 50%; background: var(--bp-border); display: block; }
.bp-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bp-card__title { font-size: 17px; font-weight: 800; margin: 0; line-height: 1.5; }
.bp-card__text { font-size: 14px; color: var(--bp-muted); margin: 0; line-height: 1.8; flex: 1; }
.bp-card__more { color: var(--bp-primary); font-weight: 700; font-size: 14px; }
.rtl .bp-arrow, [dir="rtl"] .bp-arrow { display: inline-block; transform: scaleX(-1); }
.bp-empty { text-align: center; color: var(--bp-muted); padding: 40px 0; }

/* Archive head */
.bp-archive__head { margin-bottom: 32px; }
.bp-archive__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 0 0 10px; }
.bp-archive__intro { max-width: 820px; color: #444; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bp-grid { grid-template-columns: repeat(min(var(--bp-cols), 2), minmax(0, 1fr)); }
	.bp-product__hero, .bp-product__body { gap: 28px; }
}
@media (max-width: 860px) {
	.bp-product__hero, .bp-product__body { grid-template-columns: 1fr; }
	.bp-product__info { position: static; }
	.bp-product__body { margin-top: 36px; }
}
@media (max-width: 560px) {
	.bp-main { padding: 18px 14px 40px; }
	.bp-grid { grid-template-columns: 1fr; gap: 16px; }
	.bp-gallery__nav { width: 36px; height: 36px; font-size: 22px; }
	.bp-gallery__thumb { flex-basis: 60px; height: 60px; }
	.bp-btn { flex: 1 1 100%; }
	.bp-prose { text-align: start; }
}
@media (prefers-reduced-motion: reduce) {
	.bp-gallery__track, .bp-card__link, .bp-card__media img, .bp-gallery__slide img { transition: none; }
}

/* =========================================================================
   Product page v2 (.pp) — hero (info + gallery), cards, chic spec table
   ========================================================================= */
.pp {
	--pp-navy: #0a1f44; --pp-ink: #0f2c5e; --pp-text: #33415c; --pp-muted: #6a7a96;
	--pp-blue: #1d4ed8; --pp-sky: #0ea5e9; --pp-line: rgba(15, 44, 94, .09);
	--pp-grad: linear-gradient(135deg, #0f2c5e 0%, #1d4ed8 55%, #0ea5e9 100%);
	--pp-r: clamp(18px, 1rem + .8vw, 28px);
	display: block; padding: 18px 0 70px;
	font-family: "BP Sans", "IRANSans", Vazirmatn, Tahoma, system-ui, sans-serif; color: var(--pp-text);
}
.bp-lang-en .pp { font-family: Inter, "Segoe UI", Roboto, system-ui, -apple-system, Helvetica, Arial, sans-serif; }
.bp-product-page { background: #f5f8fd; }
.bp-product-page #page.site.grid-container { max-width: none; width: 100%; padding: 0; background: transparent; }
.bp-product-page .site-content { padding: 0 !important; }
.pp *, .pp *::before, .pp *::after { box-sizing: border-box; }
.pp-wrap { width: min(100% - 2 * clamp(14px, 4vw, 40px), 1320px); margin-inline: auto; line-height: 1.85; }
.pp-ico { width: 1.15em; height: 1.15em; flex: none; }
.bp-dir-rtl .pp .pp-btn .pp-ico { transform: scaleX(-1); }

.pp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 18px; font-size: 13px; color: var(--pp-muted); }
.pp-crumbs a { color: var(--pp-muted); text-decoration: none; }
.pp-crumbs a:hover { color: var(--pp-blue); }
.pp-crumbs [aria-current] { color: var(--pp-ink); font-weight: 700; }
.pp-crumbs__sep { width: 6px; height: 6px; border-block-start: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; }
.bp-dir-rtl .pp-crumbs__sep { transform: rotate(-135deg); }

/* Hero */
.pp-hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(22px, 1rem + 3vw, 56px); align-items: center;
	padding: clamp(20px, 1rem + 2.4vw, 48px); border-radius: var(--pp-r);
	background: radial-gradient(700px 380px at 85% 0%, rgba(14, 165, 233, .16), transparent 65%), radial-gradient(600px 360px at 0% 100%, rgba(29, 78, 216, .10), transparent 65%), linear-gradient(180deg, #fff, #f3f7fe);
	border: 1px solid var(--pp-line); box-shadow: 0 30px 70px -40px rgba(10, 31, 68, .35);
}
.pp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(29, 78, 216, .045) 1px, transparent 1px) 0 0 / 30px 30px, linear-gradient(90deg, rgba(29, 78, 216, .045) 1px, transparent 1px) 0 0 / 30px 30px; -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%); }
.pp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(29, 78, 216, .16); color: var(--pp-blue); font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: 0 4px 12px -6px rgba(29, 78, 216, .3); }
.pp-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pp-grad); }
.pp-chip:hover { color: #fff; background: var(--pp-blue); }
.pp-title { margin: 14px 0 10px; color: var(--pp-navy); font-size: clamp(1.6rem, 1rem + 2.2vw, 2.7rem); font-weight: 900; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.pp-lead { margin: 0 0 6px; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); color: var(--pp-text); }
.pp-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.pp-badges li { display: grid; justify-items: center; gap: 2px; margin: 0; padding: 14px 8px 12px; border-radius: 18px; text-align: center; background: rgba(255, 255, 255, .8); border: 1px solid var(--pp-line); transition: transform .25s, box-shadow .25s; }
.pp-badges li:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(10, 31, 68, .45); }
.pp-badges__i { width: 46px; height: 46px; display: grid; place-items: center; margin-block-end: 6px; border-radius: 50%; color: var(--pp-blue); background: linear-gradient(135deg, #eef4ff, #dff1fd); box-shadow: inset 0 0 0 1px rgba(29, 78, 216, .1); }
.pp-badges__i .pp-ico { width: 22px; height: 22px; }
.pp-badges b { color: var(--pp-navy); font-size: 13.5px; font-weight: 800; line-height: 1.5; }
.pp-badges small { color: var(--pp-muted); font-size: 11.5px; line-height: 1.5; }

.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-size: 14.5px; font-weight: 800; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.pp-btn img { width: 20px; height: 20px; margin: 0; }
.pp-btn--primary { color: #fff !important; background: var(--pp-grad); box-shadow: 0 14px 28px -12px rgba(29, 78, 216, .7); }
.pp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(29, 78, 216, .8); }
.pp-btn--wa { color: #128c7e !important; background: #fff; border: 1px solid rgba(18, 140, 126, .25); }
.pp-btn--wa:hover { background: #effcf7; }
.pp-btn--ghost { color: var(--pp-ink) !important; background: #fff; border: 1px solid var(--pp-line); }
.pp-btn--ghost:hover { color: var(--pp-blue) !important; }
.pp-btn--light { color: var(--pp-navy) !important; background: #fff; }
.pp-btn--light:hover { transform: translateY(-2px); }
.pp-btn--glass { color: #fff !important; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); }
.pp-btn--glass:hover { background: rgba(255, 255, 255, .2); }

/* Gallery inside the hero */
.pp .bp-gallery__stage { border-radius: calc(var(--pp-r) - 4px); border: 1px solid var(--pp-line); background: radial-gradient(circle at 50% 40%, #fff 0%, #eef3fb 100%); box-shadow: 0 30px 60px -34px rgba(10, 31, 68, .45); }
.pp .bp-gallery__slide { background: transparent; aspect-ratio: 5 / 4; }
.pp .bp-gallery--single .bp-gallery__slide { aspect-ratio: 5 / 4; min-height: 0; max-height: none; }
.pp .bp-gallery__slide img, .pp .bp-gallery--single .bp-gallery__slide img { max-height: 100%; mix-blend-mode: multiply; }
.pp .bp-gallery__zoom { padding: clamp(14px, 3vw, 34px); }
.pp .bp-gallery__nav { width: 44px; height: 44px; color: var(--pp-ink); background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px -8px rgba(10, 31, 68, .4); }
.pp .bp-gallery__nav:hover { color: #fff; background: var(--pp-navy); }
.pp .bp-gallery__counter { background: rgba(10, 31, 68, .6); }
.pp .bp-gallery__thumbs { gap: 10px; margin-top: 12px; }
.pp .bp-gallery__thumb { flex: 0 0 84px; height: 84px; border-radius: 16px; border: 2px solid transparent; background: #fff; box-shadow: 0 6px 16px -10px rgba(10, 31, 68, .4); opacity: .7; }
.pp .bp-gallery__thumb img { object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.pp .bp-gallery__thumb.is-active { border-color: var(--pp-blue); opacity: 1; }
.pp .bp-gallery--empty { aspect-ratio: 5 / 4; border-radius: calc(var(--pp-r) - 4px); background: radial-gradient(circle at 50% 40%, #fff, #eef3fb); border: 1px solid var(--pp-line); }

/* Cards */
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(14px, .6rem + 1vw, 24px); margin-top: clamp(16px, .6rem + 1vw, 24px); align-items: start; }
.pp-grid.has-specs .pp-desc { grid-row: span 2; }
.pp-card { position: relative; padding: clamp(20px, 1rem + 1.2vw, 32px); border-radius: var(--pp-r); background: #fff; border: 1px solid var(--pp-line); box-shadow: 0 20px 50px -38px rgba(10, 31, 68, .4); }
.pp-card__t { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--pp-navy); font-family: inherit; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); font-weight: 900; line-height: 1.4; }
.pp-card__i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--pp-grad); box-shadow: 0 10px 20px -10px rgba(29, 78, 216, .7); }
.pp-card__i .pp-ico { width: 20px; height: 20px; }
.pp-prose { color: var(--pp-text); font-size: 15.5px; text-align: justify; }
.bp-lang-en .pp-prose { text-align: start; }
.pp-prose > :first-child { margin-top: 0; }
.pp-prose h1, .pp-prose h2, .pp-prose h3, .pp-prose h4 { margin: 1.2em 0 .5em; color: var(--pp-navy); font-size: 1.05rem; font-weight: 800; line-height: 1.6; }
.pp .pp-prose ul, .pp .pp-prose ol { margin: .4em 0 1em !important; padding: 0 !important; list-style: none !important; display: grid; gap: 8px; }
.pp-prose li { position: relative; margin: 0; padding-inline-start: 28px; }
.pp-prose li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 18px; height: 18px; border-radius: 50%; background: var(--pp-grad) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E") center / contain; }
.pp-prose li::after { content: ""; position: absolute; inset-inline-start: 6px; top: calc(.5em + 4px); width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pp-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.pp-prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1em 0; overflow: hidden; border: 1px solid var(--pp-line); border-radius: 14px; font-size: 14px; }
.pp-prose td, .pp-prose th { padding: 10px 14px; border: 0; border-block-end: 1px solid var(--pp-line); text-align: start; }
.pp-prose tr:nth-child(even) td { background: #f7f9fe; }
.pp-empty { margin: 0; padding: 16px 18px; border-radius: 16px; background: #f4f7fd; border: 1px dashed rgba(29, 78, 216, .25); color: var(--pp-ink); }

.pp-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--pp-line); }
.pp-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 14px; }
.pp-table th, .pp-table td { padding: 12px 16px; border: 0; text-align: start; vertical-align: middle; line-height: 1.6; }
.pp-table tr + tr th, .pp-table tr + tr td { border-block-start: 1px solid var(--pp-line); }
.pp-table th { width: 44%; color: var(--pp-ink); background: #f4f7fd; font-weight: 800; }
.pp-table td { color: var(--pp-text); font-weight: 600; }
.pp-table tr:hover td, .pp-table tr:hover th { background: #eef4ff; }

.pp-why { overflow: hidden; isolation: isolate; color: #fff; border: 0; background: radial-gradient(420px 240px at 100% 0%, rgba(14, 165, 233, .4), transparent 65%), linear-gradient(135deg, #0a1f44, #0f2c5e 60%, #163f86); }
.pp-why::after { content: ""; position: absolute; width: 220px; height: 220px; inset-block-end: -110px; inset-inline-start: -80px; z-index: -1; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .05); }
.pp-why .pp-card__t { color: #fff; }
.pp-why .pp-card__i { color: var(--pp-navy); background: #f5b70a; box-shadow: none; }
.pp-why p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 15px; line-height: 2; }
.pp-why__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.pp-related { margin-top: clamp(40px, 2rem + 2vw, 64px); }
.pp-related__t { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--pp-navy); font-family: inherit; font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); font-weight: 900; }
.pp-related__t::before { content: ""; width: 5px; height: 1.1em; border-radius: 5px; background: linear-gradient(180deg, var(--pp-blue), #c8102e); }
.pp .bp-card__link { border-radius: 20px; border-color: var(--pp-line); }
.pp .bp-card__media { background: radial-gradient(circle at 50% 40%, #fff, #f1f5fc); border-bottom-color: var(--pp-line); }
.pp .bp-card__media img { mix-blend-mode: multiply; }
.pp .bp-card__title { color: var(--pp-navy); font-size: 15.5px; }
.pp .bp-card__more { color: var(--pp-blue); }

@media (max-width: 1100px) {
	.pp-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.pp-hero { grid-template-columns: 1fr; }
	.pp-hero__media { grid-row: 1; }
	.pp-grid { grid-template-columns: 1fr; }
	.pp-grid.has-specs .pp-desc { grid-row: auto; }
}
@media (max-width: 560px) {
	.pp { padding-top: 8px; }
	.pp-hero { padding: 14px; border-radius: 22px; }
	.pp-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.pp-badges li { padding: 12px 6px 10px; }
	.pp-actions .pp-btn, .pp-why__acts .pp-btn { flex: 1 1 100%; }
	.pp .bp-gallery__thumb { flex-basis: 64px; height: 64px; border-radius: 12px; }
	.pp-table th, .pp-table td { padding: 10px 12px; }
	.pp-prose { text-align: start; }
}

/* Phase one: square product images and a product-detail dialog. */
.bp-gallery__slide,.pp .bp-gallery__slide,.bp-gallery--single .bp-gallery__slide,.pp .bp-gallery--single .bp-gallery__slide,.bp-gallery--empty,.pp .bp-gallery--empty { aspect-ratio:1 / 1; min-height:0; max-height:none; }
.bp-gallery__zoom,.pp .bp-gallery__zoom { position:relative; padding:0; }
.bp-gallery__slide img,.pp .bp-gallery__slide img,.pp .bp-gallery--single .bp-gallery__slide img { width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:normal; }
.bp-gallery__slide picture { width:100%; height:100%; display:block; }
.bp-gallery__zoom:hover img,.bp-card__link:hover .bp-card__media img { transform:none; }
.bp-gallery__thumb img,.pp .bp-gallery__thumb img { object-fit:contain; mix-blend-mode:normal; }
.bp-gallery__thumb picture { display:block; width:100%; height:100%; }
.bp-card__media { aspect-ratio:1 / 1; }
.bp-product-modal { position:fixed; inset:0; width:min(1260px,calc(100vw - 36px)); max-width:none; max-height:calc(100dvh - 40px); padding:0; overflow:auto; border:0; border-radius:22px; color:#20314b; background:#f7f9fc; box-shadow:0 30px 100px rgba(2,12,28,.5); }
.bp-product-modal::backdrop { background:rgba(5,13,24,.8); }
.bp-product-modal[open] { display:block; }
.bp-product-modal__layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); }
.bp-product-modal__close { position:absolute; z-index:5; inset-block-start:12px; inset-inline-end:12px; display:grid; place-items:center; width:42px; height:42px; padding:0; border:0; border-radius:50%; color:#143a72; background:#fff; box-shadow:0 5px 18px rgba(0,0,0,.16); font-size:28px; line-height:1; cursor:pointer; }
.bp-product-modal__visual { padding:clamp(15px,2vw,28px); background:linear-gradient(150deg,#061a2b,#0b3361); min-width:0; }
.bp-product-modal__visual .bp-gallery__stage { background:#e7edf4; border:0; box-shadow:none; }
.bp-product-modal__visual .bp-gallery__thumbs { padding:6px 0; }
.bp-product-modal__visual .bp-gallery__thumb { background:#fff; }
.bp-product-modal__details { min-width:0; padding:clamp(24px,4vw,56px); align-self:start; }
.bp-product-modal__eyebrow { display:block; color:#1d64bb; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.bp-product-modal__details h2 { margin:10px 0 12px; color:#192b45; font-size:clamp(25px,2.6vw,42px); font-weight:900; line-height:1.2; }
.bp-product-modal__details p { color:#4a5c73; line-height:1.8; }
.bp-product-modal__details h3 { margin:32px 0 12px; color:#174c8f; font-size:15px; }
.bp-product-modal__table { max-height:32vh; overflow:auto; border:1px solid #dce4ee; border-radius:10px; }
.bp-product-modal__table table { width:100%; margin:0; border-collapse:collapse; font-size:13px; }
.bp-product-modal__table th,.bp-product-modal__table td { padding:10px 12px; text-align:start; border:0; border-bottom:1px solid #e2e8ef; }
.bp-product-modal__table th { width:44%; color:#334e72; }
.bp-product-modal__actions { display:flex; flex-wrap:wrap; gap:12px; margin-block-start:28px; }
.bp-product-modal .bp-lightbox { z-index:100; }
@media (max-width:760px) {
 .bp-product-modal { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); border-radius:18px; }
 .bp-product-modal__layout { grid-template-columns:minmax(0,1fr); }
 .bp-product-modal__visual { padding:14px; }
 .bp-product-modal__details { padding:22px; }
 .bp-product-modal__table { max-height:none; }
}

/* 1.0.9 — compact high-end product detail dialog. */
.pp .bp-product-modal { width:min(1140px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); border:1px solid rgba(168,194,228,.8); border-radius:20px; background:#f5f8fc; }
.pp .bp-product-modal__layout { grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); }
.pp .bp-product-modal__visual { padding:clamp(14px,2vw,24px); background:radial-gradient(circle at 75% 10%,#285d94,transparent 48%),linear-gradient(145deg,#071a30,#0d3158); }
.pp .bp-product-modal__visual .bp-gallery__stage { overflow:hidden; border-radius:14px; background:#e8eef5; }
.pp .bp-product-modal__details { padding:clamp(24px,3vw,40px); }
.pp .bp-product-modal__eyebrow { display:inline-flex; padding:6px 10px; color:#1d5c9f; border:1px solid #cbdff2; border-radius:999px; background:#e8f3ff; font-size:10px; }
.pp .bp-product-modal__details h2 { margin:15px 0 12px; font-size:clamp(23px,2.4vw,34px); letter-spacing:-.02em; }
.pp .bp-product-modal__details p { font-size:14px; line-height:1.7; }
.pp .bp-product-modal__details h3 { margin:25px 0 10px; font-size:13px; letter-spacing:.04em; }
.pp .bp-product-modal__table { max-height:30vh; padding:8px; border:1px solid #dbe6f2; background:#edf3f9; }
.pp .bp-product-modal__table tbody { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.pp .bp-product-modal__table tr { display:flex; flex-direction:column; min-width:0; padding:10px 12px; border:1px solid #e0e9f2; border-radius:8px; background:#fff; }
.pp .bp-product-modal__table th,.pp .bp-product-modal__table td { display:block; width:100%; padding:0; border:0; overflow-wrap:anywhere; }
.pp .bp-product-modal__table th { margin-bottom:4px; color:#61758d; font-size:11px; }
.pp .bp-product-modal__table td { color:#1a3453; font-weight:700; font-size:13px; }
.pp .bp-product-modal__actions { gap:8px; margin-block-start:22px; }
.pp .bp-product-modal__close { color:#163653; }
@media(max-width:760px) { .pp .bp-product-modal__layout { grid-template-columns:minmax(0,1fr); } .pp .bp-product-modal__details { padding:22px; } .pp .bp-product-modal__table { max-height:none; } }
@media(max-width:360px) { .pp .bp-product-modal__table tbody { grid-template-columns:1fr; } }

.bp-product-modal__description { max-height:25vh; overflow:auto; padding:12px 14px; border:1px solid #dce6f1; border-radius:10px; background:#fff; color:#334d68; font-size:13px; line-height:1.75; }
.bp-product-modal__description p:first-child { margin-top:0; }
.bp-product-modal__description p:last-child { margin-bottom:0; }
@media(max-width:760px) { .bp-product-modal__description { max-height:none; } }
.bp-product-modal__description h3 { margin:16px 0 8px; font-size:15px; color:#174c8f; }
.bp-product-modal__description ul { margin:8px 0; padding-inline-start:22px; }
.bp-product-modal__description li { margin-block:4px; }

.bp-lightbox .bp-modal-footer { position:absolute; inset-inline:20px; bottom:16px; margin:0; padding:10px 15px; }
.bp-lightbox img { max-height:calc(100dvh - 130px); }
/* Full viewport two-panel product dialog; only factual product data is shown. */
.pp .bp-product-modal[open]{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:#f4f7fb;overflow:auto}
.pp .bp-product-modal__layout{min-height:100dvh;display:grid;grid-template-columns:minmax(0,48%) minmax(0,52%);direction:ltr}
.pp .bp-product-modal__visual{padding:clamp(20px,3vw,48px);background:radial-gradient(circle at 50% 25%,#15508a,#071a2d 60%,#061426);display:flex;align-items:center;justify-content:center}
.pp .bp-product-modal__visual .bp-gallery{width:min(100%,600px)}.pp .bp-product-modal__visual .bp-gallery__stage{border-radius:14px;background:#f1f4f8}.pp .bp-product-modal__details{direction:ltr;padding:clamp(34px,4vw,64px);background:#f4f7fb;min-width:0;align-self:stretch}
[dir=rtl] .pp .bp-product-modal__details{direction:rtl}.pp .bp-product-modal__details h2{font-size:clamp(29px,3.2vw,48px);color:#14233b}.pp .bp-product-modal__description{max-height:none;overflow:visible;padding:0;border:0;background:transparent;color:#3c506e;font-size:14px}.pp .bp-product-modal__table{max-height:none;overflow:visible;padding:0;border:1px solid #d6dfea;border-radius:3px;background:transparent}.pp .bp-product-modal__table table{display:table;width:100%}.pp .bp-product-modal__table tbody{display:table-row-group}.pp .bp-product-modal__table tr{display:table-row;padding:0;border:0;border-radius:0;background:transparent}.pp .bp-product-modal__table th,.pp .bp-product-modal__table td{display:table-cell;width:auto;padding:9px 12px;border-bottom:1px solid #dce3eb;font-size:13px}.pp .bp-product-modal__table th{width:45%;color:#29466b}.pp .bp-product-modal__table td{font-weight:500;color:#253b57}.pp .bp-product-modal__close{position:fixed;top:14px;right:14px;left:auto}.pp .bp-product-modal__close small{display:none}.pp .bp-product-modal__actions .pp-btn--primary{background:#1d60d0;color:white}
@media(max-width:760px){.pp .bp-product-modal__layout{grid-template-columns:1fr}.pp .bp-product-modal__visual{padding:20px}.pp .bp-product-modal__visual .bp-gallery{max-width:400px}.pp .bp-product-modal__details{padding:25px 18px 36px}.pp .bp-product-modal__close{top:8px;right:8px}.pp .bp-product-modal__table th,.pp .bp-product-modal__table td{padding:8px;font-size:12px}}

/* High contrast actions and a reliably positioned round close icon. */
.pp .pp-actions .pp-btn--ghost,.pp .bp-product-modal .pp-btn--ghost{color:#173b6d!important;background:#fff!important;border-color:#9fb8d2!important}
.pp .pp-actions .pp-btn--primary,.pp .bp-product-modal .pp-btn--primary{color:#fff!important;background:#1858c4!important}
.pp .pp-actions .pp-btn--wa{color:#087764!important;background:#fff!important}
.pp .pp-btn svg{color:inherit!important;stroke:currentColor}
.pp .bp-product-modal[open]>.bp-product-modal__close,.pp .bp-product-modal[open]>.bp-product-modal__close:hover,.pp .bp-product-modal[open]>.bp-product-modal__close:focus{position:fixed!important;top:16px!important;right:16px!important;left:auto!important;bottom:auto!important;inset-inline:auto!important;inset-block:auto!important;z-index:2147483647!important;display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#fff!important;color:#14365e!important;box-shadow:0 4px 16px #0006!important;font-size:30px!important;line-height:1!important;transform:none!important}
.pp .bp-product-modal__close span{display:block!important;color:inherit!important;line-height:1!important}
.pp .bp-product-modal__close small{display:none!important}
@media(max-width:760px){.pp .bp-product-modal[open]>.bp-product-modal__close{top:max(10px,env(safe-area-inset-top,0px))!important;right:10px!important}}
