:root{
  --frame-yellow:#FFEB3B;
  --frame-radius:24px;   /* אפשר להשאיר 24, או לעלות ל-26px אם תרצי יותר עגול */
  --frame-gap-m:20px;    /* היה 16px */
  --frame-gap-d:36px;    /* היה 32px */
}

/* רקע צהוב מסביב */
body{ background: var(--frame-yellow) !important; }

/* הקופסה הלבנה שמכילה header + תוכן + footer */
.wp-site-blocks{
  background:#fff;
  border-radius:var(--frame-radius);
  margin:var(--frame-gap-m);
  overflow:hidden;                   /* שומר על הפינות */
  box-shadow:0 0 0 1px rgba(17,24,39,.06); /* קו דק נעים */
}

/* בדסקטופ מגדילים מרווח */
@media (min-width:782px){
  .wp-site-blocks{ margin:var(--frame-gap-d); }
}

/* אם תרצי רק בדף הבית – השתמשי בגרסה הזו במקום שתי החסימות למעלה:
body.home{ background:var(--frame-yellow) !important; }
body.home .wp-site-blocks{
  background:#fff;border-radius:var(--frame-radius);
  margin:var(--frame-gap-m); overflow:hidden;
  box-shadow:0 0 0 1px rgba(17,24,39,.06);
}
@media (min-width:782px){ body.home .wp-site-blocks{ margin:var(--frame-gap-d); } }
*/
/* Buttons: black outline + pill */
:root{
  --ud-black:#0B0D0F;
}

.wp-element-button,
.wp-block-button__link{
  border: 2px solid var(--ud-black) !important;
  border-radius: 999px !important;  /* גלולה */
  box-shadow: none !important;
}

/* פוקוס נגיש (בלי הטורקיז) */
.wp-element-button:focus,
.wp-block-button__link:focus{
  outline: 2px solid var(--ud-black);
  outline-offset: 2px;
  box-shadow: none !important;
}
/* Cards with black outline */
.ud-card{
  background:#fff;
  border:2px solid #0B0D0F;
  border-radius:20px;
  padding:clamp(16px,2.5vw,24px);
  box-shadow:none;
}

/* גרסה ורודה ל-Featured box */
.ud-pink{
  background:#FF3EA5;
  color:#fff;
  border-color:#0B0D0F;
}
.ud-pink a{ color:#fff; text-decoration:underline; }

/* גרסת “מסגרת בלבד” אם תרצי בהמשך */
.ud-outline{
  background:transparent;
  border:2px solid #0B0D0F;
  border-radius:20px;
  padding:clamp(16px,2.5vw,24px);
}
/* Cards: כל עמודה בעמוד הבית נראית כקופסה לבנה עם מסגרת שחורה */
body.home .wp-block-columns > .wp-block-column{
  background:#fff;
  border:2px solid #0B0D0F;
  border-radius:20px;
  padding:clamp(16px,2.5vw,24px);
  box-shadow:none;
  overflow:hidden;
}
/* ריווח פנימי בתוך הקופסה הלבנה */
.wp-site-blocks{
  padding: clamp(16px, 3vw, 32px);
}
/* רווח אנכי גלובלי בין בלוקים בתוך הקופסה הלבנה */
.wp-site-blocks{
  --wp--style--block-gap: clamp(16px, 3vw, 32px);
}

/* פולבאק אם התבנית לא משתמשת ב-block-gap */
.wp-block-post-content > * + *,
.entry-content > * + *{
  margin-block-start: clamp(16px, 3vw, 32px);
}
.my-product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  direction: rtl;
}

.my-product-box {
  width: 45%;
  border: 3px solid turquoise;
  border-radius: 25px;
  padding: 20px;
  background: white;
  text-align: center;
  box-sizing: border-box;
}

.my-product-box img {
  width: 100%;
  border-radius: 15px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 15px;
}

.my-product-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  height: 48px;
  overflow: hidden;
}

.my-product-price {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
}

.my-product-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: turquoise;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.my-product-button:hover {
  background-color: #008c8e;
}
/* הצגת הצ'קבוקס בכוח */
.wapf-field-input input[type="checkbox"] {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  visibility: visible !important;
  margin-right: 6px; /* ריווח קטן בין התיבה לטקסט */
}
/* 1) להכריח את תיבת הסימון להופיע */
.wapf-field.wapf-type-checkbox input[type="checkbox"],
.wapf-field-input input[type="checkbox"],
input[type="checkbox"].wapf-input {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 6px 0 0 !important; /* ריווח מימין לטקסט */
 footer .wp-block-group:last-of-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}
