body {
  font-family: "Inter", sans-serif;
  background-color: #faf8f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%231f7a63' stroke-width='1' stroke-opacity='0.09'%3E%3Cpolygon points='60,33 65,48 80,41 72,56 87,60 72,65 80,80 65,72 60,87 56,72 41,80 48,65 33,60 48,56 41,41 56,48'/%3E%3Cline x1='60' y1='33' x2='60' y2='0'/%3E%3Cline x1='87' y1='60' x2='120' y2='60'/%3E%3Cline x1='60' y1='87' x2='60' y2='120'/%3E%3Cline x1='33' y1='60' x2='0' y2='60'/%3E%3Cline x1='80' y1='41' x2='120' y2='0'/%3E%3Cline x1='80' y1='80' x2='120' y2='120'/%3E%3Cline x1='41' y1='80' x2='0' y2='120'/%3E%3Cline x1='41' y1='41' x2='0' y2='0'/%3E%3C/g%3E%3Ccircle cx='60' cy='60' r='3' fill='%23e6b85c' fill-opacity='0.2'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  color: #1c1c1c;
}

/* Quran / Arabic text font: Arabic passages inside a page, never the page itself (<html lang="ar"> on /ar/).
 * Part 47: :where() gives the [lang] part no weight, so a feature's own Arabic face, size and line height (the Quran
 * reader's font and size choices, a dua card, a hadith) win; this stays the default for every other passage. */
:where([lang="ar"]:not(html)),
.quran-text {
  font-family: "Noto Naskh Arabic", "Scheherazade New", "Amiri", serif;
  font-size: 1.4em;
  line-height: 2.4;
  word-spacing: 0.04em;
  font-weight: 500;
}
.quran-text {
  letter-spacing: 0;
}

/* ===== Interactive recitation panel (step-by-step pills) ===== */
.recite-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #1c1c1c;
  font-size: 0.8rem;
  font-weight: 600;
  padding-block: 0.35rem 0.35rem; padding-inline: 0.4rem 0.85rem;
  border-radius: 50rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}
