@charset "UTF-8";
/* =======================================================
   تنسيق حجم ونظافة خط المقال فقط (بدون ألوان أو أشكال)
   ======================================================= */

/* 1. حجم النص والفقرات للكمبيوتر (صغير ومرتب) */
.single-post .entry-content p,
.single-post article p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #222222 !important;
    margin-bottom: 16px !important;
}

/* 2. أحجام العناوين للكمبيوتر (بدون إطارات أو خلفيات) */
.single-post .entry-content h1 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
}

.single-post .entry-content h2 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-top: 26px !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
}

.single-post .entry-content h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin-top: 20px !important;
    margin-bottom: 8px !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
}

/* 3. تنسيق النقاط والقوائم */
.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-right: 20px !important;
    margin-bottom: 16px !important;
}

.single-post .entry-content li {
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin-bottom: 8px !important;
    color: #222222 !important;
}

/* =======================================================
   4. تخصيص الجوال (نص صغير جداً، مرتب وواضح على الشاشة)
   ======================================================= */
@media (max-width: 768px) {
    
    .single-post .entry-content p,
    .single-post article p,
    .single-post .entry-content li {
        font-size: 14.5px !important; /* حجم صغير ومريح للشاشات الصغيرة */
        line-height: 1.75 !important;
        margin-bottom: 14px !important;
    }

    .single-post .entry-content h1 {
        font-size: 1.45rem !important;
        margin-bottom: 14px !important;
    }

    .single-post .entry-content h2 {
        font-size: 1.2rem !important;
        margin-top: 22px !important;
        margin-bottom: 10px !important;
    }

    .single-post .entry-content h3 {
        font-size: 1.05rem !important;
        margin-top: 16px !important;
        margin-bottom: 8px !important;
    }
}


/* WCAG contrast correction — Jeelena home branch section */
body.jr-home #jr-main .jr-branch .jr-kicker { color: #754955 !important; }
body.jr-home #jr-main .jr-branch .jr-branch-heading h2 em { color: #99565f !important; }
body.jr-home #jr-main .jr-branch .jr4-hours-separator { color: #754955 !important; }


/* JELENA WPConsent — shadow-safe compact card; remove this block to roll back */
#wpconsent-container {
  --wpconsent-background: #fffaf7;
  --wpconsent-text: #3b1728;
  --wpconsent-outline-color: rgba(59, 23, 40, .16);
  --wpconsent-accept-bg: #5a1735;
  --wpconsent-accept-color: #fff;
  --wpconsent-cancel-bg: #f3e4e0;
  --wpconsent-cancel-color: #4c1a30;
  --wpconsent-preferences-bg: #fffaf7;
  --wpconsent-preferences-color: #6f3b50;
  --wpconsent-border-radius: 18px;
  --wpconsent-shadow: 0 10px 30px rgba(62, 20, 40, .15);
  --wpconsent-padding: 14px;
  --wpconsent-font-size: 14px;
  --wpconsent-line-height: 1.5;
  --wpconsent-min-width: 0px;
}
#wpconsent-container::part(wpconsent-banner) {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  grid-auto-flow: row;
  align-items: start;
  align-content: start;
  gap: 10px;
  box-sizing: border-box;
  width: min(420px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  height: auto !important;
  min-height: 0 !important;
  margin-inline: 12px;
  margin-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
#wpconsent-container::part(wpconsent-banner-body) {
  width: auto !important;
  min-width: 0;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  text-align: start;
}
#wpconsent-container::part(wpconsent-banner-footer) { width: auto; }
#wpconsent-container::part(wpconsent-banner-footer) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}
#wpconsent-container::part(wpconsent-button-accept) { order: 1; }
#wpconsent-container::part(wpconsent-button-cancel) { order: 2; }
#wpconsent-container::part(wpconsent-button-preferences) {
  order: 3;
  grid-column: 1 / -1;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #6f3b50;
  box-shadow: none;
}
#wpconsent-container::part(wpconsent-button-accept),
#wpconsent-container::part(wpconsent-button-cancel),
#wpconsent-container::part(wpconsent-button-preferences) {
  box-sizing: border-box;
  min-width: 0;
  min-height: 46px;
  padding: 10px 8px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.3;
}
#wpconsent-container::part(wpconsent-button-accept):focus-visible,
#wpconsent-container::part(wpconsent-button-cancel):focus-visible,
#wpconsent-container::part(wpconsent-button-preferences):focus-visible {
  outline: 2px solid #5a1735;
  outline-offset: 2px;
}





/* JELENA: remove the niqab gallery zoom overlay */
body.jpt-product #jpt-product .jelena-zoom-hint,
body.jpt-product #jpt-product .woocommerce-product-gallery__trigger { display: none !important; }

/* JELENA: compact niqab gallery thumbs to the abaya gallery five-up size */
body.postid-392401 #jpt-product .jelena-thumbs .jelena-thumb {
  flex: 0 0 calc((100% - 32px) / 5) !important;
  width: calc((100% - 32px) / 5) !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
}
body.postid-392401 #jpt-product .jelena-thumbs .jelena-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* Match the abaya gallery: five compact grid tracks, three niqab photos use the first three. */
body.postid-392401 #jpt-product .jelena-thumbs {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
body.postid-392401 #jpt-product .jelena-thumbs .jelena-thumb {
  width: 100% !important;
  height: auto !important;
  flex: none !important;
  aspect-ratio: 9 / 16 !important;
}

/* JELENA homepage flash-sale price contrast 20261028 */
body.home #jr-main .jps-card__price [data-jfs-price] del {
  opacity: 1 !important;
  color: #795c4b !important;
}
body.home #jr-main .jps-card__price [data-jfs-price] del .amount {
  color: inherit !important;
  opacity: 1 !important;
}

/* JELENA homepage countdown contrast 20261028 */
body.home #jr-main .jfs-native .jfs-clock small { color:#88666a !important; }

/* JELENA: عباية الأسبوع — عرض الصورة كاملة بنسبتها 3:4 بدون أشرطة فارغة */
#jr-main .jw8-main-link {
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
}
#jr-main .jw8-main-image {
  object-fit: contain !important;
}