:root{
    --jeeb-primary:#25D366;
    --jeeb-primary-text:#ffffff;
    --jeeb-primary-hover:#20bd5a;
    --jeeb-primary-hover-text:#ffffff;
    --jeeb-primary-light:rgba(37,211,102,0.08);
    --jeeb-more-bg:#f3f4f6;
    --jeeb-more-text:#374151;
    --jeeb-more-hover-bg:#e5e7eb;
    --jeeb-more-hover-text:#111827;
    --jeeb-dark:#1a1a2e;
    --jeeb-text:#374151;
    --jeeb-text-light:#6b7280;
    --jeeb-bg:#f8f9fb;
    --jeeb-card-bg:#ffffff;
    --jeeb-border:#e5e7eb;
    --jeeb-radius:16px;
    --jeeb-shadow:0 2px 16px rgba(0,0,0,0.06);
    --jeeb-shadow-hover:0 8px 30px rgba(0,0,0,0.12);
    --jeeb-category-bar-bg:#ffffff;
    --jeeb-category-text:#6b7280;
    --jeeb-category-active-bg:#25D366;
    --jeeb-category-active-text:#ffffff;
    --jeeb-category-hover-bg:#ecfdf3;
    --jeeb-category-hover-text:#20a856;
    --jeeb-category-font-size:14px;
    --jeeb-tag-bg:#fff7ed;
    --jeeb-tag-text:#f97316;
    --jeeb-tag-border:#fed7aa;
    --jeeb-badge-featured-bg:#fbbf24;
    --jeeb-badge-featured-text:#78350f;
    --jeeb-badge-limited-bg:#ef4444;
    --jeeb-badge-limited-text:#ffffff;
    --jeeb-badge-seasonal-bg:#10b981;
    --jeeb-badge-seasonal-text:#ffffff;
    --jeeb-badge-special-bg:#8b5cf6;
    --jeeb-badge-special-text:#ffffff;
    --jeeb-badge-custom-bg:#2563eb;
    --jeeb-badge-custom-text:#ffffff;
}

