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;
}
.font-cinzel { font-family: "Cinzel", serif; }

/* Quran / Arabic text font */
[lang="ar"],
.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: 0.35rem 0.85rem 0.35rem 0.4rem;
  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, #1f8a4c, #2eb872);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(46, 184, 114, 0.35);
}
.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: #1f7a63;
}
.text-gold-theme{
  color: #e6b85c;
}
.text-body-theme{
  color: #9ca3af;
}
.size-50{
  width: 50px;
  height: 50px;
}
.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: #1f7a63;
  color: #1f7a63;
}
.btn-success {
  background-color: #1f7a63;
  border-color: #1f7a63;
}
.btn-success:hover,
.btn-success:active,
.btn-success:focus,
.btn-outline-success:hover,
.btn-outline-success:active,
.btn-outline-success:focus {
  background-color: #16624f;
  border-color: #16624f;
  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: #16624f;
  border-color: #16624f;
  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, #1f7a63 0%, #2eb872 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-navbar .navbar-brand {
  transition: opacity .2s;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ip-navbar .navbar-brand:hover { opacity: .85; }
.ip-brand-name {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0d3b29;
  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 */
.ip-navbar.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}
.ip-navbar.search-overlay.active {
  opacity: 1;
  visibility: visible;
}


.search-overlay-content {
  width: 60%;
  max-width: 600px;
  position: relative;
}
.search-overlay input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 50px;
  border: none;
  font-size: 18px;
  outline: none;
}
.search-overlay i {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  color: #9ca3af;
}
.theme-toggle {
  width: 50px;
  height: 25px;
  background: #e2e8f0;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
}
.theme-toggle .toggle-circle {
  width: 20px;
  height: 20px;
  background: #fff;
  position: absolute;
  top: 2.5px;
  left: 3px;
  border-radius: 50%;
  transition: 0.3s;
}
.theme-toggle .icon {
  position: absolute;
  top: 6px;
  font-size: 12px;
}
.theme-toggle .sun {
  left: 6px;
  color: orange;
}
.theme-toggle .moon {
  right: 6px;
  opacity: 0;
}
.ip-navbar .search-icon {
  cursor: pointer;
}
.ip-navbar .navbar-toggler:focus {
  box-shadow: none;
}
/* MOBILE OFFCANVAS FIX */
.ip-navbar .offcanvas {
  width: 280px;
}
.ip-navbar .offcanvas .nav-link {
  padding: 10px 0;
}
#themeToggleMobile {
  transform: scale(0.9);
}
.ip-navbar .accordion-btn i {
  transition: 0.3s ease;
}
.ip-navbar .accordion-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.ip-navbar .offcanvas-header {
  color: #9ca3af;
}
.ip-navbar .navbar-nav .nav-link {
  position: relative;
  padding: 8px 15px;
  border-radius: 9px;
  transition: color 0.2s ease, background 0.2s ease;
  color: #111827;
  font-weight: 600;
  font-size: 0.895rem;
  letter-spacing: 0.008em;
}
.ip-navbar .navbar-nav .nav-link:hover {
  color: #1f7a63;
  background: rgba(31,122,99,.09);
}
.ip-navbar .navbar-nav .nav-link.active {
  color: #1f7a63;
  background: rgba(31,122,99,.13);
  font-weight: 700;
}
/* Keep dropdown arrow visible on active dropdown toggles */
.ip-navbar .navbar-nav .nav-link.active::after {
  display: none;
}
.ip-navbar .navbar-nav .nav-link.active.dropdown-toggle::after {
  display: inline-block;
}
/* Navbar action buttons */
.ip-navbar .navbar-collapse > div .btn {
  white-space: nowrap;
}
.ip-navbar .navbar-collapse > div .btn-outline-secondary {
  border-color: #d1d5db;
  color: #374151;
  font-weight: 600;
  border-radius: 10px;
  padding: 7px 18px;
  font-size: .875rem;
  transition: background .18s, border-color .18s, color .18s;
}
.ip-navbar .navbar-collapse > div .btn-outline-secondary:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111;
}
.ip-navbar .navbar-collapse > div .btn-success {
  font-weight: 700;
  border-radius: 10px;
  padding: 7px 18px;
  font-size: .875rem;
  letter-spacing: 0.01em;
}
@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: #9ca3af;
  margin-bottom: 16px;
  position: relative;
}

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

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 30px;
  height: 2px;

  background: #1f7a63;

  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: rgba(31,122,99,.08);
  color: #1f7a63;
  transform: translateX(3px);
}
.ip-navbar .mini-dropdown .dropdown-menu{
    padding: 8px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    animation: drop 0.25s ease;
}
.ip-navbar .mini-dropdown .dropdown-item {
    border-radius: 6px;
    color: #9ca3af;
    font-size: 14px;
}
.ip-navbar .mini-dropdown .dropdown-item.active,
.ip-navbar .mini-dropdown .dropdown-item:active {
    background-color:#1f7a63;
    color: #fff;
}


/* Quick Start SECTION */
.QuickStart {
  background-color: #fff;
}
.qs-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qs-header h5,
.qs-header h6 {
  color: #1c1c1c;
}
.qs-header small {
  color: #9ca3af;
}

.qs-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* SLICK SHADOW FIX */
.qs-slider .slick-list {
  margin: -15px 0;
}
.qs-slider .slick-slide {
  padding: 15px 10px;
}
.qs-card {
  border-radius: 12px;
  padding:15px 10px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  border: solid 1px #eff3fd;
}
.qs-card h6 {
  font-size: 12px;
  font-weight: 500;
  min-height: 35px;
  margin: 0;
}
.qs-card .arrow {
  font-size: 14px;
  transition: transform 0.35s ease;
  line-height: 14px;
}
.qs-card .icon {
  font-size:30px;
  margin-bottom:13px;
  display: inline-block;
  background: none;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.35s ease;
}
/* 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: #eefaf0;
}
.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-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(76, 175, 80, 0.2),
    rgba(33, 150, 243, 0.2),
    rgba(255, 152, 0, 0.2)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.qs-link:hover .qs-card {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* balanced shadow */
}
.qs-link:hover .qs-card::before {
  opacity: 1;
}
.qs-link:hover .icon {
  transform: scale(1.12);
}
.qs-link:hover .arrow {
  transform: translateX(5px); /* smooth */
}
/* Slick arrows */
/*.slick-prev:before,
.slick-next:before {
  color: #000;
  font-size: 22px;
}*/
.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  z-index: 99;
}

