/* Keep custom CSS minimal; Bootstrap does most of the work. */
:root {
  --brand-accent: #dc3545;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.product-card-img {
  height: 250px;
  object-fit: cover;
  background: #f3f4f6;
}

.bundle-image-placeholder {
  background: #fff;
}

.bundle-image-text {
  color: rgba(107, 114, 128, 0.9);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-align: center;
}

.bundle-image-line {
  font-size: clamp(0.875rem, 1.6vw, 1.5rem);
}

.site-navbar {
  background: var(--brand-accent);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.site-header-halal-logo {
  width: 1.25em;
  height: 1.25em;
  object-fit: contain;
  display: inline-block;
  flex: 0 0 auto;
}

.site-header-brand-row {
  row-gap: 0.35rem;
}

.site-header-brand-row .site-header-halal-logo {
  width: clamp(1.55rem, 2.6vw, 2.35rem);
  height: clamp(1.55rem, 2.6vw, 2.35rem);
  opacity: 0.95;
}

.site-header-brand {
  color: var(--brand-accent);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
  text-decoration: none;
  display: inline-block;
}

.site-header-brand:hover,
.site-header-brand:focus {
  color: #b02a37;
  text-decoration: none;
}

.site-header .footer-badge {
  background: rgba(220, 53, 69, 0.04) !important;
  color: #b02a37 !important;
  border: 1px solid rgba(220, 53, 69, 0.32);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-header-tagline {
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(17, 24, 39, 0.85);
}

.site-header-meta {
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: rgba(107, 114, 128, 0.95);
  font-size: 1rem;
  line-height: 1.25;
}

.site-header-meta-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.site-header-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(220, 53, 69, 0.85);
}

.site-header-meta-icon svg {
  width: 20px;
  height: 20px;
}

.site-header-meta-link {
  color: inherit;
  text-decoration: none;
}

.site-header-meta-link:hover,
.site-header-meta-link:focus {
  color: #0d6efd;
  text-decoration: underline;
}

.site-header-nav {
  align-items: flex-start;
}

.site-header-nav .navbar-toggler {
  margin-left: auto;
  border-color: rgba(17, 24, 39, 0.18);
}

.site-header-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.site-header .container {
  position: relative;
}

@media (max-width: 991.98px) {
  .site-header-brand-row {
    padding-right: 3.75rem;
  }

  .site-header-nav {
    position: absolute;
    top: 1rem;
    right: 0.75rem;
    z-index: 1020;
  }

  .site-header-nav .navbar-toggler {
    margin-left: 0;
  }

  .site-header-nav .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    min-width: 230px;
    width: min(92vw, 360px);
    padding: 0.45rem;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 0.85rem;
    box-shadow: 0 16px 38px rgba(17, 24, 39, 0.18);
  }

  .site-header-nav .navbar-nav + .navbar-nav {
    margin-top: 0.35rem;
  }

  .site-header-nav .site-header-nav-links {
    gap: 0.25rem;
  }
}

.site-header-nav-links {
  gap: 0.35rem;
}

.site-header-nav-links .nav-link {
  color: #0d6efd;
  border-radius: 0.85rem;
  padding: 0.65rem 1.05rem;
  font-weight: 600;
  line-height: 1.1;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.site-header-nav-links .nav-link:hover,
.site-header-nav-links .nav-link:focus {
  background: rgba(13, 110, 253, 0.08);
  color: #0b5ed7;
}

.site-header-nav-links .nav-link.active,
.site-header-nav-links .nav-link[aria-current="page"] {
  background: #0d6efd;
  color: #fff;
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.22);
}

.site-header-nav-links .nav-link.active:hover,
.site-header-nav-links .nav-link.active:focus,
.site-header-nav-links .nav-link[aria-current="page"]:hover,
.site-header-nav-links .nav-link[aria-current="page"]:focus {
  background: #0b5ed7;
  color: #fff;
}

.site-hero {
  padding-top: 0;
}

.site-hero-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f2937;
  font-size: clamp(1.3rem, 2.6vw, 2.3rem);
  line-height: 1.05;
  margin: 0;
}

.site-hero-subtitle {
  color: rgba(17, 24, 39, 0.65);
  font-size: 1rem;
  line-height: 1.45;
  max-width: 70ch;
}

@media (min-width: 992px) {
  .site-header-nav-links {
    gap: 0.55rem;
    align-items: center;
  }

  .site-header-nav {
    align-items: center;
  }
}

.site-business-bar {
  background: #c52f3d;
  color: rgba(255, 255, 255, 0.92);
}

.site-business-bar-inner {
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.35;
}