.recite-pill:hover {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.recite-pill .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #1c1c1c;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.recite-pill.active {
  background: linear-gradient(135deg, var(--ip-area-fill), var(--ip-area));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--ip-area) 35%, transparent);
}
.recite-pill.active .num {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.recite-pane {
  display: none;
}
.recite-pane.active {
  display: block;
  animation: recite-fade 0.35s ease;
}
@keyframes recite-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-text-base{
  color:#1c1c1c;
}
.text-purple{
  color:#6f42c1;
}
.bg-light-theme{
    background-color: #f5f3ff;
}
.text-primary-theme{
  color: var(--ip-area-strong);
}
.text-gold-theme{
  color: #e6b85c;
}
.text-body-theme{
  color: var(--ip-muted);
}
.size-30{
  width: 35px;
  height: 35px;
}
.size-35{
  width: 35px;
  height: 35px;
}
.size-40{
  width: 40px;
  height: 40px;
}
.size-25{
  width: 25px;
  height: 25px;
}
.btn-outline-success{
  border-color: var(--ip-area-fill);
  color: var(--ip-area-strong);
}
.btn-success {
  background-color: var(--ip-area-fill);
  border-color: var(--ip-area-fill);
}
.btn-success:hover,
.btn-success:active,
.btn-success:focus,
.btn-outline-success:hover,
.btn-outline-success:active,
.btn-outline-success:focus {
  background-color: var(--ip-area-fill);
  border-color: var(--ip-area-fill);
  box-shadow: none;
}
.btn-outline-secondary{
  border-color:#9ca3af;
  color: #1c1c1c;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:active,
.btn-outline-secondary:focus {
  background-color: var(--ip-area-fill);
  border-color: var(--ip-area-fill);
  box-shadow: none;
}
.fs-14{font-size: 14px}
.fs-15{font-size: 15px}
.fs-13{font-size: 13px}
.fs-12{font-size: 12px}
.theme-sm-btn {
    font-size: 12px!important;
    border-radius: 10px;
}
.bg-white-ip{background-color: #fff}

.gradient-green {
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-blue {
  background: linear-gradient(45deg, #2196f3, #3f51b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-purple {
  background: linear-gradient(45deg, #9c27b0, #673ab7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-orange {
  background: linear-gradient(45deg, #ff9800, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-green {
  background: linear-gradient(45deg, #4caf50, #8bc34a);
}

.bg-gradient-blue {
  background: linear-gradient(45deg, #2196f3, #3f51b5);
}

.bg-gradient-purple {
  background: linear-gradient(45deg, #9c27b0, #673ab7);}

.bg-gradient-orange {
  background: linear-gradient(45deg, #ff9800, #ffc107);
}

nav.ip-navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px) saturate(1.9);
  -webkit-backdrop-filter: blur(24px) saturate(1.9);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1.5px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 24px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
nav.ip-navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ip-area-fill) 0%, var(--ip-area) 55%, #e6b85c 100%);
  opacity: .8;
  pointer-events: none;
}
nav.ip-navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 32px rgba(0,0,0,.11), 0 1px 6px rgba(0,0,0,.05);
}
.ip-brand-name {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ip-area-deep);
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.ip-logo {
  height: 50px;
  width: auto;
  display: block;
}
.ip-logo-footer {
  height: 100px;
  width: auto;
  display: block;
}
.ip-navbar .nav-link {
  color: #1c1c1c;
  white-space: nowrap;
}

.ip-navbar .dropdown-toggle {
  cursor: pointer;
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SEARCH OVERLAY */

.theme-toggle {
  width: 50px;
  height: 25px;
  background: #e2e8f0;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
}
.theme-toggle .icon {
  position: absolute;
  top: 6px;
  font-size: 12px;
}
.theme-toggle .sun {
  left: 6px;
  color: orange;
}
.theme-toggle .moon {
  right: 6px;
  opacity: 0;
}
/* MOBILE OFFCANVAS FIX */
.ip-navbar .offcanvas {
  width: 280px;
}
.ip-navbar .offcanvas .nav-link {
  padding: 10px 0;
}
#themeToggleMobile {
  transform: scale(0.9);
}
.ip-navbar .offcanvas-header {
  color: var(--ip-muted);
}
/* Navbar action buttons */
@media (min-width: 992px) {

  .ip-navbar .dropdown:not(.mega-dropdown):hover > .dropdown-menu {
    display: block;
  }

}
.ip-navbar .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ip-navbar .dropdown-toggle::after {
  vertical-align: middle;
  margin-top: 2px;
}
.ip-navbar .mega-dropdown {
  position: static;
}

.ip-navbar .mega-menu {
  width: 100%;
  max-width: 1140px;

  left: 50%;
  transform: translateX(-50%) translateY(10px);

  display: block;

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;

  border: none;
  border-radius: 20px;

  padding: 30px;

  margin-top: 12px;

  background: #fff;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.08),
    0 8px 24px rgba(0,0,0,0.05);
}
.ip-navbar .mega-menu h6 {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ip-muted);
  margin-bottom: 16px;
  position: relative;
}

.ip-navbar .mega-menu h6::after {
  content: "";

  position: absolute;

  inset-inline-start: 0;
  bottom: -8px;

  width: 30px;
  height: 2px;

  background: var(--ip-area-fill);

  border-radius: 50px;
}
.ip-navbar .mega-menu .dropdown-item {
  padding: 9px 12px;
  border-radius: 10px;
  color: #374151;
  font-size: 14px;
  margin-bottom: 3px;
  transform: translateX(0);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.2s ease;
}

.ip-navbar .mega-menu .dropdown-item:hover {
  background-color: color-mix(in srgb, var(--ip-area-fill) 8%, transparent);
  color: var(--ip-area-strong);
  transform: translateX(3px);
}

/* Quick Start SECTION */

.qs-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* ICON COLORS */
.icon.green {
  background-image: linear-gradient(135deg, #4caf50, #8bc34a);
}
.icon.blue {
  background-image: linear-gradient(135deg, #2196f3, #3f51b5);
}
.icon.red {
  background-image: linear-gradient(135deg, #f44336, #ff9800);
}
.icon.purple {
  background-image: linear-gradient(135deg, #9c27b0, #673ab7);
}
.icon.orange {
  background-image: linear-gradient(135deg, #ff9800, #ffc107);
}
/* BG COLORS */
.bg-green {
  background: var(--ip-area-soft);
}
.bg-blue {
  background: #eef4ff;
}
.bg-red {
  background: #fff3f0;
}
.bg-purple {
  background: #f5f0ff;
}
.bg-purple-level-2 {
    background: #e9e2f8;
}
.bg-purple-dark{
  background: #6f42c1;
}
.bg-orange {
  background: #fff8e6;
}
/* SOFT BORDER */
.qs-link:hover .icon {
  transform: scale(1.12);
}
.qs-link:hover .arrow {
  transform: translateX(5px); /* smooth */
}

/* LEARNING PATH */

.LearningPath .progress {
    flex: 1;
    height: 6px;
    border-radius: 10px;
    background: rgba(0,0,0,0.08);
}

.LearningPath .progress-bar {
    border-radius: 10px;
}

.FeaturedCourses .fc-card {
    position: relative;
    display: block;
    border-radius: 16px;
    padding: 16px;
    height: 180px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}
.FeaturedCourses .fc-body {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding-top: 28px;
    width:80%;
}
.fc-top h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fc-teacher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
}

.fc-teacher img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}
.fc-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 20px;
    color: #fff;
    z-index: 3;
}
.fc-badge.beginner { background: #22c55e; }
.fc-badge.popular { background: #3b82f6; }
.fc-badge.intermediate { background: #f59e0b; }
.fc-bottom {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 8px 8px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    color: #272c3f;
}
.FeaturedCourses .fc-card::after {
    content: "";
    position: absolute;
    inset-inline-end: -10px;
    top: 0px;
    width: 65%;
    height: 120%;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.9;

}

/* PLACEHOLDERS for Featured Courses*/
.fc-1::after { background-image: url("../images/bg-5.png");}
.fc-2::after { background-image: url("../images/bg-6.png"); }
.fc-3::after { background-image: url("../images/bg-7.png"); }
.fc-4::after { background-image: url("../images/bg-8.png"); }
.fc-5::after { background-image: url("../images/bg-9.png"); }

.FeaturedCourses .fc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.FeaturedCourses .fc-card {
    position: relative;
    z-index: 1;
}
.FeaturedCourses .fc-card:hover {
    z-index: 5;
}

.btn{
  font-size: 14px;
}

/* ===== FOOTER WRAPPER ===== */
.Footer a:has(.ip-logo-footer) {
  text-decoration: none;
}

.Footer .form-control:focus {
    border-color: #66cccc;
    box-shadow: 0 0 0 .15rem color-mix(in srgb, var(--ip-area-fill) 25%, transparent);
}

/* SOCIAL */

#goTopBtn {
  position: fixed;
  bottom: 30px;
  inset-inline-end: 30px;
  width: 40px;
  height: 40px;
  background: var(--ip-area-fill);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}
#goTopBtn.show {
  opacity: 1;
  visibility: visible;
}
#goTopBtn:hover {
  transform: translateY(-4px);
  background: var(--ip-area-fill);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Explore course page css*/

.inner_hero{
    background:
    linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)),
    url(../images/inner-hero.png);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.inner_hero .btn{
    transition: all .3s ease !important;
}

.inner_hero .btn:hover{
    transform: translateY(-2px);
}

.advisor_box{
    background:
    linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2)),
    url('../images/advisor_box_bg.png');

    background-size: cover;
    background-position: center;
}
.course_card{
    transition: all .35s ease;
}

.course_card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08) !important;
}

.course_card img{
    transition: transform .5s ease;
}

.course_card:hover img{
    transform: scale(1.05);
}

.wishlist_btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    transition: all .3s ease;
    font-size: 16px;
    line-height: 30px;
}

.wishlist_btn:hover{
    background: #dc2626;
    color: #fff;
    transform: scale(1.08);
}

/* ISLAMIC BREADCRUMB */

.islamicBread .breadcrumb{
    font-size: 14px;
}

.islamicBread .breadcrumb-item + .breadcrumb-item::before{
    color: var(--ip-muted);
}

.islamicBread .breadcrumb-item a{
    color: #6c757d;
    text-decoration: none;
    transition: all .25s ease;
}

.islamicBread .breadcrumb-item a:hover{
    color:var(--ip-area-strong);
}

.islamicBread .breadcrumb-item.active{
    color:var(--ip-area-strong);
    font-weight: 500;
}
.customAccordion .accordion-item{
border-radius: 14px !important;
overflow: hidden;
margin-bottom: 14px;
}
.customAccordion .accordion-button{
background:#eef2ff;
padding: 18px 20px;
box-shadow: none !important;
align-items: flex-start;
transition: .25s ease;
}
.customAccordion .accordion-button:not(.collapsed){
background: var(--ip-area-soft);
color: inherit;
}
.customAccordion .accordion-button::after{
transition: transform .25s ease;
transform: rotate(0deg);
}
.customAccordion .accordion-button:not(.collapsed)::after{
transform: rotate(-180deg);
}
.customAccordion .accordion-button:focus{
box-shadow: none;
border-color: transparent;
}
.accordion_head_wrap{
display: flex;
flex-direction: column;
align-items: flex-start;
text-align: start;
}
.lecture_item{
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 20px;
border-bottom: 1px solid #f1f1f1;
gap: 15px;
transition: .2s ease;
}
.lecture_item:hover{
background: #fafafa;
}
.lecture_right{
display: flex;
align-items: center;
gap: 14px;
font-size: 13px;
white-space: nowrap;
flex-wrap: wrap;
justify-content: flex-end;
}
.lecture_right a{
text-decoration: none;
color: var(--ip-area-strong);
font-weight: 500;
}
.lecture_right span{
color: var(--ip-muted);
}
.viewAll_sections{
font-size: 14px;
font-weight: 500;
text-decoration: none;
color: var(--ip-area-strong);
}
.courseSidebar{
position: sticky;
top: 20px;
z-index: auto;
}
.enroll_card{
background: var(--ip-area-soft);
border: 1px solid var(--ip-area-tint);
transition: .25s ease;
}
.enroll_card:hover{
transform: translateY(-2px);
}
.course_info_list li{
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 8px;
}
.course_info_list i{
color: var(--ip-area-strong);
}
.community_box{
background: #fff3e6;
border: 1px solid #ffe0b3;
transition: .25s ease;
}
.community_box:hover{
transform: translateY(-2px);
}

/* ===============================
   WHAT IS SHAHADAH SECTION
=============================== */

.overviewCard{
    border-radius:18px;
    padding:18px;
    text-align:center;
    height:100%;
}

.overviewIcon{
    width:56px;
    height:56px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;

    margin:0 auto 12px;
}

/* ===============================
   FOUNDATION TIMELINE
=============================== */

.foundationSteps{
    position:relative;
}

.foundationStep{
    display:flex;
    gap:18px;
    position:relative;
    padding-bottom:34px;
}

.foundationStep:last-child{
    padding-bottom:0;
}

/* NUMBER BOX */
.stepNumber{
    width:56px;
    height:56px;
    min-width:56px;

    border-radius:14px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:700;
    font-size:18px;

    position:relative;
    z-index:2;
}

/* LINE CONNECTOR */
.foundationStep:not(:last-child) .stepNumber::after{
    content:'';
    position:absolute;

    top:48px;
    left:50%;

    width:2px;
    height:60px;

    background:#d1d5db;

    transform:translateX(-50%);
}

/* TEXT */
.stepContent{
    flex:1;
    padding-top:4px;
}

/* =========================================
   DECLARATION TAB GLOBAL
========================================= */

/* =========================================
   1. ARABIC SECTION
========================================= */

.arabicCard{
    background:var(--ip-area-deep);
    color:#fff;

    padding:40px;
    border-radius:20px;

    overflow:hidden;
}

.arabicText{
    font-size:38px;
    font-weight:700;
    line-height:1.8;
}

.arabicTextWrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
}

.audioBtn{
    background:#fff;
    border:none;
    width:42px;
    height:42px;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:var(--ip-area-strong);
    font-size:20px;
    cursor:pointer;
}

/* Background decorations */
.bgDecor{
    position:absolute;
    width:28px;
    height:31px;
    background-size:contain;
    background-repeat:no-repeat;
}

.bgDecorLeft{
    bottom:-1px;
    left:0;
    background-image:url("../images/decor-left.png");
}

.bgDecorRight{
    bottom:-1px;
    right:0;
    background-image:url("../images/decor-right.png");
}

/* =========================================
   2. BREAKDOWN SECTION
========================================= */

.breakItem{
    padding:18px;
    border-radius:14px;
    background:#fff;
}

.audioSmall{
    border:none;
    background:#f3f4f6;
    width:34px;
    height:34px;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:var(--ip-area-strong);
}

/* =========================================
   3. REFLECT SECTION
========================================= */

.reflectBox{
    background:#f8fafc;
    padding:28px;
    border-radius:18px;

    position:relative;
    overflow:hidden;
}

.reflectBg{
    position:absolute;
    top:0;
    right:0;

    width:160px;
    height:160px;

    /* Two faint rings drawn in CSS (the old reflect-bg.png never existed and answered 404). */
    background:radial-gradient(circle, transparent 37%, currentColor 38% 40%, transparent 41% 56%, currentColor 57% 59%, transparent 60%);

    opacity:0.08;
}

.Transliteration_Translation {
    background: var(--ip-area-fill);
    border: solid 1px var(--ip-area-fill);
}

/* Card Tabs */
.card-tab-whatIslam{
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
    border: 1px solid #e5e5e5;
}

.card-tab-whatIslam:hover{
    transform: translateY(-2px);
}

/* Active card */
.card-tab-whatIslam.active{
    border: 2px solid var(--ip-area);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Icon spacing */
.card-tab-whatIslam i{
    display: block;
}
.detail-pane-whatIslam {
display: none;
}
.detail-pane-whatIslam.show.active {
display: block;
}

.NamazGuide{
  font-family:'Inter',system-ui;
}
.NamazGuide .timeline-wrapper{
  position:relative;
  overflow-x:auto;
  overflow-y:hidden;
  gap:12px;
  padding:10px 16px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
}
.NamazGuide .timeline-wrapper::before{
  content:"";
  position:absolute;
  top:85px;
  left:50%;
  transform:translateX(-50%);
  width:calc(70% - 200px);
  height:2px;
  background:#dee2e6;
  z-index:0;
}

.NamazGuide .Namaztimeline-card{
  min-width:140px;
  cursor:pointer;
  position:relative;
  z-index:2;
  transition:0.2s;
}

.NamazGuide .Namaztimeline-card.active-step{
  border:2px solid var(--ip-area) !important;
  background:#d1e7dd !important;
}

.NamazGuide .arabic{
  direction:rtl;
  font-size:2rem;
}
.Namaztimeline-card img{
  height: 90px;
}

/* Constrain each step panel to container width even if outer section has broken nesting */
.NamazStep-section {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 1199.98px) {
  .NamazStep-section { max-width: 960px; }
}
@media (max-width: 991.98px) {
  .NamazStep-section { max-width: 720px; }
}
@media (max-width: 767.98px) {
  .NamazStep-section { max-width: 540px; }
}
@media (max-width: 575.98px) {
  .NamazStep-section { max-width: 100%; margin-left: 12px; margin-right: 12px; width: calc(100% - 24px); }
}

/* ============================================
   QURAN RECITATION PLATFORM — quran-recitation.html
   ============================================ */

/* --- Hero --- */
.qr-hero {
  padding: 24px 0 8px;
}
.qr-hero-inner {
  background: linear-gradient(145deg, var(--ip-area-soft) 0%, #e8f5fb 50%, #f5f0ff 100%);
  border: 1px solid color-mix(in srgb, var(--ip-area-fill) 8%, transparent);
}
.qr-hero-content {
  padding-block: 40px 40px; padding-inline: 48px 40px;
}
.qr-hero-deco {
  position: absolute;
  top: -20px;
  inset-inline-end: 5%;
  font-size: 18rem;
  font-family: "Noto Naskh Arabic", serif;
  color: color-mix(in srgb, var(--ip-area-strong) 4%, transparent);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.qr-hero-h1 {
  font-size: 2.1rem;
  line-height: 1.2;
}
.qr-hero-sub {
  font-size: 15px;
  color: #4b5563;
  max-width: 540px;
  line-height: 1.7;
}
.qr-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.qr-stat-box {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.qr-stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.qr-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.2rem;
}
.qr-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1c1c;
  line-height: 1;
  margin-bottom: 4px;
}
.qr-stat-label {
  font-size: 12px;
  color: var(--ip-muted);
  font-weight: 500;
}

/* --- How It Works --- */
.qr-step-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.qr-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}
.qr-step-card--active {
  background: linear-gradient(135deg, var(--ip-area-fill) 0%, var(--ip-area) 100%);
  border-color: transparent;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--ip-area-fill) 30%, transparent);
}
.qr-step-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(0,0,0,0.04);
  position: absolute;
  top: 12px;
  inset-inline-end: 20px;
  line-height: 1;
}
.qr-step-card--active .qr-step-num {
  color: rgba(255,255,255,0.08);
}
.qr-step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* --- Teachers Section --- */
.qr-teachers-section {
  background: #f9fafb;
}

/* Filter bar */
.qr-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  font-size: 13px;
  font-weight: 500;
  border-radius: 50rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.qr-chip:hover {
  border-color: var(--ip-area-fill);
  color: var(--ip-area-strong);
}
.qr-chip.active {
  background: linear-gradient(135deg, var(--ip-area-fill), var(--ip-area));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--ip-area-fill) 25%, transparent);
}