.slick-prev:before, .slick-next:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: #000;
    opacity: 1;
    background: #fff;
    box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    line-height: 30px;
    text-align: center;
}

.slick-prev:before {
  content: "\f104"; /* fa-angle-left */
}

.slick-next:before {
  content: "\f105"; /* fa-angle-right */
}



/* LEARNING PATH */
.LearningPath .lp-card {
    position: relative;
    display: block;
    border-radius: 16px;
    padding:12px 15px;
    min-height: 128px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: solid 1px #ebe7fd;
}
.LearningPath .lp-content {
    position: relative;
    z-index: 2;
    width: 60%;
}
.LearningPath .lp-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

}
.LearningPath .lp-desc {
    font-size: 13px;
    color: #555;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.LearningPath .lp-progress {
    margin-top: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.LearningPath .progress-bar {
    border-radius: 10px;
}
.LearningPath .lp-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 0.9;
    z-index: 1;
}
.LearningPath .lp-1::after {
    background-image: url("../images/bg-1.png");
}

.LearningPath .lp-2::after {
    background-image: url("../images/bg-2.png");
}

.LearningPath .lp-3::after {
    background-image: url("../images/bg-3.png");
}

.LearningPath .lp-4::after {
    background-image: url("../images/bg-4.png");
}
.LearningPath .lp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}
.LearningPath .lp-card:hover::after {
    transform: scale(1.05);
    transition: 0.3s ease;
}
.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;
    left: 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;
    right: -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 .slick-slide {
    padding: 10px;
}

.FeaturedCourses .slick-track {
    display: flex !important;
}

.FeaturedCourses .slick-slide > div {
    height: 100%;
}
.FeaturedCourses .slick-list {
    overflow: hidden;
    padding:0px; 
}
.FeaturedCourses .slick-slide {
    padding: 15px 10px; 
}
.FeaturedCourses .fc-card {
    position: relative;
    z-index: 1;
}
.FeaturedCourses .fc-card:hover {
    z-index: 5;
}



.btn{
  font-size: 14px;
}

.quran-card {
    width: 100%;
    background-image: url(../images/Qleft-bg.png), url(../images/Qright-bg.png);
    background-position: left top, right center;
    background-repeat: no-repeat, no-repeat;
    background-size: 470px auto, 437px auto;
}
.quran-card ul {
  list-style: none;
}

.quran-hadith-card {
  background-image: url('../images/left-book.png'), url('../images/right-pattern.png');
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right top;
  background-size: 660px auto, 400px auto;
}

.revert-guide-section {
    background-image: url(../images/left-revert.png), url(../images/right-pattern.png);
    background-repeat: no-repeat, no-repeat;
    background-position: left top, right top;
    background-size: auto 162px, 400px auto;
    padding-left: 300px;
}
.store-card {
  border-radius: 12px;
  transition: all 0.3s ease;
  background:linear-gradient(to right, #fff9f2 0%, #f8f4ff 50%, #f5f7ff 100%);
}
.store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.store-card h6{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
}
.store-card img {
    display: block;
    height: 70px;
    object-fit: contain;
}

/* ===== FOOTER WRAPPER ===== */
.Footer .footer-box {
  background-image: url(../images/fot-bg.png);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}
.Footer a:has(.ip-logo-footer) {
  text-decoration: none;
}
.Footer .footer-links a {
    text-decoration: none;
    color: #1c1c1c;
    transition: 0.25s;
    margin-bottom: 2px;
    display: block;
}

.Footer .footer-links a:hover {
  color: #198754;
  padding-left: 5px;
}
.Footer .form-control:focus {
    border-color: #66cccc;
    box-shadow: 0 0 0 .15rem rgba(31, 122, 99, .25);
}

/* SOCIAL */
.IslamicSocial a {
    color: #1c1c1c;
    font-size: 14px;
    transition: 0.25s;
    width: 35px;
    height: 35px;
    border: solid 1px #dde2e6;
    text-align: center;
    border-radius: 100px;
    line-height: 34px;
}
.IslamicSocial a:hover {
  color: #198754;
  transform: translateY(-2px);
}



#goTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: #1f7a63;
  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: #16624f;
}

/*Hero Slider*/
.heroSlider .hero-image{
  height: 220px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  transition: transform 1.2s ease;
}
/* ZOOM 3% */
.heroSlider .carousel-item.active .hero-image{
  transform: scale(1.005);
}


.heroSlider .carousel-item h1,
.heroSlider .carousel-item p,
.heroSlider .carousel-item .btn,
.heroSlider .carousel-item .kpi{
  opacity: 0;
  transform: translateY(20px);
}

.heroSlider .carousel-item.active h1{
  animation: fadeUp 0.6s ease forwards 0.2s;
}
.heroSlider .carousel-item.active p{
  animation: fadeUp 0.6s ease forwards 0.4s;
}
.heroSlider .carousel-item.active .btn{
  animation: fadeUp 0.6s ease forwards 0.6s;
}
.heroSlider .carousel-item.active .kpi{
  animation: fadeUp 0.6s ease forwards 0.8s;
}

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


.heroSlider .kpi-box{
  transition: 0.25s;
}
.heroSlider .kpi-box:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