.jeeb-products-container{direction:rtl;max-width:1200px;margin:0 auto;padding:20px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Noto Sans Arabic',sans-serif;scroll-behavior:smooth}

/* Categories */
.jeeb-categories-filter{display:flex;gap:10px;margin-bottom:30px;padding:6px;background:var(--jeeb-category-bar-bg);border-radius:14px;box-shadow:var(--jeeb-shadow);border:1px solid var(--jeeb-border)}
.jeeb-cat-align-start{justify-content:flex-start}
.jeeb-cat-align-center{justify-content:center}
.jeeb-cat-align-end{justify-content:flex-end}
.jeeb-cat-behavior-wrap{flex-wrap:wrap}
.jeeb-cat-behavior-scroll{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.jeeb-cat-behavior-scroll .jeeb-cat-btn{flex:0 0 auto}
.jeeb-cat-btn{padding:10px 22px;border:2px solid transparent;border-radius:10px;background:transparent;color:var(--jeeb-category-text);font-size:var(--jeeb-category-font-size);font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-family:inherit;white-space:nowrap}
.jeeb-cat-btn:hover{color:var(--jeeb-category-hover-text);background:var(--jeeb-category-hover-bg)}
.jeeb-cat-btn.active{background:var(--jeeb-category-active-bg);color:var(--jeeb-category-active-text);border-color:var(--jeeb-category-active-bg);box-shadow:0 3px 12px rgba(0,0,0,.12)}
.jeeb-cat-style-pills .jeeb-cat-btn{border-radius:999px}
.jeeb-cat-style-underline{padding:4px 10px;border-radius:8px}
.jeeb-cat-style-underline .jeeb-cat-btn{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent!important;box-shadow:none!important;padding:10px 18px}
.jeeb-cat-style-underline .jeeb-cat-btn:hover{background:transparent;color:var(--jeeb-category-hover-text);border-bottom-color:var(--jeeb-category-hover-bg)}
.jeeb-cat-style-underline .jeeb-cat-btn.active{color:var(--jeeb-category-active-bg);border-bottom-color:var(--jeeb-category-active-bg)}

/* Grid and cards */
.jeeb-products-grid{display:grid;gap:24px;grid-template-columns:repeat(3,1fr)}
.jeeb-products-container[data-columns="2"] .jeeb-products-grid{grid-template-columns:repeat(2,1fr)}
.jeeb-products-container[data-columns="4"] .jeeb-products-grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:960px){.jeeb-products-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:600px){.jeeb-products-grid{grid-template-columns:1fr!important;gap:16px}.jeeb-categories-filter{margin-bottom:20px}.jeeb-cat-behavior-wrap{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start}.jeeb-cat-btn{flex:0 0 auto;padding:9px 16px}}
.jeeb-product-card{background:var(--jeeb-card-bg);border-radius:var(--jeeb-radius);overflow:hidden;box-shadow:var(--jeeb-shadow);border:1px solid var(--jeeb-border);transition:all .35s cubic-bezier(.4,0,.2,1);position:relative;animation:jeebCardIn .4s ease both}
.jeeb-product-card:hover{transform:translateY(-6px);box-shadow:var(--jeeb-shadow-hover);border-color:var(--jeeb-primary)}
@keyframes jeebCardIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.jeeb-product-card:nth-child(1){animation-delay:0s}.jeeb-product-card:nth-child(2){animation-delay:.05s}.jeeb-product-card:nth-child(3){animation-delay:.1s}.jeeb-product-card:nth-child(4){animation-delay:.15s}.jeeb-product-card:nth-child(5){animation-delay:.2s}.jeeb-product-card:nth-child(6){animation-delay:.25s}
.jeeb-card-image-wrap{position:relative;width:100%;height:220px;overflow:hidden;background:#f3f4f6;cursor:pointer}
.jeeb-card-image-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.jeeb-product-card:hover .jeeb-card-image-wrap img{transform:scale(1.08)}
.jeeb-card-no-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:50px;background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}

/* Badges */
.jeeb-product-badge{position:absolute;top:12px;right:12px;padding:5px 12px;border-radius:8px;font-size:12px;font-weight:700;z-index:2;letter-spacing:.2px;box-shadow:0 3px 12px rgba(0,0,0,.1)}
.jeeb-badge-featured{background:var(--jeeb-badge-featured-bg);color:var(--jeeb-badge-featured-text)}
.jeeb-badge-limited{background:var(--jeeb-badge-limited-bg);color:var(--jeeb-badge-limited-text)}
.jeeb-badge-seasonal{background:var(--jeeb-badge-seasonal-bg);color:var(--jeeb-badge-seasonal-text)}
.jeeb-badge-special{background:var(--jeeb-badge-special-bg);color:var(--jeeb-badge-special-text)}
.jeeb-badge-custom{background:var(--jeeb-badge-custom-bg);color:var(--jeeb-badge-custom-text)}

.jeeb-card-content{padding:18px 20px 20px}
.jeeb-card-title{font-size:17px;font-weight:700;color:var(--jeeb-dark);margin:0 0 8px;line-height:1.4}
.jeeb-card-desc{font-size:13.5px;color:var(--jeeb-text-light);line-height:1.7;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Product tags */
.jeeb-product-tags{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 16px}
.jeeb-product-tag{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid var(--jeeb-tag-border);border-radius:999px;background:var(--jeeb-tag-bg);color:var(--jeeb-tag-text);font-size:11.5px;font-weight:700;line-height:1.2;white-space:nowrap}
.jeeb-product-tag svg{flex:0 0 auto}
.jeeb-modal-tags{margin-top:-4px;margin-bottom:22px}
.jeeb-modal-tags .jeeb-product-tag{font-size:12.5px;padding:6px 11px}

.jeeb-card-actions{display:flex;gap:10px;align-items:center;margin-top:auto}
.jeeb-more-btn{flex:1;padding:10px 16px;background:var(--jeeb-more-bg);color:var(--jeeb-more-text);border:none;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;transition:all .25s;font-family:inherit}
.jeeb-more-btn:hover{background:var(--jeeb-more-hover-bg);color:var(--jeeb-more-hover-text)}
.jeeb-whatsapp-btn-sm{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;background:var(--jeeb-primary);color:var(--jeeb-primary-text)!important;border:none;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;transition:all .25s;font-family:inherit;white-space:nowrap;text-decoration:none}
.jeeb-whatsapp-btn-sm:hover{background:var(--jeeb-primary-hover);color:var(--jeeb-primary-hover-text)!important;transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,0,0,0.18)}
.jeeb-whatsapp-btn-sm svg{flex-shrink:0}
@media(max-width:420px){.jeeb-card-actions{flex-direction:column}.jeeb-more-btn,.jeeb-whatsapp-btn-sm{width:100%;justify-content:center}}

/* Modal */
.jeeb-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.6);backdrop-filter:blur(6px);z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .3s ease}
.jeeb-modal-overlay.jeeb-modal-visible{opacity:1}
.jeeb-modal{background:#fff;border-radius:20px;max-width:780px;width:100%;max-height:90vh;overflow:hidden;position:relative;box-shadow:0 25px 60px rgba(0,0,0,0.2);transform:scale(.92) translateY(20px);transition:transform .35s cubic-bezier(.4,0,.2,1);direction:rtl}
.jeeb-modal-overlay.jeeb-modal-visible .jeeb-modal{transform:scale(1) translateY(0)}
.jeeb-modal-close{position:absolute;top:14px;left:14px;width:40px;height:40px;border:none;background:rgba(255,255,255,0.9);backdrop-filter:blur(10px);border-radius:12px;font-size:22px;cursor:pointer;z-index:10;display:flex;align-items:center;justify-content:center;color:#374151;transition:all .2s;box-shadow:0 2px 8px rgba(0,0,0,0.1)}
.jeeb-modal-close:hover{background:#f3f4f6;transform:rotate(90deg)}
.jeeb-modal-body{display:flex;overflow-y:auto;max-height:90vh}
.jeeb-modal-image-wrap{min-width:340px;max-width:340px;background:#f3f4f6;position:relative;overflow:hidden}
.jeeb-modal-image-wrap img{width:100%;height:100%;object-fit:cover;min-height:400px}
.jeeb-modal-content{flex:1;padding:30px;overflow-y:auto}
.jeeb-modal-content h2{font-size:22px;font-weight:800;color:var(--jeeb-dark);margin:0 0 14px;line-height:1.4}
.jeeb-modal-desc{font-size:14.5px;color:var(--jeeb-text);line-height:1.8;margin-bottom:20px}
.jeeb-modal-desc p{margin:0 0 10px}
.jeeb-modal-features-wrap h3{font-size:16px;font-weight:700;color:var(--jeeb-dark);margin:0 0 12px}
.jeeb-features-list{list-style:none;padding:0;margin:0 0 24px}
.jeeb-features-list li{display:flex;align-items:center;gap:10px;padding:10px 14px;margin-bottom:6px;background:var(--jeeb-primary-light);border-radius:10px;font-size:14px;color:var(--jeeb-text);font-weight:500;transition:all .2s}
.jeeb-features-list li:hover{transform:translateX(-4px)}
.jeeb-features-list li::before{content:"\2713";display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:var(--jeeb-primary);color:#fff;border-radius:50%;font-size:12px;font-weight:700;flex-shrink:0}
.jeeb-whatsapp-btn-lg{display:inline-flex;align-items:center;gap:10px;padding:14px 28px;background:var(--jeeb-primary);color:var(--jeeb-primary-text)!important;border:none;border-radius:12px;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-family:inherit;width:100%;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,0.16);text-decoration:none}
.jeeb-whatsapp-btn-lg:hover{background:var(--jeeb-primary-hover);color:var(--jeeb-primary-hover-text)!important;transform:translateY(-2px);box-shadow:0 6px 24px rgba(0,0,0,0.24)}
.jeeb-whatsapp-btn-lg svg{flex-shrink:0}
@media(max-width:700px){.jeeb-modal-body{flex-direction:column}.jeeb-modal-image-wrap{max-height:250px!important;min-width:100%!important;max-width:100%!important}.jeeb-modal-image-wrap img{min-height:200px}.jeeb-modal-content{padding:24px 20px}}

.jeeb-no-products{grid-column:1/-1;text-align:center;padding:60px 20px;color:var(--jeeb-text-light)}
.jeeb-no-products p{font-size:16px}
.jeeb-products-grid.jeeb-filtering{opacity:.3;pointer-events:none;transition:opacity .2s}
@media print{.jeeb-modal-overlay,.jeeb-whatsapp-btn-sm,.jeeb-whatsapp-btn-lg,.jeeb-more-btn,.jeeb-categories-filter{display:none!important}}

/* Jeeb Products 1.3 product media gallery */
.jeeb-modal{max-width:980px}
.jeeb-modal-media-wrap{min-width:420px;max-width:420px;background:#f3f4f6;position:relative;display:flex;flex-direction:column;overflow:hidden}
.jeeb-modal-media-stage{position:relative;min-height:430px;flex:1;background:linear-gradient(145deg,#f8fafc,#e5e7eb);display:flex;align-items:center;justify-content:center;overflow:hidden}
.jeeb-modal-media-stage img,.jeeb-modal-media-stage video,.jeeb-modal-media-stage iframe{width:100%;height:100%;min-height:430px;display:block;border:0;object-fit:contain;background:#0f172a}
.jeeb-modal-media-stage img{background:#f8fafc}
.jeeb-modal-media-stage.is-video{background:#020617}
.jeeb-media-placeholder{width:100%;min-height:430px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:52px;text-align:center;padding:30px;box-sizing:border-box}
.jeeb-media-loading{min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#64748b}
.jeeb-media-loading span{width:34px;height:34px;border:3px solid #cbd5e1;border-top-color:var(--jeeb-primary);border-radius:50%;animation:jeebMediaSpin .8s linear infinite}
@keyframes jeebMediaSpin{to{transform:rotate(360deg)}}
.jeeb-media-nav{position:absolute;top:44%;transform:translateY(-50%);z-index:7;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#0f172a;font-size:30px;line-height:1;display:none;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 5px 18px rgba(15,23,42,.18);transition:all .2s}
.jeeb-media-nav:hover{background:#fff;transform:translateY(-50%) scale(1.08)}
.jeeb-media-prev{right:14px}
.jeeb-media-next{left:14px}
.jeeb-media-counter{position:absolute;top:14px;left:64px;z-index:7;padding:5px 10px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;font-size:12px;font-weight:700;direction:ltr;backdrop-filter:blur(6px)}
.jeeb-media-thumbs{display:flex;gap:8px;padding:10px;background:#fff;border-top:1px solid #e5e7eb;overflow-x:auto;scrollbar-width:thin;direction:rtl}
.jeeb-media-thumb{flex:0 0 66px;height:58px;padding:0;border:2px solid transparent;border-radius:9px;background:#f1f5f9;overflow:hidden;cursor:pointer;transition:all .2s;position:relative}
.jeeb-media-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.jeeb-media-thumb:hover{border-color:#cbd5e1;transform:translateY(-1px)}
.jeeb-media-thumb.active{border-color:var(--jeeb-primary);box-shadow:0 0 0 2px var(--jeeb-primary-light)}
.jeeb-media-thumb-video{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#0f172a;color:#fff}
.jeeb-video-thumb-icon{width:24px;height:24px;border-radius:50%;background:var(--jeeb-primary);display:flex;align-items:center;justify-content:center;font-size:11px;padding-right:1px}
.jeeb-media-thumb-video small{font-size:9px;color:#e2e8f0}
@media(max-width:760px){
    .jeeb-modal{max-width:620px}
    .jeeb-modal-body{flex-direction:column}
    .jeeb-modal-media-wrap{min-width:100%;max-width:100%}
    .jeeb-modal-media-stage,.jeeb-modal-media-stage img,.jeeb-modal-media-stage video,.jeeb-modal-media-stage iframe,.jeeb-media-placeholder,.jeeb-media-loading{min-height:270px;height:270px}
    .jeeb-media-nav{top:42%}
    .jeeb-modal-content{padding:24px 20px}
}
@media(max-width:480px){
    .jeeb-modal-overlay{padding:8px}
    .jeeb-modal{border-radius:16px;max-height:94vh}
    .jeeb-modal-body{max-height:94vh}
    .jeeb-modal-media-stage,.jeeb-modal-media-stage img,.jeeb-modal-media-stage video,.jeeb-modal-media-stage iframe,.jeeb-media-placeholder,.jeeb-media-loading{min-height:230px;height:230px}
    .jeeb-media-thumb{flex-basis:58px;height:52px}
    .jeeb-media-nav{width:38px;height:38px}
}
