:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --line: #e6ebf2;
  --text: #142033;
  --muted: #66758a;
  --primary: #0f3d5e;
  --primary-2: #0a6aa1;
  --soft: #eef5fb;
  --success: #198754;
  --shadow: 0 14px 42px rgba(13, 25, 47, 0.08);
  --radius: 1.25rem;
}
html,
body {
  background: var(--bg);
  color: var(--text);
}
body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
}
.top-strip {
  background: #f9fbfd;
  color: var(--muted);
}
.brand-badge {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 0.9rem;
}
.hero-block-about {
  /* background: radial-gradient(
    circle at top right,
    #d9edf8 0,
    #ffffff 40%,
    #ffffff 100%
  ); */
  background:
    linear-gradient(135deg, rgba(10, 35, 61, 0.92), rgba(15, 106, 161, 0.82)),
    url(../images/cabinet.jpg) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-block {
  background: radial-gradient(
    circle at top right,
    #d9edf8 0,
    #ffffff 40%,
    #ffffff 100%
  );
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-panel,
.card-soft,
.sidebar-card,
.toolbar-card,
.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel {
  padding: 1.5rem;
}
.stat-card,
.feature-card,
.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
  height: 100%;
}
.category-card {
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 25, 47, 0.08);
}
.category-index {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.section-title {
  letter-spacing: -0.03em;
}
.text-muted-2 {
  color: var(--muted) !important;
}
.sidebar-card,
.toolbar-card,
.panel-card {
  padding: 1.25rem;
}
.catalog-layout .sidebar-card {
  position: sticky;
  top: 1rem;
}
.category-tree {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.category-node {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.category-btn {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
  transition: 0.18s ease;
  font-size: 0.95rem;
  color: var(--text);
}
.category-btn:hover {
  background: #f8fbfe;
  border-color: #d4e2ef;
}
.category-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.category-children {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid #dbe5ef;
  margin-left: 0.85rem;
  padding-left: 0.75rem;
}
.category-children.is-visible {
  display: flex;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(13, 25, 47, 0.04);
  height: 100%;
}
.product-card .product-thumb {
  background: #fff;
}
.product-card img {
  object-fit: cover;
}
.product-card .badge-soft {
  background: var(--soft);
  color: var(--primary);
  font-weight: 600;
}
.thumb-sm {
  width: 64px;
  height: 64px;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-sm img,
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main {
  overflow: hidden;
  border-radius: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
}
.listing-toolbar .form-control,
.listing-toolbar .form-select,
.form-shell .form-control,
.form-shell .form-select {
  min-height: 48px;
  border-radius: 0.9rem;
  border-color: #d8e3ee;
}
.form-shell,
.summary-shell,
.profile-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.profile-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.profile-line span {
  color: var(--muted);
}
.checkout-locked {
  background: #f8fafc !important;
  border-color: #dbe7f0 !important;
  color: #64748b !important;
  cursor: not-allowed;
}
.checkout-notes-open {
  border-style: dashed;
}
.empty-illustration {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.page-link {
  border-radius: 0.7rem !important;
  color: var(--primary);
}
.page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}
@media (max-width: 991.98px) {
  .catalog-layout .sidebar-card {
    position: static;
  }
}

/* =========================
   ACCOUNT PAGE — ADDITIONS
   ========================= */

.profile-shell,
.form-shell {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.profile-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.profile-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-line span {
  color: var(--muted, #6b7280);
  font-size: 0.95rem;
  flex: 0 0 120px;
}

.profile-line strong {
  color: var(--text, #111827);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.form-shell[hidden] {
  display: none !important;
}

/* Harmonisation des champs dans la page compte */
.form-shell .form-control,
.form-shell .form-select {
  min-height: 48px;
  border-radius: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: none;
}

.form-shell .form-control:focus,
.form-shell .form-select:focus {
  border-color: rgba(17, 24, 39, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(17, 24, 39, 0.08);
}

.form-shell .form-label {
  font-weight: 600;
  margin-bottom: 0.45rem;
}

/* Version légère pour les cartes stats si besoin */
.panel-card .fs-3,
.panel-card .fs-5 {
  line-height: 1.1;
}

/* Responsive */
@media (max-width: 991.98px) {
  .profile-shell,
  .form-shell {
    padding: 1rem;
    border-radius: 1rem;
  }
}

@media (max-width: 575.98px) {
  .profile-line {
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
  }

  .profile-line span,
  .profile-line strong {
    flex: unset;
    text-align: left;
  }
}

/* =========================
   ACCOUNT DASHBOARD
   ========================= */

.dashboard-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-kpi-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dashboard-kpi-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.dashboard-kpi-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.dashboard-kpi-label {
  color: var(--muted, #6b7280);
  font-size: 0.95rem;
}

.dashboard-kpi-value {
  color: var(--text, #111827);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

@media (max-width: 575.98px) {
  .dashboard-kpi-item {
    flex-direction: column;
    gap: 0.35rem;
  }

  .dashboard-kpi-value {
    text-align: left;
  }
}

/* =========================
   HOME HERO ANIMÉ
   ========================= */

.home-hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(15, 23, 42, 0.06),
      transparent 28%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(15, 23, 42, 0.05),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/cabinet.jpg") center/cover no-repeat;

  filter: blur(8px);
  transform: scale(1.1); /* évite les bords flous visibles */

  z-index: -1;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.home-ready .hero-reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero-delay-1 {
  transition-delay: 0.05s;
}
.hero-delay-2 {
  transition-delay: 0.15s;
}
.hero-delay-3 {
  transition-delay: 0.3s;
}
.hero-delay-4 {
  transition-delay: 0.45s;
}
.hero-delay-5 {
  transition-delay: 0.6s;
}

.hero-visual-wrap {
  min-height: 460px;
  position: relative;
}

.hero-main-card {
  position: relative;
  z-index: 3;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
}

.hero-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-shape-1 {
  width: 220px;
  height: 220px;
  background: rgba(15, 23, 42, 0.06);
  top: -20px;
  right: -20px;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-shape-2 {
  width: 150px;
  height: 150px;
  background: rgba(15, 23, 42, 0.08);
  bottom: 12px;
  left: -20px;
  animation: heroFloat 6s ease-in-out infinite reverse;
}

.hero-product-card {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.floating-card {
  animation: floatingCard 4.8s ease-in-out infinite;
}

.floating-card-1 {
  top: 22px;
  left: -18px;
}

.floating-card-2 {
  right: -12px;
  bottom: 24px;
  animation-delay: 0.8s;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes floatingCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* =========================
   HOME CAROUSELS
   ========================= */

.products-carousel-shell {
  overflow: hidden;
  position: relative;
}

.products-carousel-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 25%;
  max-width: 25%;
}

.carousel-nav-group {
  display: flex;
  gap: 0.65rem;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  transition: all 0.25s ease;
}

.carousel-nav-btn:hover {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.home-product-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.home-product-thumb {
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.home-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-home {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.category-card-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

@media (max-width: 1199.98px) {
  .carousel-slide {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 991.98px) {
  .hero-visual-wrap {
    min-height: 360px;
  }

  .floating-card-1,
  .floating-card-2 {
    position: static;
    margin-bottom: 1rem;
    animation: none;
  }

  .carousel-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575.98px) {
  .hero-visual-wrap {
    min-height: auto;
  }

  .hero-product-card {
    display: none;
  }

  .carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .carousel-nav-group {
    width: 100%;
    justify-content: flex-end;
  }
}

.products-carousel-shell {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.products-carousel-track {
  cursor: grab;
}

.products-carousel-shell:active .products-carousel-track {
  cursor: grabbing;
}

.mini-card {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 1rem;
}

/* =========================
   Contact
   ========================= */

.map-banner {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.map-banner iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.55),
    rgba(15, 23, 42, 0.15)
  );
  pointer-events: none;
}

.map-content {
  color: #fff;
  max-width: 520px;
}

.text-muted-light {
  color: rgba(255, 255, 255, 0.82);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .map-banner {
    height: 280px;
  }

  .map-content h2 {
    font-size: 1.35rem;
  }
  .logo-img {
    height: 35px;
  }
}

/* logo page  */
.logo-img {
  height: 45px; /* taille idéale desktop */
  width: auto;
  object-fit: contain;
}
/* =========================
   PRODENTALDZ HOME VARIANT
   ========================= */

.pro-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10, 35, 61, 0.92), rgba(15, 106, 161, 0.82)),
    url("../images/cabinet.jpg") center/cover no-repeat;
}

.pro-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(255, 255, 255, 0.14),
    transparent 24%
  );
  pointer-events: none;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.82) !important;
}

.hero-search-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 18px 42px rgba(5, 17, 34, 0.22);
}

.hero-mini-stat {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1rem;
  height: 100%;
}

.hero-showcase {
  position: relative;
}

.hero-showcase-card.main-card {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(6, 18, 35, 0.24);
}

.hero-showcase-content {
  position: relative;
  z-index: 2;
}

.hero-floating-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  font-size: 0.9rem;
  font-weight: 600;
}

.badge-one {
  top: -18px;
  left: -8px;
}

.badge-two {
  right: -12px;
  bottom: 92px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  padding: 0.9rem;
  background: #fff;
}

.icon-circle-sm {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.06);
  color: #111827;
  font-size: 1rem;
  flex: 0 0 auto;
}

.b2b-strip {
  padding: 1.5rem;
}

.cta-block {
  padding: 2rem;
}

.cta-text {
  max-width: 760px;
}

@media (max-width: 991.98px) {
  .badge-one,
  .badge-two {
    position: static;
    display: inline-flex;
    margin-bottom: 0.85rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .hero-search-card,
  .hero-showcase-card.main-card,
  .cta-block,
  .b2b-strip {
    padding: 1rem;
  }
}

/* =========================
   PRODENTALDZ HOME REFRESH
   ========================= */

.pro-hero-lite {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pro-hero-lite .section-title {
  max-width: 720px;
}

.hero-search-inline {
  max-width: 640px;
}

.hero-search-inline .form-control,
.hero-search-inline .btn {
  min-height: 54px;
  border-radius: 999px !important;
}

.hero-search-inline .input-group {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-search-inline .form-control {
  border: 0;
}

.hero-search-inline .btn {
  border-top-left-radius: 999px !important;
  border-bottom-left-radius: 999px !important;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.hero-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-showcase-media {
  box-shadow: 0 18px 40px rgba(6, 18, 35, 0.18);
}

.hero-showcase-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-showcase-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 56px;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  padding: 0.85rem;
}

.section-promo-wrap {
  background: linear-gradient(
    180deg,
    rgba(14, 61, 94, 0.04),
    rgba(14, 61, 94, 0)
  );
}

.promo-banner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.products-carousel-shell--promo {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.home-product-card {
  border-radius: 1.1rem;
}

.home-product-body {
  padding: 1rem !important;
}

.product-card-category {
  line-height: 1.2;
}

.product-card-title {
  font-size: 1rem;
  line-height: 1.35;
  min-height: 2.7em;
}

.product-card-desc {
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.15em;
}

.product-card-price {
  font-size: 1.05rem !important;
}

.product-card-actions .btn {
  min-height: 42px;
  font-size: 0.92rem;
  padding-inline: 0.85rem;
}

.badge-soft.badge-promo {
  background: #fff3cd;
  color: #8a5a00;
}

.badge-soft.badge-highlight {
  background: #e8f4ff;
  color: #0a5c9b;
}

.badge-soft.badge-new {
  background: #e8fff3;
  color: #0f7a43;
}

.category-card-home--compact,
.reassurance-card,
.cta-block--home {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.cta-block--home {
  padding-block: 2.25rem;
}

@media (max-width: 991.98px) {
  .promo-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-showcase-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .pro-hero-lite {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .pro-hero-lite .display-5 {
    font-size: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-search-inline .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    background: transparent;
    padding: 0;
  }

  .hero-search-inline .form-control,
  .hero-search-inline .btn {
    width: 100%;
    border-radius: 1rem !important;
    min-height: 48px;
  }

  .products-carousel-shell,
  .products-carousel-shell--promo {
    padding: 0.75rem;
  }

  .products-carousel-track {
    gap: 0.75rem;
  }

  .home-product-card {
    border-radius: 0.95rem;
  }

  .home-product-thumb {
    border-bottom-width: 1px;
  }

  .home-product-body {
    padding: 0.8rem !important;
  }

  .product-card-title {
    font-size: 0.96rem;
    min-height: auto;
  }

  .product-card-desc {
    font-size: 0.82rem;
    min-height: auto;
    -webkit-line-clamp: 2;
  }

  .product-card-price {
    font-size: 0.98rem !important;
  }

  .product-card-meta {
    gap: 0.5rem;
    align-items: flex-start !important;
    flex-direction: column;
  }

  .product-card-actions {
    gap: 0.5rem;
  }

  .product-card-actions .btn {
    min-height: 38px;
    font-size: 0.82rem;
    padding-inline: 0.7rem;
  }

  .carousel-nav-btn {
    width: 40px;
    height: 40px;
  }
}

/* =========================
   HOME FEATURED GRID + PROMO PRICES
   ========================= */

.featured-grid-home .home-product-card {
  height: 100%;
}

.product-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.product-price-old {
  color: #dc2626;
  text-decoration: line-through;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.1;
}

.product-price-current {
  font-size: 1.15rem !important;
  line-height: 1.2;
}

@media (max-width: 575.98px) {
  .featured-grid-home {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  .featured-grid-home .home-product-card {
    border-radius: 0.9rem;
  }

  .product-price-old {
    font-size: 0.74rem;
  }

  .product-price-current {
    font-size: 1rem !important;
  }
}

/* =========================
   HOME FEATURED HIERARCHY + API PROMO ALIGNMENT
   ========================= */

.featured-grid-home {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.featured-grid-item {
  min-width: 0;
}

.featured-grid-item--main {
  grid-column: span 2;
  grid-row: span 2;
}

.home-product-card--featured-main {
  min-height: 100%;
}

.home-product-card--featured-main .home-product-thumb {
  min-height: 320px;
}

.home-product-card--featured-main .home-product-body {
  padding: 1.25rem !important;
}

.home-product-card--featured-main .product-card-title {
  font-size: 1.2rem;
  line-height: 1.35;
  min-height: auto;
}

.home-product-card--featured-main .product-card-desc {
  -webkit-line-clamp: 4;
  min-height: 5.8em;
}

.home-product-card--featured-main .product-card-price {
  font-size: 1.3rem !important;
}

.featured-grid-home .home-product-card,
.products-carousel-track .home-product-card {
  height: 100%;
}

.promo-price-stack {
  gap: 0.2rem;
}

.product-price-old {
  color: #c62828;
  text-decoration: line-through;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.product-price-current {
  color: var(--primary);
  font-size: 1.18rem !important;
  font-weight: 800;
  line-height: 1.15;
}

@media (max-width: 1199.98px) {
  .featured-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .featured-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-grid-item--main {
    grid-column: span 2;
    grid-row: auto;
  }

  .home-product-card--featured-main .home-product-thumb {
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  .featured-grid-home {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .featured-grid-item--main {
    grid-column: span 1;
  }

  .home-product-card--featured-main .home-product-thumb {
    min-height: auto;
  }

  .home-product-card--featured-main .home-product-body {
    padding: 0.85rem !important;
  }

  .home-product-card--featured-main .product-card-title {
    font-size: 1rem;
  }

  .home-product-card--featured-main .product-card-desc {
    -webkit-line-clamp: 2;
    min-height: auto;
  }

  .product-price-old {
    font-size: 0.72rem;
  }

  .product-price-current {
    font-size: 1rem !important;
  }
}

/* =========================
   FEATURED BOX CONTAINER
   ========================= */

.featured-box-shell {
  width: min(100%, 1080px);
  margin-inline: auto;
  padding: 1.5rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(15, 61, 94, 0.12);
  background:
    linear-gradient(
      180deg,
      rgba(238, 245, 251, 0.92) 0%,
      rgba(255, 255, 255, 0.98) 100%
    ),
    #ffffff;
  box-shadow: 0 20px 48px rgba(13, 25, 47, 0.08);
}

.featured-box-header {
  padding-bottom: 0.25rem;
}

.featured-box-btn {
  flex-shrink: 0;
}

.featured-box-shell .featured-grid-home {
  gap: 1rem;
}

.featured-box-shell .home-product-card {
  box-shadow: 0 12px 30px rgba(13, 25, 47, 0.06);
}

@media (max-width: 1199.98px) {
  .featured-box-shell {
    width: min(100%, 1040px);
  }
}

@media (max-width: 991.98px) {
  .featured-box-shell {
    width: min(100%, 920px);
    padding: 1.25rem;
    border-radius: 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .featured-box-shell {
    width: min(100%, calc(100% - 0.25rem));
    padding: 0.9rem;
    border-radius: 1.05rem;
  }

  .featured-box-header {
    gap: 0.85rem !important;
    margin-bottom: 0.9rem !important;
  }

  .featured-box-shell .featured-grid-home {
    gap: 0.75rem;
  }
}

/* =========================
   HOME PRODUCT LAYOUT FIXES
   ========================= */

.home-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.home-product-thumb {
  display: block;
  flex: 0 0 auto;
  width: 100%;
}

.home-product-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  padding: 1rem !important;
}

.product-card-category {
  flex: 0 0 auto;
}

.product-card-title {
  flex: 0 0 auto;
  min-height: 2.7em;
}

.product-card-desc {
  flex: 1 1 auto;
  min-height: 4.15em;
  margin-bottom: 0.95rem !important;
}

.product-card-meta {
  margin-top: auto;
  flex: 0 0 auto;
}

.product-card-actions {
  flex: 0 0 auto;
  align-items: stretch;
}

.product-card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.products-carousel-track {
  align-items: stretch;
}

.carousel-slide {
  display: flex;
  align-items: stretch;
}

.carousel-slide > .home-product-card {
  width: 100%;
}

.featured-grid-item {
  display: flex;
  min-width: 0;
}

.featured-grid-item > .home-product-card,
.featured-grid-item > * > .home-product-card {
  width: 100%;
}

.featured-grid-home .home-product-card,
.products-carousel-track .home-product-card {
  width: 100%;
}

.home-product-card--featured-main {
  min-height: 100%;
}

.home-product-card--featured-main .product-card-meta {
  margin-top: auto;
}

.home-product-card--featured-main .product-card-desc {
  min-height: 5.8em;
}

@media (max-width: 575.98px) {
  .home-product-body {
    padding: 0.8rem !important;
  }

  .product-card-title {
    min-height: auto;
  }

  .product-card-desc {
    min-height: auto;
    margin-bottom: 0.8rem !important;
  }

  .product-card-actions {
    gap: 0.5rem;
  }

  .product-card-actions .btn {
    min-height: 38px;
  }

  .featured-grid-item,
  .carousel-slide {
    min-width: 0;
  }
}

/* =========================
   HERO FULL HEIGHT DESKTOP
   ========================= */

/* Supprime l'espace au-dessus du header tout en gardant le hero plein écran */
.pro-hero.pro-hero-lite {
  padding-top: 0 !important;
}

@media (min-width: 992px) {
  .pro-hero.pro-hero-lite {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0 !important;
    padding-bottom: 1.5rem;
  }

  .pro-hero.pro-hero-lite > #navbar {
    flex: 0 0 auto;
    width: 100%;
  }

  .pro-hero.pro-hero-lite > .container {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
  }

  .pro-hero.pro-hero-lite > .container > .row {
    width: 100%;
  }
}


/* =========================
   PRODUCTS UX MERGED INTO MAIN THEME
   ========================= */


/* Catalogue UX additions */
.listing-search-card .input-group .btn {
  border-left: 0;
}

.catalog-toolbar-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.catalog-context {
  font-size: 1rem;
  line-height: 1.35;
}

.catalog-toolbar-filters {
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(13, 110, 253, 0.18);
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.04), rgba(13, 110, 253, 0.02));
  border-radius: 1rem;
}

.catalog-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.catalog-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1;
  background: #fff;
  border: 1px solid rgba(13, 110, 253, 0.18);
  color: #183153;
  box-shadow: 0 8px 20px rgba(18, 38, 63, 0.05);
}

.catalog-filter-chip strong {
  font-weight: 700;
}

.catalog-filter-chip button {
  border: 0;
  background: transparent;
  padding: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: inherit;
}

.catalog-filter-chip button:hover {
  background: rgba(13, 110, 253, 0.08);
}

@media (min-width: 992px) {
  .listing-toolbar--sticky {
    position: sticky;
    top: 1rem;
    z-index: 20;
  }
}

.category-tree .category-node + .category-node {
  margin-top: 0.25rem;
}

.category-tree .category-btn,
#categoriesTreeMobile .category-btn {
  width: 100%;
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
  border-radius: 0.9rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  text-align: left;
  color: #163150;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-tree .category-btn[data-level="0"],
#categoriesTreeMobile .category-btn[data-level="0"] {
  font-weight: 700;
}

.category-tree .category-btn:hover,
#categoriesTreeMobile .category-btn:hover {
  background: rgba(13, 110, 253, 0.06);
  color: #0d6efd;
}

.category-tree .category-btn.is-active,
#categoriesTreeMobile .category-btn.is-active {
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.04));
  color: #0d6efd;
}

.category-tree .category-children,
#categoriesTreeMobile .category-children {
  margin-top: 0.2rem;
  display: none;
}

.category-tree .category-children.is-visible,
#categoriesTreeMobile .category-children.is-visible {
  display: block;
}

#productsGrid .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 38, 63, 0.08);
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

#productsGrid .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(18, 38, 63, 0.1);
  border-color: rgba(13, 110, 253, 0.18);
}


.catalog-thumb-wrap {
  position: relative;
}

.catalog-promo-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(220, 53, 69, 0.22);
  pointer-events: none;
}

#productsGrid .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.catalog-card-category {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.catalog-card-title {
  font-size: 1rem;
  line-height: 1.4;
  min-height: 2.8em;
}

.catalog-card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--bs-secondary-color, #6c757d);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1em;
}

.catalog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1rem;
}

.catalog-price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.catalog-price-current {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0d6efd;
  line-height: 1.1;
}

.catalog-price-old {
  font-size: 0.82rem;
  font-weight: 600;
  color: #dc3545;
  text-decoration: line-through;
}

.catalog-stock-badge {
  white-space: nowrap;
}

.catalog-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  margin-top: 1rem;
}

.catalog-card-actions .btn {
  border-radius: 999px;
}

.empty-illustration {
  align-items: flex-start;
}

@media (max-width: 991.98px) {
  .listing-toolbar--sticky {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .catalog-toolbar-filters {
    padding: 0.75rem;
  }

  .catalog-filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
  }

  .catalog-filter-chip {
    flex: 0 0 auto;
  }

  #productsGrid .row,
  #productsGrid {
    --bs-gutter-y: 1rem;
  }

  .catalog-card-body {
    padding: 0.95rem !important;
  }

  .catalog-card-title {
    font-size: 0.96rem;
    min-height: auto;
  }

  .catalog-card-desc {
    font-size: 0.86rem;
    min-height: auto;
    -webkit-line-clamp: 2;
  }

  .catalog-price-current {
    font-size: 1.05rem;
  }

  .catalog-card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-card-actions .btn {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.9rem;
  }
}