.site-footer {
  position: relative;
  padding: 1.25rem 0 0.75rem;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.18), transparent 36%),
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.12), transparent 30%),
    linear-gradient(180deg, #8f1722 0%, #6b1018 100%);
  color: rgba(255, 248, 240, 0.92);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.02) 42%, transparent 42%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.04) 0, transparent 34%);
  pointer-events: none;
}

.site-footer-shell {
  position: relative;
  z-index: 1;
}

.site-footer-panel {
  padding: clamp(0.95rem, 1.5vw, 1.35rem);
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(122, 15, 27, 0.76), rgba(77, 8, 16, 0.82));
  box-shadow: 0 14px 32px rgba(30, 8, 10, 0.22);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.site-footer-brand-block {
  max-width: 26rem;
}

.site-footer-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffe1b6;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer-brand-row {
  margin-top: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.site-footer-brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff6e8;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-footer-brand-mark svg {
  width: 1.15rem;
  height: 1.15rem;
}

.site-footer-brand {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff9f2;
}

.site-footer-tagline {
  margin-top: 0.3rem;
  color: rgba(255, 242, 233, 0.78);
  font-size: 0.92rem;
  line-height: 1.35;
  max-width: 24rem;
}

.site-footer-pill-row {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-footer-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff4ea;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
}

.site-footer-pill-link {
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer-pill-link:hover,
.site-footer-pill-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.site-footer-section {
  height: 100%;
}

.site-footer-heading {
  margin: 0 0 0.55rem;
  color: #ffe1b6;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer-list,
.site-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.site-footer-item,
.site-footer-nav a {
  color: rgba(255, 248, 240, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.site-footer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.3;
}

.site-footer-item:hover,
.site-footer-item:focus,
.site-footer-nav a:hover,
.site-footer-nav a:focus {
  color: #fff;
  transform: translateX(2px);
}

.site-footer-item-static:hover,
.site-footer-item-static:focus {
  color: rgba(255, 248, 240, 0.88);
  transform: none;
}

.site-footer-item-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  color: #ffd166;
}

.site-footer-item-icon svg {
  width: 100%;
  height: 100%;
}

.site-footer-bottom {
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.9rem;
  flex-wrap: wrap;
}

.site-footer-bottom-copy {
  font-weight: 600;
  color: #fff8ef;
  font-size: 0.86rem;
}

.site-footer-bottom-note {
  color: rgba(255, 242, 233, 0.72);
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.25;
}

.site-business-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
  line-height: 1.2;
}

@media (max-width: 991.98px) {
  .site-business-meta {
    text-align: left;
  }
}

.site-navbar .navbar-brand,
.site-navbar .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.navbar-halal-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: inline-block;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link:focus {
  color: #fff;
}

.site-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.site-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
}

.footer-badge {
  display: inline-flex;
  min-height: 0;
  text-transform: none;
  line-height: 1;
  border-radius: 0.5rem;
  letter-spacing: 0;
}

.footer-support {
  text-align: center;
  margin-top: 0.25rem;
  width: 100%;
  white-space: nowrap;
}

.footer-support .footer-email {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.footer-support .footer-email:visited {
  color: rgba(255, 255, 255, 0.92);
}

.footer-support .footer-email:hover,
.footer-support .footer-email:focus {
  color: #0d6efd;
}

.footer-brand {
  white-space: nowrap;
  text-align: center;
}

.footer-nav {
  justify-content: center;
  row-gap: 0.35rem;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 0.55rem;
  }

  .site-footer-panel {
    padding: 0.65rem 0.65rem 0.55rem;
    border-radius: 0.85rem;
  }

  .site-footer .row {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.55rem;
  }

  .site-footer-brand-row {
    gap: 0.45rem;
  }

  .site-footer-brand-mark {
    width: 1.65rem;
    height: 1.65rem;
  }

  .site-footer-brand {
    font-size: 0.95rem;
  }

  .site-footer-tagline,
  .site-footer-item,
  .site-footer-nav a {
    font-size: 0.76rem;
  }

  .site-footer-pill-row {
    margin-top: 0.35rem;
  }

  .site-footer-pill {
    min-height: 1.35rem;
    padding: 0.18rem 0.42rem;
    font-size: 0.62rem;
  }

  .site-footer-bottom {
    align-items: flex-start;
    margin-top: 0.55rem;
    padding-top: 0.45rem;
  }

  .site-footer-bottom-note {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .site-footer {
    padding: 0.35rem 0 0.3rem;
  }

  .site-footer::before {
    opacity: 0.35;
  }

  .site-footer-panel {
    padding: 0.45rem 0.5rem 0.4rem;
    border-radius: 0.7rem;
    box-shadow: 0 6px 12px rgba(30, 8, 10, 0.12);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-footer .row {
    --bs-gutter-x: 0.45rem;
    --bs-gutter-y: 0.35rem;
  }

  .site-footer-eyebrow,
  .site-footer-brand-mark {
    display: none;
  }

  .site-footer-brand-row {
    margin-top: 0;
    gap: 0;
  }

  .site-footer-brand {
    font-size: 0.86rem;
    line-height: 1;
  }

  .site-footer-tagline {
    margin-top: 0.08rem;
    font-size: 0.68rem;
    line-height: 1.1;
  }

  .site-footer-pill-row {
    margin-top: 0.25rem;
    gap: 0.2rem;
  }

  .site-footer-pill {
    min-height: 1.1rem;
    padding: 0.1rem 0.32rem;
    font-size: 0.56rem;
  }

  .site-footer-heading {
    margin-bottom: 0.2rem;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .site-footer-section {
    min-width: 0;
  }

  .site-footer-list,
  .site-footer-nav {
    gap: 0.14rem;
  }

  .site-footer-item,
  .site-footer-nav a {
    font-size: 0.64rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .site-footer-item {
    gap: 0.2rem;
    line-height: 1.08;
  }

  .site-footer-item span:last-child {
    min-width: 0;
  }

  .site-footer-item-icon {
    width: 0.62rem;
    height: 0.62rem;
  }

  .site-footer-bottom {
    margin-top: 0.35rem;
    padding-top: 0.28rem;
    gap: 0.1rem;
  }

  .site-footer-bottom-copy,
  .site-footer-bottom-note {
    font-size: 0.6rem;
    line-height: 1.05;
  }
}

.admin-login-notice {
  font-size: 0.85em;
}

.site-toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  pointer-events: none;
}

.site-toast {
  pointer-events: auto;
  min-width: 220px;
  max-width: 360px;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  color: #fff;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-size: 0.95rem;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-toast--success {
  border-left: 4px solid #22c55e;
}

.site-toast--warning {
  border-left: 4px solid #f59e0b;
}

.site-toast--danger {
  border-left: 4px solid #ef4444;
}

@media (min-width: 992px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.title-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 2rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
  border: 1px solid rgba(220, 53, 69, 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.title-banner-text {
  display: inline-block;
  font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #118a2a;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.title-halal-icon {
  width: 67px;
  height: auto;
  display: block;
}
.category-filter-bar {
  padding: 0.55rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.06) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(13, 110, 253, 0.05) 100%);
  border: 1px solid rgba(220, 53, 69, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.category-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  border-width: 2px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.category-filter-btn .category-emoji {
  font-size: 1.05em;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .category-filter-bar {
    justify-content: flex-start !important;
  }
}

@media (min-width: 992px) {
  .category-filter-bar {
    flex-wrap: nowrap !important;
  }

  html[lang="fr"] .category-filter-bar {
    width: 100%;
    justify-content: space-between !important;
    gap: 0.45rem !important;
  }
}

.category-filter-btn.btn-outline-primary {
  background: rgba(255, 255, 255, 0.92);
}

.category-filter-btn.btn-primary:not(.weekly-bulk-highlight) {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  border-color: rgba(13, 110, 253, 0.25);
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.22);
}

.category-filter-btn:not(.weekly-bulk-highlight):hover,
.category-filter-btn:not(.weekly-bulk-highlight):focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.14);
}

.category-filter-btn.btn-outline-primary:hover,
.category-filter-btn.btn-outline-primary:focus {
  background: rgba(13, 110, 253, 0.16);
  border-color: rgba(11, 94, 215, 0.55);
  color: #0b5ed7;
}

.category-filter-btn.btn-primary:not(.weekly-bulk-highlight):hover,
.category-filter-btn.btn-primary:not(.weekly-bulk-highlight):focus {
  background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
  box-shadow: 0 14px 28px rgba(13, 110, 253, 0.28);
}
.weekly-bulk-highlight {
  position: relative;
  border-width: 2px;
  border-color: #ffb703;
  color: #b45309;
  background: linear-gradient(135deg, #fff4db 0%, #ffe6a7 100%);
  box-shadow: 0 0 0 rgba(255, 183, 3, 0.0);
  animation: weeklyBulkPulse 2s ease-in-out infinite;
}

.weekly-bulk-highlight:hover,
.weekly-bulk-highlight:focus {
  color: #8a2c00;
  border-color: #fb8500;
  background: linear-gradient(135deg, #ffe6a7 0%, #ffd166 100%);
  box-shadow: 0 10px 24px rgba(255, 183, 3, 0.25);
}

@keyframes weeklyBulkPulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.25);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 0 0 8px rgba(255, 183, 3, 0.0);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.0);
  }
}
