/**
 * Sujjad Hajj & Umrah Packages frontend styles.
 * Built from the uploaded .pkg-card / .umrah-card design tokens and scoped to avoid theme conflicts.
 */
:root{
  --sthp-navy:#2E4152; /* Sujjad dark slate from logo */
  --sthp-navy-dark:#1F2F3E;
  --sthp-navy-mid:#0072BB; /* Sujjad blue from logo */
  --sthp-gold:#0072BB; /* Book Now / main CTA blue */
  --sthp-gold-lt:#0094D8;
  --sthp-white:#FFFFFF;
  --sthp-off-white:#F4FCFF;
  --sthp-hero-bg:#D9F2FB;
  --sthp-light-bg:#EAF9FF;
  --sthp-border:#CDE6F2;
  --sthp-text:#24384A;
  --sthp-muted:#607587;
  --sthp-green:#22C55E;
  --sthp-radius:12px;
  --sthp-shadow-sm:0 2px 8px rgba(46,65,82,.08);
  --sthp-shadow:0 6px 24px rgba(46,65,82,.10);
  --sthp-shadow-lg:0 14px 42px rgba(46,65,82,.16);
  --sthp-brand-blue:#0072BB;
  --sthp-brand-blue-light:#0094D8;
  --sthp-brand-sky:#D9F2FB;
  --sthp-brand-slate:#2E4152;
  --sthp-ease:cubic-bezier(.2,.75,.2,1);
}

.sthp-package-section,
.sthp-package-section *,
.sthp-single-package,
.sthp-single-package *{box-sizing:border-box}