/* Teacher Card */
.teacher-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.09) !important;
}
.teacher-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.teacher-online-dot {
  position: absolute;
  bottom: 2px;
  inset-inline-end: 2px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
}
.qr-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}
.qr-tag {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 50rem;
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  font-weight: 500;
}
.qr-avail-bar {
  line-height: 1.3;
}
.qr-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ip-area-strong);
}

/* --- Profile Modal --- */
.qr-big-rating {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #1c1c1c;
}

/* Mini Calendar (profile + booking) */
.qr-cal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--ip-muted);
  padding: 4px 0;
}
.qr-cal-day {
  text-align: center;
  padding: 7px 4px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.qr-cal-day:hover:not(.disabled):not(.empty) {
  border-color: var(--ip-area-fill);
  color: var(--ip-area-strong);
}
.qr-cal-day.available {
  background: var(--ip-area-soft);
  color: var(--ip-area-strong);
  font-weight: 600;
}
.qr-cal-day.available::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22c55e;
  margin: 2px auto 0;
}
.qr-cal-day.selected {
  background: linear-gradient(135deg, var(--ip-area-fill), var(--ip-area));
  color: #fff !important;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--ip-area-fill) 30%, transparent);
}
.qr-cal-day.selected::after {
  background: rgba(255,255,255,0.6);
}
.qr-cal-day.today {
  border-color: var(--ip-area-fill);
  font-weight: 700;
}
.qr-cal-day.disabled, .qr-cal-day.empty {
  color: #d1d5db;
  cursor: default;
}
.qr-cal-nav {
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
}
.qr-cal-nav:hover {
  background: var(--ip-area-soft);
  border-color: var(--ip-area-fill);
  color: var(--ip-area-strong);
}

/* Booking Steps */
.qr-book-steps {
  font-size: 13px;
  font-weight: 500;
}
.qr-book-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ip-muted);
}
.qr-book-step span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #e5e7eb;
  color: var(--ip-muted);
}
.qr-book-step.active {
  color: var(--ip-area-strong);
}
.qr-book-step.active span {
  background: linear-gradient(135deg, var(--ip-area-fill), var(--ip-area));
  color: #fff;
}
.qr-book-step.done span {
  background: #d1fae5;
  color: #059669;
}
.qr-book-step-divider {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
  min-width: 20px;
}

/* Confirm box */
.qr-confirm-box {
  background: #f8fafb;
  border: 1px solid #e5e7eb;
}

/* Reviews */
.qr-review-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qr-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.07) !important;
}

