/* Musajil offers section v1.2 – brand red #D71617, ink #2C2E30 */
.ofr-main{background:#f6f7f8;padding:0 0 40px}
.ofr-wrap{max-width:1180px;margin:0 auto;padding:0 16px}
.ofr-wrap h1,.ofr-wrap h2,.ofr-wrap p{font-family:inherit}
.ofr-hero{padding:18px 0 6px}
.ofr-bc{font-size:13.6px;color:#6b7075;margin-bottom:6px}.ofr-bc a{color:#6b7075}
.ofr-hero h1{font-size:28px;line-height:1.35;font-weight:800;color:#2C2E30;margin:0 0 6px}
.ofr-hero>p{color:#4a4f54;font-size:16px;line-height:1.75;margin:0 0 10px;max-width:780px}
.ofr-stats{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 6px;padding:0}
.ofr-stats li{background:#fff;border:1px solid #e6e8ea;border-radius:999px;padding:4px 12px;font-size:14.08px;color:#4a4f54}
.ofr-stats b{color:#D71617}

/* filters */
.ofr-filters{position:sticky;top:0;z-index:20;background:#fff;border:1px solid #e6e8ea;border-radius:14px;padding:12px;margin:12px 0 16px;display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.admin-bar .ofr-filters{top:32px}
.ofr-sel{position:static}
.ofr-f{display:flex;flex-direction:column;gap:4px;min-width:150px;flex:1 1 150px;margin:0}
.ofr-f span{font-size:12.48px;color:#6b7075;font-weight:600}
.ofr-f select,.ofr-f input{height:42px;border:1px solid #d5d8db;border-radius:10px;padding:0 12px;font-size:15.2px;background:#fff;color:#2C2E30;width:100%;box-shadow:none;margin:0}
.ofr-f select:focus,.ofr-f input:focus{border-color:#D71617;outline:2px solid rgba(215,22,23,.15)}
.ofr-f-q{flex:2 1 240px}
.ofr-chips{display:flex;gap:6px;overflow-x:auto;width:100%;padding-bottom:2px;scrollbar-width:none}
.ofr-chips::-webkit-scrollbar{display:none}
.ofr-chips button{flex:0 0 auto;border:1px solid #d5d8db;background:#fff;color:#2C2E30;border-radius:999px;padding:7px 14px;font-size:14.08px;cursor:pointer;line-height:1.2}
.ofr-chips button.on{background:#D71617;border-color:#D71617;color:#fff}
.ofr-count{margin:0;font-size:13.12px;color:#6b7075;width:100%}

/* grid of flyer cards */
.ofr-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.ofr-card[hidden]{display:none}
.ofr-card a{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e6e8ea;border-radius:12px;overflow:hidden;color:#2C2E30;text-decoration:none;transition:box-shadow .15s,transform .15s}
.ofr-card a:hover{box-shadow:0 6px 18px rgba(0,0,0,.09);transform:translateY(-2px)}
.ofr-cover{position:relative;aspect-ratio:13/18;background:#eef0f2;overflow:hidden}
.ofr-cover img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.ofr-days{position:absolute;top:8px;inset-inline-start:8px;font-size:12px;font-weight:700;padding:3px 8px;border-radius:6px;background:#fff;color:#2C2E30;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.ofr-d-end{background:#D71617;color:#fff}.ofr-d-soon{background:#ffb020;color:#2C2E30}
.ofr-pages{position:absolute;bottom:8px;inset-inline-end:8px;font-size:11.52px;background:rgba(0,0,0,.65);color:#fff;padding:2px 7px;border-radius:5px}
.ofr-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:2px}
.ofr-body strong{font-size:16px;line-height:1.4}
.ofr-reg,.ofr-date{font-size:12.8px;color:#6b7075}
.ofr-empty{background:#fff;border:1px dashed #d5d8db;border-radius:12px;padding:24px;text-align:center;color:#6b7075}

/* sections, links, faq */
.ofr-sec{margin:28px 0 0}
.ofr-sec h2,.ofr-wrap h2{font-size:20px;line-height:1.4;font-weight:800;color:#2C2E30;margin:0 0 12px}
.ofr-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.ofr-links a{display:block;background:#fff;border:1px solid #e6e8ea;border-radius:999px;padding:7px 14px;font-size:14.4px;color:#2C2E30;text-decoration:none}
.ofr-links a:hover{border-color:#D71617;color:#D71617}
.ofr-links a[aria-current]{background:#2C2E30;color:#fff;border-color:#2C2E30}
.ofr-past{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.ofr-past li{background:#fff;border:1px solid #e6e8ea;border-radius:8px;padding:6px 10px;font-size:13.6px;color:#6b7075}
.ofr-faq details{background:#fff;border:1px solid #e6e8ea;border-radius:10px;margin:0 0 8px}
.ofr-faq summary{cursor:pointer;padding:12px 14px;font-weight:700;list-style:none}
.ofr-faq summary::-webkit-details-marker{display:none}
.ofr-faq summary:after{content:"+";float:inline-end;color:#D71617;font-weight:800}
.ofr-faq details[open] summary:after{content:"–"}
.ofr-faq details>div{padding:0 14px 12px;color:#4a4f54;line-height:1.8}
.ofr-note{font-size:12.8px;color:#80868b;line-height:1.7;margin:24px 0 0}
.ofr-cta{margin:12px 0}
.ofr-wrap .mj-cards{margin:0}

/* buttons */
.ofr-btn{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:10px;border:1px solid #d5d8db;background:#fff;color:#2C2E30;font-weight:700;font-size:14.72px;cursor:pointer;text-decoration:none;white-space:nowrap}
.ofr-btn-main{background:#D71617;border-color:#D71617;color:#fff}
.ofr-btn-main:hover{background:#b81213;color:#fff}
.ofr-ico{width:42px;height:42px;border-radius:10px;border:1px solid #d5d8db;background:#fff;font-size:18px;cursor:pointer;color:#2C2E30;padding:0;line-height:40px}
.ofr-ico.on{background:#2C2E30;color:#fff}

/* book */
.ofr-book{background:#fff;border:1px solid #e6e8ea;border-radius:14px;padding:12px;margin:0 0 8px;outline:none}
.ofr-book:fullscreen{background:#1d1f21;border-radius:0;display:flex;flex-direction:column;justify-content:center;padding:16px}
.ofr-book:fullscreen .ofr-book-head,.ofr-book:fullscreen .ofr-src{color:#ddd}
.ofr-book-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.ofr-book-head .ofr-days{position:static}
.ofr-book-title{display:flex;flex-direction:column}
.ofr-book-title strong{font-size:16.8px}.ofr-book-title span{font-size:13.12px;color:#6b7075}
.ofr-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.ofr-pno{flex:1;text-align:center;font-weight:700;font-size:14.72px;color:#2C2E30;min-width:110px}
.ofr-bar-tools{display:flex;gap:6px}
.ofr-stage{background:#eceef0;border-radius:10px;padding:14px 8px;display:flex;justify-content:center;overflow:hidden;touch-action:pan-y}
.ofr-flip{width:100%;max-width:1160px;margin:0 auto}
.ofr-flip .ofr-first{display:block;width:100%;max-width:560px;height:auto;margin:0 auto}
.ofr-pg{background:#fff;overflow:hidden}
.ofr-pg img{width:100%;height:100%;object-fit:contain;display:block;user-select:none;-webkit-user-drag:none;background:#fff}
.ofr-thumbs{margin-top:10px;max-height:300px;overflow:auto;border-top:1px solid #eee;padding-top:10px}
.ofr-thumbs ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px}
.ofr-thumbs button{display:block;width:100%;border:2px solid transparent;border-radius:6px;background:#f4f5f6;padding:0;cursor:pointer;position:relative}
.ofr-thumbs button.on{border-color:#D71617}
.ofr-thumbs img{width:100%;height:auto;display:block;border-radius:4px}
.ofr-thumbs span{position:absolute;bottom:3px;inset-inline-start:3px;background:rgba(0,0,0,.6);color:#fff;font-size:11.2px;padding:0 5px;border-radius:4px}
.ofr-src{font-size:12.8px;color:#6b7075;margin:10px 0 0;line-height:1.7}
.ofr-nojs .ofr-bar{display:none}

/* zoom overlay */
.ofr-zoom{position:fixed;inset:0;z-index:99999;background:#0f1011;display:flex;flex-direction:column}
.ofr-zbar{display:flex;align-items:center;gap:8px;padding:10px;color:#fff;justify-content:center}
.ofr-zbar span{min-width:70px;text-align:center;font-weight:700}
.ofr-zbar button{width:44px;height:44px;border-radius:10px;border:1px solid #444;background:#26282a;color:#fff;font-size:20px;cursor:pointer;padding:0}
.ofr-zbar button[data-z=close]{margin-inline-start:12px;background:#D71617;border-color:#D71617}
.ofr-zimg{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;text-align:center;touch-action:pan-x pan-y pinch-zoom}
.ofr-zimg img{max-width:100%;height:auto;display:inline-block}
.ofr-zx .ofr-zimg img{max-width:none;width:200%}

@media (max-width:767px){
  .ofr-wrap{padding:0 10px}
  .ofr-hero h1{font-size:22.4px}
  .ofr-filters{padding:10px;gap:8px;border-radius:12px;top:0}
  .ofr-f{min-width:calc(50% - 4px);flex:1 1 calc(50% - 4px)}
  .ofr-f-q{flex:1 1 100%}
  .ofr-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .ofr-body{padding:8px 9px 10px}.ofr-body strong{font-size:14.72px}
  .ofr-book{padding:8px;border-radius:12px}
  .ofr-stage{padding:8px 0;border-radius:8px}
  .ofr-btn{height:40px;padding:0 12px;font-size:14.08px}
  .ofr-bar-tools{width:100%;justify-content:center}
}
@media (max-width:782px){.admin-bar .ofr-filters{top:46px}}

/* stronger than the theme */
.ofr-main .ofr-hero h1{font-size:28px!important;line-height:1.35!important;font-weight:800!important;color:#2C2E30!important;margin:0 0 6px!important}
.ofr-main .ofr-hero>p{font-size:16px!important;line-height:1.75!important;color:#4a4f54!important}
.ofr-main .ofr-src,.ofr-main .ofr-note,.ofr-main .ofr-count{font-size:12.8px!important;line-height:1.7!important}
.ofr-main .ofr-faq details>div{font-size:15.2px!important}
.ofr-book-head{flex-wrap:nowrap}.ofr-book-title{flex:1;min-width:0}
.ofr-book-head .ofr-bar-tools{display:flex;gap:6px}
.ofr-book-head .ofr-ico{width:38px;height:38px;line-height:36px;font-size:16px}
@media (max-width:767px){.ofr-main .ofr-hero h1{font-size:22.4px!important}.ofr-book-head .ofr-days{display:none}.ofr-bar{flex-wrap:nowrap}}
.ofr-flip{transition:transform .5s ease}.ofr-flip.ofr-single-l{transform:translateX(25%)}.ofr-flip.ofr-single-r{transform:translateX(-25%)}