.sthp-package-section,
.sthp-single-package{
  font-family:"Noto Sans Bengali","Hind Siliguri","Inter",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  color:var(--sthp-text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.sthp-package-section{width:100%;padding:28px 0;position:relative}
.sthp-section-head{text-align:center;margin:0 auto 34px;max-width:820px;padding:0 18px}
.sthp-ornament{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:6px}
.sthp-ornament::before,.sthp-ornament::after{content:"";display:block;width:48px;height:1.5px;background:linear-gradient(to right,transparent,var(--sthp-gold))}
.sthp-ornament::after{background:linear-gradient(to left,transparent,var(--sthp-gold))}
.sthp-ornament-icon{color:var(--sthp-gold);font-size:16px;line-height:1}
.sthp-section-title{font-size:clamp(25px,3vw,34px);font-weight:900;color:var(--sthp-navy);line-height:1.3;margin:0 0 8px;letter-spacing:-.02em}
.sthp-section-sub{font-size:14.5px;color:var(--sthp-muted);margin:0;line-height:1.7}

.hajj-grid.sthp-package-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
  width:min(100%,1640px);
  margin:0 auto;
  padding:0 clamp(14px,2.5vw,28px);
}

.pkg-card.sthp-package-card{
  background:var(--sthp-white);
  border:1.5px solid var(--sthp-border);
  border-radius:16px;
  box-shadow:var(--sthp-shadow);
  overflow:hidden;
  transition:transform .2s var(--sthp-ease),box-shadow .2s var(--sthp-ease),border-color .2s var(--sthp-ease);
  position:relative;
  min-height:456px;
  display:flex;
  flex-direction:column;
  isolation:isolate;
  contain:paint;
}
@supports (content-visibility:auto){.pkg-card.sthp-package-card{content-visibility:auto;contain-intrinsic-size:456px}}
.pkg-card.sthp-package-card:hover{transform:translateY(-5px);box-shadow:var(--sthp-shadow-lg);border-color:rgba(0,114,187,.28)}
.pkg-card.sthp-package-card.is-reveal,.pkg-card.sthp-package-card.is-visible{opacity:1;transform:none}
.pkg-card.sthp-package-card.is-visible:hover{transform:translateY(-5px)}

.pkg-card-top{
  background:var(--sthp-off-white);
  padding:22px 26px;
  display:grid;
  grid-template-columns:auto auto 1fr;
  align-items:start;
  gap:18px;
  min-height:98px;
  border-bottom:1px solid var(--sthp-border);
}
.pkg-num{
  width:48px;
  height:48px;
  border-radius:12px;
  display:grid;
  place-items:center;
  color:var(--sthp-white);
  font-weight:900;
  font-size:18px;
  line-height:1;
  box-shadow:0 8px 19px rgba(0,0,0,.08);
}
.pkg-type-icons{display:flex;gap:10px;align-items:center;padding-top:2px}
.pkg-type-icon{
  width:40px;
  height:40px;
  border-radius:10px;
  background:#EAF9FF;
  display:grid;
  place-items:center;
  color:var(--sthp-navy);
  font-size:16px;
}
.pkg-header-right{text-align:right;min-width:0}
.pkg-name{
  font-size:clamp(18px,1.55vw,23px);
  line-height:1.22;
  font-weight:900;
  color:var(--sthp-navy);
  margin:0 0 4px;
  letter-spacing:-.02em;
}
.pkg-sub{font-size:12px;color:var(--sthp-muted);font-weight:700;line-height:1.2}
.pkg-body{
  padding:24px 26px 22px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.pkg-details{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:0 0 24px;
  padding:0;
  list-style:none;
}
.pkg-detail{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:#566D7E;
  font-size:15px;
  font-weight:600;
  line-height:1.48;
}
.pkg-detail i{color:var(--sthp-navy);font-size:14px;width:16px;margin-top:4px;flex-shrink:0;text-align:center}
.pkg-price-row{margin-top:auto}
.pkg-price{
  font-size:clamp(25px,2.4vw,35px);
  font-weight:900;
  color:var(--sthp-navy);
  margin-bottom:16px;
  letter-spacing:-.7px;
  line-height:1.15;
}
.pkg-price .taka{font-size:.68em;vertical-align:.07em}
.pkg-price .per{font-size:12px;font-weight:500;color:var(--sthp-muted);letter-spacing:0;margin-left:4px}
.sthp-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sthp-card-actions .btn-details,
.btn-details{
  width:100%;
  min-height:58px;
  padding:13px 14px;
  background:var(--sthp-navy);
  color:var(--sthp-white)!important;
  border:none;
  border-radius:9px;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
  transition:transform .2s var(--sthp-ease),background .2s var(--sthp-ease),box-shadow .2s var(--sthp-ease),opacity .2s var(--sthp-ease);
  font-family:inherit;
  letter-spacing:.2px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none!important;
}
.sthp-card-actions .btn-details:hover,.btn-details:hover{background:var(--sthp-navy-dark);transform:translateY(-1px);box-shadow:0 10px 22px rgba(46,65,82,.18)}
.sthp-btn-book{background:linear-gradient(135deg,var(--sthp-gold),var(--sthp-gold-lt))!important;color:#fff!important}
.sthp-btn-book:hover{background:linear-gradient(135deg,#0094D8,#0063A3)!important;color:#fff!important;box-shadow:0 12px 26px rgba(0,114,187,.24)}
.sthp-btn-book.is-disabled{opacity:.62;cursor:not-allowed;background:#6B7280!important;color:#fff!important;pointer-events:none}

/* Badge colors tuned to the Sujjad blue/slate brand system. */
.badge-green{background:linear-gradient(135deg,#0FA764,#16C784)}
.badge-navy{background:linear-gradient(135deg,var(--sthp-brand-slate),#1F2F3E)}
.badge-purple{background:linear-gradient(135deg,#2563EB,var(--sthp-brand-blue))}
.badge-red{background:linear-gradient(135deg,#DC2626,#991B1B)}
.badge-gold{background:linear-gradient(135deg,#0072BB,#0094D8)}
.badge-dark{background:linear-gradient(135deg,#2E4152,#142231)}

.sthp-status-tag{
  position:absolute;
  top:17px;
  left:-30px;
  z-index:12;
  width:118px;
  min-width:0;
  min-height:22px;
  transform:rotate(-42deg);
  transform-origin:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  font-size:8px;
  font-weight:950;
  letter-spacing:.06em;
  line-height:1;
  padding:6px 8px;
  border-radius:4px;
  border:1px solid rgba(255,255,255,.32);
  box-shadow:0 10px 22px rgba(46,65,82,.18),inset 0 1px 0 rgba(255,255,255,.28);
  text-shadow:0 1px 1px rgba(0,0,0,.18);
  text-transform:uppercase;
  pointer-events:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  backface-visibility:hidden;
}

.pkg-card.sthp-package-card.has-status .pkg-num{
  position:relative;
  z-index:2;
  box-shadow:0 8px 19px rgba(46,65,82,.10),0 0 0 3px rgba(255,255,255,.92);
}

.pkg-card.sthp-package-card.has-status .sthp-status-tag{
  z-index:12;
}

.sthp-status-tag::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.30),rgba(255,255,255,.08) 42%,rgba(0,0,0,.12));
  pointer-events:none;
  border-radius:inherit;
}
.sthp-status-limited{background:linear-gradient(135deg,#005D96 0%,var(--sthp-brand-blue) 50%,#00A7DE 100%)}
.sthp-status-sold_out{background:linear-gradient(135deg,#991B1B 0%,#EF4444 54%,#7F1D1D 100%)}
.sthp-empty-message{text-align:center;padding:24px;border:1px dashed var(--sthp-border);border-radius:14px;color:var(--sthp-muted);background:#fff;margin:0 auto;max-width:760px}

/* Optional Umrah card styles included for the same design system. */
.umrah-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.umrah-card{background:var(--sthp-white);border-radius:14px;overflow:hidden;box-shadow:var(--sthp-shadow);border:1.5px solid var(--sthp-border);transition:all .28s var(--sthp-ease);display:flex;flex-direction:column}
.umrah-card:hover{transform:translateY(-5px);box-shadow:var(--sthp-shadow-lg);border-color:transparent}
.umrah-img-box{height:165px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#EAF9FF}
.umrah-img-box img{width:100%;height:100%;object-fit:cover}
.umrah-body{padding:15px 16px;flex:1;display:flex;flex-direction:column}
.umrah-name,.umrah-body h3{font-size:15px;font-weight:800;color:var(--sthp-navy);margin:0 0 10px;line-height:1.2}
.umrah-info,.umrah-meta{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;color:var(--sthp-muted);font-size:12px}
.umrah-price{font-size:22px;font-weight:900;color:var(--sthp-navy);margin:auto 0 12px}
.umrah-tag{display:inline-block;background:var(--sthp-light-bg);color:var(--sthp-brand-blue);padding:2px 10px;border-radius:12px;font-size:10.5px;font-weight:700;margin-bottom:6px}

/* Single template */
.sthp-single-package{
  background:linear-gradient(180deg,#EAF9FF 0%,#fff 48%);
  padding:clamp(62px,7vw,96px) 0 clamp(34px,5vw,64px);
  clear:both;
  position:relative;
  z-index:1;
}
body.admin-bar.single-hajj_package .sthp-single-package{padding-top:clamp(78px,8vw,112px)}
.sthp-single-inner{width:min(1160px,calc(100% - 28px));margin-inline:auto}
.sthp-single-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:28px;align-items:start;margin-bottom:32px;scroll-margin-top:120px}
.sthp-single-summary,.sthp-single-card,.sthp-single-content-section{background:#fff;border:1px solid var(--sthp-border);border-radius:22px;box-shadow:var(--sthp-shadow);overflow:hidden}
.sthp-single-summary{padding:clamp(26px,4vw,46px);background:linear-gradient(145deg,#fff 0%,#F8FDFF 100%);position:relative}
.sthp-single-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--sthp-brand-blue);background:var(--sthp-light-bg);border:1px solid var(--sthp-border);border-radius:999px;padding:6px 12px;font-size:12px;font-weight:900;margin-bottom:14px}
.sthp-single-title{color:var(--sthp-navy);font-size:clamp(32px,4vw,54px);font-weight:950;letter-spacing:-.035em;line-height:1.12;margin:0 0 12px}
.sthp-single-excerpt{color:#516879;font-size:16px;line-height:1.8;margin:0 0 22px}
.sthp-single-cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:22px}
.sthp-single-cta .btn-details{width:auto;min-width:180px;padding-inline:24px}
.sthp-single-card{padding:0;display:flex;flex-direction:column}
.sthp-single-card .pkg-card{box-shadow:none;border:0;border-radius:0;min-height:auto;height:100%;overflow:hidden}
.sthp-single-card .pkg-card-top{
  grid-template-columns:auto auto minmax(0,1fr);
  align-items:center;
  min-height:auto;
  padding:24px 26px 22px;
}
.sthp-single-card .pkg-name{font-size:clamp(20px,2vw,28px);line-height:1.18;max-width:100%;overflow-wrap:anywhere}
.sthp-single-card .pkg-sub{font-size:13px}
.sthp-single-card .sthp-status-tag{
  top:17px;
  left:-30px;
  right:auto;
  width:118px;
  max-width:none;
  min-width:0;
  min-height:22px;
  transform:rotate(-42deg);
  transform-origin:center;
  border-radius:4px;
  padding:6px 8px;
  font-size:8px;
  letter-spacing:.06em;
  z-index:12;
}
.sthp-single-card .sthp-status-tag + .pkg-card-top{padding-top:24px}
.sthp-single-content{display:grid;grid-template-columns:1fr;gap:22px}
.sthp-single-content-section{padding:clamp(22px,3vw,34px)}
.sthp-single-content-section h2{margin:0 0 14px;color:var(--sthp-navy);font-size:clamp(22px,2.6vw,30px);font-weight:900}
.sthp-single-content-section :where(p,li){color:#334B5E;line-height:1.85;font-size:15.5px}
.sthp-single-content-section ul,.sthp-single-content-section ol{padding-left:1.4em;margin:0 0 18px}
.sthp-single-price-line{font-size:clamp(18px,2vw,22px);color:var(--sthp-navy);font-weight:950;margin:0 0 12px;letter-spacing:-.02em}.sthp-single-short-desc{max-width:640px;color:#516879;font-size:clamp(14px,1.35vw,16px);line-height:1.75;margin:0;padding:14px 16px;border-left:4px solid var(--sthp-brand-blue);border-radius:12px;background:rgba(234,249,255,.72);box-shadow:inset 0 0 0 1px rgba(205,230,242,.58)}
.sthp-single-final-cta{background:linear-gradient(135deg,var(--sthp-navy),var(--sthp-navy-dark));color:#fff;border-radius:24px;padding:clamp(24px,4vw,44px);margin-top:26px;text-align:center;box-shadow:var(--sthp-shadow-lg)}
.sthp-single-final-cta h2{color:#fff;margin:0 0 10px;font-size:clamp(24px,3vw,36px)}
.sthp-single-final-cta p{color:rgba(255,255,255,.8);margin:0 auto 20px;max-width:720px}
.sthp-single-final-cta .btn-details{width:auto;min-width:220px;background:linear-gradient(135deg,var(--sthp-gold),var(--sthp-gold-lt));color:#fff!important}

@media(max-width:1180px){
  .hajj-grid.sthp-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:980px}
  .pkg-card.sthp-package-card{min-height:430px}
  .umrah-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .sthp-package-section{padding:20px 0}
  .hajj-grid.sthp-package-grid{grid-template-columns:1fr;gap:18px;padding-inline:12px;max-width:520px}
  .pkg-card.sthp-package-card{min-height:0;border-radius:14px}
  .pkg-card-top{padding:18px 18px;gap:12px;grid-template-columns:auto auto 1fr;min-height:86px}
  .sthp-status-tag{top:17px;left:-30px;width:112px;min-height:20px;font-size:8px;padding:5.5px 7px;margin:0}
  .sthp-single-card .sthp-status-tag{top:17px;left:-30px;right:auto;width:112px;min-height:20px;font-size:8px;padding:5.5px 7px;margin:0;transform:rotate(-42deg);border-radius:4px}
  .pkg-num{width:44px;height:48px;border-radius:11px;font-size:17px}
  .pkg-type-icons{gap:7px}.pkg-type-icon{width:36px;height:36px;border-radius:9px;font-size:14px}
  .pkg-name{font-size:19px}.pkg-body{padding:18px}.pkg-detail{font-size:14px;gap:10px}.pkg-details{gap:11px;margin-bottom:18px}.pkg-price{font-size:27px;margin-bottom:12px}
  .sthp-card-actions{grid-template-columns:1fr;gap:9px}.sthp-card-actions .btn-details{min-height:50px;font-size:14px}
  .umrah-grid{grid-template-columns:1fr}.sthp-single-hero{grid-template-columns:1fr}.sthp-single-cta .btn-details{width:100%}.sthp-single-short-desc{font-size:13.5px;line-height:1.65;padding:12px 13px}
}
@media(max-width:420px){
  .pkg-card-top{grid-template-columns:auto 1fr;align-items:center}.pkg-type-icons{display:none}.pkg-header-right{text-align:right}.sthp-section-title{font-size:24px}.sthp-section-head{margin-bottom:24px}
  .sthp-single-package{padding-top:72px}
  .sthp-single-card .pkg-card-top{grid-template-columns:auto 1fr;padding:18px}
  .sthp-single-card .pkg-type-icons{display:none}
  .sthp-single-card .pkg-name{font-size:22px}
  .sthp-single-card .sthp-status-tag{top:17px;left:-30px;right:auto;width:112px;min-height:20px;font-size:8px;padding:5.5px 7px;margin:0;transform:rotate(-42deg);border-radius:4px}
}
@media(prefers-reduced-motion:reduce){
  .pkg-card.sthp-package-card,.btn-details,.umrah-card{transition:none!important}.pkg-card.sthp-package-card:hover,.umrah-card:hover,.btn-details:hover{transform:none!important}.pkg-card.sthp-package-card.is-reveal{opacity:1;transform:none}
}

/* v1.1.9 - Single package sticky Book Now bar */
.sthp-sticky-booknow{position:fixed;left:0;right:0;bottom:0;z-index:99998;padding:10px max(14px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-right));pointer-events:none;backface-visibility:hidden}
.sthp-sticky-booknow__inner{width:min(760px,100%);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 14px;border:1px solid rgba(205,230,242,.92);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(31,47,62,.14);pointer-events:auto}
.sthp-sticky-booknow__text{min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.25;color:var(--sthp-text)}
.sthp-sticky-booknow__text strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;color:var(--sthp-navy-dark);letter-spacing:-.01em}
.sthp-sticky-booknow__text span{display:block;font-size:11px;font-weight:700;color:rgba(36,56,74,.78)}
.sthp-sticky-booknow__btn{flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;padding:10px 17px!important;border-radius:999px!important;font-size:12px!important;font-weight:900!important;line-height:1!important;text-decoration:none!important;box-shadow:0 8px 20px rgba(0,114,187,.24)!important;white-space:nowrap;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.sthp-sticky-booknow__btn:active{transform:translateY(1px)}
.sthp-sticky-booknow--off{display:none!important}
@media (max-width:767px){.sthp-sticky-booknow--desktop{display:none!important}.sthp-sticky-booknow{padding-left:10px;padding-right:10px}.sthp-sticky-booknow__inner{border-radius:16px;padding:9px 9px 9px 12px;gap:9px}.sthp-sticky-booknow__text strong{font-size:12px}.sthp-sticky-booknow__text span{font-size:10px}.sthp-sticky-booknow__btn{min-height:36px;padding:9px 14px!important;font-size:11px!important}}
@media (min-width:768px){.sthp-sticky-booknow--mobile{display:none!important}.sthp-single-package{padding-bottom:74px}}


/* v1.2.4 - AJAX Show More button */
.sthp-load-more-wrap{display:flex;justify-content:center;margin:28px auto 0;padding:0 16px}
.sthp-load-more{appearance:none;border:1px solid rgba(0,114,187,.18);background:linear-gradient(135deg,var(--sthp-brand-blue),var(--sthp-brand-blue-dark));color:#fff;border-radius:999px;min-height:48px;padding:13px 26px;font-size:15px;font-weight:900;line-height:1;letter-spacing:-.01em;box-shadow:0 12px 28px rgba(0,114,187,.18);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.sthp-load-more:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(0,114,187,.22)}
.sthp-load-more:active{transform:translateY(1px)}
.sthp-load-more:disabled{cursor:wait;opacity:.78;transform:none;box-shadow:0 10px 22px rgba(0,114,187,.14)}
.sthp-load-more.is-loading .sthp-load-more-text::after{content:'…'}
.sthp-load-more.has-error{background:linear-gradient(135deg,#7A1D1D,#B53333);border-color:rgba(181,51,51,.22)}
.sthp-single-package-editor-placeholder{border:1px dashed #9acde7;border-radius:12px;padding:14px;background:#f6fdff;color:#263f53}
@media(max-width:760px){.sthp-load-more-wrap{margin-top:22px}.sthp-load-more{width:min(100%,320px);min-height:46px;font-size:14px;padding:12px 20px}}