/* CTA for teachers */
.qr-teacher-cta {
  background: linear-gradient(135deg, var(--ip-area-fill) 0%, var(--ip-area-fill) 50%, #0d3b29 100%);
  position: relative;
}
.qr-cta-deco {
  position: absolute;
  inset-inline-end: 5%;
  top: -30px;
  font-size: 16rem;
  font-family: "Noto Naskh Arabic", serif;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.btn-white {
  background: #fff;
  color: var(--ip-green-700);
  border: none;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-white:hover {
  background: var(--ip-area-soft);
  color: var(--ip-area-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@keyframes qrFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .qr-hero-content { padding: 28px 20px; }
  .qr-hero-h1 { font-size: 1.6rem; }
  .qr-stats-grid { grid-template-columns: 1fr 1fr; }
  }
@media (max-width: 575.98px) {
  .qr-stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qr-stat-box { padding: 14px 10px; }
  .qr-stat-num { font-size: 1.2rem; }
}

/* ============================================
   QURAN AUDIO PLAYER — quran-audio-player.html
   ============================================ */

/* Body bottom padding to clear sticky player */
.qap-page {
  padding-bottom: 100px;
}

/* ---- App Shell ---- */
.qap-shell {
  display: flex;
  min-height: calc(100vh - 120px);
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 12px;
  gap: 0;
}

/* ---- Sidebar ---- */
.qap-sidebar {
  width: 260px;
  flex-shrink: 0;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 70px;
  height: calc(100vh - 170px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.qap-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 14px;
}
.qap-sidebar-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--ip-muted);
  line-height: 1;
}
.qap-cat-pills {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px;
  margin-bottom: 8px;
}
.qap-cat-pill {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  text-align: start;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.qap-cat-pill:hover { background: #f3f4f6; color: var(--ip-area-strong); }
.qap-cat-pill.active {
  background: var(--ip-area-soft);
  color: var(--ip-area-strong);
  font-weight: 600;
}
.qap-sidebar-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ip-muted);
  padding: 14px 12px 6px;
}
.qap-playlist-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
  flex: 1;
  min-height: 0;
}
.qap-pl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  width: 100%;
  text-align: start;
}
.qap-pl-item:hover { background: #f3f4f6; }
.qap-pl-item.active { background: var(--ip-area-soft); }
.qap-pl-item-cover {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}
.qap-pl-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #1c1c1c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}
.qap-pl-item-count {
  font-size: 11px;
  color: var(--ip-muted);
}
.qap-pl-item-actions {
  margin-inline-start: auto;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
}
.qap-pl-item:hover .qap-pl-item-actions { opacity: 1; }
.qap-pl-action-btn {
  background: none;
  border: none;
  padding: 3px 5px;
  border-radius: 6px;
  color: var(--ip-muted);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  transition: all 0.15s;
}
.qap-pl-action-btn:hover { background: rgba(0,0,0,0.07); color: #1c1c1c; }
.qap-pl-action-btn.danger:hover { color: #dc2626; }
.qap-create-playlist-btn {
  margin: 10px 8px 4px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1.5px dashed #d1d5db;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--ip-area-strong);
  cursor: pointer;
  transition: all 0.2s ease;
  width: calc(100% - 16px);
}
.qap-create-playlist-btn:hover {
  border-color: var(--ip-area-fill);
  background: var(--ip-area-soft);
}
.qap-signin-nudge {
  margin: 12px 8px 0;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Main content ---- */
.qap-content {
  flex: 1;
  min-width: 0;
  padding-block: 16px 16px; padding-inline: 20px 0;
}
.qap-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.qap-menu-toggle {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: #4b5563;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s;
}
.qap-menu-toggle:hover { background: #f3f4f6; }
.qap-topbar-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ip-muted);
  transition: border-color 0.2s;
}
.qap-topbar-search:focus-within {
  border-color: var(--ip-area-fill);
  box-shadow: 0 0 0 0.15rem color-mix(in srgb, var(--ip-area-fill) 12%, transparent);
}
.qap-topbar-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: #1c1c1c;
}
.qap-topbar-search input::placeholder { color: var(--ip-muted); }
.qap-view-btn {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--ip-muted);
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s;
}
.qap-view-btn:hover { background: #f3f4f6; color: #1c1c1c; }
.qap-view-btn.active { background: var(--ip-area-soft); color: var(--ip-area-strong); border-color: var(--ip-area-fill); }
.qap-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.qap-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 50rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.qap-chip:hover { border-color: var(--ip-area-fill); color: var(--ip-area-strong); }
.qap-chip.active {
  background: linear-gradient(135deg, var(--ip-area-fill), var(--ip-area));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--ip-area-fill) 22%, transparent);
}

/* Track Grid */
.qap-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.qap-track-grid.list-view {
  grid-template-columns: 1fr;
  gap: 6px;
}

/* Track Card (grid) */
.qap-track-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qap-track-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
  border-color: transparent;
}
.qap-track-card.playing {
  border-color: var(--ip-area-fill);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ip-area-fill) 18%, transparent), 0 8px 20px color-mix(in srgb, var(--ip-area-fill) 12%, transparent);
}
.qap-track-art {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.qap-track-art .qap-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 12px;
}
.qap-track-card:hover .qap-play-overlay,
.qap-track-card.playing .qap-play-overlay { opacity: 1; }
.qap-play-overlay i { color: #fff; font-size: 2rem; }
.qap-track-badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 50rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.qap-badge-quran  { background: var(--ip-area-fill); }
.qap-badge-naath  { background: #7c3aed; }
.qap-badge-hamd   { background: #d97706; }
.qap-track-body { flex: 1; min-width: 0; }
.qap-track-name {
  font-size: 13px;
  font-weight: 600;
  color: #1c1c1c;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qap-track-reciter {
  font-size: 12px;
  color: var(--ip-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qap-track-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.qap-track-dur { font-size: 11px; color: var(--ip-muted); }
.qap-track-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
}
.qap-track-card:hover .qap-track-actions { opacity: 1; }
.qap-track-action-btn {
  background: none;
  border: none;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ip-muted);
  font-size: 14px;
  line-height: 1;
  transition: all 0.15s;
}
.qap-track-action-btn:hover { background: rgba(0,0,0,0.06); color: #1c1c1c; }
/* Playing animation bars */
.qap-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 14px;
}
.qap-bar {
  width: 3px;
  border-radius: 2px;
  background: #fff;
  animation: qapBar 0.8s ease-in-out infinite alternate;
}
.qap-bar:nth-child(2) { animation-delay: 0.2s; }
.qap-bar:nth-child(3) { animation-delay: 0.4s; }
@keyframes qapBar {
  from { height: 4px; }
  to   { height: 14px; }
}

/* Track Card (list view) */
.qap-track-card.list-card {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
}
.qap-track-card.list-card .qap-track-art {
  width: 48px;
  height: 48px;
  aspect-ratio: unset;
  flex-shrink: 0;
  font-size: 1.2rem;
  border-radius: 10px;
}
.qap-track-card.list-card .qap-track-art .qap-play-overlay { border-radius: 10px; }
.qap-track-card.list-card .qap-track-actions { opacity: 1; }
.qap-track-card.list-card .qap-track-body { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.qap-track-card.list-card .qap-track-footer { flex-shrink: 0; }

/* Playlist detail */
.qap-playlist-detail-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 8px 0 28px;
  flex-wrap: wrap;
}
.qap-playlist-cover-lg {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--ip-area-fill), var(--ip-area));
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.qap-pl-tracklist {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qap-pl-track-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e9ecef;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.qap-pl-track-row:hover { background: #f9fafb; }
.qap-pl-track-row.playing { border-color: var(--ip-area-fill); background: var(--ip-area-soft); }
.qap-pl-track-row.drag-over { border-color: var(--ip-area-fill); background: var(--ip-area-soft); }
.qap-drag-handle {
  color: var(--ip-muted);
  cursor: grab;
  padding: 0 2px;
  font-size: 16px;
  flex-shrink: 0;
}
.qap-drag-handle:active { cursor: grabbing; }
.qap-pl-track-art {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.qap-pl-track-num {
  font-size: 13px;
  color: var(--ip-muted);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.qap-pl-remove-btn {
  background: none;
  border: none;
  padding: 5px 7px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ip-muted);
  font-size: 15px;
  line-height: 1;
  transition: all 0.15s;
  margin-inline-start: auto;
  opacity: 0;
  flex-shrink: 0;
}
.qap-pl-track-row:hover .qap-pl-remove-btn { opacity: 1; }
.qap-pl-remove-btn:hover { background: #fee2e2; color: #dc2626; }

/* ---- Sticky Player Bar ---- */
.qap-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #fff;
  border-top: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
  z-index: 1050;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.qap-player-track {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  max-width: 280px;
}
.qap-player-art {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ip-area-fill), var(--ip-area));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.qap-player-info { min-width: 0; flex: 1; }
.qap-player-title {
  font-size: 13px;
  font-weight: 600;
  color: #1c1c1c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qap-player-artist {
  font-size: 12px;
  color: var(--ip-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qap-heart-btn {
  background: none;
  border: none;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ip-muted);
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s;
  flex-shrink: 0;
}
.qap-heart-btn:hover { color: #dc2626; }
.qap-heart-btn.active { color: #dc2626; }
.qap-player-controls {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.qap-ctrl-btn {
  background: none;
  border: none;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  color: #4b5563;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qap-ctrl-btn:hover { background: #f3f4f6; color: #1c1c1c; }
.qap-ctrl-btn.active { color: var(--ip-area-strong); }
.qap-ctrl-sm { font-size: 16px; }
.qap-ctrl-play {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--ip-area-fill), var(--ip-area));
  color: #fff !important;
  border-radius: 50% !important;
  font-size: 18px;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ip-area-fill) 35%, transparent);
  transition: all 0.2s;
}
.qap-ctrl-play:hover { transform: scale(1.08); box-shadow: 0 6px 18px color-mix(in srgb, var(--ip-area-fill) 45%, transparent); }
.qap-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.qap-time { font-size: 11px; color: var(--ip-muted); flex-shrink: 0; width: 32px; text-align: center; }
.qap-progress-bar-wrap {
  flex: 1;
  height: 4px;
  background: #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.qap-progress-bar-wrap:hover { height: 6px; }
.qap-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ip-area-fill), var(--ip-area));
  border-radius: 4px;
  width: 0%;
  pointer-events: none;
}
.qap-progress-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--ip-area-fill);
  border-radius: 50%;
  display: none;
  pointer-events: none;
}
.qap-progress-bar-wrap:hover .qap-progress-thumb { display: block; }
.qap-player-extra {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 200px;
  justify-content: flex-end;
}
.qap-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
.qap-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--ip-area-fill);
  border-radius: 50%;
}

