/* Jaojom Room Showcase v5.6.0 — rooms.css */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css');

:root {
  --jf:  'Vazirmatn', sans-serif;
  --jdk: #1a1a1a;
  --jmd: #6b6b6b;
  --jlt: #e8e8e8;
  --jbg: #f7f7f7;
  --jwh: #ffffff;
  --jrd: #e8264d;
  --jgn: #008a05;
  --jr:  14px;
  --jsh: 0 2px 12px rgba(0,0,0,.09);
  --jlg: 0 8px 40px rgba(0,0,0,.18);
}

/* ── reset ── */
.jrs-wrap *, .jrs-wrap *::before, .jrs-wrap *::after,
.jrs-ov *,   .jrs-ov *::before,   .jrs-ov *::after,
.jrs-tov *,  .jrs-fov *,          .jrs-lb * {
  box-sizing: border-box; margin: 0; padding: 0;
}
.jrs-wrap, .jrs-ov, .jrs-tov, .jrs-fov, .jrs-lb {
  font-family: var(--jf); color: var(--jdk);
  direction: rtl; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.jrs-wrap { overflow-x: hidden; max-width: 100%; }

/* ══ BRANCH HEADER ══ */
.jrs-bhead { padding: 20px 0 16px; border-bottom: 1px solid var(--jlt); margin-bottom: 20px; }
.jrs-bh2   { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.jrs-bmeta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.jrs-bg {
  display: inline-flex; align-items: center; gap: 4px;
  background: #ebfff0; color: var(--jgn);
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
}
.jrs-bm {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--jmd); text-decoration: none;
}
.jrs-bph { color: var(--jrd); }
.jrs-bm i, .jrs-bg i { font-size: 14px; }
.jrs-empty { font-size: 14px; color: var(--jmd); padding: 20px 0; }

/* ══ GRID ══ */
.jrs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
@media (min-width: 860px) {
  .jrs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* ══ CARD ══ */
.jrs-card {
  cursor: pointer; outline: none;
  border-radius: var(--jr);
  background: var(--jwh);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden; width: 100%;
  box-shadow: var(--jsh);
}
.jrs-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.14); }
.jrs-card:focus-visible { outline: 2px solid var(--jdk); outline-offset: 2px; }
.jrs-card.jrs-full { opacity: .6; pointer-events: none; }

/* تصویر */
.jrs-cimg {
  position: relative; width: 100%;
  aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--jr); background: #ebebeb; flex-shrink: 0;
}
.jrs-cimg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.jrs-card:hover .jrs-cimg img { transform: scale(1.06); }

.jrs-full-badge {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.46);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 600;
  font-family: var(--jf);
}
.jrs-type-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,.95); color: var(--jdk);
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,.14); font-family: var(--jf);
  backdrop-filter: blur(4px);
}

/* بدنه کارت */
.jrs-cbody { padding: 10px 8px 8px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.jrs-ccat  { font-size: 11px; color: var(--jmd); font-weight: 500; }
.jrs-ctitle {
  font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--jdk);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 600px) { .jrs-ctitle { font-size: 14px; } }
.jrs-cspecs { display: flex; flex-wrap: wrap; gap: 5px; }
.jrs-cspecs span {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; color: var(--jmd); background: var(--jbg); border-radius: 6px; padding: 2px 6px;
}
.jrs-cspecs i { font-size: 12px; }
.jrs-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.jrs-chip  { border: 1px solid var(--jlt); border-radius: 20px; padding: 2px 8px; font-size: 10px; color: var(--jmd); }
.jrs-cdivider { height: 1px; background: var(--jlt); margin: 6px 0 4px; }