/* =========================
   CATALOG TOOLBAR COMPACT
   ========================= */

.listing-toolbar--compact {
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 24px rgba(13, 25, 47, 0.05);
}

.listing-toolbar--compact .catalog-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.catalog-toolbar-heading {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.listing-toolbar--compact .catalog-context {
  font-size: 0.98rem;
  line-height: 1.25;
}

.catalog-results-inline {
  line-height: 1.2;
}

.listing-toolbar--compact .catalog-toolbar-controls {
  --bs-gutter-x: 0.75rem;
  --bs-gutter-y: 0.65rem;
}

.listing-toolbar--compact .form-label {
  font-size: 0.78rem;
  font-weight: 600;
}

.listing-toolbar--compact .form-select,
.listing-toolbar--compact .form-control {
  min-height: 42px;
  font-size: 0.95rem;
}

.listing-toolbar--compact .catalog-toolbar-filters {
  padding: 0.55rem 0.7rem;
  border-radius: 0.9rem;
  border-style: solid;
  background: rgba(13, 110, 253, 0.035);
}

.listing-toolbar--compact .catalog-filter-chips {
  gap: 0.45rem;
}

.listing-toolbar--compact .catalog-filter-chip {
  padding: 0.38rem 0.7rem;
  font-size: 0.82rem;
  box-shadow: none;
}

.listing-toolbar--compact .btn {
  min-height: 38px;
}

.listing-toolbar--sticky {
  position: static !important;
  top: auto !important;
}

@media (max-width: 767.98px) {
  .listing-toolbar--compact {
    padding: 0.85rem;
  }

  .listing-toolbar--compact .catalog-toolbar-top {
    align-items: flex-start;
  }

  .listing-toolbar--compact #btnResetFilters {
    align-self: flex-start;
  }

  .listing-toolbar--compact .catalog-toolbar-filters {
    padding: 0.5rem 0.6rem;
  }

  .listing-toolbar--compact .catalog-filter-chip {
    font-size: 0.8rem;
  }
}