/* ---- Queue Panel ---- */
.qap-queue-panel {
  position: fixed;
  bottom: 82px;
  inset-inline-end: 12px;
  width: 300px;
  max-height: 420px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  z-index: 1049;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.qap-queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.qap-queue-list {
  overflow-y: auto;
  flex: 1;
  padding: 8px;
  scrollbar-width: thin;
}
.qap-queue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.qap-queue-item:hover { background: #f3f4f6; }
.qap-queue-item.active { background: var(--ip-area-soft); }
.qap-queue-art {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.qap-queue-title {
  font-size: 13px;
  font-weight: 600;
  color: #1c1c1c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qap-queue-sub {
  font-size: 11px;
  color: var(--ip-muted);
}

/* ---- Modals ---- */
.qap-color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.qap-color-dot:hover { transform: scale(1.1); }
.qap-color-dot.active { border-color: #1c1c1c; transform: scale(1.15); }
.qap-atp-list { display: flex; flex-direction: column; gap: 4px; max-height: 280px; overflow-y: auto; }
.qap-atp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.qap-atp-item:hover { background: #f3f4f6; }
.qap-atp-item.already-added { opacity: 0.45; cursor: not-allowed; }
.qap-atp-cover {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.qap-gate-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ip-area-fill), var(--ip-area));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto;
}

/* No-results */
.qap-empty {
  text-align: center;
  padding: 48px 20px;
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 991.98px) {
  .qap-sidebar {
    position: fixed;
    top: 0;
    inset-inline-start: -280px;
    height: 100%;
    width: 260px;
    background: #fff;
    z-index: 1100;
    border-inline-end: 1px solid #e9ecef;
    transition: left 0.3s ease, right 0.3s ease;
    padding-top: 60px;
  }
  .qap-sidebar.open { inset-inline-start: 0; }
  .qap-content { padding-inline-start: 0; }
  .qap-player-extra { display: none; }
  .qap-player-track { max-width: 160px; }
}
@media (max-width: 575.98px) {
  .qap-player-bar { padding: 0 12px; }
  .qap-track-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .qap-player-track { max-width: 120px; }
}

/* ============================================
   DUAS ENCYCLOPEDIA — duas.html
   ============================================ */

/* ---- Hero ---- */
.dua-hero {
  background: var(--ip-jewel);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.dua-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.dua-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  inset-inline-end: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ip-area) 12%, transparent);
  pointer-events: none;
}
.dua-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.dua-hero-text { flex: 1; min-width: 0; }
.dua-hero-desc { opacity: 0.88; }
.dua-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  flex-shrink: 0;
}
.dua-hero-stat {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  min-width: 100px;
}
.dua-hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.dua-hero-stat-label {
  font-size: 12px;
  opacity: 0.75;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- App Shell ---- */
.dua-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 16px 60px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ---- Sidebar ---- */
.dua-sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.dua-sidebar-inner {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  overflow: hidden;
}
.dua-sidebar-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: var(--ip-muted);
}
.dua-sidebar-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: #1c1c1c;
}
.dua-sidebar-search input::placeholder { color: var(--ip-muted); }
.dua-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ip-muted);
  padding: 14px 16px 6px;
}
.dua-cat-list { padding: 0 8px 8px; }
.dua-cat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: none;
  background: transparent;
  border-radius: 10px;
  text-align: start;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.18s ease;
}
.dua-cat-btn:hover { background: #f3f4f6; color: #1c1c1c; }
.dua-cat-btn.active { background: var(--ip-area-soft); color: var(--ip-area-strong); font-weight: 600; }
.dua-cat-btn .dua-cat-icon { font-size: 15px; flex-shrink: 0; }
.dua-cat-btn .dua-cat-label { flex: 1; }
.dua-cat-count {
  font-size: 11px;
  background: #f3f4f6;
  color: var(--ip-muted);
  border-radius: 50rem;
  padding: 1px 7px;
  font-weight: 600;
  flex-shrink: 0;
}
.dua-cat-btn.active .dua-cat-count { background: #d1fae5; color: var(--ip-area-strong); }
.dua-sidebar-footer {
  border-top: 1px solid #f0f0f0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dua-source-item {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--ip-muted);
}

/* ---- Content ---- */
.dua-content { flex: 1; min-width: 0; }
.dua-mobile-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.dua-sidebar-toggle-btn {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 50rem;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ip-area-strong);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.dua-sidebar-toggle-btn:hover { background: var(--ip-area-soft); }
.dua-mob-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 8px 14px;
  flex: 1;
  font-size: 14px;
  color: var(--ip-muted);
}
.dua-mob-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: #1c1c1c;
}
.dua-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.dua-results-dot { color: #d1d5db; margin: 0 6px; }
.dua-view-btn {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--ip-muted);
  font-size: 15px;
  line-height: 1;
  transition: all 0.2s;
}
.dua-view-btn:hover { background: #f3f4f6; color: #1c1c1c; }
.dua-view-btn.active { background: var(--ip-area-soft); color: var(--ip-area-strong); border-color: var(--ip-area-fill); }

/* ---- Dua List ---- */
.dua-list { display: flex; flex-direction: column; gap: 16px; }

/* ---- Dua Card ---- */
.dua-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-inline-start: 5px solid var(--dua-color, var(--ip-area-fill));
  border-start-start-radius: 0; border-start-end-radius: 18px; border-end-end-radius: 18px; border-end-start-radius: 0;
  padding: 24px 24px 20px;
  transition: all 0.25s ease;
  position: relative;
}
.dua-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.dua-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.dua-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50rem;
  background: var(--dua-bg, var(--ip-area-soft));
  color: var(--dua-color, var(--ip-area-strong));
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dua-num { font-size: 12px; color: var(--ip-muted); font-weight: 600; }
.dua-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0 0 6px;
}
.dua-when {
  font-size: 12px;
  color: var(--ip-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
/* Arabic block */
.dua-arabic-block {
  background: linear-gradient(135deg, var(--ip-area-soft), var(--ip-area-soft));
  border-radius: 14px;
  padding: 20px 24px 16px;
  margin-bottom: 16px;
  border: 1px solid color-mix(in srgb, var(--ip-area-fill) 10%, transparent);
}
.dua-arabic {
  font-family: 'Noto Naskh Arabic', 'Traditional Arabic', 'Arial Unicode MS', serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 2.1;
  color: var(--ip-area-deep);
  text-align: right;
  direction: rtl;
  margin: 0;
  unicode-bidi: embed;
}
/* Transliteration block */
.dua-latin-block { margin-bottom: 14px; }
.dua-trans-block { margin-bottom: 14px; }
.dua-latin-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ip-muted);
  margin-bottom: 5px;
}
.dua-transliteration {
  font-size: 14px;
  font-style: italic;
  color: #4b5563;
  margin: 0;
  line-height: 1.75;
}
.dua-translation {
  font-size: 14px;
  color: #374151;
  margin: 0;
  line-height: 1.75;
}
/* Note */
.dua-note {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #78350f;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}
/* Repeat tag */
.dua-repeat {
  display: inline-flex;
  align-items: center;
  background: #eff6ff;
  color: #1e40af;
  border-radius: 50rem;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 12px;
  gap: 5px;
}
/* Footer */
.dua-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
  flex-wrap: wrap;
}
.dua-source {
  font-size: 12px;
  color: var(--ip-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.dua-actions-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.dua-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 50rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1;
}
.dua-action-btn:hover { background: #f3f4f6; border-color: #d1d5db; color: #1c1c1c; }
.dua-action-btn.dua-audio-btn { color: var(--ip-area-strong); border-color: #a7f3d0; background: #f0fdf4; }
.dua-action-btn.dua-audio-btn:hover { background: #dcfce7; border-color: #6ee7b7; }
.dua-action-btn.dua-audio-btn.playing { background: linear-gradient(135deg,var(--ip-area-fill),var(--ip-area)); color: #fff; border-color: transparent; box-shadow: 0 4px 14px color-mix(in srgb, var(--ip-area-fill) 30%, transparent); }
.dua-icon-btn {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ip-muted);
  font-size: 15px;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.dua-icon-btn:hover { background: #f3f4f6; color: #1c1c1c; border-color: #d1d5db; }
.dua-icon-btn.bookmarked { background: #fef3c7; color: #d97706; border-color: #fde68a; }
/* Inline audio progress */
.dua-audio-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}
.dua-audio-bar-wrap {
  flex: 1;
  height: 4px;
  background: #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.dua-audio-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ip-area-fill), var(--ip-area));
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s linear;
  pointer-events: none;
}
.dua-audio-time { font-size: 11px; color: var(--ip-muted); white-space: nowrap; flex-shrink: 0; }
/* Share menu */
.dua-share-menu { min-width: 180px; }
.dua-share-menu .dropdown-item { font-size: 13px; padding: 8px 14px; }

/* Empty state */
.dua-empty {
  text-align: center;
  padding: 60px 20px;
}
.dua-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--ip-muted);
  margin: 0 auto;
}
/* Mobile overlay backdrop */
.dua-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1099;
  display: none;
}
.dua-sidebar-backdrop.show { display: block; }

/* Responsive */
@media (max-width: 991.98px) {
  .dua-shell { padding: 16px 12px 40px; gap: 0; }
  .dua-sidebar {
    position: fixed;
    top: 0;
    inset-inline-start: -280px;
    height: 100%;
    width: 260px;
    background: #fff;
    z-index: 1100;
    transition: left 0.3s ease, right 0.3s ease;
    border-radius: 0;
    max-height: 100%;
    border: none;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  }
  .dua-sidebar.open { inset-inline-start: 0; }
  .dua-sidebar-inner { border-radius: 0; border: none; height: 100%; overflow-y: auto; }
  .dua-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .dua-hero { padding: 40px 0 36px; }
  .dua-hero-stat { padding: 14px 16px; }
  .dua-hero-stat-num { font-size: 1.4rem; }
  .dua-arabic { font-size: 1.35rem; }
  .dua-card { padding: 16px 16px 14px; }
  .dua-arabic-block { padding: 14px 16px 12px; }
}

/* ============================================================
   ISLAMIC STORE
   ============================================================ */

/* ---- Delivery Banner ---- */
.store-delivery-banner {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  padding: .75rem 0;
}
.store-delivery-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}
.store-delivery-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
}
.store-delivery-item i { font-size: 1.3rem; color: var(--ip-area-strong); }
.store-delivery-item .fw-semibold { font-size: .85rem; }
.store-delivery-item small { color: var(--ip-muted); }

/* ---- Cart Icon Button ---- */
.store-cart-badge-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px; height: 22px;
  background: var(--ip-area-fill);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 50rem;
  padding: 0 6px;
}

