/* ==========================================================================
   הילת הקסם — עיצוב 2026: תבניות דינמיות
   מוצר · חנות · פוסט · בלוג · עמוד רגיל
   ========================================================================== */
body.hk-v2 .hm-wrap--read { max-width: 760px; }
body.hk-v2 .hm-pagehero--slim { padding-bottom: clamp(8px, 1.5vw, 20px); }
body.hk-v2 .hm-pagehero--post .hm-pagehero__inner { max-width: 900px; }

/* פירורי לחם */
body.hk-v2 .hm-crumbs, body.hk-v2 .hm-crumbs .woocommerce-breadcrumb, body.hk-v2 .hm-crumbs a, body.hk-v2 .hm-crumbs span {
	font-family: var(--hm-sans) !important; font-size: 13.5px !important; color: var(--hm-ink-soft) !important; letter-spacing: .02em;
}
body.hk-v2 .hm-crumbs a:hover { color: var(--hm-gold-text) !important; }
body.hk-v2 .hm-pagehero .hm-crumbs { margin-bottom: 18px; }

/* ---------- עמוד מוצר ---------- */
body.hk-v2 .hm-product { padding-top: clamp(116px, 11vw, 150px); }
body.hk-v2 .hm-product__crumbs { margin-bottom: 22px; display: block !important; }
body.hk-v2 .hm-product__grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
body.hk-v2 .hm-product__media { position: sticky; top: 110px; display: block !important; }
body.hk-v2 .hm-product__gallery .woocommerce-product-gallery { margin: 0 !important; width: 100% !important; float: none !important; }
body.hk-v2 .hm-product__gallery img { border-radius: var(--hm-radius-lg) !important; background: var(--hm-surface); }
body.hk-v2 .hm-product__gallery .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px !important; }
body.hk-v2 .hm-product__gallery .flex-control-thumbs li { width: 72px !important; }
body.hk-v2 .hm-product__gallery .flex-control-thumbs img { border-radius: 14px !important; opacity: .6; transition: opacity .3s; }
body.hk-v2 .hm-product__gallery .flex-control-thumbs img.flex-active,
body.hk-v2 .hm-product__gallery .flex-control-thumbs img:hover { opacity: 1; }
body.hk-v2 .hm-product__gallery .woocommerce-product-gallery__trigger { background: var(--hm-surface); border-radius: 50%; }
body.hk-v2 .hm-product__summary { display: flex !important; flex-direction: column !important; gap: 18px; }
body.hk-v2 .hm-product__title .elementor-heading-title,
body.hk-v2 .hm-product__title .product_title {
	font-size: clamp(32px, 3.6vw, 52px) !important; font-weight: 300 !important; line-height: 1.12;
	letter-spacing: -.02em; color: var(--hm-ink) !important;
}
body.hk-v2 .hm-product__price .price, body.hk-v2 .hm-product__price p.price {
	font-family: var(--hm-sans) !important; font-size: 30px !important; font-weight: 300 !important; color: var(--hm-ink) !important; margin: 0 !important;
}
body.hk-v2 .hm-product__price del { opacity: .45; font-size: .7em; margin-inline-end: 10px; }
body.hk-v2 .hm-product__price ins { text-decoration: none; color: var(--hm-gold-text); }
body.hk-v2 .hm-product__excerpt p { font-size: 18px; line-height: 1.8; color: var(--hm-ink-soft); }
body.hk-v2 .hm-product__event:has(.elementor-shortcode:empty) { display: none; }
body.hk-v2 .hm-product__buy form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 0 !important; }
body.hk-v2 .hm-product__buy .single_add_to_cart_button { flex: 1 1 auto; min-height: 58px; font-size: 17px !important; }
body.hk-v2 .hm-product__buy .single_add_to_cart_button::after { content: " \2190"; }
body.hk-v2 .hm-product__ask {
	display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	padding-top: 18px !important; border-top: 1px solid var(--hm-line); margin-top: 6px;
}
body.hk-v2 .hm-product__ask > .elementor-widget { width: auto; }
body.hk-v2 .hm-product__ask-t .elementor-heading-title { font-family: var(--hm-sans); font-size: 15px; color: var(--hm-ink-soft); font-weight: 300; }
body.hk-v2 .hm-product__ask-l .elementor-heading-title { font-family: var(--hm-sans); font-size: 15px; font-weight: 500; color: var(--hm-gold-text); }

