/*
 * קטלוג המוצרים: ארכיון, עמוד מוצר, עמוד באנדל.
 *
 * נטען רק בשלושת סוגי העמודים האלה (EA_Catalog_Render::enqueue_assets).
 * טוקנים מה-theme (style.css של extreme-simulations-theme), לא ערכים
 * קשיחים חדשים: --es-navy, --es-orange, --es-white וכו'.
 *
 * חריג מודע אחד: כפתורי מילוי (.es-btn-fill) משתמשים ב-#c2410c ולא
 * ב-var(--es-orange) (#f97316), כי #f97316 עם טקסט לבן נכשל בניגודיות
 * (ר' .btn-primary הקיים ב-theme, שסובל מאותה בעיה בדיוק).
 */

.es-catalog-wrap { direction: rtl; }

/*
 * לא נסמך על .page-hero של ה-theme: שילוב class כפול עם אותה ספציפיות
 * (class אחד + class אחד) הופך לתלוי בסדר טעינת הסגנונות, וגרם בפועל
 * לרקע בהיר עם טקסט לבן — כשל ניגותיות. עומד בפני עצמו, כולל הריפוד
 * העליון הדרוש מול ההדר ה-fixed (var(--es-header-h)).
 *
 * מבנה/צבעים לפי catalog-source/mockup/Main.dc.html (שלב ליטוש חזותי):
 * רקע בהיר, לא פס נייבי מלא-רוחב — .section-title/.section-subtitle
 * של ה-theme כבר navy/gray כברירת מחדל, בלי override כאן.
 */
.es-archive-hero { padding: calc(var(--es-header-h) + 40px) 24px 28px; }

.es-breadcrumb { font-size: 0.85rem; color: var(--es-gray); margin-bottom: 18px; }
.es-breadcrumb a { color: var(--es-gray); text-decoration: none; }
.es-breadcrumb a:hover { color: var(--es-navy); }

.es-archive-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.es-archive-hero__text { max-width: 760px; }
.es-archive-hero .section-title { margin-bottom: 10px; }
.es-archive-hero .section-subtitle { margin: 0; }
.es-archive-hero__count { font-size: 0.92rem; color: var(--es-gray); white-space: nowrap; }

.es-cat-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
	padding: 28px 24px 0;
	max-width: var(--es-max-w);
	margin: 0 auto;
}
.es-cat-filters a {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 100px;
	border: 2px solid var(--es-border-2);
	color: var(--es-navy);
	font-family: var(--es-font-mono);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: all var(--es-transition);
}
.es-cat-filters a:hover {
	border-color: var(--es-orange);
	background: var(--es-orange-dim);
	color: var(--es-orange-text);
}
/* "הכל" פעיל = מילוי navy, לפי Main.dc.html — לא הדגשת כתום כמו hover */
.es-cat-filters a.is-active {
	border-color: var(--es-navy);
	background: var(--es-navy);
	color: var(--es-white);
}

.es-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 28px;
	padding: 40px 24px 80px;
	max-width: var(--es-max-w);
	margin: 0 auto;
}

/* border אחיד, בלי קו עליון כתום — לפי Main.dc.html */
.es-product-card {
	position: relative;
	background: var(--es-white);
	border: 1px solid var(--es-border-2);
	border-radius: var(--es-radius-lg);
	box-shadow: var(--es-shadow-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow var(--es-transition), transform var(--es-transition);
}
.es-product-card:hover { box-shadow: var(--es-shadow); transform: translateY(-4px); }

.es-product-card__media {
	aspect-ratio: 4 / 3;
	background: var(--es-off-white);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.es-product-card__media img { width: 100%; height: 100%; object-fit: cover; }

.es-product-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }

.es-product-card__cat {
	font-family: var(--es-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--es-orange-text);
	margin-bottom: 8px;
}
.es-product-card__name-he { font-size: 1.25rem; font-weight: 900; color: var(--es-navy); margin: 0 0 4px; }
.es-product-card__name-en { font-size: 0.85rem; color: var(--es-gray); margin: 0 0 14px; direction: ltr; text-align: right; }
.es-product-card__price { font-weight: 800; color: var(--es-navy); margin-bottom: 18px; }

.es-product-card__badges { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }

.es-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--es-font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 11px;
	border-radius: 100px;
	font-weight: 800;
}
.es-badge--soon { background: rgba(26, 37, 64, 0.85); color: var(--es-white); }
.es-badge--bundle { background: var(--es-orange); color: var(--es-navy); }