/* DOTS */
.heroSlider .carousel-indicators{
  bottom: -52px;
}
.heroSlider .carousel-indicators [data-bs-target]{
  background-color: #198754;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0.4;
}
.heroSlider .carousel-indicators .active{
  opacity: 1;
  transform: scale(1.2);
}

/* ARROWS */
.heroSlider .carousel-control-prev-icon,
.heroSlider .carousel-control-next-icon{
  filter: invert(1);
  opacity: 0.5;
}
.heroSlider .carousel-control-prev:hover .carousel-control-prev-icon,
.heroSlider .carousel-control-next:hover .carousel-control-next-icon{
  opacity: 1;
}

.HeroSlider-Img-1{
  background-image: url(../images/hero.png);
}
.HeroSlider-Img-2{
  background-image: url(../images/hero2.png);
}
/*Hero Slider*/


/*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;
}
.search_wrap{
    max-width: 700px;
    margin: auto;
    background-color: #fff;
}
.inner_hero .btn{
    transition: all .3s ease !important;
}

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

/* SIDEBAR LINKS */
.sidebar_link{
    background: transparent;
    color: #212529;
    padding:10px 12px;
    border-radius: 14px;
    transition: all .3s ease;
}

.sidebar_link:hover{
    background: #ede9fe;
    transform: translateX(3px);
}

.sidebar_link.active{
    background: #e9ddff;
}

.sidebar_link .badge{
    background: #d6d6d6;
    color: #212529;
}

.sidebar_link.active .badge{
    background: #7c3aed;
    color: #fff;
}
/* CUSTOM CHECKBOX */
.custom_checkbox{
    --checkbox-color: #198754;
}

.custom_checkbox .form-check{
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom_checkbox .form-check-input{
    width: 18px;
    height: 18px;
    border: 2px solid #cfcfcf;
    cursor: pointer;
    transition: all .25s ease;
}

.custom_checkbox .form-check-input:checked{
    background-color: var(--checkbox-color);
    border-color: var(--checkbox-color);
    box-shadow: none;
}

.custom_checkbox .form-check-input:focus{
    box-shadow: none;
    border-color: var(--checkbox-color);
}

.custom_checkbox .form-check-label{
    cursor: pointer;
    transition: all .25s ease;
}

.custom_checkbox .form-check:hover .form-check-label{
    color: var(--checkbox-color);
}
.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_thumb{
    height: 150px;
    overflow: hidden;
}

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

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


.course_title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height:41px;
}


.course_desc{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}
.wishlist_btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    position: absolute;
    top: 12px;
    right: 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: #adb5bd;
}

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

.islamicBread .breadcrumb-item a:hover{
    color:#1f7a63;
}

.islamicBread .breadcrumb-item.active{
    color:#1f7a63;
    font-weight: 500;
}
.hero_rating i{
font-size: 14px;
}
.hero_creator img{
width: 34px;
height: 34px;
object-fit: cover;
}
.courseLearnBox{
transition: .25s ease;
}
.courseLearnBox:hover{
transform: translateY(-2px);
}
.learn_item i{
color: #198754;
font-size: 18px;
margin-top: 2px;
flex-shrink: 0;
}
.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: #e8f3f0;
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: left;
}
.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_left{
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;

}
.lecture_left i{
font-size: 17px;
flex-shrink: 0;
}
.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: #198754;
font-weight: 500;
}
.lecture_right span{
color: #6b7280;
}
.viewAll_sections{
font-size: 14px;
font-weight: 500;
text-decoration: none;
color: #198754;
}
.courseInstructorSection{
transition: .25s ease;
}
.courseInstructorSection:hover{
transform: translateY(-2px);
}
.instructor_left{
width: 190px;
flex-shrink: 0;
}
.instructor_img img{
width: 110px;
height: 110px;
object-fit: cover;
}
.instructor_stats{
display: flex;
flex-direction: column;
gap:8px;
}
.instructor_stat_item{
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;
}
.instructor_stat_item i{
color: #198754;
font-size: 15px;
}
.feedback_left{
border-right: 1px solid #eee;
padding: 20px;
}
.feedback_rating{
font-size: 48px;
font-weight: 700;
line-height: 1;
}
.feedback_stars i{
color: #fbbf24;
font-size: 16px;
margin: 0 1px;
}
.feedback_right{
padding: 10px 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 12px;
}
.rating_row{
display: flex;
align-items: center;
gap: 10px;
}
.rating_label{
width: 45px;
}
.progress_feed{
flex: 1;
height: 6px;
background: #e5e7eb;
border-radius: 20px;
overflow: hidden;
}
.progress_feed-bar{
background: #198754;
height: 100%;
border-radius: 20px;
}
.rating_percent{
width: 40px;
}
.courseReviewSection{
background: transparent;
}
.review_card{
transition: .2s ease;
min-height: 100%;
}
.review_card:hover{
transform: translateY(-2px);
}
.review_avatar img{
width: 60px;
height: 60px;
object-fit: cover;
}
.courseSidebar{
position: sticky;
top: 20px;
z-index: auto;
}
.enroll_card{
background: #e9f8ee;
border: 1px solid #d6f5df;
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: #198754;
}
.sidebar_actions a{
text-decoration: none;
font-size: 14px;
color: #198754;
transition: .2s ease;
}
.sidebar_actions a:hover{
opacity: 0.7;
}
.community_box{
background: #fff3e6;
border: 1px solid #ffe0b3;
transition: .25s ease;
}
.community_box:hover{
transform: translateY(-2px);
}
.Mega_Menu_desc {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
}
.Mega_Menu_icon {
    width: 28px;
    height: 28px;
}
.localTabs{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
}

/* ====================================
   LEFT SIDEBAR
==================================== */

.localTabs .tabsSidebar{
    background:#f8fbfa;
    position:relative;
    overflow:hidden;

    padding:24px;

    display:flex;
    flex-direction:column;

    min-height:700px;
}