/* טיפוגרפיית תוכן ארוך */
body.hk-v2 .hm-prose h2, body.hk-v2 .hm-prose h3 {
	font-family: var(--hm-serif); font-weight: 400; color: var(--hm-ink); line-height: 1.25; letter-spacing: -.01em; margin: 1.6em 0 .5em;
}
body.hk-v2 .hm-prose h2 { font-size: clamp(26px, 2.6vw, 34px); }
body.hk-v2 .hm-prose h3 { font-size: clamp(21px, 2vw, 26px); }
body.hk-v2 .hm-prose ul, body.hk-v2 .hm-prose ol { padding-inline-start: 1.2em; color: var(--hm-ink-soft); font-size: 18px; line-height: 1.85; }
body.hk-v2 .hm-prose li::marker { color: var(--hm-gold); }
body.hk-v2 .hm-prose a { color: var(--hm-gold-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.hk-v2 .hm-prose img { border-radius: 22px; height: auto; }
body.hk-v2 .hm-prose blockquote {
	border-inline-start: 2px solid var(--hm-gold); margin: 1.6em 0; padding: 4px 22px;
	font-size: 22px; line-height: 1.6; color: var(--hm-ink); font-weight: 300;
}
body.hk-v2 .hm-prose strong { color: var(--hm-ink); font-weight: 500; }
body.hk-v2 .hm-related { padding-top: clamp(24px, 3vw, 44px); }

/* ---------- כרטיסי מוצר (חנות + "עוד מהחנות") ---------- */
body.hk-v2 .hm-products ul.products {
	display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: clamp(22px, 2.6vw, 36px) !important; margin: 0 !important;
}
body.hk-v2 .hm-products ul.products::before, body.hk-v2 .hm-products ul.products::after { display: none !important; }
body.hk-v2 .hm-products ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; position: relative;
	background: transparent; border: 0; border-radius: 0; padding: 0 !important;
	display: flex; flex-direction: column; text-align: right;
}
body.hk-v2 .hm-products ul.products li.product:hover { transform: none; box-shadow: none; }
body.hk-v2 .hm-products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 6px; color: inherit; }
body.hk-v2 .hm-products li.product img {
	width: 100% !important; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--hm-radius) !important; margin: 0 0 14px !important;
	background: var(--hm-surface); transition: transform .8s var(--hm-ease), box-shadow .6s var(--hm-ease);
}
body.hk-v2 .hm-products li.product:hover img { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgba(27, 34, 64, .55); }
body.hk-v2 .hm-products li.product .woocommerce-loop-product__title {
	font-family: var(--hm-serif) !important; font-size: 20px !important; font-weight: 400 !important; line-height: 1.35 !important;
	color: var(--hm-ink) !important; padding: 0 !important; margin: 0 !important;
}
body.hk-v2 .hm-products li.product .price {
	font-family: var(--hm-sans) !important; font-size: 16px !important; color: var(--hm-ink-soft) !important; font-weight: 400 !important; margin: 2px 0 0 !important;
}
body.hk-v2 .hm-products li.product .price del { opacity: .5; margin-inline-end: 6px; }
body.hk-v2 .hm-products li.product .price ins { text-decoration: none; color: var(--hm-gold-text); }
body.hk-v2 .hm-products li.product .onsale {
	position: absolute; top: 14px !important; right: 14px !important; left: auto !important; margin: 0 !important; z-index: 2;
	background: var(--hm-surface) !important; color: var(--hm-ink) !important; font-size: 12.5px !important; font-weight: 500;
	border-radius: 999px !important; padding: 7px 12px !important; min-height: 0 !important; min-width: 0 !important; line-height: 1 !important;
}
/* בלי כפתור "הוספה לסל" בכרטיס: הכרטיס כולו לחיץ ומוביל לעמוד המוצר */
body.hk-v2 .hm-products li.product .button, body.hk-v2 .hm-products li.product .added_to_cart { display: none !important; }
body.hk-v2 .hm-products li.product a.woocommerce-LoopProduct-link::after {
	content: "\05DC\05E4\05E8\05D8\05D9\05DD  \2190"; font-family: var(--hm-sans); font-size: 14.5px; font-weight: 500; color: var(--hm-gold-text);
	margin-top: 6px; transition: letter-spacing .4s var(--hm-ease);
}
body.hk-v2 .hm-products li.product:hover a.woocommerce-LoopProduct-link::after { letter-spacing: .03em; }
body.hk-v2 .hm-products .woocommerce-pagination ul { border: 0 !important; display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
body.hk-v2 .hm-products .woocommerce-pagination ul li { border: 0 !important; }
body.hk-v2 .hm-products .woocommerce-pagination a, body.hk-v2 .hm-products .woocommerce-pagination span {
	border-radius: 50%; width: 44px; height: 44px; display: flex !important; align-items: center; justify-content: center; padding: 0 !important;
	font-family: var(--hm-sans); border: 1px solid var(--hm-line) !important;
}
body.hk-v2 .hm-products .woocommerce-pagination span.current { background: var(--hm-ink) !important; color: var(--hm-bg) !important; }
body.hk-v2 .hm-products .woocommerce-result-count, body.hk-v2 .hm-products .woocommerce-ordering { display: none; }

/* ---------- כרטיסי פוסטים ---------- */
body.hk-v2 .hm-posts .elementor-posts-container {
	display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: clamp(18px, 2.4vw, 34px) !important;
}
body.hk-v2 .hm-posts .elementor-post { background: transparent !important; border: 0 !important; display: flex; flex-direction: column; }
body.hk-v2 .hm-posts .elementor-post__card { background: transparent !important; border: 0 !important; overflow: visible; }
body.hk-v2 .hm-posts .elementor-post__thumbnail__link {
	margin-bottom: 16px !important; display: block; border-radius: var(--hm-radius); overflow: hidden; width: 100% !important;
}
body.hk-v2 .hm-posts .elementor-post__thumbnail { padding-bottom: 70% !important; border-radius: var(--hm-radius); overflow: hidden; }
body.hk-v2 .hm-posts .elementor-post__thumbnail img { transition: transform 1s var(--hm-ease) !important; }
body.hk-v2 .hm-posts .elementor-post:hover .elementor-post__thumbnail img { transform: translate(-50%, -50%) scale(1.05) !important; }
body.hk-v2 .hm-posts .elementor-post__text { padding: 0 !important; display: flex; flex-direction: column; }
body.hk-v2 .hm-posts .elementor-post__meta-data {
	order: -1; font-family: var(--hm-sans); font-size: 13px !important; color: var(--hm-gold-text) !important; letter-spacing: .06em; margin-bottom: 8px !important;
}
body.hk-v2 .hm-posts .elementor-post__title, body.hk-v2 .hm-posts .elementor-post__title a {
	font-family: var(--hm-serif) !important; font-size: clamp(20px, 1.7vw, 24px) !important; font-weight: 400 !important;
	line-height: 1.3 !important; color: var(--hm-ink) !important;
}
body.hk-v2 .hm-posts .elementor-post__title { margin-bottom: 10px !important; }
body.hk-v2 .hm-posts .elementor-post__excerpt p { font-size: 16px; line-height: 1.7; color: var(--hm-ink-soft); margin-bottom: 12px; }
body.hk-v2 .hm-posts .elementor-post__read-more { font-family: var(--hm-sans); font-size: 14.5px !important; font-weight: 500 !important; color: var(--hm-ink) !important; }
body.hk-v2 .hm-posts .elementor-post__read-more::after { content: " \2190"; color: var(--hm-gold); }
body.hk-v2 .hm-posts .elementor-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; font-family: var(--hm-sans); }
body.hk-v2 .hm-posts .elementor-pagination .page-numbers {
	width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--hm-line); color: var(--hm-ink);
}
body.hk-v2 .hm-posts .elementor-pagination .page-numbers.current { background: var(--hm-ink); color: var(--hm-bg); border-color: var(--hm-ink); }
body.hk-v2 .hm-pills--center .elementor-icon-list-items { justify-content: center; margin-top: 30px; }
body.hk-v2 .hm-pills .elementor-icon-list-item a { display: inline-flex; }
body.hk-v2 .hm-pills .elementor-icon-list-item:has(a) { transition: background .3s, border-color .3s; }
body.hk-v2 .hm-pills .elementor-icon-list-item:has(a):hover { background: var(--hm-ink); border-color: var(--hm-ink); }
body.hk-v2 .hm-pills .elementor-icon-list-item:has(a):hover .elementor-icon-list-text { color: var(--hm-bg); }

