/* Navbar globale */
.navbar {
  background: rgba(254, 252, 247, 0.95) !important;
  backdrop-filter: blur(15px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(254, 252, 247, 0.95) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1f2937 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.navbar-brand .brand-text {
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(135deg, #d4af37, #c41e3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #4b5563 !important;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #c41e3a !important;
  background-color: rgba(196, 30, 58, 0.08);
}

.navbar .btn {
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-weight: 600;
}

.navbar .btn-phone {
  background: transparent;
  border: none;
  color: #4b5563;
  box-shadow: none;
  padding-inline: 0.75rem;
}

.navbar .btn-phone:hover,
.navbar .btn-phone:focus {
  background: rgba(196, 30, 58, 0.08);
  color: #c41e3a;
}

.cart-indicator-link,
.cart-mobile-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.cart-mobile-indicator {
  border-radius: 999px;
  padding-inline: 0.85rem;
  min-width: 48px;
}

.cart-indicator-link i,
.cart-mobile-indicator i {
  font-size: 1rem;
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c41e3a, #d97706);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.cart-count-badge.empty {
  display: none;
}

.closure-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.closure-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.closure-modal-content {
  position: relative;
  background: #fff8e1;
  padding: 30px;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  z-index: 1;
}

.closure-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #92400e;
}

.closure-modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #92400e;
}

.closure-modal-icon {
  font-size: 2rem;
}

.admin-link {
  opacity: 0.7;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white !important;
}

.admin-link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  transform: scale(1.05);
}

.navbar.scrolled .admin-link {
  color: #78716c !important;
}

.navbar.scrolled .admin-link:hover {
  background: rgba(120, 113, 108, 0.1) !important;
  color: #57534e !important;
}

@media (max-width: 576px) {
  .navbar-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-brand .brand-text {
    max-width: 160px;
  }

  .navbar .navbar-toggler-text {
    display: none;
  }

  .cart-mobile-indicator {
    width: 100%;
    justify-content: space-between;
  }

    .cart-count-badge {
      position: static;
      min-width: 24px;
      height: 24px;
      font-size: 0.72rem;
    }

    .cart-count-badge {
      position: absolute;
      top: -6px;
      inset-inline-end: -6px;
    }

}