/* فوتر کارت */
.jrs-cfooter { display: flex; align-items: center; justify-content: space-between; }
.jrs-cprice  { font-size: 12px; line-height: 1.5; display: flex; flex-direction: column; gap: 1px; }
.jrs-cprice .deposit-line { font-size: 10px; color: var(--jmd); font-weight: 400; }
.jrs-cprice .rent-line    { font-size: 13px; font-weight: 700; color: var(--jdk); }
.jrs-cprice small         { font-size: 10px; font-weight: 400; color: var(--jmd); margin-right: 2px; }
.jrs-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  background: #fdb713; color: var(--jdk);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; pointer-events: none;
  transition: background .2s, transform .2s; flex-shrink: 0;
}
.jrs-card:hover .jrs-arrow { background: #e6a50f; transform: scale(1.08); }

/* ══ OVERLAY ══ */
.jrs-ov {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999990;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .24s;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.jrs-ov.jrs-open { opacity: 1; pointer-events: all; }

/* ══ MODAL ══ */
.jrs-modal {
  background: var(--jwh); width: 100%; max-width: 100%;
  max-height: 94vh; border-radius: 22px 22px 0 0;
  display: flex; flex-direction: column;
  transform: translateY(60px);
  transition: transform .34s cubic-bezier(.22,1,.36,1);
  overflow: hidden; will-change: transform;
}
.jrs-ov.jrs-open .jrs-modal { transform: translateY(0); }
@media (min-width: 768px) {
  .jrs-ov { align-items: center; padding: 24px; }
  .jrs-modal { max-width: 980px; border-radius: 18px; max-height: 91vh; }
}

/* هدر مودال */
.jrs-mhead {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--jlt);
  position: sticky; top: 0; z-index: 20; background: var(--jwh);
}
.jrs-xbtn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--jlt);
  border-radius: 20px; padding: 7px 14px;
  cursor: pointer; font-family: var(--jf);
  font-size: 13px; font-weight: 500; color: var(--jdk);
  transition: background .18s; flex-shrink: 0;
}
.jrs-xbtn:hover { background: var(--jbg); }
.jrs-xbtn i { font-size: 14px; }
.jrs-mtitles { flex: 1; min-width: 0; overflow: hidden; }
.jrs-mname { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.jrs-mcat  { font-size: 12px; color: var(--jmd); display: block; margin-top: 1px; }
.jrs-mext {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--jlt);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--jdk); font-size: 14px;
  flex-shrink: 0; transition: background .18s;
}
.jrs-mext:hover { background: var(--jbg); }
.jrs-sk, .jrs-bd { overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }

