@charset "UTF-8";

/* Jelena Category Experience — scoped WooCommerce category archive */
body.jeelena-category-page{--jce-green:#50172b;--jce-green-dark:#38232a;--jce-surface:#faf5ec;--jce-card:#FFFFFF;--jce-charcoal:#1F1F1F;--jce-muted:#72746F;--jce-line:rgba(80,23,43,.11);--jce-soft:rgba(80,23,43,.055);--jce-sale:#8A2F25;background:var(--jce-surface);
}
body.jeelena-category-page #page,
body.jeelena-category-page #primary,
body.jeelena-category-page .site-content,
body.jeelena-category-page .content-area,
body.jeelena-category-page main.site-main{width:100%;max-width:none;margin:0;
}
body.jeelena-category-page .site-content{padding:0!important;}
body.jeelena-category-page .content-area{float:none!important;}
body.jeelena-category-page #right-sidebar,
body.jeelena-category-page #left-sidebar{display:none!important;}
body.jeelena-category-page .inside-article{padding:0!important;background:transparent!important;box-shadow:none!important;}
body.jeelena-category-page .woocommerce-products-header{display:none!important;}
body.jeelena-category-page .woocommerce-ordering,
body.jeelena-category-page .woocommerce-result-count,
body.jeelena-category-page form.woocommerce-ordering{display:none!important;}
body.jeelena-category-page .woocommerce-notices-wrapper{width:min(1280px,calc(100% - 48px));margin:18px auto 0;}

.jcat-head,.jcat-head *,.jeelena-category-page ul.products,.jeelena-category-page ul.products *{box-sizing:border-box;}
.jcat-head{width:100%;padding:44px 0 28px;background:var(--jce-surface);color:var(--jce-charcoal);
}
.jcat-head__inner{width:min(1280px,calc(100% - 48px));margin-inline:auto;}
.jcat-crumbs{margin-bottom:22px;font-family:"Tajawal",Tahoma,Arial,sans-serif;}
.jcat-crumbs__list{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none;font-size:12px;color:var(--jce-muted);}
.jcat-crumbs__item{display:flex;align-items:center;gap:7px;}
.jcat-crumbs__item:not(:last-child)::after{content:"/";color:rgba(80,23,43,.35);}
.jcat-crumbs a{color:var(--jce-muted)!important;text-decoration:none!important;transition:color .15s ease;}
.jcat-crumbs a:hover{color:var(--jce-green)!important;}
.jcat-crumbs [aria-current="page"]{color:var(--jce-green);font-weight:600;}

.jcat-head__copy{max-width:820px;margin-inline:auto;text-align:center;}
.jcat-head__title{margin:0;color:var(--jce-green);font-family:"El Messiri",Tahoma,Arial,sans-serif;font-size:clamp(32px,3vw,44px);font-weight:700;line-height:1.25;}
.jcat-head__description{max-width:760px;margin:9px auto 0;color:var(--jce-muted);font-family:"Tajawal",Tahoma,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.85;}

.jcat-toolbar{display:flex;justify-content:flex-start;align-items:center;margin-top:26px;padding-top:20px;border-top:1px solid var(--jce-line);}
.jcat-sort{display:flex;align-items:center;gap:10px;margin:0;}
.jcat-sort__label{margin:0;color:var(--jce-green);font-family:"Tajawal",Tahoma,Arial,sans-serif;font-size:13px;font-weight:700;white-space:nowrap;}
.jcat-sort__select-wrap{position:relative;min-width:230px;}
.jcat-sort__select{appearance:none;-webkit-appearance:none;width:100%;height:44px;margin:0!important;padding:0 38px 0 14px!important;border:1px solid rgba(80,23,43,.18)!important;border-radius:10px!important;background:#fff!important;color:var(--jce-charcoal)!important;font-family:"Tajawal",Tahoma,Arial,sans-serif!important;font-size:13px!important;font-weight:500!important;line-height:44px!important;box-shadow:none!important;outline:none;
}
.jcat-sort__select:focus{border-color:var(--jce-green)!important;box-shadow:0 0 0 3px rgba(80,23,43,.10)!important;}
.jcat-sort__chevron{position:absolute;right:12px;top:50%;width:17px;height:17px;transform:translateY(-50%);fill:none;stroke:var(--jce-green);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;}