/* ====================================
   TABS
==================================== */

.localTabs .nav-pills{
    gap:14px;
    position:relative;
    z-index:2;
}

.localTabs .nav-link{
    width:100%;
    text-align:left;

    border:1px solid #e5e7eb;
    border-radius:14px;

    background:#fff;
    color:#1f2937;

    padding:16px;

    transition:.3s ease;
}

.localTabs .nav-link:hover{
    border-color:#cfd4dc;
}

.localTabs .nav-link.active{
    background:#f2fbf6;
    border-color:#22a06b;
    border-left:5px solid #22a06b;
    color:#1f2937;
}

.localTabs .tabItem{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.localTabs .tabIcon{
    width:52px;
    height:52px;
    min-width:52px;

    border-radius:12px;

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

    font-size:22px;
}

.localTabs .tabTitle{
    font-size:16px;
    font-weight:600;
    margin-bottom:4px;
}

.localTabs .tabDesc{
    font-size:13px;
    color:#6b7280;
    margin:0;
}

/* ====================================
   BOTTOM MOSQUE AREA
==================================== */

.localTabs .sidebarBottom{

    margin-top:auto;

    min-height:440px;

    display:flex;
    align-items:flex-end;

    margin-left:-24px;
    margin-right:-24px;
    margin-bottom:-24px;

    padding:24px;

    background:url('../images/localTabsBg.png') center bottom no-repeat;
    background-size:cover;
}

/* ====================================
   QUICK SUMMARY CARD
==================================== */

.localTabs .summaryCard{

    width:100%;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(8px);

    border-radius:18px;

    padding:22px;

    border:1px solid rgba(255,255,255,.8);

    box-shadow:0 10px 30px rgba(0,0,0,.06);
}



.localTabs .summaryCard ul{
    margin:0;
    padding:0;
    list-style:none;
}

.localTabs .summaryCard li{

    display:flex;
    align-items:flex-start;
    gap:10px;

    margin-bottom:14px;

    color:#4b5563;
    font-size:14px;
}

.localTabs .summaryCard li:last-child{
    margin-bottom:0;
}

.localTabs .summaryCard li i{
    margin-top:2px;
}

/* ====================================
   CONTENT AREA
==================================== */

.localTabs .contentArea{
    min-height:700px;
    background:#fff;
    padding:40px;
}

.localTabs .contentArea h2{
    font-weight:700;
    margin-bottom:15px;
}


.localTabs .nav-link.active{
    position:relative;
    overflow:visible;
}

/* Arrow container */
.localTabs .nav-link.active::after{
    content:"\f285"; /* bootstrap bi-chevron-right */
    font-family:"bootstrap-icons";

    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);

    width:30px;
    height:30px;

    background:#fff;

    border-radius:50%;

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

    font-size:14px;
    color:#22a06b;
}
.localTabs .nav-link.active::after{
    transition:.2s ease;
}
/* ===============================
   WHAT IS SHAHADAH SECTION
=============================== */

.overviewIntro{
    margin-bottom:50px;
}

.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
========================================= */

.declarationTab{
    display:flex;
    flex-direction:column;
    gap:10px;
}






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

.arabicCard{
    background:#164e3c;
    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:#195543;
    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:#22a06b;
}


/* =========================================
   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;

    background:url("images/reflect-bg.png") no-repeat center;
    background-size:contain;

    opacity:0.08;
}

.Transliteration_Translation {
    background: #1a5644;
    border: solid 1px #2f634d;
}
.shahadah-meaning-tab .icon-wrap{
    width:46px;
    height:46px;
    border-radius:12px;
}
/* Sidebar background (bottom illustration hook) */
.sidebar-whatIslam{
    background-image: url("../images/sidebar-whatIslam.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
}

/* Right content background hook (per tab images later) */
.content-area-whatIslam{
    position: relative;
    overflow: hidden;
}

/* 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 #198754;
    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;
}
.sidebar-whatIslam .nav-pills .nav-link.active,
.sidebar-whatIslam .nav-pills .show>.nav-link {
    background-color: #1f7a63;
    color: #fff;
}
.sidebar-whatIslam .nav-link:focus,
.sidebar-whatIslam .nav-link:hover {
    color:#1f7a63;
}
.sidebar-whatIslam{min-height: 550px}


.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 #198754 !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, #f0faf5 0%, #e8f5fb 50%, #f5f0ff 100%);
  border: 1px solid rgba(31, 122, 99, 0.08);
}
.qr-hero-content {
  padding: 40px 40px 40px 48px;
}
.qr-hero-deco {
  position: absolute;
  top: -20px;
  right: 5%;
  font-size: 18rem;
  font-family: "Noto Naskh Arabic", serif;
  color: rgba(31, 122, 99, 0.04);
  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: #9ca3af;
  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, #1f8a4c 0%, #2eb872 100%);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(31, 138, 76, 0.3);
}
.qr-step-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(0,0,0,0.04);
  position: absolute;
  top: 12px;
  right: 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-filter-bar .form-control,
.qr-filter-bar .form-select {
  font-size: 14px;
  border-radius: 10px;
  border-color: #e5e7eb;
}
.qr-filter-bar .form-control:focus,
.qr-filter-bar .form-select:focus {
  border-color: #1f7a63;
  box-shadow: 0 0 0 0.15rem rgba(31,122,99,0.15);
}
.qr-filter-bar .input-group-text {
  border-radius: 10px 0 0 10px;
  border-color: #e5e7eb;
}
.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: #1f7a63;
  color: #1f7a63;
}
.qr-chip.active {
  background: linear-gradient(135deg, #1f8a4c, #2eb872);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px rgba(31,122,99,0.25);
}

/* 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;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
}
.teacher-busy-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #f59e0b;
  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-tag--premium {
  background: linear-gradient(135deg, #fff8e1, #fffde7);
  border-color: #fcd34d;
  color: #92400e;
}
.qr-avail-bar {
  line-height: 1.3;
}
.qr-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f7a63;
}

/* --- Profile Modal --- */
.qr-modal .modal-content {
  border-radius: 20px;
}
.qr-profile-panel {
  background: linear-gradient(160deg, #f0faf5, #e8f4fb);
  border-right: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px 0 0 20px;
}
.qr-profile-meta {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.07);
}
.qr-profile-tabs {
  gap: 4px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0;
}
.qr-profile-tab {
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  margin-bottom: -2px;
}
.qr-profile-tab:hover { color: #1f7a63; }
.qr-profile-tab.active {
  color: #1f7a63;
  border-bottom: 2px solid #1f7a63;
}
.qr-profile-tab-pane {
  animation: qrFadeIn 0.25s ease;
}
.qr-qual-box {
  background: #f8fafb;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
}
.qr-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #6b7280;
}
.qr-rating-bar-row .progress {
  flex: 1;
  border-radius: 10px;
}
.qr-big-rating {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #1c1c1c;
}
.qr-review-list .qr-review-item {
  border-bottom: 1px solid #f3f4f6;
  padding: 16px 0;
}
.qr-review-list .qr-review-item:last-child {
  border-bottom: none;
}

/* Mini Calendar (profile + booking) */
.qr-mini-calendar,
.qr-book-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.qr-cal-header {
  grid-column: span 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 8px;
  font-weight: 600;
  font-size: 14px;
}
.qr-cal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  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: #1f7a63;
  color: #1f7a63;
}
.qr-cal-day.available {
  background: #f0faf5;
  color: #1f7a63;
  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, #1f8a4c, #2eb872);
  color: #fff !important;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(31,122,99,0.3);
}
.qr-cal-day.selected::after {
  background: rgba(255,255,255,0.6);
}
.qr-cal-day.today {
  border-color: #1f7a63;
  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: #f0faf5;
  border-color: #1f7a63;
  color: #1f7a63;
}