/* ---- Cart Drawer ---- */
.store-cart-drawer { max-width: 380px; width: 100%; }
.cart-empty-icon { font-size: 3.5rem; color: #d1d5db; }
.store-cart-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.store-cart-item:last-child { border-bottom: none; }
.store-cart-item-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.store-cart-item-name { font-size: .85rem; font-weight: 600; line-height: 1.3; }
.store-cart-item-meta { font-size: .75rem; color: var(--ip-muted); }
.store-cart-item-total { font-size: .9rem; color: var(--ip-area-strong); white-space: nowrap; }
.store-cart-remove {
  background: none; border: none; padding: 4px; cursor: pointer;
  color: var(--ip-muted); transition: color .2s;
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
}
.store-cart-remove:hover { color: #dc2626; background: #fef2f2; }

/* ---- Section Styles ---- */
.store-section { padding-bottom: 3rem; }
.store-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--ip-card-bg, #fff);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}
.store-section-header-left { display: flex; align-items: center; gap: 1rem; }
.store-section-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.store-icon-green { background: #d1fae5; color: var(--ip-area-strong); }
.store-icon-red   { background: #fee2e2; color: #dc2626; }
.store-section-title { font-size: 1.4rem; font-weight: 700; }
.store-section-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 50rem;
  padding: .45rem 1rem;
}
.store-section-search i { color: var(--ip-muted); }
.store-search-input {
  border: none; background: transparent; outline: none;
  font-size: .875rem; width: 200px; color: #1c1c1c;
}

/* ---- Category Tabs ---- */
.store-tab-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.store-tab-wrap::-webkit-scrollbar { display: none; }
.store-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: nowrap;
  padding: .25rem 0;
}
.store-tab {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: .45rem 1rem;
  border-radius: 50rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.store-tab:hover { border-color: var(--ip-area-fill); color: var(--ip-area-strong); }
.store-tab.active { background: var(--ip-area-fill); border-color: var(--ip-area-fill); color: #fff; }

/* ---- Product Cards ---- */
.store-product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.store-product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.09); }
.store-product-img {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-radius: 0;
}
.store-product-body {
  padding: .875rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.store-product-cat { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ip-muted); margin-bottom: .3rem; }
.store-product-name { font-size: .88rem; font-weight: 600; line-height: 1.35; margin-bottom: .4rem; flex-grow: 1; }
.store-product-rating { font-size: .72rem; }
.store-price { font-size: 1.2rem; font-weight: 700; color: var(--ip-area-strong); line-height: 1.1; }
.store-price-cents { font-size: .75rem; }
.store-price-orig { font-size: .75rem; color: var(--ip-muted); text-decoration: line-through; }
.store-product-badge {
  position: absolute;
  top: 10px; inset-inline-start: 10px;
  font-size: .65rem;
  font-weight: 700;
  padding: .25rem .55rem;
  border-radius: 50rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-sale    { background: #fee2e2; color: #991b1b; }
.store-add-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--ip-area-fill);
  background: #fff;
  color: var(--ip-area-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.store-add-btn:hover { background: var(--ip-area-fill); color: #fff; }
.store-add-btn.store-add-btn-done { background: var(--ip-area-fill); color: #fff; border-color: var(--ip-area-fill); }

/* ---- Img color themes ---- */
.store-img-blue   { background: #eff6ff; color: #1d4ed8; }
.store-img-purple { background: #f5f3ff; color: #6d28d9; }
.store-img-green  { background: #ecfdf5; color: #065f46; }
.store-img-orange { background: #fff7ed; color: #9a3412; }
.store-img-teal   { background: #f0fdfa; color: #0f766e; }
.store-img-amber  { background: #fffbeb; color: #92400e; }
.store-img-red    { background: #fef2f2; color: #991b1b; }

/* ---- Halal Pills ---- */
.store-halal-pill {
  display: inline-flex;
  align-items: center;
  background: #d1fae5;
  color: #065f46;
  border-radius: 50rem;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .8rem;
}
.store-halal-pill-blue { background: #e0f2fe; color: #0369a1; }

/* ---- Meat Cards ---- */
.store-meat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.store-meat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.09); }
/* Meat card image */
.store-meat-img-wrap {
  position: relative;
  height: 185px;
  overflow: hidden;
  flex-shrink: 0;
}
.store-meat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.store-meat-card:hover .store-meat-img { transform: scale(1.06); }
.store-meat-img-badge {
  position: absolute;
  top: .625rem;
  inset-inline-end: .625rem;
  background: rgba(16,185,129,.88);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  backdrop-filter: blur(4px);
}
.store-meat-body {
  padding: .875rem 1.125rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.store-meat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .75rem;
}
.store-meat-category { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ip-muted); display: block; }
.store-meat-name { font-size: 1rem; font-weight: 700; line-height: 1.25; margin: .15rem 0 0; }
.store-meat-price-line { display: flex; align-items: baseline; gap: .2rem; margin-top: .25rem; }
.store-meat-price { font-size: 1.4rem; font-weight: 800; color: #dc2626; }
.store-meat-per { font-size: .78rem; color: var(--ip-muted); font-weight: 500; }
.store-meat-desc { font-size: .82rem; color: #4b5563; line-height: 1.5; flex-grow: 1; margin-bottom: .875rem; }
.store-meat-options { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1rem; }
.store-meat-opt-group { display: flex; flex-direction: column; gap: .3rem; }
.store-meat-label { font-size: .75rem; font-weight: 600; color: #374151; }
.store-meat-select {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: .4rem .65rem;
  font-size: .82rem;
  background: #f9fafb;
  color: #1c1c1c;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
}
.store-meat-select:focus { border-color: var(--ip-area-fill); }
.store-weight-picker {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.store-weight-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all .2s;
  flex-shrink: 0;
}
.store-weight-btn:hover { background: var(--ip-area-fill); color: #fff; border-color: var(--ip-area-fill); }
.store-weight-input {
  width: 70px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: .35rem .5rem;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  color: #1c1c1c;
  background: #fff;
  transition: border-color .2s;
  -moz-appearance: textfield;
}
.store-weight-input::-webkit-inner-spin-button,
.store-weight-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.store-weight-input:focus { border-color: var(--ip-area-fill); }
.store-meat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .875rem;
  border-top: 1px solid #f3f4f6;
}
.store-meat-total-label { font-size: .72rem; color: var(--ip-muted); }
.store-meat-total { font-size: 1.2rem; font-weight: 800; color: #dc2626; }
.store-add-meat-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  border: none;
  padding: .55rem 1.1rem;
  border-radius: 50rem;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.store-add-meat-btn:hover { background: linear-gradient(135deg, #b91c1c, #991b1b); transform: translateY(-1px); }

/* ---- Delivery Info Cards ---- */
.store-delivery-info { }
.store-info-card {
  display: flex;
  align-items: center;
  gap: .875rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem 1.25rem;
}
.store-info-card i { font-size: 1.5rem; flex-shrink: 0; }

/* ---- Meat section bg accent ---- */
.store-meat-section .store-section-header { border-inline-start: 4px solid #dc2626; }

/* ---- Main Store Tab Bar ---- */
.store-main-tab-bar {
  background: var(--ip-card-bg, #fff);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: .75rem 0;
  position: sticky;
  top: 60px;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.store-main-tabs {
  display: flex;
  gap: .75rem;
}
.store-main-tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.25rem;
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  text-align: start;
  transition: all .22s ease;
  position: relative;
  overflow: hidden;
}
.store-main-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .22s;
}
.store-main-tab[data-panel="shop"]::before  { background: linear-gradient(135deg, color-mix(in srgb, var(--ip-area-fill) 5%, transparent), color-mix(in srgb, var(--ip-area) 5%, transparent)); }
.store-main-tab[data-panel="meat"]::before  { background: linear-gradient(135deg, rgba(185,28,28,.05), rgba(220,38,38,.05)); }
.store-main-tab:hover::before, .store-main-tab.active::before { opacity: 1; }
.store-main-tab:hover {
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.07);
}
.store-main-tab[data-panel="shop"].active  { border-color: var(--ip-area-fill); background: #fff; box-shadow: 0 4px 16px color-mix(in srgb, var(--ip-area-fill) 14%, transparent); }
.store-main-tab[data-panel="meat"].active  { border-color: #dc2626; background: #fff; box-shadow: 0 4px 16px rgba(220,38,38,.14); }
.store-main-tab .store-section-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; font-size: 1.25rem; }
.store-main-tab-content { flex-grow: 1; }
.store-main-tab-title { font-size: .95rem; font-weight: 700; color: #1c1c1c; line-height: 1.2; }
.store-main-tab-sub { font-size: .75rem; color: var(--ip-muted); margin-top: .15rem; }
.store-main-tab[data-panel="shop"].active .store-main-tab-title  { color: var(--ip-area-strong); }
.store-main-tab[data-panel="meat"].active .store-main-tab-title  { color: #dc2626; }
.store-main-tab-arrow {
  font-size: .85rem;
  color: var(--ip-muted);
  transition: transform .2s, color .2s;
  flex-shrink: 0;
}
.store-main-tab.active .store-main-tab-arrow  { transform: rotate(90deg); }
.store-main-tab[data-panel="shop"].active .store-main-tab-arrow { color: var(--ip-area-strong); }
.store-main-tab[data-panel="meat"].active .store-main-tab-arrow { color: #dc2626; }

/* Panel fade-in animation */
.store-main-panel { animation: none; }
.store-panel-fade  { animation: storePanelFade .3s ease forwards; }
@keyframes storePanelFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== PRODUCT DETAIL MODAL ===== */
/* Cards become clickable */
.store-product-card { cursor: pointer; }
.store-meat-img-wrap { cursor: pointer; }

/* ===== GALLERY MODAL ===== */
/* Photo hint on shop product icon area */
.store-product-img { position: relative; overflow: hidden; cursor: pointer; }
.store-product-img::after {
  content: '\1F4F7\00a0Photos';
  position: absolute;
  bottom: .5rem;
  inset-inline-end: .5rem;
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 50rem;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  z-index: 1;
}
.store-product-img:hover::after { opacity: 1; }
/* Photo hint on meat image */
.store-meat-img-wrap::after {
  content: '\1F4F7\00a0Photos';
  position: absolute;
  bottom: .5rem;
  inset-inline-start: .5rem;
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 50rem;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  z-index: 3;
}
.store-meat-img-wrap:hover::after { opacity: 1; }
/* Gallery lightbox */
.gallery-mc {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  background: #0d0d0d;
}
.gallery-x {
  position: absolute;
  top: .75rem;
  inset-inline-end: .75rem;
  z-index: 20;
  filter: invert(1);
  opacity: .75;
}
.gallery-x:hover { opacity: 1; }
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .875rem .875rem; padding-inline: 1.25rem 3rem;
  background: #161616;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.gallery-title {
  font-weight: 600;
  color: #e2e8f0;
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 64px);
}
.gallery-count {
  font-size: .78rem;
  color: var(--ip-muted);
  flex-shrink: 0;
}
.gallery-main {
  position: relative;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 62vh;
  overflow: hidden;
}
.gallery-main-img {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
  user-select: none;
  transition: opacity .12s ease;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  transition: background .18s;
  backdrop-filter: blur(6px);
}
.gallery-nav:hover { background: rgba(255,255,255,.28); }
.gallery-prev { inset-inline-start: .875rem; }
.gallery-next { inset-inline-end: .875rem; }
.gallery-thumbs {
  display: flex;
  gap: .5rem;
  padding: .625rem 1rem;
  background: #161616;
  overflow-x: auto;
  justify-content: center;
  min-height: 70px;
  align-items: center;
}
.gallery-thumbs::-webkit-scrollbar { height: 3px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: #2c2c2c; border-radius: 50rem; }
.gallery-thumb {
  width: 68px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2.5px solid transparent;
  opacity: .5;
  transition: opacity .2s, border-color .2s;
  flex-shrink: 0;
}
.gallery-thumb:hover { opacity: .82; }
.gallery-thumb.active { border-color: var(--ip-area); opacity: 1; }

/* ==============================================================
   STORE NAV LINK — visual prominence on all pages
   ============================================================== */

/* ==============================================================
   HOMEPAGE STORE SPOTLIGHT
   ============================================================== */
.hp-store-card {
  display: flex;
  flex-direction: column;
  background: var(--ip-card-bg, #fff);
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.hp-store-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.1); border-color: var(--ip-area-fill); }
.hp-store-meat-card:hover { border-color: #dc2626; }
.hp-store-card-img {
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.hp-store-badge {
  position: absolute;
  top: 10px; inset-inline-start: 10px;
  font-size: .65rem; font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 50rem;
}
.badge-sale { background: #fee2e2; color: #b91c1c; }
.hp-store-card-body { padding: .875rem 1rem; flex: 1; display: flex; flex-direction: column; }
.hp-store-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ip-muted); margin-bottom: .2rem; }
.hp-store-name { font-size: .88rem; font-weight: 600; line-height: 1.3; flex: 1; margin-bottom: .3rem; color: #1c1c1c; }
.hp-store-cta { font-size: .78rem; font-weight: 600; color: var(--ip-area-strong); white-space: nowrap; }

/* ==============================================================
   CART QTY CONTROLS (shared: store.html + store-item.html)
   ============================================================== */
.sip-cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.sip-cart-qty-btn {
  background: none;
  border: none;
  width: 26px; height: 26px;
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.sip-cart-qty-btn:hover { background: #f3f4f6; }
.sip-cart-qty-num { font-size: .85rem; font-weight: 600; min-width: 22px; text-align: center; color: #1c1c1c; }

/* ==============================================================
   STORE ITEM DETAIL PAGE (sip-*)
   ============================================================== */

.sip-back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--ip-muted);
  font-size: .85rem;
  text-decoration: none;
  transition: color .2s;
  margin-bottom: 1.1rem;
}
.sip-back-link:hover { color: var(--ip-area-strong); }

.sip-img-col {
  position: sticky;
  top: 85px;
}
.sip-main-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  border: 1.5px solid #e5e7eb;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sip-main-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
  transition: opacity .15s;
}
.sip-icon-display {
  width: 160px; height: 160px;
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.sip-gallery-btn {
  position: absolute;
  bottom: .75rem; inset-inline-end: .75rem;
  background: rgba(0,0,0,.62);
  color: #fff;
  border: none;
  border-radius: 50rem;
  padding: .3rem .8rem;
  font-size: .73rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.sip-gallery-btn:hover { background: rgba(0,0,0,.85); color: #fff; }
.sip-halal-badge {
  position: absolute;
  top: .75rem; inset-inline-end: .75rem;
  background: rgba(16,185,129,.9);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(4px);
}
.sip-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .625rem;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.sip-thumbs::-webkit-scrollbar { display: none; }
.sip-thumb {
  width: 68px; height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 2.5px solid transparent;
  cursor: pointer;
  opacity: .5;
  flex-shrink: 0;
  transition: opacity .2s, border-color .2s;
}
.sip-thumb:hover { opacity: .82; }
.sip-thumb.active { border-color: var(--ip-area-fill); opacity: 1; }

.sip-trust-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.sip-trust-pill {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 500;
  color: #374151;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 50rem;
  padding: .2rem .7rem;
}

.sip-badge {
  display: inline-block;
  font-size: .63rem; font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 50rem;
  vertical-align: middle;
  margin-inline-start: .4rem;
}
.sip-price-wrap { display: flex; align-items: baseline; gap: .625rem; margin-bottom: 1rem; flex-wrap: wrap; }
.sip-price { font-size: 2rem; font-weight: 800; color: var(--ip-area-strong); line-height: 1; }
.sip-price-unit { font-size: .9rem; color: var(--ip-muted); font-weight: 500; }
.sip-price-orig { font-size: .95rem; color: var(--ip-muted); text-decoration: line-through; }
.sip-savings {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: .72rem; font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 50rem;
}
.sip-desc { color: #4b5563; line-height: 1.65; font-size: .925rem; margin-bottom: .875rem; }
.sip-features { list-style: none; padding: 0; margin-bottom: .875rem; }
.sip-features li { display: flex; align-items: flex-start; gap: .4rem; font-size: .9rem; color: #374151; margin-bottom: .3rem; }
.sip-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem .875rem;
  font-size: .83rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: .75rem 1rem;
  margin-bottom: .875rem;
}
.sip-specs dt { color: var(--ip-muted); font-weight: 600; white-space: nowrap; }
.sip-specs dd { color: #1c1c1c; margin: 0; }

.sip-qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.sip-qty-btn {
  background: #f9fafb;
  border: none;
  width: 36px; height: 36px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.sip-qty-btn:hover { background: #f3f4f6; }
.sip-qty-input {
  border: none;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  width: 52px; height: 36px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  background: #fff;
  color: #1c1c1c;
  -moz-appearance: textfield;
}
.sip-qty-input::-webkit-inner-spin-button,
.sip-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.sip-atc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--ip-area-fill);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: .875rem 1.5rem;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  margin-bottom: .5rem;
}
.sip-atc-btn:hover { background: var(--ip-area-fill); color: #fff; }
.sip-atc-meat { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.sip-atc-meat:hover { background: linear-gradient(135deg, #b91c1c, #991b1b); }
.sip-browse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  border: 1.5px solid #e5e7eb;
  color: #374151;
  border-radius: 12px;
  padding: .65rem 1.5rem;
  font-size: .9rem; font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  margin-bottom: .5rem;
}
.sip-browse-btn:hover { border-color: var(--ip-area-fill); color: var(--ip-area-strong); }
.sip-related { background: #f9fafb; border-top: 1px solid #e5e7eb; }
.sip-del-progress { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: .625rem .875rem; }

/*Student Dashboard*/

.salat_accordion .accordion-button:not(.collapsed) {
    background-color: var(--ip-area-soft);
}
.salat_accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgb(0 137 89 / 21%);
}

.SalatStepsSidebar {
        background: #fff;
      }

.SalatStepsScroll {
        scrollbar-width: thin;
        scrollbar-color: #d8d8d8 transparent;
}

.SalatStepsScroll::-webkit-scrollbar {
        width: 6px;
}

.SalatStepsScroll::-webkit-scrollbar-thumb {
        background: #d8d8d8;
        border-radius: 20px;
}

.SalatStepsScroll::-webkit-scrollbar-track {
        background: transparent;
}

.SalatStepsSidebar .step-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding:10px;
        text-decoration: none;
        color: #212529;
        margin-bottom:2px;
        transition: .25s;
}

.SalatStepsSidebar .step-item:hover {
        background: #f8f9fa;
}

.SalatStepsSidebar .step-circle {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #ECEEF2;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        flex-shrink: 0;
}

.SalatStepsSidebar .step-number {
        width: 16px;
        font-weight: 600;
        color: #6c757d;
        flex-shrink: 0;
        text-align: center;
}

.SalatStepsSidebar .step-item.completed .step-circle {
        background: var(--ip-area-fill);
        color: #fff;
}

.SalatStepsSidebar .step-item.active {
      background: var(--ip-area-soft);
      border-left: solid 1px var(--ip-area-fill);
}

.SalatStepsSidebar .step-item.active .step-circle {
        background: var(--ip-area-fill);
        color: #fff;
}

.SalatStepsSidebar small {
        display: block;
        color: #6c757d;
        line-height: 1.2;
}
.SalatStepsTimeline {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
}

.SalatStepsTimeline::-webkit-scrollbar {
        display: none;
}

.SalatStepsTimeline>div {
        min-width: 700px;
}