/* בולד יציב לשאלות ה-FAQ של Yoast, בלי תלות בפונט התבנית */
.schema-faq .schema-faq-question,
.wp-block-yoast-faq-block .schema-faq-section > p:first-child,
.schema-faq .schema-faq-section > p:first-child {
  font-family: Arial, Helvetica, "Segoe UI", system-ui !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
  margin: 0 0 6px !important;
  line-height: 1.35 !important;
}

/* תשובה לקריאות (לא חובה) */
.schema-faq .schema-faq-answer { line-height:1.7 !important; color:#222 !important; }
/* --- Checkout: סדר ועטיפה נכונה של טקסטים --- */
body.woocommerce-checkout #order_review .product-name,
body.woocommerce-checkout #order_review .wc-item-meta,
body.woocommerce-checkout #order_review .wc-item-meta li {
  overflow-wrap: anywhere;   /* עוטף גם שמות/קבצים ארוכים */
  word-break: break-word;
  line-height: 1.35;
}

/* הקטנה עדינה של מטא-פריטים (למשל שמות קבצים) */
body.woocommerce-checkout #order_review .wc-item-meta li {
  font-size: 0.92em;
  margin: 2px 0;
}

/* מייצבים רוחב קריא ומרכזים את סיכום ההזמנה והתשלום בדסקטופ */
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-payment {
  max-width: 620px;          /* אם צר מדי/רחב מדי – שנה מספר */
  margin-inline: auto;       /* מושך למרכז העמוד */
}

/* --- קופסת “אפשרויות תשלום” קומפקטית --- */
body.woocommerce-checkout .woocommerce-checkout-payment {
  padding: 12px;
  border-radius: 8px;
}

body.woocommerce-checkout .wc_payment_methods > li > label {
  font-weight: 600;
}

/* גודל ותצוגה נקיים של תיאור שיטת התשלום */
body.woocommerce-checkout .payment_box {
  padding: 10px 12px;
  min-height: 0;
  line-height: 1.4;
}

/* מצמצם פסקאות ארוכות בתוך התיאור */
body.woocommerce-checkout .payment_box p { margin: 6px 0
	; 
	/* ===== Desktop (769px+) ===== */
@media (min-width: 769px){

  /* וואטסאפ – ימין תחתון (כולל וריאציות של Click to Chat) */
  .ctc-analytics.ctc_s_2,
  #ht-ctc, #ht-ctc-chat, .ht-ctc, .ht-ctc-chat, .ht-ctc-chat .ht-ctc-chat-btn{
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    left: auto !important;
    z-index: 2147483647 !important;
    display: block !important;
  }

  /* עוגיות (Cookie Law Info – כפתור Revisit) – שמאל תחתון */
  #cookie-law-info-again,
  #cookie-law-info-bar .cli-plugin-button,
  #cookie-law-info-bar .cli-settings-button{
    position: fixed !important;
    left: 20px !important;
    bottom: 24px !important;
    right: auto !important;
    z-index: 2147483646 !important;
  }

  /* נגישות/דארקמוד (WP Accessibility) – שמאל תחתון מעל העוגיות */
  #a11y-toolbar,
  .a11y-toolbar,
  .a11y-toggle.a11y-toggle-contrast.toggle-contrast{
    position: fixed !important;
    left: 20px !important;
    right: auto !important;
    bottom: 88px !important; /* ~64px מעל העוגיות */
    z-index: 2147483646 !important;
  }
}

/* ===== Mobile (עד 768px) ===== */
@media (max-width: 768px){

  /* וואטסאפ – ימין תחתון */
  .ctc-analytics.ctc_s_2,
  #ht-ctc, #ht-ctc-chat, .ht-ctc, .ht-ctc-chat, .ht-ctc-chat .ht-ctc-chat-btn{
    bottom: 30px !important;
    right: 20px !important;
  }

  /* עוגיות – שמאל תחתון */
  #cookie-law-info-again,
  #cookie-law-info-bar .cli-plugin-button,
  #cookie-law-info-bar .cli-settings-button{
    bottom: 30px !important;
    left: 20px !important;
  }

  /* נגישות/דארקמוד – שמאל, גבוה יותר */
  #a11y-toolbar,
  .a11y-toolbar,
  .a11y-toggle.a11y-toggle-contrast.toggle-contrast{
    bottom: 110px !important;
    left: 20px !important;
  }
/* העלמת טבלת המחירים מכל האתר */
.wapf-product-totals, 
#wapf-product-totals,
.wapf-pricing-table,
div.wapf-product-totals {
    display: none !important;
}
.wp-block-woocommerce-related-products .wp-element-button,
.wc-block-related-products .wp-element-button {
    display: none !important;
}