/* Meshek Daniel Card – כרטיס מוצר בסגנון סופרמרקט (נטען רק כשהכרטיס מוצג) */

/* הכרטיס: הכול ממורכז */
li.product:has(.mdc-price),
li.product:has(.mdc-info) {
	text-align: center !important;
}

/* ---------- המחיר: "14.90 ש"ח / מארז" ---------- */
li.product .mdc-price {
	display: flex;
	flex-direction: row; /* המחיר מימין, "/ מארז" משמאל */
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 6px;
	margin: 14px 0 2px;
	line-height: 1.2;
	color: #3E4A38;
}

li.product .mdc-price .price {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 19px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: #3E4A38 !important;
}

li.product .mdc-price .price .amount,
li.product .mdc-price .price bdi,
li.product .mdc-price .price ins {
	font-size: inherit !important;
	font-weight: inherit !important;
	color: inherit !important;
	text-decoration: none !important;
	background: none !important;
}

/* סדר קבוע של המספר והמטבע – בלי קשר לסדר בקוד */
li.product .mdc-price .price .amount,
li.product .mdc-price .price .amount > bdi  {
	display: inline-flex !important;
	direction: ltr !important;
	align-items: baseline;
	gap: 0; /* הרווח כבר קיים בטקסט של המחיר */
}

li.product .mdc-price .woocommerce-Price-currencySymbol {
	order: -1;               /* ₪ משמאל למספר */
	margin-right: 3px;
	font-size: 0.85em !important;
	font-weight: 600 !important;
}

/* במבצע: המחיר הקודם קטן ומחוק לידו */
li.product .mdc-price .price del,
li.product .mdc-price .price del .amount,
li.product .mdc-price .price del bdi {
	font-size: 13px !important;
	font-weight: 400 !important;
	color: #9B9B9B !important;
	text-decoration: line-through !important;
	opacity: 1 !important;
	margin-inline-end: 4px;
}

li.product .mdc-per {
	font-size: 17px !important;
	font-weight: 400 !important;
	color: #3E4A38 !important;
	white-space: nowrap;
}

/* ---------- שם המוצר: אפור, רגיל ---------- */
li.product:has(.mdc-price) .woocommerce-loop-product__title,
li.product:has(.mdc-info) .woocommerce-loop-product__title {
	margin: 2px 0 0 !important;
	padding: 0 !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	color: #6F6F6F !important;
	text-align: center !important;
}

/* ---------- השורות הקטנות ---------- */
li.product .mdc-info {
	margin: 0 0 8px;
	line-height: 1.3;
}

li.product .mdc-info,
li.product .mdc-info * {
	font-weight: 400 !important;
}

/* "(מארז 2 יח')" – באותו סגנון כמו השם, כמו בדוגמה */
li.product .mdc-pack {
	display: block;
	font-size: 15px !important;
	color: #6F6F6F !important;
}

li.product .mdc-weight {
	display: block;
	margin-top: 4px;
	font-size: 13px !important;
	color: #8C8C8C !important;
}

/* טלפון: שני כרטיסים בשורה – מעט קטן יותר */
@media (max-width: 767px) {
	li.product .mdc-price .price { font-size: 17px !important; }
	li.product .mdc-per { font-size: 15px !important; }
	li.product:has(.mdc-price) .woocommerce-loop-product__title,
	li.product:has(.mdc-info) .woocommerce-loop-product__title { font-size: 14px !important; }
	li.product .mdc-pack { font-size: 14px !important; }
	li.product .mdc-weight { font-size: 12px !important; }
}