/* ---------- פוסט בודד ---------- */
body.hk-v2 .hm-post__title .elementor-heading-title { font-size: clamp(36px, 5vw, 72px); font-weight: 200; line-height: 1.05; letter-spacing: -.035em; }
body.hk-v2 .hm-post__meta { margin-top: 22px; }
body.hk-v2 .hm-post__meta .elementor-icon-list-items { justify-content: center; gap: 4px 18px; }
body.hk-v2 .hm-post__meta .elementor-icon-list-item { font-family: var(--hm-sans); font-size: 14px; color: var(--hm-ink-soft); margin: 0 !important; }
body.hk-v2 .hm-post__meta .elementor-icon-list-item + .elementor-icon-list-item::before { content: "\00B7"; color: var(--hm-gold); margin-inline-end: 18px; }
body.hk-v2 .hm-post__meta .elementor-icon-list-item::after { display: none !important; }
body.hk-v2 .hm-post__meta .elementor-icon-list-icon { display: none; }
body.hk-v2 .hm-post__meta a { color: var(--hm-gold-text); }
body.hk-v2 .hm-post__image { margin-bottom: clamp(28px, 4vw, 52px); }
body.hk-v2 .hm-post__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--hm-radius-lg); }
body.hk-v2 .hm-author {
	display: flex !important; flex-direction: row !important; align-items: center; gap: 22px;
	margin-top: clamp(40px, 5vw, 64px); padding: 28px !important; border-radius: var(--hm-radius);
	background: var(--hm-surface); border: 1px solid var(--hm-line);
}
body.hk-v2 .hm-author__img { width: 84px !important; flex: 0 0 84px; }
body.hk-v2 .hm-author__img img { width: 84px; height: 84px; border-radius: 50%; background: var(--hm-bg); padding: 10px; object-fit: contain; }
body.hk-v2 .hm-author__text { display: block !important; }
body.hk-v2 .hm-author__name .elementor-heading-title { font-size: 21px; font-weight: 400; margin-bottom: 4px; }
body.hk-v2 .hm-author__bio p { font-size: 15.5px; line-height: 1.7; color: var(--hm-ink-soft); }
body.hk-v2 .hm-author .hm-btns { margin-top: 14px; }