/* ══ SKELETON ══ */
@keyframes jrsk { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.jrs-sk-hero, .jrs-sk-line, .jrs-sk-chip {
  background: linear-gradient(90deg,#f0f0f0 25%,#e4e4e4 50%,#f0f0f0 75%);
  background-size: 200% 100%; animation: jrsk 1.4s infinite;
}
.jrs-sk-hero { height: 300px; }
.jrs-sk-body { padding: 24px; }
.jrs-sk-line { height: 13px; border-radius: 6px; margin-bottom: 11px; }
.jrs-sk-line.w60{width:60%}.jrs-sk-line.w40{width:40%}
.jrs-sk-line.w80{width:80%}.jrs-sk-line.w55{width:55%}
.jrs-sk-chips { display: flex; gap: 8px; margin: 14px 0; }
.jrs-sk-chip  { height: 38px; flex: 1; border-radius: 8px; }

/* ══ GALLERY SLIDER (mobile — scroll-snap) ══ */
.jrs-slider {
  position: relative; height: 300px;
  overflow: hidden; background: #111;
  cursor: pointer;
}
@media (min-width: 768px) { .jrs-slider { display: none !important; } }

/* track داخل slider — مدیریت با JS */
.jrs-slides {
  display: flex; width: 100%; height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  direction: ltr;
}
.jrs-slides::-webkit-scrollbar { display: none; }

.jrs-snav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 15px; z-index: 5; box-shadow: var(--jsh);
  transition: background .18s;
}
.jrs-snav:hover { background: #fff; }
.jrs-sp { right: 10px; } .jrs-sn { left: 10px; }
.jrs-scnt {
  position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.52); color: #fff;
  font-size: 12px; padding: 3px 10px; border-radius: 20px;
  font-family: var(--jf); z-index: 3; pointer-events: none;
}
.jrs-allbtn {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(255,255,255,.94); border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px; padding: 7px 14px;
  font-family: var(--jf); font-size: 12px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 5px; z-index: 4;
  transition: background .18s;
}
.jrs-allbtn:hover { background: #fff; }

/* ══ GALLERY GRID (desktop) — اسکرول‌پذیر با چپ/راست ══ */
.jrs-galg { display: none; position: relative; }
@media (min-width: 768px) {
  .jrs-galg {
    display: flex;
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 480px;
    background: #111;
    border-radius: 0;
  }
  .jrs-galg::-webkit-scrollbar { display: none; }
}

.jrs-gi {
  overflow: hidden; cursor: pointer; position: relative; background: #222;
  flex-shrink: 0; scroll-snap-align: start;
}
/* اولین عکس بزرگ‌تر */
.jrs-gi:first-child {
  flex: 0 0 60%;
  min-width: 60%;
}
.jrs-gi:not(:first-child) {
  flex: 0 0 calc(40% - 4px);
  min-width: 200px;
}
.jrs-gi img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .4s ease; }
.jrs-gi:hover img { transform: scale(1.04); }
.jrs-alldesk {
  position: sticky; left: 14px;
  bottom: 14px; margin-top: -44px;
  font-size: 13px; z-index: 4;
  flex-shrink: 0;
  align-self: flex-end;
}

/* ══ LAYOUT ══ */
.jrs-layout { display: flex; flex-direction: column; padding: 0 16px 40px; }
@media (min-width: 768px) {
  .jrs-layout { flex-direction: row; gap: 72px; padding: 0 24px 48px; align-items: flex-start; }
}
.jrs-main { flex: 1; min-width: 0; padding-top: 28px; }
.jrs-hero {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 16px; margin-bottom: 20px;
}
.jrs-rh2  { font-size: 20px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
@media (min-width: 600px) { .jrs-rh2 { font-size: 22px; } }
.jrs-rsub { font-size: 13px; color: var(--jmd); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.jrs-rsub .dot { color: var(--jlt); margin: 0 2px; }
.jrs-hico {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--jlt); background: var(--jbg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px; color: var(--jmd);
}
.jrs-sep { height: 1px; background: var(--jlt); margin: 24px 0; }

/* هایلایت‌ها */
.jrs-hls { display: flex; flex-direction: column; gap: 18px; }
.jrs-hi  { display: flex; align-items: flex-start; gap: 14px; }
.jrs-hiico { font-size: 24px; flex-shrink: 0; margin-top: 1px; }
.jrs-hit { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.jrs-hid { font-size: 13px; color: var(--jmd); line-height: 1.5; }

/* توضیحات */
.jrs-sh  { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.jrs-dtxt {
  font-size: 14px; line-height: 1.85; color: var(--jdk);
  max-height: 130px; overflow: hidden; position: relative;
  transition: max-height .44s ease;
}
.jrs-dtxt.jrs-exp { max-height: 2000px; }
.jrs-dtxt::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 38px; background: linear-gradient(transparent, #fff);
  pointer-events: none; transition: opacity .3s;
}
.jrs-dtxt.jrs-exp::after { opacity: 0; }
.jrs-more {
  background: none; border: none; cursor: pointer;
  font-family: var(--jf); font-size: 14px; font-weight: 600;
  color: var(--jdk); padding: 8px 0 0;
  text-decoration: underline; text-underline-offset: 2px;
  display: inline-flex; align-items: center; gap: 4px;
}

/* امکانات */
.jrs-ams { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jrs-am  { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 2px 0; }
.jrs-am i { font-size: 20px; flex-shrink: 0; }
@media (max-width: 480px) { .jrs-ams { grid-template-columns: 1fr; } }

/* شرایط */
.jrs-know { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .jrs-know { grid-template-columns: 1fr 1fr 1fr; } }
.jrs-kc h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.jrs-kc ul { list-style: none; }
.jrs-kc li { font-size: 13px; color: var(--jmd); padding: 3px 0; line-height: 1.5; }

/* ── سایدبار ── */
.jrs-side { width: 100%; padding-top: 24px; }
@media (min-width: 768px) {
  .jrs-side { width: 350px; flex-shrink: 0; position: sticky; top: 72px; }
}
.jrs-book {
  border: 1px solid var(--jlt); border-radius: 18px;
  padding: 24px; box-shadow: var(--jsh);
}
.jrs-bp   { font-size: 22px; font-weight: 700; margin-bottom: 3px; }
.jrs-bsub { font-size: 12px; color: var(--jmd); }
.jrs-hr   { height: 1px; background: var(--jlt); border: none; margin: 14px 0; }
.jrs-ptbl { display: grid; gap: 8px; }
.jrs-pr   { display: flex; justify-content: space-between; font-size: 14px; }
.jrs-pr.jrs-tot { font-weight: 700; font-size: 15px; padding-top: 10px; border-top: 1px solid var(--jlt); margin-top: 4px; }

/* دکمه اصلی رزرو */
.jrs-rbtn {
  width: 100%;
  background: linear-gradient(135deg, #e61e4d 0%, #c2003d 100%);
  color: #fff; border: none; padding: 15px 12px;
  border-radius: 12px; font-family: var(--jf);
  font-size: 14px; font-weight: 700; cursor: pointer;
  line-height: 1.4; transition: opacity .2s; margin-top: 4px;
  box-shadow: 0 4px 18px rgba(230,30,77,.3);
  display: block; text-align: center;
}
.jrs-rbtn:hover:not(:disabled) { opacity: .88; }
.jrs-rbtn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }

/* توضیح زیر دکمه */
.jrs-bnote2 {
  font-size: 11px; color: var(--jmd); text-align: center;
  margin-top: 8px; line-height: 1.6;
  padding: 0 4px;
}

.jrs-cns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.jrs-cn  {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 10px; border-radius: 10px; border: 1px solid var(--jlt);
  font-family: var(--jf); font-size: 12px; font-weight: 600;
  text-decoration: none; color: var(--jdk); transition: background .18s;
}
.jrs-cn:hover { background: var(--jbg); }
.jrs-cn.jrs-wa { border-color: #25d366; color: #128c7e; }
.jrs-cn.jrs-wa:hover { background: #f0fff5; }
.jrs-cn i { font-size: 16px; }
.jrs-bnote { font-size: 12px; color: var(--jmd); text-align: center; margin-top: 12px; }

/* ══ TERMS MODAL ══ */
.jrs-tov {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 999995; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .24s;
  padding: 20px; backdrop-filter: blur(4px);
}
.jrs-tov.jrs-open { opacity: 1; pointer-events: all; }
.jrs-tbox {
  background: var(--jwh); border-radius: 18px;
  width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto;
  transform: translateY(20px) scale(.97);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  box-shadow: var(--jlg);
}
.jrs-tov.jrs-open .jrs-tbox { transform: none; }
.jrs-thead {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--jlt);
  position: sticky; top: 0; background: var(--jwh); z-index: 2;
}
.jrs-thead h3 { font-size: 17px; font-weight: 700; }
.jrs-ibtn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--jlt); background: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; transition: background .18s;
}
.jrs-ibtn:hover { background: var(--jbg); }
.jrs-tbody   { padding: 26px 22px; }
.jrs-ticon   { font-size: 36px; display: block; margin-bottom: 12px; }
.jrs-tbody h4 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.jrs-tlist   { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.jrs-tlist li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; }
.jrs-tlist li i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.jrs-ok { color: var(--jgn); } .jrs-no { color: var(--jrd); }
.jrs-clbl {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-size: 14px; font-weight: 500;
  padding: 14px 16px; border: 1px solid var(--jlt);
  border-radius: 12px; margin-bottom: 16px; transition: border-color .2s;
}
.jrs-clbl:hover { border-color: var(--jdk); }
.jrs-clbl input[type=checkbox] { width:20px; height:20px; cursor:pointer; accent-color: var(--jdk); flex-shrink:0; }
.jrs-tnext {
  width: 100%;
  background: linear-gradient(135deg, #e61e4d, #c2003d);
  color: #fff; border: none; padding: 14px;
  border-radius: 12px; font-family: var(--jf);
  font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity .2s;
}
.jrs-tnext:disabled { opacity: .4; cursor: not-allowed; }
.jrs-tnext:not(:disabled):hover { opacity: .88; }

/* ══ FORM MODAL ══ */
.jrs-fov {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 999996; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .24s;
  backdrop-filter: blur(4px);
}
@media (min-width: 640px) { .jrs-fov { align-items: center; padding: 20px; } }
.jrs-fov.jrs-open { opacity: 1; pointer-events: all; }
.jrs-fbox {
  background: var(--jwh); border-radius: 18px 18px 0 0;
  width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto;
  transform: translateY(40px);
  transition: transform .34s cubic-bezier(.22,1,.36,1);
  box-shadow: var(--jlg);
}
@media (min-width: 640px) {
  .jrs-fbox { border-radius: 18px; transform: translateY(20px) scale(.97); }
}
.jrs-fov.jrs-open .jrs-fbox { transform: none; }
.jrs-fhead {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-bottom: 1px solid var(--jlt);
  position: sticky; top: 0; background: var(--jwh); z-index: 5;
}
.jrs-fback {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  font-family: var(--jf); font-size: 13px; color: var(--jmd);
  text-decoration: underline; text-underline-offset: 2px; padding: 0;
}
.jrs-fhead h3 { flex: 1; font-size: 15px; font-weight: 700; text-align: center; }
.jrs-froom {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: var(--jbg);
  border-bottom: 1px solid var(--jlt);
}
.jrs-froom img { width: 60px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.jrs-froom-n { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.jrs-froom-p { font-size: 12px; color: var(--jmd); }
.jrs-fbody   { padding: 20px; }

/* Gravity Forms */
.jrs-fbody .gform_wrapper,
.jrs-fbody .gform_wrapper * { font-family: var(--jf) !important; direction: rtl !important; }
.jrs-fbody .gform_wrapper .gfield_label { font-size: 13px !important; font-weight: 600 !important; margin-bottom: 5px !important; color: var(--jdk) !important; }
.jrs-fbody .gform_wrapper input:not([type=submit]),
.jrs-fbody .gform_wrapper textarea,
.jrs-fbody .gform_wrapper select {
  border: 1px solid var(--jlt) !important; border-radius: 10px !important;
  padding: 11px 13px !important; font-size: 14px !important; width: 100% !important;
  font-family: var(--jf) !important; outline: none !important; transition: border-color .2s !important;
}
.jrs-fbody .gform_wrapper input:focus,
.jrs-fbody .gform_wrapper textarea:focus { border-color: var(--jdk) !important; }
.jrs-fbody .gform_wrapper input[type=submit] {
  background: linear-gradient(135deg, #e61e4d, #c2003d) !important;
  color: #fff !important; border: none !important; padding: 14px !important;
  border-radius: 12px !important; width: 100% !important;
  font-size: 15px !important; font-weight: 700 !important;
  cursor: pointer !important; font-family: var(--jf) !important;
}

/* ══ LIGHTBOX ══ */
.jrs-lb {
  position: fixed; inset: 0; background: rgba(0,0,0,.96);
  z-index: 999999; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--jf);
}
.jrs-lb[hidden] { display: none !important; }

.jrs-lbc {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 20px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 10;
}
.jrs-lbc:hover { background: rgba(255,255,255,.35); }

.jrs-lbwrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; flex: 1;
  max-height: 75vh;
  overflow: hidden;
}
.jrs-lbwrap img {
  max-width: 90vw; max-height: 75vh;
  width: auto; height: auto;
  object-fit: contain; border-radius: 8px;
  display: block; flex-shrink: 0; margin: 0 auto;
  user-select: none;
}

.jrs-lbn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.4); border: none; color: #fff;
  width: 46px; height: 46px; border-radius: 50%; font-size: 20px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: background .2s;
}
.jrs-lbn:hover { background: rgba(0,0,0,.75); }
.jrs-lbp { right: 14px; }
.jrs-lbx { left: 14px;  }

.jrs-lbcnt { color: rgba(255,255,255,.65); font-size: 13px; margin-top: 10px; }
.jrs-lbth {
  display: flex; gap: 6px; margin-top: 10px;
  overflow-x: auto; padding: 4px 16px;
  max-width: 90vw; scrollbar-width: none;
}
.jrs-lbth::-webkit-scrollbar { display: none; }
.jrs-lbth img {
  width: 60px; height: 44px; object-fit: cover; border-radius: 5px;
  cursor: pointer; opacity: .5; border: 2px solid transparent; flex-shrink: 0;
  transition: opacity .2s, border-color .2s;
}
.jrs-lbth img:hover { opacity: .8; }
.jrs-lbth img.jrs-a { opacity: 1; border-color: #fff; }

/* ══ RESPONSIVE ══ */
@media (max-width: 479px) {
  .jrs-grid  { gap: 8px; }
  .jrs-mhead { padding: 12px 14px; }
  .jrs-xbtn  { padding: 6px 10px; font-size: 12px; }
  .jrs-layout { padding: 0 12px 30px; }
  .jrs-main  { padding-top: 18px; }
  .jrs-book  { padding: 18px; }
  .jrs-ctitle { font-size: 12px; }
  .jrs-lbp { right: 6px; }
  .jrs-lbx { left:  6px; }
}