@media (max-width: 575.98px) {
  .catalog-promo-badge {
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.36rem 0.62rem;
    font-size: 0.7rem;
  }
}


/* =========================
   CATALOG MOBILE OPTIMIZATION
   ========================= */

.catalog-hero-section .section-title {
  max-width: 680px;
}

.catalog-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.catalog-toolbar-actions .btn {
  white-space: nowrap;
}

.catalog-card-body {
  padding: 1rem;
}

.catalog-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}

@media (max-width: 767.98px) {
  .catalog-hero-section {
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
  }

  .catalog-hero-section .container {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  .catalog-hero-section .display-5 {
    font-size: 2rem;
  }

  .catalog-hero-section .text-muted-2 {
    font-size: 0.94rem;
  }

  .listing-search-card {
    padding: 0.95rem;
  }

  .listing-search-card .input-group.input-group-lg > .form-control,
  .listing-search-card .input-group.input-group-lg > .input-group-text,
  .listing-search-card .input-group.input-group-lg > .btn {
    min-height: 46px;
  }

  .listing-toolbar--compact {
    padding: 0.85rem;
    border-radius: 1rem;
  }

  .listing-toolbar--compact .catalog-toolbar-top {
    gap: 0.65rem;
  }

  .listing-toolbar--compact .catalog-toolbar-controls {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
    margin-top: 0.7rem !important;
  }

  .listing-toolbar--compact .catalog-toolbar-filters {
    margin-top: 0.6rem !important;
    padding: 0.55rem 0.65rem;
  }

  .catalog-filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

  .catalog-filter-chip {
    flex: 0 0 auto;
  }

  .catalog-card-body {
    padding: 0.92rem;
  }

  .catalog-card-title {
    min-height: auto;
  }

  .catalog-card-desc {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    min-height: auto;
  }

  .catalog-card-meta {
    padding-top: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .catalog-hero-section .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .catalog-hero-section .row {
    --bs-gutter-y: 0.9rem;
  }

  .catalog-hero-section .display-5 {
    font-size: 1.55rem;
    margin-top: 0.8rem !important;
    margin-bottom: 0.45rem !important;
  }

  .catalog-hero-section .text-muted-2 {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .listing-search-card {
    padding: 0.8rem;
    border-radius: 1rem;
  }

  .listing-search-card .form-label {
    margin-bottom: 0.4rem;
  }

  .listing-search-card .form-text {
    font-size: 0.75rem;
    margin-top: 0.45rem !important;
  }

  .listing-search-card .input-group-text,
  .listing-search-card .form-control,
  .listing-search-card .btn {
    min-height: 42px !important;
    font-size: 0.9rem;
  }

  .listing-toolbar--compact {
    padding: 0.78rem;
    border-radius: 0.95rem;
  }

  .listing-toolbar--compact .catalog-toolbar-top {
    align-items: stretch;
  }

  .catalog-toolbar-heading {
    width: 100%;
    gap: 0.1rem;
  }

  .catalog-context {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .catalog-results-inline {
    font-size: 0.78rem;
  }

  .catalog-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-toolbar-actions .btn {
    min-height: 36px;
    padding-inline: 0.75rem;
    font-size: 0.82rem;
  }

  .listing-toolbar--compact .catalog-toolbar-controls {
    margin-top: 0.55rem !important;
  }

  .listing-toolbar--compact .form-label {
    font-size: 0.74rem;
    margin-bottom: 0.25rem !important;
  }

  .listing-toolbar--compact .form-select {
    min-height: 38px;
    font-size: 0.85rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .listing-toolbar--compact .catalog-toolbar-filters {
    padding: 0.45rem 0.5rem;
    border-radius: 0.8rem;
  }

  .listing-toolbar--compact .catalog-filter-chip {
    gap: 0.35rem;
    padding: 0.32rem 0.56rem;
    font-size: 0.74rem;
  }

  .listing-toolbar--compact .catalog-filter-chip strong {
    font-size: 0.7rem;
  }

  #productsGrid {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  .product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 0;
    border-radius: 1rem;
  }

  .catalog-thumb-wrap {
    flex: 0 0 clamp(124px, 34vw, 148px);
    width: clamp(124px, 34vw, 148px);
    min-width: 124px;
    border-right: 1px solid var(--line);
    background: #fff;
    margin: auto;
  }

  .catalog-thumb-wrap .product-thumb {
    height: 100%;
    min-height: 132px;
    border-bottom: 0 !important;
    --bs-aspect-ratio: 100%;
  }

  .catalog-card-body {
    min-width: 0;
    padding: 0.7rem 0.72rem;
  }

  .catalog-card-category {
    font-size: 0.66rem;
    margin-bottom: 0.28rem !important;
  }

  .catalog-card-title {
    font-size: 0.92rem;
    line-height: 1.3;
    margin-bottom: 0.35rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .catalog-card-desc {
    display: none;
  }

  .catalog-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-top: 0.35rem;
    margin-top: 0.2rem;
  }

  .catalog-price-current {
    font-size: 1rem;
  }

  .catalog-price-old {
    font-size: 0.72rem;
  }

  .catalog-stock-badge {
    font-size: 0.68rem;
    padding: 0.32rem 0.5rem;
  }

  .catalog-card-actions {
    grid-template-columns: 1fr auto;
    gap: 0.45rem;
    margin-top: 0.55rem;
  }

  .catalog-card-actions .btn {
    min-height: 36px;
    padding-inline: 0.65rem;
    font-size: 0.8rem;
  }

  .catalog-add-btn {
    min-width: 42px;
  }

  .catalog-add-btn .catalog-add-label {
    display: none;
  }

  .catalog-promo-badge {
    top: 0.4rem;
    right: 0.4rem;
    padding: 0.25rem 0.45rem;
    font-size: 0.62rem;
  }

  .empty-illustration {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.95rem;
  }

  .empty-illustration .btn {
    width: 100%;
  }

  #pagination .pagination {
    gap: 0.25rem;
    flex-wrap: wrap;
  }

  #pagination .page-link {
    min-width: 36px;
    padding: 0.38rem 0.58rem;
    font-size: 0.86rem;
  }
}


/* =========================
   ORDER PROCESS SECTION
   ========================= */

.order-process-section {
  background: linear-gradient(
    180deg,
    rgba(15, 61, 94, 0.04) 0%,
    rgba(255, 255, 255, 0.96) 100%
  );
}

.order-process-shell {
  position: relative;
}

.order-process-intro {
  max-width: 760px;
}

.order-process-grid {
  position: relative;
}

.order-step-card {
  position: relative;
  padding: 1.35rem;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.order-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.09);
  border-color: rgba(15, 106, 161, 0.2);
}

.order-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.order-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(15, 61, 94, 0.08);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.order-step-icon {
  flex: 0 0 auto;
  background: rgba(15, 106, 161, 0.08);
  color: var(--primary-2);
}

.order-step-card h3 {
  line-height: 1.3;
}

@media (min-width: 1200px) {
  .order-process-grid > div {
    position: relative;
  }

  .order-process-grid > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -14px;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 106, 161, 0.25), rgba(15, 106, 161, 0.55));
    z-index: 1;
  }
}