/* Time Slots */
.qr-time-slot {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}
.qr-time-slot:hover {
  border-color: #1f7a63;
  color: #1f7a63;
  background: #f0faf5;
}
.qr-time-slot.selected {
  background: linear-gradient(135deg, #1f8a4c, #2eb872);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(31,122,99,0.25);
}

/* Booking Steps */
.qr-book-steps {
  font-size: 13px;
  font-weight: 500;
}
.qr-book-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
}
.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: #6b7280;
}
.qr-book-step.active {
  color: #1f7a63;
}
.qr-book-step.active span {
  background: linear-gradient(135deg, #1f8a4c, #2eb872);
  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, #1f7a63 0%, #0f5a47 50%, #1a3a5c 100%);
  position: relative;
}
.qr-cta-deco {
  position: absolute;
  right: 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: #1f7a63;
  border: none;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-white:hover {
  background: #f0faf5;
  color: #1f7a63;
  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; }
  .qr-profile-panel { border-right: none; border-radius: 20px 20px 0 0; }
}
@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: #9ca3af;
  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: left;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.qap-cat-pill:hover { background: #f3f4f6; color: #1f7a63; }
.qap-cat-pill.active {
  background: #e8f5ee;
  color: #1f7a63;
  font-weight: 600;
}
.qap-sidebar-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  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: left;
}
.qap-pl-item:hover { background: #f3f4f6; }
.qap-pl-item.active { background: #e8f5ee; }
.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: #9ca3af;
}
.qap-pl-item-actions {
  margin-left: 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: #9ca3af;
  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: #1f7a63;
  cursor: pointer;
  transition: all 0.2s ease;
  width: calc(100% - 16px);
}
.qap-create-playlist-btn:hover {
  border-color: #1f7a63;
  background: #f0faf5;
}
.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: 16px 0 16px 20px;
}
.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: #9ca3af;
  transition: border-color 0.2s;
}
.qap-topbar-search:focus-within {
  border-color: #1f7a63;
  box-shadow: 0 0 0 0.15rem rgba(31,122,99,0.12);
}
.qap-topbar-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: #1c1c1c;
}
.qap-topbar-search input::placeholder { color: #9ca3af; }
.qap-view-btn {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  color: #9ca3af;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s;
}
.qap-view-btn:hover { background: #f3f4f6; color: #1c1c1c; }
.qap-view-btn.active { background: #e8f5ee; color: #1f7a63; border-color: #1f7a63; }
.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: #1f7a63; color: #1f7a63; }
.qap-chip.active {
  background: linear-gradient(135deg, #1f8a4c, #2eb872);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px rgba(31,122,99,0.22);
}

/* 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: #1f7a63;
  box-shadow: 0 0 0 2px rgba(31,122,99,0.18), 0 8px 20px rgba(31,122,99,0.12);
}
.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;
  left: 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: #1f7a63; }
.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: #9ca3af;
  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: #9ca3af; }
.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: #9ca3af;
  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, #1f8a4c, #56c596);
  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: #1f7a63; background: #f0faf5; }
.qap-pl-track-row.drag-over { border-color: #1f7a63; background: #e8f5ee; }
.qap-drag-handle {
  color: #9ca3af;
  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: #9ca3af;
  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: #9ca3af;
  font-size: 15px;
  line-height: 1;
  transition: all 0.15s;
  margin-left: 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, #1f8a4c, #56c596);
  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: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qap-heart-btn {
  background: none;
  border: none;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  color: #9ca3af;
  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: #1f7a63; }
.qap-ctrl-sm { font-size: 16px; }
.qap-ctrl-play {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1f8a4c, #2eb872);
  color: #fff !important;
  border-radius: 50% !important;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(31,122,99,0.35);
  transition: all 0.2s;
}
.qap-ctrl-play:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(31,122,99,0.45); }
.qap-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.qap-time { font-size: 11px; color: #9ca3af; 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, #1f8a4c, #2eb872);
  border-radius: 4px;
  width: 0%;
  pointer-events: none;
}
.qap-progress-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #1f7a63;
  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: #1f7a63;
  border-radius: 50%;
}

/* ---- Queue Panel ---- */
.qap-queue-panel {
  position: fixed;
  bottom: 82px;
  right: 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: #e8f5ee; }
.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: #9ca3af;
}

/* ---- 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, #1f8a4c, #2eb872);
  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;
    left: -280px;
    height: 100%;
    width: 260px;
    background: #fff;
    z-index: 1100;
    border-right: 1px solid #e9ecef;
    transition: left 0.3s ease;
    padding-top: 60px;
  }
  .qap-sidebar.open { left: 0; }
  .qap-content { padding-left: 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: linear-gradient(135deg, #0a1e17 0%, #12372a 40%, #1f7a63 100%);
  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;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(46,184,114,0.12);
  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: #9ca3af;
}
.dua-sidebar-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: #1c1c1c;
}
.dua-sidebar-search input::placeholder { color: #9ca3af; }
.dua-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  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: left;
  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: #e8f5ee; color: #1f7a63; 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: #6b7280;
  border-radius: 50rem;
  padding: 1px 7px;
  font-weight: 600;
  flex-shrink: 0;
}
.dua-cat-btn.active .dua-cat-count { background: #d1fae5; color: #1f7a63; }
.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: #6b7280;
}

/* ---- 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: #1f7a63;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.dua-sidebar-toggle-btn:hover { background: #e8f5ee; }
.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: #9ca3af;
}
.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: #9ca3af;
  font-size: 15px;
  line-height: 1;
  transition: all 0.2s;
}
.dua-view-btn:hover { background: #f3f4f6; color: #1c1c1c; }
.dua-view-btn.active { background: #e8f5ee; color: #1f7a63; border-color: #1f7a63; }

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

/* ---- Dua Card ---- */
.dua-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-left: 5px solid var(--dua-color, #1f7a63);
  border-radius: 0 18px 18px 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, #e8f5ee);
  color: var(--dua-color, #1f7a63);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dua-num { font-size: 12px; color: #9ca3af; 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: #6b7280;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
/* Arabic block */
.dua-arabic-block {
  background: linear-gradient(135deg, #f0faf5, #e8f4f0);
  border-radius: 14px;
  padding: 20px 24px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(31,122,99,0.1);
}
.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: #0a4d38;
  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: #9ca3af;
  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: #6b7280;
  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: #1f7a63; 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,#1f8a4c,#2eb872); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(31,122,99,0.3); }
.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: #9ca3af;
  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, #1f8a4c, #2eb872);
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s linear;
  pointer-events: none;
}
.dua-audio-time { font-size: 11px; color: #9ca3af; 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; }

/* Compact view */
.dua-list.compact-view .dua-arabic-block { padding: 12px 16px; }
.dua-list.compact-view .dua-arabic { font-size: 1.2rem; line-height: 1.9; }
.dua-list.compact-view .dua-card { padding: 16px 18px; }
.dua-list.compact-view .dua-latin-block,
.dua-list.compact-view .dua-trans-block,
.dua-list.compact-view .dua-when,
.dua-list.compact-view .dua-note { display: none; }
.dua-list.compact-view .dua-card.expanded .dua-latin-block,
.dua-list.compact-view .dua-card.expanded .dua-trans-block,
.dua-list.compact-view .dua-card.expanded .dua-when,
.dua-list.compact-view .dua-card.expanded .dua-note { display: block; }

/* 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: #9ca3af;
  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;
    left: -280px;
    height: 100%;
    width: 260px;
    background: #fff;
    z-index: 1100;
    transition: left 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 { left: 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
   ============================================================ */

/* ---- Hero ---- */
.store-hero {
  position: relative;
  background: linear-gradient(135deg, #0b3d2e 0%, #1f7a63 55%, #16624f 100%);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}
.store-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(46,184,114,.1) 0%, transparent 40%);
  pointer-events: none;
}
.store-hero-overlay {
  position: absolute;
  inset: 0;
  background-image: 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.03'%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;
}
.store-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.store-hero-text { flex: 1; min-width: 280px; }
.store-hero-title { font-size: 2.4rem; color: #fff; line-height: 1.2; }
.store-hero-desc { color: rgba(255,255,255,.82); max-width: 540px; }
.store-badge-halal { background: linear-gradient(135deg, #d97706, #f59e0b); color: #fff; }
.store-meat-hero-btn {
  background: linear-gradient(135deg, #991b1b, #dc2626);
  border: none;
  color: #fff;
}
.store-meat-hero-btn:hover { background: linear-gradient(135deg, #7f1d1d, #b91c1c); color: #fff; }

.store-hero-stats {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  min-width: 140px;
}
.store-hero-stat { text-align: center; }
.store-hero-stat-num { font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1.1; }
.store-hero-stat-label { font-size: .72rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }

/* ---- 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: #1f7a63; }
.store-delivery-item .fw-semibold { font-size: .85rem; }
.store-delivery-item small { color: #6b7280; }

/* ---- Cart Icon Button ---- */
.store-cart-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #1c1c1c;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.store-cart-icon-btn:hover { background: #e5e7eb; color: #1c1c1c; }
.store-cart-icon-btn i { font-size: 1.1rem; }
.store-cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  background: #1f7a63;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 2px solid #fff;
  line-height: 1;
}
.store-cart-badge-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px; height: 22px;
  background: #1f7a63;
  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: #6b7280; }
.store-cart-item-total { font-size: .9rem; color: #1f7a63; white-space: nowrap; }
.store-cart-remove {
  background: none; border: none; padding: 4px; cursor: pointer;
  color: #9ca3af; 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: #1f7a63; }
.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: #9ca3af; }
.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: #1f7a63; color: #1f7a63; }
.store-tab.active { background: #1f7a63; border-color: #1f7a63; 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: #6b7280; 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: #1f7a63; line-height: 1.1; }
.store-price-cents { font-size: .75rem; }
.store-price-orig { font-size: .75rem; color: #9ca3af; text-decoration: line-through; }
.store-product-badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: .65rem;
  font-weight: 700;
  padding: .25rem .55rem;
  border-radius: 50rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-new     { background: #d1fae5; color: #065f46; }
.badge-popular { background: #ede9fe; color: #5b21b6; }
.badge-sale    { background: #fee2e2; color: #991b1b; }
.store-add-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #1f7a63;
  background: #fff;
  color: #1f7a63;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.store-add-btn:hover { background: #1f7a63; color: #fff; }
.store-add-btn.store-add-btn-done { background: #1f7a63; color: #fff; border-color: #1f7a63; }

/* ---- 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; }

/* ---- Divider Banner ---- */
.store-divider-banner {
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 100%);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.store-divider-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,.06) 0%, transparent 50%);
  pointer-events: none;
}
.store-divider-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.store-divider-left h3 { color: #fff; }
.store-divider-left p { color: rgba(255,255,255,.82); }
.store-halal-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.15);
  color: #fde68a;
  border: 1px solid rgba(255,255,255,.25);
  padding: .3rem .9rem;
  border-radius: 50rem;
  font-size: .78rem;
  font-weight: 600;
}
.store-divider-cta {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #991b1b;
  font-weight: 700;
  padding: .75rem 2rem;
  border-radius: 50rem;
  text-decoration: none;
  font-size: .95rem;
  white-space: nowrap;
  transition: all .2s;
}
.store-divider-cta:hover { background: #fef2f2; color: #7f1d1d; }

/* ---- 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;
  right: .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-icon-wrap {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.store-meat-amber { background: #fffbeb; color: #b45309; }
.store-meat-red   { background: #fef2f2; color: #dc2626; }
.store-meat-green { background: #ecfdf5; color: #065f46; }
.store-meat-category { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; display: block; }
.store-meat-name { font-size: 1rem; font-weight: 700; line-height: 1.25; margin: .15rem 0 0; }
.store-meat-halal-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: #d1fae5;
  color: #065f46;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 50rem;
  white-space: nowrap;
  flex-shrink: 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: #6b7280; 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: #1f7a63; }
.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: #1f7a63; color: #fff; border-color: #1f7a63; }
.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: #1f7a63; }
.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: #6b7280; }
.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-left: 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: left;
  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, rgba(31,122,99,.05), rgba(46,184,114,.05)); }
.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: #1f7a63; background: #fff; box-shadow: 0 4px 16px rgba(31,122,99,.14); }
.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: #6b7280; margin-top: .15rem; }
.store-main-tab[data-panel="shop"].active .store-main-tab-title  { color: #1f7a63; }
.store-main-tab[data-panel="meat"].active .store-main-tab-title  { color: #dc2626; }
.store-main-tab-arrow {
  font-size: .85rem;
  color: #9ca3af;
  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: #1f7a63; }
.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 ===== */
.product-detail-mc {
  border-radius: 20px;
  overflow: hidden;
  border: none;
}
.product-detail-x {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 10;
  opacity: .7;
}
.product-detail-x:hover { opacity: 1; }
.product-detail-img-col {
  background: #f8fafc;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-detail-icon-wrap {
  width: 130px;
  height: 130px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.75rem;
}
.product-detail-badge-float {
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.product-detail-body {
  padding: 1.75rem;
  overflow-y: auto;
  max-height: 82vh;
}
.product-detail-cat-pill {
  display: inline-block;
  background: rgba(31,122,99,.1);
  color: #1f7a63;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .75rem;
  border-radius: 50rem;
  margin-bottom: .625rem;
}
.product-detail-name {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .375rem;
}
.product-detail-price-wrap {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin: .5rem 0 .875rem;
}
.product-detail-price {
  font-size: 1.875rem;
  font-weight: 800;
  color: #1f7a63;
}
.product-detail-price-orig {
  font-size: .95rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.product-detail-price-unit {
  font-size: .85rem;
  color: #6b7280;
  font-weight: 500;
}
.pd-desc { color: #4b5563; line-height: 1.65; }
.product-detail-features {
  list-style: none;
  padding: 0;
  margin: .625rem 0 0;
}
.product-detail-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: #374151;
  margin-bottom: .375rem;
}
.product-detail-features li i {
  color: #1f7a63;
  flex-shrink: 0;
  margin-top: .15rem;
  font-size: .8rem;
}
.product-detail-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem .75rem;
  font-size: .8rem;
  background: #f8fafc;
  border-radius: 10px;
  padding: .75rem 1rem;
}
.product-detail-specs dt { color: #6b7280; font-weight: 600; }
.product-detail-specs dd { color: #1c1c1c; margin: 0; }
.product-detail-qty-row {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.product-detail-qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.product-detail-qty-btn {
  background: none;
  border: none;
  padding: .45rem .85rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: #374151;
  transition: background .15s;
  line-height: 1;
}
.product-detail-qty-btn:hover { background: #f3f4f6; }
.product-detail-qty-input {
  width: 46px;
  text-align: center;
  border: none;
  border-left: 1.5px solid #e5e7eb;
  border-right: 1.5px solid #e5e7eb;
  padding: .45rem 0;
  font-weight: 600;
  outline: none;
  font-size: .95rem;
  background: transparent;
}
.product-detail-add-btn {
  background: #1f7a63;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: .7rem 1.25rem;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.product-detail-add-btn:hover { background: #16624f; }
.product-detail-meat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-halal-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(16,185,129,.88);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  backdrop-filter: blur(4px);
}
/* 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;
  right: .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;
  left: .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;
  right: .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: .875rem 3rem .875rem 1.25rem;
  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: #9ca3af;
  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 { left: .875rem; }
.gallery-next { right: .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: #2eb872; opacity: 1; }

/* ==============================================================
   STORE NAV LINK — visual prominence on all pages
   ============================================================== */
.ip-navbar .navbar-nav > .nav-item > a[href="store.html"].nav-link {
  font-weight: 700;
  color: #1f7a63;
  background: rgba(31,122,99,.08);
  box-shadow: inset 0 0 0 1.5px rgba(31,122,99,.3);
  border-radius: 20px;
}
.ip-navbar .navbar-nav > .nav-item > a[href="store.html"].nav-link:hover {
  background: rgba(31,122,99,.15);
  color: #1f7a63;
  box-shadow: inset 0 0 0 1.5px rgba(31,122,99,.5);
}
.ip-navbar .navbar-nav > .nav-item > a[href="store.html"].nav-link.active {
  background: #1f7a63;
  color: #fff;
  box-shadow: none;
}

/* ==============================================================
   HOMEPAGE STORE SPOTLIGHT
   ============================================================== */
.hp-store-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.hp-store-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #1f7a63;
  margin-bottom: .35rem;
}
.hp-store-heading { font-size: 1.5rem; font-weight: 700; margin-bottom: .25rem; }
.hp-store-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  font-size: .82rem;
  color: #374151;
  margin-bottom: 1.2rem;
  padding: .6rem 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
}
.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: #1f7a63; }
.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; left: 10px;
  font-size: .65rem; font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 50rem;
}
.badge-new { background: #dbeafe; color: #1d4ed8; }
.badge-popular { background: #fef9c3; color: #854d0e; }
.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: #6b7280; 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-rating { font-size: .72rem; margin-bottom: .1rem; }
.hp-store-cta { font-size: .78rem; font-weight: 600; color: #1f7a63; white-space: nowrap; }
.hp-store-cta-banner {
  background: linear-gradient(135deg, #0b3d2e 0%, #1f7a63 55%, #16624f 100%);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: #fff;
}
.hp-store-cta-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: #fff;
  color: #1f7a63;
  font-weight: 700;
  font-size: .9rem;
  padding: .65rem 1.5rem;
  border-radius: 50rem;
  text-decoration: none;
  transition: all .2s;
  flex-shrink: 0;
}
.hp-store-cta-btn:hover { background: #d1fae5; color: #0b3d2e; }

/* ==============================================================
   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-breadcrumb-bar {
  background: var(--ip-card-bg, #fff);
  border-bottom: 1px solid #e5e7eb;
  padding: .6rem 0;
}
.sip-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before { color: #9ca3af; }

.sip-back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #6b7280;
  font-size: .85rem;
  text-decoration: none;
  transition: color .2s;
  margin-bottom: 1.1rem;
}
.sip-back-link:hover { color: #1f7a63; }

.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; right: .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; right: .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: #1f7a63; 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-cat-pill {
  display: inline-block;
  background: rgba(31,122,99,.1);
  color: #1f7a63;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .75rem;
  border-radius: 50rem;
  margin-bottom: .75rem;
}
.sip-title { font-size: 1.65rem; font-weight: 700; line-height: 1.2; margin-bottom: .5rem; }
.sip-badge {
  display: inline-block;
  font-size: .63rem; font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 50rem;
  vertical-align: middle;
  margin-left: .4rem;
}
.sip-rating-row { display: flex; align-items: center; gap: .25rem; font-size: .85rem; margin-bottom: .75rem; }
.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: #1f7a63; line-height: 1; }
.sip-price-unit { font-size: .9rem; color: #6b7280; font-weight: 500; }
.sip-price-orig { font-size: .95rem; color: #9ca3af; 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: #6b7280; 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: #1f7a63;
  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: #16624f; 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: #1f7a63; color: #1f7a63; }
.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*/
.StudentDashboard {
  --sd-primary: #0f6d52;
  --sd-primary-light: #eaf7f2;
  --sd-border: #e9ecef;
}

.StudentDashboard .sd-sidebar {
  width: 260px;
  min-width: 260px;
  min-height: 100vh;
}

.StudentDashboard .sd-logo {
  background: var(--sd-primary);
}

.StudentDashboard .sd-menu .nav-link {
  color: #495057;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.2s;
}

.StudentDashboard .sd-menu .nav-link:hover {
  background: #f8f9fa;
  color: var(--sd-primary);
}

.StudentDashboard .sd-menu .nav-link.active {
  background: var(--sd-primary-light);
  color: var(--sd-primary);
  font-weight: 600;
}

.StudentDashboard .sd-promo {
  background: #fffdf8;
  border: 1px solid #f1e5c8;
  border-radius: 1rem;
}

.StudentDashboard .sd-content {
  min-height: 100vh;
}



.salat_guide_hero_bg {
  min-height: 150px;
  background: url("../images/salat-bg-base.png") right center no-repeat;
  background-size: cover;
}

.salat_divider {
  border-left: solid 1px #dee2e6;
}
.salat_accordion .accordion-button:not(.collapsed) {
    background-color: #ebf5f3;
}
.salat_accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgb(0 137 89 / 21%);
}
.Salat_tabs .nav-link {
    color: #1c1c1c;
}
.Salat_tabs .nav-link:hover {
    color: #1f7a63;
    background-color: #d8f0ea;
}
.Salat_tabs .nav-link.active,
.Salat_tabs .show > .nav-link {
    background-color: #1f7a63;
    color: #fff;
    box-shadow: 0 4px 10px rgba(31, 122, 99, 0.25);
}
.Salat_tabs .nav-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(31, 122, 99, 0.25);
}

.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: #198754;
        color: #fff;
}

.SalatStepsSidebar .step-item.active {
      background: #eefaf0;
      border-left: solid 1px #008959;
}

.SalatStepsSidebar .step-item.active .step-circle {
        background: #198754;
        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;
}