/* Product grid */
body.jeelena-category-page .woocommerce .products ul,
body.jeelena-category-page .woocommerce ul.products,
body.jeelena-category-page ul.products{width:min(1280px,calc(100% - 48px));margin:0 auto 56px!important;padding:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px 20px!important;list-style:none!important;
}
body.jeelena-category-page ul.products::before,
body.jeelena-category-page ul.products::after{display:none!important;content:none!important;}
body.jeelena-category-page ul.products li.product{float:none!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;clear:none!important;position:relative!important;text-align:initial!important;
}

/* Same visual language as the approved homepage product card. */
.jeelena-category-page .jps-card{min-width:0;display:flex;flex-direction:column;height:100%;background:var(--jce-card);border:1px solid var(--jce-line);border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(31,31,31,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
@media (hover:hover){.jeelena-category-page .jps-card:hover{transform:translateY(-2px);border-color:rgba(80,23,43,.19);box-shadow:0 14px 36px rgba(31,31,31,.055);}}
.jeelena-category-page .jps-card__media{position:relative;aspect-ratio:4/5;background:#F6F3ED;overflow:hidden;}
.jeelena-category-page .jps-card__image-link{display:block;width:100%;height:100%;}
.jeelena-category-page .jps-card__image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;object-fit:cover!important;object-position:center top!important;}
.jeelena-category-page .jps-card__badges{position:absolute;top:12px;left:12px;display:flex;flex-wrap:wrap;gap:7px;max-width:calc(100% - 24px);pointer-events:none;}
.jeelena-category-page .jps-badge{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid rgba(255,255,255,.48);border-radius:8px;background:rgba(255,255,255,.94);color:var(--jce-green);font-family:"Tajawal",Tahoma,Arial,sans-serif;font-size:11px;font-weight:700;line-height:1;box-shadow:0 2px 10px rgba(31,31,31,.035);}
.jeelena-category-page .jps-badge--sold{background:rgba(31,31,31,.92);color:#fff;border-color:transparent;}
.jeelena-category-page .jps-badge--sale{background:rgba(138,47,37,.94);color:#fff;border-color:transparent;}
.jeelena-category-page .jps-card__body{display:flex;flex:1;flex-direction:column;padding:17px 17px 16px;}
.jeelena-category-page .jps-card__topline{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:start;gap:12px;}
.jeelena-category-page .jps-card__title{margin:0;min-width:0;font-family:"Tajawal",Tahoma,Arial,sans-serif;font-size:15px;font-weight:600;line-height:1.68;color:var(--jce-charcoal);}
.jeelena-category-page .jps-card__title a{display:-webkit-box;min-height:3.36em;color:inherit!important;text-decoration:none!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
.jeelena-category-page .jps-wishlist{appearance:none;-webkit-appearance:none;width:40px;height:40px;padding:0!important;display:grid!important;place-items:center;align-self:start;border:1px solid var(--jce-green)!important;border-radius:11px!important;background:var(--jce-green)!important;color:#fff!important;box-shadow:none!important;cursor:pointer;transition:background-color .15s ease,border-color .15s ease;}
.jeelena-category-page .jps-wishlist svg{display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.jeelena-category-page .jps-wishlist:hover,.jeelena-category-page .jps-wishlist[aria-pressed="true"]{background:var(--jce-green-dark)!important;border-color:var(--jce-green-dark)!important;}
.jeelena-category-page .jps-wishlist[aria-pressed="true"] svg{fill:currentColor;}
.jeelena-category-page .jps-card__price{margin-top:12px;min-height:30px;color:var(--jce-green);font-family:"El Messiri",Tahoma,Arial,sans-serif;font-size:20px;font-weight:700;line-height:1.45;direction:ltr;}
.jeelena-category-page .jps-card__price del{margin-inline-start:6px;color:#969891;font-size:14px;font-weight:500;opacity:1;}
.jeelena-category-page .jps-card__price ins{text-decoration:none;color:var(--jce-green);}
.jeelena-category-page .jps-card__actions{--jce-action-size:45px;margin-top:auto;padding-top:15px;display:grid;grid-template-columns:minmax(0,1fr) var(--jce-action-size);grid-auto-rows:var(--jce-action-size);gap:9px;align-items:stretch;}
.jeelena-category-page .jps-card__details{box-sizing:border-box;margin:0;display:flex;align-items:center;justify-content:space-between;align-self:stretch;gap:10px;block-size:var(--jce-action-size);min-height:0;padding:11px 13px;border:1px solid var(--jce-green)!important;border-radius:10px;background:var(--jce-green)!important;color:#fff!important;font-family:"Tajawal",Tahoma,Arial,sans-serif;font-size:13px;font-weight:700;text-decoration:none!important;transition:background-color .15s ease,border-color .15s ease;}
.jeelena-category-page .jps-card__details:hover{background:var(--jce-green-dark)!important;border-color:var(--jce-green-dark)!important;color:#fff!important;}
.jeelena-category-page .jps-card__cart-link{appearance:none;-webkit-appearance:none;box-sizing:border-box;margin:0!important;padding:0!important;display:grid!important;place-items:center;align-self:stretch;inline-size:var(--jce-action-size);block-size:var(--jce-action-size);min-width:0;min-height:0;line-height:1!important;vertical-align:middle;border:1px solid var(--jce-green)!important;border-radius:10px!important;background:var(--jce-green)!important;color:#fff!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer;transition:background-color .15s ease,border-color .15s ease;position:relative;z-index:2;}
.jeelena-category-page .jps-card__cart-link svg{display:block;flex:none;pointer-events:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.jeelena-category-page .jps-card__cart-link:hover{background:var(--jce-green-dark)!important;border-color:var(--jce-green-dark)!important;}
.jeelena-category-page .jps-card__cart-link.is-loading{opacity:.68;cursor:wait;}
.jeelena-category-page .jps-card__cart-link.is-added{background:var(--jce-green-dark)!important;border-color:var(--jce-green-dark)!important;}
.jeelena-category-page .jps-card__details:focus-visible,.jeelena-category-page .jps-card__cart-link:focus-visible,.jeelena-category-page .jps-wishlist:focus-visible{outline:3px solid rgba(80,23,43,.28)!important;outline-offset:3px;}

/* Pagination */
body.jeelena-category-page .woocommerce-pagination{width:min(1280px,calc(100% - 48px));margin:0 auto 64px;text-align:center;}
body.jeelena-category-page .woocommerce-pagination ul.page-numbers{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;margin:0!important;padding:0!important;border:0!important;list-style:none;}
body.jeelena-category-page .woocommerce-pagination ul.page-numbers li{margin:0!important;border:0!important;float:none!important;}
body.jeelena-category-page .woocommerce-pagination .page-numbers a,
body.jeelena-category-page .woocommerce-pagination .page-numbers span{display:grid!important;place-items:center;width:40px;height:40px;margin:0!important;padding:0!important;border:1px solid var(--jce-line)!important;border-radius:9px;background:#fff!important;color:var(--jce-green)!important;font-family:"Tajawal",Tahoma,Arial,sans-serif;font-size:13px;text-decoration:none!important;}
body.jeelena-category-page .woocommerce-pagination .page-numbers .current{background:var(--jce-green)!important;color:#fff!important;border-color:var(--jce-green)!important;}
body.jeelena-category-page .woocommerce-pagination .page-numbers a:hover{background:rgba(80,23,43,.06)!important;border-color:rgba(80,23,43,.24)!important;}

.jcat-toast{position:fixed;z-index:99999;right:50%;bottom:24px;transform:translate(50%,14px);min-width:min(340px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:13px 18px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:var(--jce-green);color:#fff;font-family:"Tajawal",Tahoma,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.5;text-align:center;box-shadow:0 12px 34px rgba(31,31,31,.16);opacity:0;visibility:hidden;transition:opacity .18s ease,transform .18s ease,visibility .18s ease;}
.jcat-toast.is-visible{opacity:1;visibility:visible;transform:translate(50%,0);}

@media (max-width:1050px){
    body.jeelena-category-page .woocommerce ul.products,
    body.jeelena-category-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:740px){
    .jcat-head{padding:30px 0 22px;}
    .jcat-head__inner{width:calc(100% - 28px);}
    .jcat-crumbs{margin-bottom:17px;}
    .jcat-crumbs__list{font-size:11px;gap:5px;}
    .jcat-crumbs__item{gap:5px;}
    .jcat-head__title{font-size:30px;}
    .jcat-head__description{margin-top:7px;font-size:13px;line-height:1.75;}
    .jcat-toolbar{margin-top:20px;padding-top:16px;}
    .jcat-sort{width:100%;justify-content:space-between;gap:10px;}
    .jcat-sort__label{font-size:12px;}
    .jcat-sort__select-wrap{min-width:0;flex:1;max-width:250px;}
    .jcat-sort__select{height:42px!important;font-size:12px!important;line-height:42px!important;}
    body.jeelena-category-page .woocommerce ul.products,
    body.jeelena-category-page ul.products{width:calc(100% - 24px);grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 10px!important;margin-bottom:42px!important;}
    .jeelena-category-page .jps-card{border-radius:14px;}
    .jeelena-category-page .jps-card__badges{top:8px;left:8px;max-width:calc(100% - 16px);}
    .jeelena-category-page .jps-badge{min-height:24px;padding:4px 7px;font-size:9.5px;border-radius:7px;}
    .jeelena-category-page .jps-card__body{padding:11px 10px 10px;}
    .jeelena-category-page .jps-card__topline{grid-template-columns:minmax(0,1fr) 34px;gap:7px;}
    .jeelena-category-page .jps-card__title{font-size:12px;line-height:1.55;}
    .jeelena-category-page .jps-card__title a{min-height:3.1em;}
    .jeelena-category-page .jps-wishlist{width:34px;height:34px;border-radius:9px!important;}
    .jeelena-category-page .jps-wishlist svg{width:17px;height:17px;}
    .jeelena-category-page .jps-card__price{margin-top:8px;min-height:25px;font-size:15px;line-height:1.4;}
    .jeelena-category-page .jps-card__price del{font-size:11px;}
    .jeelena-category-page .jps-card__actions{--jce-action-size:38px;padding-top:10px;grid-template-columns:minmax(0,1fr) var(--jce-action-size);gap:6px;}
    .jeelena-category-page .jps-card__details{min-height:0;padding:8px 9px;border-radius:8px;font-size:10.5px;gap:5px;}
    .jeelena-category-page .jps-card__cart-link{min-width:0;min-height:0;border-radius:8px!important;}
    .jeelena-category-page .jps-card__cart-link svg{width:16px;height:16px;}
    body.jeelena-category-page .woocommerce-pagination{width:calc(100% - 24px);margin-bottom:48px;}
    body.jeelena-category-page .woocommerce-pagination .page-numbers a,
    body.jeelena-category-page .woocommerce-pagination .page-numbers span{width:36px;height:36px;font-size:12px;}
}
@media (max-width:360px){
    .jcat-head__inner{width:calc(100% - 22px);}
    .jcat-head__title{font-size:27px;}
    .jcat-sort{align-items:flex-start;flex-direction:column;}
    .jcat-sort__select-wrap{width:100%;max-width:none;}
    body.jeelena-category-page .woocommerce ul.products,
    body.jeelena-category-page ul.products{width:calc(100% - 18px);gap:11px 8px!important;}
    .jeelena-category-page .jps-card__body{padding:10px 8px 9px;}
    .jeelena-category-page .jps-card__topline{grid-template-columns:minmax(0,1fr) 31px;gap:5px;}
    .jeelena-category-page .jps-card__title{font-size:11.5px;}
    .jeelena-category-page .jps-wishlist{width:31px;height:31px;}
    .jeelena-category-page .jps-card__price{font-size:14px;}
    .jeelena-category-page .jps-card__actions{--jce-action-size:36px;grid-template-columns:minmax(0,1fr) var(--jce-action-size);gap:5px;}
    .jeelena-category-page .jps-card__details{min-height:0;font-size:10px;padding-inline:7px;}
    .jeelena-category-page .jps-card__cart-link{min-width:0;min-height:0;}
}
@media (prefers-reduced-motion:reduce){
    .jeelena-category-page .jps-card,.jeelena-category-page .jps-card__details,.jeelena-category-page .jps-card__cart-link,.jeelena-category-page .jps-wishlist,.jcat-toast{transition:none;}
}

/* v1.0.8 — wishlist page + mobile product-details label polish */
body.jeelena-wishlist-page .entry-header,
body.jeelena-wishlist-page .page-header{display:none!important;}
body.jeelena-wishlist-page .entry-content{margin:0!important;}
body.jeelena-wishlist-page .jwish-content{width:100%;margin:0;padding:0;}
body.jeelena-wishlist-page .jwish-products{margin-top:0!important;}

.jwish-empty{width:min(720px,calc(100% - 32px));margin:0 auto 64px;padding:46px 24px;text-align:center;border:1px solid var(--jce-line);border-radius:18px;background:#fff;color:var(--jce-charcoal);
}
.jwish-empty__icon{width:54px;height:54px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:rgba(80,23,43,.07);color:var(--jce-green);
}
.jwish-empty__icon svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.jwish-empty h2{margin:0;color:var(--jce-green);font-family:"El Messiri",Tahoma,Arial,sans-serif;font-size:25px;line-height:1.35;}
.jwish-empty p{max-width:520px;margin:10px auto 20px;color:var(--jce-muted);font-family:"Tajawal",Tahoma,Arial,sans-serif;font-size:14px;line-height:1.8;}
.jwish-empty a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 18px;border-radius:10px;background:var(--jce-green);color:#fff!important;font-family:"Tajawal",Tahoma,Arial,sans-serif;font-size:13px;font-weight:700;text-decoration:none!important;}
.jwish-empty a:hover{background:var(--jce-green-dark);}

.jps-card__details-label{display:inline;min-width:0;}
.jps-card__details-label>span{display:inline;}

@media (max-width:740px){
    /* Keep the approved button dimensions; only fix the label wrapping. */
    .jeelena-category-page .jps-card__details{justify-content:center;text-align:center;white-space:nowrap;overflow:hidden;padding-inline:5px;
    }
    .jeelena-category-page .jps-card__details>span[aria-hidden="true"]{display:none;}
    .jeelena-category-page .jps-card__details-label{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:clip;white-space:nowrap;line-height:1.15;
    }
    .jeelena-category-page .jps-card__details-label>span{display:inline;white-space:nowrap;}
}

@media (max-width:360px){
    /* On very narrow two-column phones, keep the button clean instead of stacking Arabic vertically. */
    .jeelena-category-page .jps-card__details-product{display:none!important;}
    .jeelena-category-page .jps-card__details{font-size:9.5px;}
    .jwish-empty{margin-bottom:48px;padding:36px 18px;}
}

/* v1.0.9 — vertically center the “مشاهدة المنتج” label without changing button size */
.jeelena-category-page .jps-card__details{align-items:center!important;justify-content:center!important;line-height:1!important;
}
.jeelena-category-page .jps-card__details-label{display:flex!important;align-items:center!important;justify-content:center!important;width:100%;height:100%;line-height:1!important;text-align:center!important;
}
.jeelena-category-page .jps-card__details-label>span{display:inline-flex!important;align-items:center!important;line-height:1!important;
}


/* v1.1.2 — deterministic mobile media/action alignment */
body.jeelena-category-page .jps-card__media{position:relative!important;overflow:hidden!important;
}
body.jeelena-category-page .jps-card__media .jps-card__image-link{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;
}
body.jeelena-category-page .jps-card__media .jps-card__image-link img.jps-card__image{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center top!important;
}
body.jeelena-category-page .jps-card__actions{align-items:center!important;
}
body.jeelena-category-page .jps-card__cart-link{display:grid!important;place-items:center!important;align-self:center!important;justify-self:center!important;line-height:0!important;overflow:hidden!important;
}
body.jeelena-category-page .jps-card__cart-link svg{position:static!important;display:block!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;transform:none!important;vertical-align:middle!important;
}
body.jeelena-category-page .jps-card__details-label{column-gap:4px!important;
}
@media (max-width:740px){
    body.jeelena-category-page .jps-card__cart-link svg{width:16px!important;height:16px!important;
    }
    body.jeelena-category-page .jps-card__details-label{column-gap:3px!important;
    }
}


/* v1.1.3 — lock the cart glyph to the exact geometric center of its control. */
body.jeelena-category-page .jps-card__cart-link{position:relative!important;display:block!important;overflow:hidden!important;
}
body.jeelena-category-page .jps-card__cart-link svg{position:absolute!important;top:50%!important;right:50%!important;left:auto!important;bottom:auto!important;margin:0!important;padding:0!important;transform:translate(50%,-50%)!important;transform-origin:center center!important;pointer-events:none!important;
}

/*# sourceURL=jelena-catalog-foundation-inline-css */