/* ---------- עמוד רגיל (מדיניות, תקנון, נגישות) ---------- */
body.hk-v2 .hm-page__content p, body.hk-v2 .hm-page__content li { font-size: 17px; }

@media (max-width: 1024px) {
	body.hk-v2 .hm-product__grid { grid-template-columns: 1fr; }
	body.hk-v2 .hm-product__media { position: static; }
	body.hk-v2 .hm-products ul.products,
	body.hk-v2 .hm-posts .elementor-posts-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
	body.hk-v2 .hm-product { padding-top: 98px; }
	body.hk-v2 .hm-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 12px; }
	body.hk-v2 .hm-products li.product .woocommerce-loop-product__title { font-size: 16px !important; }
	body.hk-v2 .hm-products li.product img { border-radius: 20px !important; margin-bottom: 10px !important; }
	body.hk-v2 .hm-posts .elementor-posts-container { grid-template-columns: 1fr !important; }
	body.hk-v2 .hm-author { flex-direction: column !important; text-align: center; align-items: center; }
	body.hk-v2 .hm-author .hm-btns { justify-content: center; }
}

/* תיקונים: כפתור רכישה, תווית מבצע, כותרת כפולה ב"מוצרים קשורים" */
body.hk-v2 .hm-product__buy .single_add_to_cart_button, body.hk-v2 .hm-product__buy button.button.alt {
	background: var(--hm-ink) !important; color: var(--hm-bg) !important; border: 1px solid var(--hm-ink) !important; border-radius: 999px !important;
}
body.hk-v2 .hm-product__buy .single_add_to_cart_button:hover { background: var(--hm-gold) !important; border-color: var(--hm-gold) !important; color: #fff !important; }
body.hk-v2 .hm-product__gallery .onsale, body.hk-v2.single-product span.onsale {
	background: var(--hm-surface) !important; color: var(--hm-ink) !important; border-radius: 999px !important; min-height: 0 !important; min-width: 0 !important;
	line-height: 1 !important; padding: 8px 14px !important; font-family: var(--hm-sans); font-size: 13px !important; font-weight: 500; top: 18px !important; right: 18px !important; left: auto !important; z-index: 3;
}
body.hk-v2 .hm-products .related > h2, body.hk-v2 .hm-products .upsells > h2, body.hk-v2 .hm-products section.related > h2 { display: none !important; }
body.hk-v2 .hm-product { padding-top: clamp(104px, 8vw, 120px); }

/* עגלה · תשלום · החשבון שלי — מרווח מתחת להדר הצף */
body.hk-v2:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .elementor[data-elementor-type="wp-page"] { padding-top: clamp(48px, 4.5vw, 64px); }
body.hk-v2.woocommerce-account:not(:has(.elementor[data-elementor-type="wp-page"])) #content { padding-top: clamp(104px, 9vw, 130px); }
body.hk-v2:is(.woocommerce-cart, .woocommerce-checkout) .elementor-heading-title { font-weight: 300; letter-spacing: -.02em; }
body.hk-v2 .woocommerce-cart-form, body.hk-v2 .cart-collaterals, body.hk-v2 .woocommerce-checkout-review-order { font-family: var(--hm-sans); }
body.hk-v2 .wc-empty-cart-message, body.hk-v2 .cart-empty { font-family: var(--hm-sans); font-size: 18px; }
body.hk-v2 .return-to-shop .button { margin-top: 10px; }