@media (max-width: 991.98px) {
  .order-step-card {
    padding: 1.15rem;
  }
}

@media (max-width: 575.98px) {
  .order-process-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .order-step-card {
    padding: 1rem;
    border-radius: 1rem;
  }

  .order-step-top {
    margin-bottom: 0.85rem;
  }

  .order-step-number {
    min-width: 40px;
    height: 40px;
    font-size: 0.82rem;
  }

  .order-step-card h3 {
    font-size: 1rem;
  }

  .order-step-card p {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}


/* =========================
   NAVBAR — PREMIUM LINKS + CART POSITION
   ========================= */
.site-header {
  z-index: 1030;
  box-shadow: 0 8px 24px rgba(13, 25, 47, 0.04);
}

.navbar-main-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-collapse-main {
  flex-grow: 1;
}

.navbar-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.5rem;
}

.navbar-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 0.9rem !important;
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.navbar-nav .nav-link-icon {
  font-size: 1rem;
  color: var(--primary-2);
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
  color: var(--primary);
  background: var(--soft);
}

.navbar-nav .nav-link:hover {
  transform: translateY(-1px);
}

.navbar-nav .nav-link:hover .nav-link-icon,
.navbar-nav .nav-link.active .nav-link-icon,
.navbar-nav .nav-link[aria-current="page"] .nav-link-icon {
  color: var(--primary);
}