.es-product-card__cta { margin-top: auto; }

/* כפתורים ייעודיים לקטלוג — ר' הערת הניגודיות בראש הקובץ */
.es-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 22px;
	font-family: var(--es-font-head);
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	border-radius: var(--es-radius);
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: all var(--es-transition);
}
.es-btn-fill { background: #c2410c; color: var(--es-white); }
.es-btn-fill:hover { background: #9a3412; color: var(--es-white); }
.es-btn-fill:disabled,
.es-btn-fill[aria-disabled="true"] {
	background: var(--es-gray-2);
	color: var(--es-gray);
	cursor: not-allowed;
}
.es-btn-outline { background: transparent; color: var(--es-navy); border-color: var(--es-border-2); }
.es-btn-outline:hover { border-color: var(--es-orange); color: var(--es-orange-text); background: var(--es-orange-dim); }

/*
 * שני גוונים נוספים ל-CTA של "לפי הצעה" (לא מתומחר), לפי Main.dc.html
 * (אאוטליין navy בכרטיס הארכיון) ו-Product.dc.html (מילוי navy בעמוד
 * מוצר) — שתי בחירות שונות ומכוונות באותו מוקאפ, לא סתירה: בארכיון זו
 * פעולה משנית בתוך רשת כרטיסים, בעמוד מוצר זו הפעולה הראשית בעמוד.
 */
.es-btn-outline-navy { background: var(--es-white); color: var(--es-navy); border-color: var(--es-navy); }
.es-btn-outline-navy:hover { background: var(--es-navy); color: var(--es-white); }
.es-btn-fill-navy { background: var(--es-navy); color: var(--es-white); }
.es-btn-fill-navy:hover { background: var(--es-navy-2); color: var(--es-white); }

/* עמוד מוצר בודד — ריפוד עליון מול ההדר ה-fixed, כמו .page-hero של ה-theme */
.es-product-page { max-width: var(--es-max-w); margin: 0 auto; padding: calc(var(--es-header-h) + 48px) 24px 96px; }
.es-product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }

.es-product-gallery__main {
	background: var(--es-off-white);
	border-radius: var(--es-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
}
.es-product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.es-product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.es-product-gallery__thumb {
	width: 72px;
	height: 72px;
	padding: 0;
	margin: 0;
	background: none;
	border-radius: var(--es-radius);
	border: 2px solid var(--es-border);
	overflow: hidden;
	cursor: pointer;
	transition: border-color var(--es-transition);
}
.es-product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-product-gallery__thumb:hover { border-color: var(--es-gray-light); }
.es-product-gallery__thumb.is-active { border-color: var(--es-orange); }
.es-product-gallery__thumb:focus-visible {
	outline: 2.5px solid var(--es-orange);
	outline-offset: 2px;
}

#es-360-open-btn { margin-top: 12px; }
.es-360-viewer {
	margin-top: 12px;
	background: var(--es-off-white);
	border-radius: var(--es-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: ew-resize;
	touch-action: none;
}
.es-360-viewer .es-360-frame { width: 100%; height: 100%; object-fit: contain; user-select: none; }

.es-product-info__cat { font-family: var(--es-font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--es-orange-text); margin-bottom: 10px; }
.es-product-info__name-he { font-size: 2rem; font-weight: 900; color: var(--es-navy); margin: 0 0 6px; }
.es-product-info__name-en { font-size: 1rem; color: var(--es-gray); direction: ltr; text-align: right; margin: 0 0 18px; }

/* נקודת "זמין", לפי Product.dc.html. coming_soon כבר מכוסה ע"י ה-badge הקיים. */
.es-availability { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 700; color: var(--es-green); margin-bottom: 18px; }
.es-availability__dot { width: 9px; height: 9px; border-radius: 5px; background: var(--es-green); flex-shrink: 0; }

.es-product-info__desc { color: var(--es-dark); line-height: 1.8; margin-bottom: 28px; }

.es-variant-field { margin-bottom: 18px; }
.es-variant-field label { display: block; font-weight: 700; color: var(--es-navy); margin-bottom: 6px; font-size: 0.9rem; }
.es-variant-field select {
	width: 100%;
	padding: 11px 14px;
	border-radius: var(--es-radius);
	border: 2px solid var(--es-border-2);
	font-family: var(--es-font-body);
	font-size: 0.95rem;
	background: var(--es-white);
	color: var(--es-navy);
}

/* בלוק הקנייה: מפריד, מחיר/"לפי הצעה" ככותרת, מדרגת כמות + CTA, ברושור, הערה — לפי Product.dc.html */
.es-product-buy { border-top: 1px solid var(--es-border-2); padding-top: 20px; margin-top: 8px; }
.es-product-buy .es-product-info__price { font-size: 1.4rem; margin-bottom: 16px; }

.es-product-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.es-product-cta .es-btn { width: auto; min-width: 200px; flex-grow: 1; }

.es-qty-stepper {
	display: flex;
	align-items: center;
	height: 52px;
	border: 1px solid var(--es-border-2);
	border-radius: var(--es-radius);
	background: var(--es-white);
	flex-shrink: 0;
}
.es-qty-stepper button {
	width: 44px;
	height: 50px;
	border: none;
	background: transparent;
	font-size: 1.1rem;
	color: var(--es-navy);
	cursor: pointer;
}
.es-qty-stepper span { width: 32px; text-align: center; font-weight: 800; font-size: 1rem; color: var(--es-navy); }

.es-brochure-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--es-navy);
	text-decoration: none;
}
.es-brochure-link:hover { color: #c2410c; }
.es-product-buy__note { margin: 14px 0 0; font-size: 0.85rem; color: var(--es-gray); }

.es-spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.es-spec-table tr { border-bottom: 1px solid var(--es-border); }
.es-spec-table th,
.es-spec-table td { text-align: right; padding: 12px 6px; font-size: 0.92rem; }
.es-spec-table th { color: var(--es-gray); font-weight: 700; width: 40%; }
.es-spec-table td { color: var(--es-navy); font-weight: 600; }

.es-product-section { margin-top: 48px; }
.es-product-section h2 { font-size: 1.4rem; font-weight: 900; color: var(--es-navy); margin-bottom: 16px; }

/* עמוד באנדל */
.es-bundle-items { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.es-bundle-item {
	display: grid;
	grid-template-columns: 84px 1fr auto;
	gap: 18px;
	align-items: start;
	padding: 18px;
	border: 1px solid var(--es-border);
	border-radius: var(--es-radius-lg);
}
.es-bundle-item__media { width: 84px; height: 84px; border-radius: var(--es-radius); overflow: hidden; background: var(--es-off-white); }
.es-bundle-item__media img { width: 100%; height: 100%; object-fit: cover; }
.es-bundle-item__name { font-weight: 800; color: var(--es-navy); margin: 0 0 4px; }
.es-bundle-item__name a { color: inherit; text-decoration: none; }
.es-bundle-item__name a:hover { color: var(--es-orange-text); }
.es-bundle-item__qty { font-family: var(--es-font-mono); font-size: 0.8rem; color: var(--es-gray); }

@media (max-width: 900px) {
	.es-product-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
	.es-product-grid { grid-template-columns: 1fr; padding: 28px 16px 56px; }
	.es-product-page { padding: 32px 16px 64px; }
	.es-bundle-item { grid-template-columns: 64px 1fr; }
	.es-bundle-item__qty { grid-column: 2; }
}

/*
 * עמוד /cart/. בכוונה בלי מחיר בכל שורת עגלה — ראו PLAN.md, "בלי מחירים
 * ב-localStorage". המחיר הסופי מוצג רק במייל האישור אחרי תמחור מחדש בשרת.
 */
.es-cart-page { max-width: var(--es-max-w); margin: 0 auto; padding: 48px 24px 96px; }
/* פריטים+טופס בעמודה אחת, סיכום בעמודה שנייה (צרה) — לפי Cart.dc.html */
.es-cart-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.es-cart-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.es-cart-items h2,
.es-cart-form h2 { font-size: 1.25rem; font-weight: 900; color: var(--es-navy); margin: 0 0 20px; }

.es-cart-list { display: flex; flex-direction: column; gap: 14px; }

.es-cart-row {
	border: 1px solid var(--es-border);
	border-radius: var(--es-radius);
	padding: 16px 18px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.es-cart-row__name { font-weight: 800; color: var(--es-navy); margin: 0 0 4px; flex: 1 1 100%; }
.es-cart-row__variant { font-size: 0.85rem; color: var(--es-gray); margin: 0; flex: 1 1 100%; }
.es-cart-row__variant--child { padding-inline-start: 16px; }
.es-cart-row__controls { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.es-cart-row__qty {
	width: 64px;
	padding: 8px 10px;
	border: 1px solid var(--es-border-2);
	border-radius: var(--es-radius);
	font-size: 0.95rem;
}
.es-cart-row__remove {
	background: transparent;
	border: 1px solid var(--es-border-2);
	border-radius: var(--es-radius);
	padding: 8px 14px;
	color: var(--es-navy);
	cursor: pointer;
	font-size: 0.85rem;
}
.es-cart-row__remove:hover { border-color: #c2410c; color: #c2410c; }

.es-cart-empty { color: var(--es-gray); }
.es-cart-empty a { color: #c2410c; font-weight: 700; }

.es-cart-notice {
	border-radius: var(--es-radius);
	padding: 20px 24px;
	margin-bottom: 32px;
}
.es-cart-notice p { margin: 0 0 6px; }
.es-cart-notice--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.es-cart-notice--success .es-btn { margin-top: 12px; }
.es-cart-notice--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.es-cart-form { border: 1px solid var(--es-border); border-radius: var(--es-radius); padding: 24px; }
.es-form-field { margin-bottom: 16px; }
.es-form-field label { display: block; font-weight: 700; color: var(--es-navy); margin-bottom: 6px; font-size: 0.9rem; }
.es-form-field input,
.es-form-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--es-border-2);
	border-radius: var(--es-radius);
	font-size: 0.95rem;
	font-family: inherit;
}
.es-cart-form-msg { color: #991b1b; font-size: 0.9rem; margin-top: 10px; }

/* honeypot: מוסתר חזותית בלי display:none, כדי שלא יידלג על ידי בוטים שבודקים visibility. */
.es-hp-field {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.es-cart-summary {
	position: sticky;
	top: calc(var(--es-header-h) + 24px);
	background: var(--es-white);
	border: 1px solid var(--es-border);
	border-radius: var(--es-radius-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.es-cart-summary h2 { font-size: 1.15rem; font-weight: 900; color: var(--es-navy); margin: 0; }
.es-cart-summary__count { margin: 0; font-weight: 700; color: var(--es-navy); font-size: 0.95rem; }
.es-cart-summary__note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: var(--es-off-white);
	border-radius: var(--es-radius);
	padding: 14px;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--es-dark);
}
.es-cart-summary__note svg { flex-shrink: 0; color: var(--es-navy); }
.es-cart-summary__disclaimer { margin: 0; font-size: 0.8rem; color: var(--es-gray); line-height: 1.5; }
.es-cart-summary .es-btn { width: 100%; }
.es-cart-summary__continue { text-align: center; font-weight: 700; font-size: 0.9rem; color: var(--es-navy); text-decoration: none; }
.es-cart-summary__continue:hover { color: #c2410c; }

@media (max-width: 900px) {
	.es-cart-layout { grid-template-columns: 1fr; gap: 32px; }
	.es-cart-summary { position: static; }
}

@media (max-width: 480px) {
	.es-cart-page { padding: 32px 16px 64px; }
	.es-cart-row__controls { width: 100%; justify-content: space-between; margin-inline-start: 0; }
}

/* a11y: 360 viewer buttons (non-drag alternative) */
.es-360-controls { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.es-360-btn { min-width: 44px; min-height: 44px; border-radius: 50%; border: 2px solid #fff; background: var(--es-navy, #1a2540); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.es-360-btn:focus-visible { outline: 3px solid var(--es-focus, #c2410c); outline-offset: 2px; }

/* ===== 004: תבנית דף מוצר חדשה (es-pp-). טוקנים מה-theme; כתום מלא #c2410c (ניגודיות 5.2:1 עם לבן) ===== */
.es-pp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.es-pp-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 100px; border: 2px solid var(--es-border-2); color: var(--es-navy); font-weight: 700; text-decoration: none; }
.es-pp-tab--current { background: var(--es-navy); border-color: var(--es-navy); color: var(--es-white); }
.es-pp-tab:focus-visible, .es-pp-variant:focus-visible, .es-pp-dl:focus-visible, .es-pp-rel:focus-visible { outline: 3px solid #c2410c; outline-offset: 2px; }

.es-pp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin: 18px 0; }
.es-pp-stat { border-top: 3px solid #c2410c; padding-top: 8px; }
.es-pp-stat dt { font-size: 0.82rem; color: var(--es-gray); order: 2; }
.es-pp-stat dd { margin: 0; font-size: 1.7rem; font-weight: 800; color: var(--es-navy); }
.es-pp-stat { display: flex; flex-direction: column; }

.es-pp-variants__current { font-weight: 700; color: var(--es-navy); margin: 16px 0 10px; }
.es-pp-sku { font-weight: 400; color: var(--es-gray); }
.es-pp-variants__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.es-pp-variant { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; padding: 8px; background: #fff; border: 2px solid var(--es-border-2); border-radius: 6px; color: var(--es-navy); font: inherit; font-size: 0.85rem; cursor: pointer; }
.es-pp-variant img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.es-pp-variant[aria-pressed="true"] { border-color: #c2410c; background: rgba(194, 65, 12, 0.08); }

.es-pp-downloads { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.es-pp-dl { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 6px; text-decoration: none; font-weight: 800; text-align: center; border: 2px solid #c2410c; }
.es-pp-dl__sub { font-size: 0.78rem; font-weight: 400; opacity: 0.9; }
.es-pp-dl--fill { background: #c2410c; color: #fff; }
.es-pp-dl--outline { background: transparent; color: #c2410c; }
.es-pp-dl--light { background: transparent; border-color: #fff; color: #fff; }
.es-pp-dl:hover { filter: brightness(0.92); }

.es-pp-caps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.es-pp-cap { background: #fff; border: 1px solid var(--es-border-2); border-radius: 6px; overflow: hidden; }
.es-pp-cap img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.es-pp-cap span { display: block; padding: 10px 12px; font-weight: 700; color: var(--es-navy); }

.es-pp-speccards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.es-pp-speccard { background: #f8f9fa; border: 1px solid var(--es-border-2); border-radius: 6px; padding: 16px; }
.es-pp-speccard h3 { margin: 0 0 10px; color: var(--es-navy); font-size: 1rem; }
.es-pp-speccard dl { margin: 0; }
.es-pp-speccard dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--es-border-2); }
.es-pp-speccard dt { color: var(--es-gray); }
.es-pp-speccard dd { margin: 0; font-weight: 700; color: var(--es-navy); }

.es-pp-related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.es-pp-rel { display: flex; flex-direction: column; gap: 4px; min-height: 44px; text-decoration: none; color: var(--es-navy); }
.es-pp-rel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.es-pp-rel__cat { font-size: 0.78rem; color: var(--es-gray); }
.es-pp-rel__name { font-weight: 700; }

.es-product-extra { margin-top: 40px; max-width: 100%; overflow-wrap: anywhere; }
.es-product-extra img { max-width: 100%; height: auto; }
.es-pp-endstrip { margin-top: 40px; padding: 32px 24px; background: var(--es-navy, #1a2540); color: #fff; border-radius: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.es-pp-endstrip__text { margin: 0; font-size: 1.25rem; font-weight: 800; }
.es-pp-endstrip__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 640px) {
	.es-pp-variants__grid { grid-template-columns: repeat(3, 1fr); }
	.es-pp-caps__list, .es-pp-related__list { grid-template-columns: 1fr 1fr; }
	.es-pp-endstrip { flex-direction: column; align-items: stretch; }
	.es-pp-endstrip__actions { flex-direction: column; }
}

.es-pp-sku[hidden] { display: none; }