.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.5rem 0.85rem;
  font-weight: 800;
  border-color: rgba(15, 61, 94, 0.22);
  color: var(--primary);
  background: #fff;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.nav-cart-btn:hover,
.nav-cart-btn:focus {
  transform: translateY(-1px);
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(15, 61, 94, 0.16);
}

.nav-cart-btn #cartBadge {
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  font-size: 0.72rem;
  border: 2px solid #fff;
}

.navbar-toggler {
  min-height: 42px;
  border-radius: 999px;
  border-color: rgba(15, 61, 94, 0.18);
  padding-inline: 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(15, 61, 94, 0.12);
}

.top-strip-note {
  color: var(--primary);
  font-weight: 600;
}

@media (min-width: 992px) {
  .navbar-collapse-main .navbar-nav {
    align-items: center;
  }

  .navbar-quick-actions {
    order: 3;
  }
}

@media (max-width: 991.98px) {
  .navbar-main-row {
    gap: 0.5rem;
  }

  .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .navbar-quick-actions {
    margin-left: auto;
  }

  .navbar-collapse-main {
    flex-basis: 100%;
    order: 4;
  }

  .navbar-collapse-main .navbar-nav {
    margin-top: 0.85rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 25, 47, 0.06);
  }

  .navbar-nav .nav-link {
    width: 100%;
    justify-content: flex-start;
    border-radius: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .nav-cart-btn {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .navbar-toggler {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .navbar-quick-actions {
    gap: 0.45rem;
  }
}
